arm64: dts: Add BUS1 instance pinctrl support
Subsystems (2)
Alim Akhtar
reviewerPATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
This adds BUS1 instance pinctrl for exynos7 soc.
--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)
arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi +111 -0
@@ -586,3 +586,114 @@ samsung,pin-drv = <2>; }; }; + +&pinctrl_bus1 { + etc1: etc1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf0: gpf0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf1: gpf1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf2: gpf2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf3: gpf3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf4: gpf4 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf5: gpf5 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpv6: gpv6 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + spi5_bus: spi5-bus { + samsung,pins = "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3"; + samsung,pin-function = <2>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; + + ufs_refclk_out: ufs-refclk-out { + samsung,pins = "gpg2-4"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <2>; + }; + + ufs_rst_n: ufs-rst-n { + samsung,pins = "gph1-5"; + samsung,pin-function = <2>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; +};
arch/arm64/boot/dts/exynos/exynos7.dtsi +7 -0
@@ -26,6 +26,7 @@ pinctrl5 = &pinctrl_ese; pinctrl6 = &pinctrl_fsys0; pinctrl7 = &pinctrl_fsys1; + pinctrl8 = &pinctrl_bus1; }; cpus {
@@ -278,6 +279,12 @@ interrupts = <0 203 0>; }; + pinctrl_bus1: pinctrl at 14870000 { + compatible = "samsung,exynos7-pinctrl"; + reg = <0x14870000 0x1000>; + interrupts = <0 384 0>; + }; + hsi2c_0: hsi2c at 13640000 { compatible = "samsung,exynos7-hsi2c"; reg = <0x13640000 0x1000>;
Signature · 1 line
1.7.10.4
PATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
Quoted 7 lines · Alim Akhtar
This adds BUS1 instance pinctrl for exynos7 soc.
Signed-off-by Alim Akhtar <[email protected]>--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)
The "etc1" GPIO in my datasheet is not fully documented but the rest looks good:
Best regards,
Krzysztof
Alim Akhtar
reviewerPATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
Hi
Quoted 12 lines · Krzysztof Kozlowski
Quoted 7 lines · Alim Akhtar
This adds BUS1 instance pinctrl for exynos7 soc.
Signed-off-by Alim Akhtar <[email protected]>--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)The "etc1" GPIO in my datasheet is not fully documented but the rest looks good:
Ok will send v2 and remove etc1 gpio node.
Quoted 2 lines
Reviewed-by Krzysztof Kozlowski <[email protected]>
Thanks!!
Quoted 4 lines
Best regards,
Krzysztof
PATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
Quoted 13 lines · Alim Akhtar
Hi
Quoted 10 lines · Krzysztof Kozlowski
Quoted 8 lines · Alim Akhtar
This adds BUS1 instance pinctrl for exynos7 soc.
Signed-off-by Alim Akhtar <[email protected]>--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)
Quoted 4 lines
Quoted 3 lines
The "etc1" GPIO in my datasheet is not fully documented but the rest looks good:
Ok will send v2 and remove etc1 gpio node.
You don't have to. I mentioned it only for reference that I cannot review the etc GPIO node because it is not mentioned in my datasheet. However you may have different (e.g. newer) datasheet and etc1 could be documented there.
I applied the first version of patch some time ago (your response is after two weeks). Do you want me to replace it with v2?
Best regards,
Krzysztof
Alim Akhtar
reviewerPATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
Hello,
Quoted 17 lines · Krzysztof Kozlowski
Quoted 16 lines · Alim Akhtar
Hi
Quoted 13 lines · Krzysztof Kozlowski
Quoted 8 lines · Alim Akhtar
This adds BUS1 instance pinctrl for exynos7 soc.
Signed-off-by Alim Akhtar <[email protected]>--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)The "etc1" GPIO in my datasheet is not fully documented but the rest looks good:
Quoted 7 lines
Quoted 1 line
Ok will send v2 and remove etc1 gpio node.
You don't have to. I mentioned it only for reference that I cannot review the etc GPIO node because it is not mentioned in my datasheet. However you may have different (e.g. newer) datasheet and etc1 could be documented there.
Sorry for delay, I check two versions of the UM and unfortunately both show incomplete entries for etc1, my downstream code has these changes though.
Quoted 3 lines
I applied the first version of patch some time ago (your response is after two weeks). Do you want me to replace it with v2?
Please consider taking my v2 which I just posted.
Thanks again.
Quoted 5 lines
Best regards,
Krzysztof
PATCH 1/1 arm64: dts: Add BUS1 instance pinctrl support
Quoted 27 lines · Alim Akhtar
Hello,
Quoted 17 lines · Krzysztof Kozlowski
Quoted 16 lines · Alim Akhtar
Hi
Quoted 13 lines · Krzysztof Kozlowski
Quoted 8 lines · Alim Akhtar
This adds BUS1 instance pinctrl for exynos7 soc.
Signed-off-by Alim Akhtar <[email protected]>--- arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 111 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 118 insertions(+)The "etc1" GPIO in my datasheet is not fully documented but the rest looks good:
Quoted 7 lines
Quoted 1 line
Ok will send v2 and remove etc1 gpio node.
You don't have to. I mentioned it only for reference that I cannot review the etc GPIO node because it is not mentioned in my datasheet. However you may have different (e.g. newer) datasheet and etc1 could be documented there.
Quoted 8 lines
Sorry for delay, I check two versions of the UM and unfortunately both show incomplete entries for etc1, my downstream code has these changes though.
Quoted 3 lines
I applied the first version of patch some time ago (your response is after two weeks). Do you want me to replace it with v2?
Please consider taking my v2 which I just posted.
Thanks again.
Okay, I'll replace the patch with v2.
Best regards,
Krzysztof