Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483084 > unrolled thread

[PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio

Started byGerd Hoffmann <kraxel@redhat.com>
First post2016-09-14 10:30 +0200
Last post2016-09-16 18:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio Gerd Hoffmann <kraxel@redhat.com> - 2016-09-14 10:30 +0200
    Re: [PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci,  drop pins from &gpio Stefan Wahren <stefan.wahren@i2se.com> - 2016-09-16 18:50 +0200

#1483084 — [PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio

FromGerd Hoffmann <kraxel@redhat.com>
Date2016-09-14 10:30 +0200
Subject[PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio
Message-ID<shdJU-6Vq-23@gated-at.bofh.it>
As the alt3 group has no pins left after this
update drop the whole alt3 group from &gpio.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index 8688204..a46fa41 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -41,11 +41,6 @@
 		brcm,pins = <4 5 7 8 9 10 11>;
 		brcm,function = <BCM2835_FSEL_ALT0>;
 	};
-
-	alt3: alt3 {
-		brcm,pins = <48 49 50 51 52 53>;
-		brcm,function = <BCM2835_FSEL_ALT3>;
-	};
 };
 
 &i2c0 {
@@ -67,6 +62,8 @@
 };
 
 &sdhci {
+	pinctrl-names = "default";
+	pinctrl-0 = <&emmc_gpio48>;
 	status = "okay";
 	bus-width = <4>;
 };
-- 
1.8.3.1

[toc] | [next] | [standalone]


#1485176 — Re: [PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio

FromStefan Wahren <stefan.wahren@i2se.com>
Date2016-09-16 18:50 +0200
SubjectRe: [PATCH v3 6/6] ARM: dts: bcm283x: add pinctrl group to &sdhci, drop pins from &gpio
Message-ID<si4uR-7hN-13@gated-at.bofh.it>
In reply to#1483084
Hi Gerd,

> Gerd Hoffmann <kraxel@redhat.com> hat am 14. September 2016 um 10:23
> geschrieben:
> 
> 
> As the alt3 group has no pins left after this
> update drop the whole alt3 group from &gpio.

sorry it won't be that simple. The references needs to removed too :-(

> grep alt3 *.dts*
bcm2835-rpi-a.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
bcm2835-rpi-a-plus.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
bcm2835-rpi-b.dts:	pinctrl-0 = <&gpioout &alt0 &alt3>;
bcm2835-rpi-b-plus.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
bcm2835-rpi-b-rev2.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
bcm2835-rpi.dtsi:	alt3: alt3 {
bcm2835-rpi-zero.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
bcm2836-rpi-2-b.dts:	pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;

Regards
Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web