diff mbox series

dt-bindings: pinctrl: qcom,pmic-gpio: document PMC8180 and PMC8180C

Message ID 20230720083539.73675-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 2422f74eb9dc99097c9537c30ef50f88a0b54acb
Headers show
Series dt-bindings: pinctrl: qcom,pmic-gpio: document PMC8180 and PMC8180C | expand

Commit Message

Krzysztof Kozlowski July 20, 2023, 8:35 a.m. UTC
Document qcom,pmc8180-gpio and qcom,pmc8180c-gpio compatibles already
used in DTS and in the same binding in allOf:if:then section for
narrowing available GPIOs:

  sc8180x-primus.dtb: pmic@4: gpio@c000:compatible:0: 'qcom,pmc8180c-gpio' is not one of ...

Fixes: 04bed6407ee6 ("dt-bindings: pinctrl: qcom,pmic-gpio: describe gpio-line-names")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Conor Dooley July 20, 2023, 5:20 p.m. UTC | #1
On Thu, Jul 20, 2023 at 10:35:39AM +0200, Krzysztof Kozlowski wrote:
> Document qcom,pmc8180-gpio and qcom,pmc8180c-gpio compatibles already
> used in DTS and in the same binding in allOf:if:then section for
> narrowing available GPIOs:
> 
>   sc8180x-primus.dtb: pmic@4: gpio@c000:compatible:0: 'qcom,pmc8180c-gpio' is not one of ...
> 
> Fixes: 04bed6407ee6 ("dt-bindings: pinctrl: qcom,pmic-gpio: describe gpio-line-names")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thaks,
Conor.

> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
> index 52b3d78645b3..3f8ad07c7cfd 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
> @@ -54,6 +54,8 @@ properties:
>            - qcom,pm8994-gpio
>            - qcom,pm8998-gpio
>            - qcom,pma8084-gpio
> +          - qcom,pmc8180-gpio
> +          - qcom,pmc8180c-gpio
>            - qcom,pmi632-gpio
>            - qcom,pmi8950-gpio
>            - qcom,pmi8994-gpio
> -- 
> 2.34.1
>
Krzysztof Kozlowski July 26, 2023, 9:14 a.m. UTC | #2
On Thu, 20 Jul 2023 10:35:39 +0200, Krzysztof Kozlowski wrote:
> Document qcom,pmc8180-gpio and qcom,pmc8180c-gpio compatibles already
> used in DTS and in the same binding in allOf:if:then section for
> narrowing available GPIOs:
> 
>   sc8180x-primus.dtb: pmic@4: gpio@c000:compatible:0: 'qcom,pmc8180c-gpio' is not one of ...
> 
> 
> [...]

Applied, thanks!

[1/1] dt-bindings: pinctrl: qcom,pmic-gpio: document PMC8180 and PMC8180C
      https://git.kernel.org/krzk/linux-dt/c/2422f74eb9dc99097c9537c30ef50f88a0b54acb

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 52b3d78645b3..3f8ad07c7cfd 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -54,6 +54,8 @@  properties:
           - qcom,pm8994-gpio
           - qcom,pm8998-gpio
           - qcom,pma8084-gpio
+          - qcom,pmc8180-gpio
+          - qcom,pmc8180c-gpio
           - qcom,pmi632-gpio
           - qcom,pmi8950-gpio
           - qcom,pmi8994-gpio