linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Remove cd-inverted property for STM32Fx boards
@ 2018-07-26  7:19 patrice.chotard
  2018-07-26  7:19 ` [PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval patrice.chotard
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: patrice.chotard @ 2018-07-26  7:19 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel,
	devicetree, alexandre.torgue, lee.jones
  Cc: mcoquelin.stm32, Patrice Chotard

From: Patrice Chotard <patrice.chotard@st.com>

This series remove cd-inverted property from STM32Fx boards DT files.
As GPIOS are used for card detect, the polarity can be indicated using 
GPIO_ACTIVE_(HIGH|LOW), so cd-inverted becomes useless.

Patrice Chotard (4):
  ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval
  ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco
  ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco
  ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco

 arch/arm/boot/dts/stm32429i-eval.dts  | 3 +--
 arch/arm/boot/dts/stm32f469-disco.dts | 3 +--
 arch/arm/boot/dts/stm32f746-disco.dts | 3 +--
 arch/arm/boot/dts/stm32f769-disco.dts | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

-- 
1.9.1


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

* [PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval
  2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
@ 2018-07-26  7:19 ` patrice.chotard
  2018-07-26  7:19 ` [PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco patrice.chotard
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: patrice.chotard @ 2018-07-26  7:19 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel,
	devicetree, alexandre.torgue, lee.jones
  Cc: mcoquelin.stm32, Patrice Chotard

From: Patrice Chotard <patrice.chotard@st.com>

Remove cd-inverted property and update cd-gpios active level
accordingly

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 arch/arm/boot/dts/stm32429i-eval.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 7eb786a2d624..ed7d7f46465e 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -264,8 +264,7 @@
 &sdio {
 	status = "okay";
 	vmmc-supply = <&mmc_vcard>;
-	cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_HIGH>;
-	cd-inverted;
+	cd-gpios = <&stmpegpio 15 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] 6+ messages in thread

* [PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco
  2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
  2018-07-26  7:19 ` [PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval patrice.chotard
@ 2018-07-26  7:19 ` patrice.chotard
  2018-07-26  7:19 ` [PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco patrice.chotard
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: patrice.chotard @ 2018-07-26  7:19 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel,
	devicetree, alexandre.torgue, lee.jones
  Cc: mcoquelin.stm32, Patrice Chotard

From: Patrice Chotard <patrice.chotard@st.com>

Remove cd-inverted property and update cd-gpios active level
accordingly

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 arch/arm/boot/dts/stm32f469-disco.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
index 3ee768cb86fc..7937b43d7788 100644
--- a/arch/arm/boot/dts/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/stm32f469-disco.dts
@@ -210,8 +210,7 @@
 &sdio {
 	status = "okay";
 	vmmc-supply = <&mmc_vcard>;
-	cd-gpios = <&gpiog 2 GPIO_ACTIVE_HIGH>;
-	cd-inverted;
+	cd-gpios = <&gpiog 2 GPIO_ACTIVE_LOW>;
 	broken-cd;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins>;
-- 
1.9.1


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

* [PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco
  2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
  2018-07-26  7:19 ` [PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval patrice.chotard
  2018-07-26  7:19 ` [PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco patrice.chotard
@ 2018-07-26  7:19 ` patrice.chotard
  2018-07-26  7:19 ` [PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco patrice.chotard
  2018-09-20 12:52 ` [PATCH 0/4] Remove cd-inverted property for STM32Fx boards Alexandre Torgue
  4 siblings, 0 replies; 6+ messages in thread
From: patrice.chotard @ 2018-07-26  7:19 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel,
	devicetree, alexandre.torgue, lee.jones
  Cc: mcoquelin.stm32, Patrice Chotard

From: Patrice Chotard <patrice.chotard@st.com>

Remove cd-inverted property and update cd-gpios active level
accordingly

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 arch/arm/boot/dts/stm32f769-disco.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts
index 360d3bb7da66..cd6ddef4c1da 100644
--- a/arch/arm/boot/dts/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/stm32f769-disco.dts
@@ -139,8 +139,7 @@
 &sdio2 {
 	status = "okay";
 	vmmc-supply = <&mmc_vcard>;
-	cd-gpios = <&gpioi 15 GPIO_ACTIVE_HIGH>;
-	cd-inverted;
+	cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
 	broken-cd;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins_b>;
-- 
1.9.1


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

* [PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco
  2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
                   ` (2 preceding siblings ...)
  2018-07-26  7:19 ` [PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco patrice.chotard
@ 2018-07-26  7:19 ` patrice.chotard
  2018-09-20 12:52 ` [PATCH 0/4] Remove cd-inverted property for STM32Fx boards Alexandre Torgue
  4 siblings, 0 replies; 6+ messages in thread
From: patrice.chotard @ 2018-07-26  7:19 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel,
	devicetree, alexandre.torgue, lee.jones
  Cc: mcoquelin.stm32, Patrice Chotard

From: Patrice Chotard <patrice.chotard@st.com>

Remove cd-inverted property and update cd-gpios active level
accordingly

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 arch/arm/boot/dts/stm32f746-disco.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts
index f9ad71f7c807..e3a7bd338d61 100644
--- a/arch/arm/boot/dts/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/stm32f746-disco.dts
@@ -101,8 +101,7 @@
 &sdio1 {
 	status = "okay";
 	vmmc-supply = <&mmc_vcard>;
-	cd-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
-	cd-inverted;
+	cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins_a>;
 	pinctrl-1 = <&sdio_pins_od_a>;
-- 
1.9.1


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

* Re: [PATCH 0/4] Remove cd-inverted property for STM32Fx boards
  2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
                   ` (3 preceding siblings ...)
  2018-07-26  7:19 ` [PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco patrice.chotard
@ 2018-09-20 12:52 ` Alexandre Torgue
  4 siblings, 0 replies; 6+ messages in thread
From: Alexandre Torgue @ 2018-09-20 12:52 UTC (permalink / raw)
  To: patrice.chotard, robh+dt, mark.rutland, linux, linux-arm-kernel,
	linux-kernel, devicetree, lee.jones
  Cc: mcoquelin.stm32

Hi Patrice

On 07/26/2018 09:19 AM, patrice.chotard@st.com wrote:
> From: Patrice Chotard <patrice.chotard@st.com>
> 
> This series remove cd-inverted property from STM32Fx boards DT files.
> As GPIOS are used for card detect, the polarity can be indicated using
> GPIO_ACTIVE_(HIGH|LOW), so cd-inverted becomes useless.
> 
> Patrice Chotard (4):
>    ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval
>    ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco
>    ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco
>    ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco
> 
>   arch/arm/boot/dts/stm32429i-eval.dts  | 3 +--
>   arch/arm/boot/dts/stm32f469-disco.dts | 3 +--
>   arch/arm/boot/dts/stm32f746-disco.dts | 3 +--
>   arch/arm/boot/dts/stm32f769-disco.dts | 3 +--
>   4 files changed, 4 insertions(+), 8 deletions(-)
> 

Series applied on stm32-next.

Regards
Alex

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

end of thread, other threads:[~2018-09-20 12:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26  7:19 [PATCH 0/4] Remove cd-inverted property for STM32Fx boards patrice.chotard
2018-07-26  7:19 ` [PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval patrice.chotard
2018-07-26  7:19 ` [PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco patrice.chotard
2018-07-26  7:19 ` [PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco patrice.chotard
2018-07-26  7:19 ` [PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco patrice.chotard
2018-09-20 12:52 ` [PATCH 0/4] Remove cd-inverted property for STM32Fx boards Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).