[PATCH v2 1/5] dt-bindings: soc: qcom: pmic-glink: allow orientation-gpios

Dmitry Baryshkov posted 5 patches 1 year, 10 months ago
[PATCH v2 1/5] dt-bindings: soc: qcom: pmic-glink: allow orientation-gpios
Posted by Dmitry Baryshkov 1 year, 10 months ago
The orientation GPIOs are not limited to sm8450/sm8550/x1e8000
platforms. Allow corresponding property to be used on all Qualcom
platforms.

Fixes: 65682407f8f4 ("dt-bindings: soc: qcom: qcom,pmic-glink: add a gpio used to determine the Type-C port plug orientation")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml      | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
index 4310bae6c58e..4512390f90f0 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
@@ -58,20 +58,6 @@ patternProperties:
 required:
   - compatible
 
-allOf:
-  - if:
-      not:
-        properties:
-          compatible:
-            contains:
-              enum:
-                - qcom,sm8450-pmic-glink
-                - qcom,sm8550-pmic-glink
-                - qcom,x1e80100-pmic-glink
-    then:
-      properties:
-        orientation-gpios: false
-
 additionalProperties: false
 
 examples:

-- 
2.39.2
Re: [PATCH v2 1/5] dt-bindings: soc: qcom: pmic-glink: allow orientation-gpios
Posted by Krzysztof Kozlowski 1 year, 10 months ago
On 09/04/2024 16:28, Dmitry Baryshkov wrote:
> The orientation GPIOs are not limited to sm8450/sm8550/x1e8000
> platforms. Allow corresponding property to be used on all Qualcom
> platforms.
> 
> Fixes: 65682407f8f4 ("dt-bindings: soc: qcom: qcom,pmic-glink: add a gpio used to determine the Type-C port plug orientation")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  .../devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml      | 14 --------------
>  1 file changed, 14 deletions(-)
> 

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof