ARM: apq8064: Add pinmux and i2c pinctrl nodes
Quoted 11 lines · Bjorn Andersson
Quoted 9 lines · Kiran Padwal
arch/arm/boot/dts/qcom-apq8064.dtsi +0
-0@@ -70,6 +70,17 @@ ranges; compatible = "simple-bus";
Quoted 8 lines
arch/arm/boot/dts/qcom-apq8064.dtsi line 73
Quoted 1 line
arch/arm/boot/dts/qcom-apq8064.dtsi +1
-0+ qcom_pinmux: pinmux@800000 {There are (at least) three different pinmuxes in these platforms: TLMM, PMIC GPIO, PMIC MPP. Also this is the phandle that is used to reference the gpio chip throughout the board.
So I would like to suggest that we name it "tlmm" or like in the downstream kernel "msmgpio".
ok. How about "qcomgpio" or rename it to msmgpio?
Quoted 10 lines
arch/arm/boot/dts/qcom-apq8064.dtsi line 81
Quoted 9 lines
arch/arm/boot/dts/qcom-apq8064.dtsi +8
-0+ compatible = "qcom,apq8064-pinctrl"; + reg = <0x800000 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 32 0x4>;
Quoted 2 lines
I must have gotten this wrong in the dt binding example, sorry about that. interrupts should be <0 16
0x4>.
Thanks for information. I will update that.
Quoted 6 lines
arch/arm/boot/dts/qcom-apq8064.dtsi line 82
Quoted 2 lines
arch/arm/boot/dts/qcom-apq8064.dtsi +1
-0+ };Regards,
Bjorn
Quoted 20 lines · kiran.padwal at smartplayin.com
Quoted 17 lines · Bjorn Andersson
arch/arm/boot/dts/qcom-apq8064.dtsi line 73
Quoted 10 lines · Kiran Padwal
arch/arm/boot/dts/qcom-apq8064.dtsi +1
-0@@ -70,6 +70,17 @@ ranges; compatible = "simple-bus"; + qcom_pinmux: pinmux at 800000 {There are (at least) three different pinmuxes in these platforms: TLMM, PMIC GPIO, PMIC MPP. Also this is the phandle that is used to reference the gpio chip throughout the board.
Quoted 4 lines
Quoted 2 lines
So I would like to suggest that we name it "tlmm" or like in the downstream kernel "msmgpio".
ok. How about "qcomgpio" or rename it to msmgpio?
Thanks for suggestion, I will rename it to "tlmm".
Quoted 25 lines
Quoted 11 lines
arch/arm/boot/dts/qcom-apq8064.dtsi line 81
Quoted 10 lines
arch/arm/boot/dts/qcom-apq8064.dtsi +8
-0+ compatible = "qcom,apq8064-pinctrl"; + reg = <0x800000 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 32 0x4>;Quoted 2 lines
I must have gotten this wrong in the dt binding example, sorry about that. interrupts should be <0 16
0x4>.Thanks for information. I will update that.
Quoted 6 lines
arch/arm/boot/dts/qcom-apq8064.dtsi line 82
Quoted 2 lines
arch/arm/boot/dts/qcom-apq8064.dtsi +1
-0+ };Regards,
Bjorn