mbox series

[RFT,00/14] ARM/arm64: dts: qcom: correct TLMM gpio-ranges

Message ID 20230201155105.282708-1-krzysztof.kozlowski@linaro.org
Headers show
Series ARM/arm64: dts: qcom: correct TLMM gpio-ranges | expand

Message

Krzysztof Kozlowski Feb. 1, 2023, 3:50 p.m. UTC
Hi,

Correct the number of GPIOs in TLMM pin controller.

I really hope I got it right... The last number of gpio-ranges is the number of
GPIOs. See: Documentation/devicetree/bindings/gpio/gpio.txt

The examples in bindings were fixed here:
https://lore.kernel.org/linux-arm-msm/20230201153019.269718-1-krzysztof.kozlowski@linaro.org/T/#t

Not realy tested, but I do not expect troubles, unless I missed some obvious
stuff (like a number in pinctrl driver).

Best regards,
Krzysztof

Krzysztof Kozlowski (14):
  ARM: dts: qcom: sdx55: correct TLMM gpio-ranges
  ARM: dts: qcom: sdx65: correct TLMM gpio-ranges
  arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
  arm64: dts: qcom: sc7180: correct TLMM gpio-ranges
  arm64: dts: qcom: sc8280xp: correct TLMM gpio-ranges
  arm64: dts: qcom: sdm670: correct TLMM gpio-ranges
  arm64: dts: qcom: sdm845: correct TLMM gpio-ranges
  arm64: dts: qcom: sm6115: correct TLMM gpio-ranges
  arm64: dts: qcom: sm6125: correct TLMM gpio-ranges
  arm64: dts: qcom: sm6350: correct TLMM gpio-ranges
  arm64: dts: qcom: sm6375: correct TLMM gpio-ranges
  arm64: dts: qcom: sm8150: correct TLMM gpio-ranges
  arm64: dts: qcom: sm8450: correct TLMM gpio-ranges
  arm64: dts: qcom: sm8550: correct TLMM gpio-ranges

 arch/arm/boot/dts/qcom-sdx55.dtsi      | 2 +-
 arch/arm/boot/dts/qcom-sdx65.dtsi      | 2 +-
 arch/arm64/boot/dts/qcom/msm8953.dtsi  | 2 +-
 arch/arm64/boot/dts/qcom/sc7180.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +-
 arch/arm64/boot/dts/qcom/sdm670.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sdm845.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm6115.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm6125.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm6350.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm6375.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm8150.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm8450.dtsi   | 2 +-
 arch/arm64/boot/dts/qcom/sm8550.dtsi   | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

Comments

Krzysztof Kozlowski Feb. 2, 2023, 10:39 a.m. UTC | #1
On 01/02/2023 16:50, Krzysztof Kozlowski wrote:
> Hi,
> 
> Correct the number of GPIOs in TLMM pin controller.
> 
> I really hope I got it right... The last number of gpio-ranges is the number of
> GPIOs. See: Documentation/devicetree/bindings/gpio/gpio.txt
> 
> The examples in bindings were fixed here:
> https://lore.kernel.org/linux-arm-msm/20230201153019.269718-1-krzysztof.kozlowski@linaro.org/T/#t
> 
> Not realy tested, but I do not expect troubles, unless I missed some obvious
> stuff (like a number in pinctrl driver).
> 

As pointed out by Stephan, this is mostly incorrect and needs fixes.
There will be a v2.


Best regards,
Krzysztof