All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] Remove DT cd-inverted property for stm32f7
@ 2018-08-06  7:38 Patrice Chotard
  2018-08-06  7:38 ` [U-Boot] [PATCH 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco Patrice Chotard
  2018-08-06  7:38 ` [U-Boot] [PATCH 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco Patrice Chotard
  0 siblings, 2 replies; 5+ messages in thread
From: Patrice Chotard @ 2018-08-06  7:38 UTC (permalink / raw)
  To: u-boot


This series :
  - removes DT cd-inverted property for stm32f746 and stm32f769
    discovery boards


Patrice Chotard (2):
  ARM: dts: stm32: remove cd-inverted for stm32f769-disco
  ARM: dts: stm32: remove cd-inverted for stm32f746-disco

 arch/arm/dts/stm32f746-disco.dts | 4 ++--
 arch/arm/dts/stm32f769-disco.dts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco
  2018-08-06  7:38 [U-Boot] [PATCH 0/2] Remove DT cd-inverted property for stm32f7 Patrice Chotard
@ 2018-08-06  7:38 ` Patrice Chotard
  2018-08-13 23:58   ` [U-Boot] [U-Boot, " Tom Rini
  2018-08-06  7:38 ` [U-Boot] [PATCH 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco Patrice Chotard
  1 sibling, 1 reply; 5+ messages in thread
From: Patrice Chotard @ 2018-08-06  7:38 UTC (permalink / raw)
  To: u-boot

As cd-inverted property is no more used by arm_pl180_mmci driver,
remove it. Update cd-gpios active level accordingly.

Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

 arch/arm/dts/stm32f769-disco.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm32f769-disco.dts
index 59c9d31c213b..1e8ef742cead 100644
--- a/arch/arm/dts/stm32f769-disco.dts
+++ b/arch/arm/dts/stm32f769-disco.dts
@@ -43,6 +43,7 @@
 /dts-v1/;
 #include "stm32f746.dtsi"
 #include <dt-bindings/memory/stm32-sdram.h>
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "STMicroelectronics STM32F769-DISCO board";
@@ -256,8 +257,7 @@
 
 &sdio2 {
 	status = "okay";
-	cd-gpios = <&gpioi 15 0>;
-	cd-inverted;
+	cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins_b>;
 	pinctrl-1 = <&sdio_pins_od_b>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco
  2018-08-06  7:38 [U-Boot] [PATCH 0/2] Remove DT cd-inverted property for stm32f7 Patrice Chotard
  2018-08-06  7:38 ` [U-Boot] [PATCH 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco Patrice Chotard
@ 2018-08-06  7:38 ` Patrice Chotard
  2018-08-13 23:58   ` [U-Boot] [U-Boot, " Tom Rini
  1 sibling, 1 reply; 5+ messages in thread
From: Patrice Chotard @ 2018-08-06  7:38 UTC (permalink / raw)
  To: u-boot

As cd-inverted property is no more used by arm_pl180_mmci driver,
remove it. Update cd-gpios active level accordingly.

Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

---

 arch/arm/dts/stm32f746-disco.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index e47f762e54dc..7ef33d638130 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -48,6 +48,7 @@
 /dts-v1/;
 #include "stm32f746.dtsi"
 #include <dt-bindings/memory/stm32-sdram.h>
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "STMicroelectronics STM32F746-DISCO board";
@@ -307,8 +308,7 @@
 
 &sdio {
 	status = "okay";
-	cd-gpios = <&gpioc 13 0>;
-	cd-inverted;
+	cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins>;
 	pinctrl-1 = <&sdio_pins_od>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [U-Boot, 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco
  2018-08-06  7:38 ` [U-Boot] [PATCH 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco Patrice Chotard
@ 2018-08-13 23:58   ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2018-08-13 23:58 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 06, 2018 at 09:38:17AM +0200, Patrice Chotard wrote:

> As cd-inverted property is no more used by arm_pl180_mmci driver,
> remove it. Update cd-gpios active level accordingly.
> 
> Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180813/d9f2ef51/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [U-Boot, 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco
  2018-08-06  7:38 ` [U-Boot] [PATCH 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco Patrice Chotard
@ 2018-08-13 23:58   ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2018-08-13 23:58 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 06, 2018 at 09:38:18AM +0200, Patrice Chotard wrote:

> As cd-inverted property is no more used by arm_pl180_mmci driver,
> remove it. Update cd-gpios active level accordingly.
> 
> Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180813/50c452a4/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-13 23:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06  7:38 [U-Boot] [PATCH 0/2] Remove DT cd-inverted property for stm32f7 Patrice Chotard
2018-08-06  7:38 ` [U-Boot] [PATCH 1/2] ARM: dts: stm32: remove cd-inverted for stm32f769-disco Patrice Chotard
2018-08-13 23:58   ` [U-Boot] [U-Boot, " Tom Rini
2018-08-06  7:38 ` [U-Boot] [PATCH 2/2] ARM: dts: stm32: remove cd-inverted for stm32f746-disco Patrice Chotard
2018-08-13 23:58   ` [U-Boot] [U-Boot, " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.