[v3,1/4] arm64: dts: qcom: msm8998: add gpio-ranges to TLMM

Message ID 20221013210612.95994-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series [v3,1/4] arm64: dts: qcom: msm8998: add gpio-ranges to TLMM |

Commit Message

Krzysztof Kozlowski Oct. 13, 2022, 9:06 p.m. UTC
  Qualcomm pinctrl bindings and drivers expect gpio-ranges property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Changes since v2:
1. None
---
 arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Konrad Dybcio Oct. 14, 2022, 1:47 p.m. UTC | #1
On 13.10.2022 23:06, Krzysztof Kozlowski wrote:
> Qualcomm pinctrl bindings and drivers expect gpio-ranges property.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
> 
> Changes since v2:
> 1. None
> ---
>  arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> index f05f16ac5cc1..2c4acf227253 100644
> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> @@ -1056,6 +1056,7 @@ tlmm: pinctrl@3400000 {
>  			compatible = "qcom,msm8998-pinctrl";
>  			reg = <0x03400000 0xc00000>;
>  			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
> +			gpio-ranges = <&tlmm 0 0 150>;
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
  
Bjorn Andersson Oct. 18, 2022, 3:05 a.m. UTC | #2
On Thu, 13 Oct 2022 17:06:09 -0400, Krzysztof Kozlowski wrote:
> Qualcomm pinctrl bindings and drivers expect gpio-ranges property.
> 
> 

Applied, thanks!

[1/4] arm64: dts: qcom: msm8998: add gpio-ranges to TLMM
      commit: e3d5e948d1b87e8531d842f4c98f56e0bb1a5c60
[2/4] arm64: dts: qcom: msm8998-oneplus-cheeseburger: fix backlight pin function
      commit: 46546f28825cf3a5ef6873b9cf947cd85c8a7258
[3/4] arm64: dts: qcom: msm8998: align TLMM pin configuration with DT schema
      commit: ed9ba9e9b7437416ed97b36fe06ecb6001f0b067

Best regards,
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index f05f16ac5cc1..2c4acf227253 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -1056,6 +1056,7 @@  tlmm: pinctrl@3400000 {
 			compatible = "qcom,msm8998-pinctrl";
 			reg = <0x03400000 0xc00000>;
 			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+			gpio-ranges = <&tlmm 0 0 150>;
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;