All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support
@ 2017-05-23 15:16 Fabio Estevam
  2017-05-23 15:16 ` [PATCH 2/2] ARM: dts: imx7d-pico: Pass 'no-1-8-v' property to the eMMC Fabio Estevam
  2017-05-25  7:51 ` [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Shawn Guo
  0 siblings, 2 replies; 5+ messages in thread
From: Fabio Estevam @ 2017-05-23 15:16 UTC (permalink / raw)
  To: linux-arm-kernel

imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
wdog1 node and use the 'fsl,ext-reset-output' property to
properly describe it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx7d-pico.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-pico.dts b/arch/arm/boot/dts/imx7d-pico.dts
index ebda3df..f874352 100644
--- a/arch/arm/boot/dts/imx7d-pico.dts
+++ b/arch/arm/boot/dts/imx7d-pico.dts
@@ -284,6 +284,13 @@
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl_enet1: enet1grp {
 		fsl,pins = <
@@ -385,3 +392,11 @@
 		>;
 	};
 };
+
+&iomuxc_lpsr {
+	pinctrl_wdog: wdoggrp {
+		fsl,pins = <
+			MX7D_PAD_LPSR_GPIO1_IO00__WDOD1_WDOG_B	0x74
+		>;
+	};
+};
-- 
2.7.4

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

* [PATCH 2/2] ARM: dts: imx7d-pico: Pass 'no-1-8-v' property to the eMMC
  2017-05-23 15:16 [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Fabio Estevam
@ 2017-05-23 15:16 ` Fabio Estevam
  2017-05-25  7:51 ` [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Shawn Guo
  1 sibling, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2017-05-23 15:16 UTC (permalink / raw)
  To: linux-arm-kernel

Currently the following eMMC error is seen:

mmc1: mmc_select_hs200 failed, error -74

On imx7d-pico the eMMC VCCQ is fixed at 3.15V, so pass the 'no-1-8-v'
property to properly describe that 1.8V operation is not possible.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx7d-pico.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx7d-pico.dts b/arch/arm/boot/dts/imx7d-pico.dts
index f874352..79b5d83 100644
--- a/arch/arm/boot/dts/imx7d-pico.dts
+++ b/arch/arm/boot/dts/imx7d-pico.dts
@@ -279,6 +279,7 @@
 	assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
 	assigned-clock-rates = <400000000>;
 	bus-width = <8>;
+	no-1-8-v;
 	fsl,tuning-step = <2>;
 	non-removable;
 	status = "okay";
-- 
2.7.4

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

* [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support
  2017-05-23 15:16 [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Fabio Estevam
  2017-05-23 15:16 ` [PATCH 2/2] ARM: dts: imx7d-pico: Pass 'no-1-8-v' property to the eMMC Fabio Estevam
@ 2017-05-25  7:51 ` Shawn Guo
  2017-06-01 13:00   ` Fabio Estevam
  1 sibling, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2017-05-25  7:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
> imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
> wdog1 node and use the 'fsl,ext-reset-output' property to
> properly describe it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Applied both, thanks.

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

* [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support
  2017-05-25  7:51 ` [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Shawn Guo
@ 2017-06-01 13:00   ` Fabio Estevam
  2017-06-04  2:32     ` Shawn Guo
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2017-06-01 13:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Shawn,

On Thu, May 25, 2017 at 4:51 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
>> imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
>> wdog1 node and use the 'fsl,ext-reset-output' property to
>> properly describe it.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>
> Applied both, thanks.

Maybe you forgot to push them to your tree?

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

* [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support
  2017-06-01 13:00   ` Fabio Estevam
@ 2017-06-04  2:32     ` Shawn Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2017-06-04  2:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jun 01, 2017 at 10:00:25AM -0300, Fabio Estevam wrote:
> Hi Shawn,
> 
> On Thu, May 25, 2017 at 4:51 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> > On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
> >> imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
> >> wdog1 node and use the 'fsl,ext-reset-output' property to
> >> properly describe it.
> >>
> >> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> >
> > Applied both, thanks.
> 
> Maybe you forgot to push them to your tree?

Hmm, it's been on imx/dt for quite a few days, and for-next needs to be
updated though.

Shawn

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

end of thread, other threads:[~2017-06-04  2:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-23 15:16 [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Fabio Estevam
2017-05-23 15:16 ` [PATCH 2/2] ARM: dts: imx7d-pico: Pass 'no-1-8-v' property to the eMMC Fabio Estevam
2017-05-25  7:51 ` [PATCH 1/2] ARM: dts: imx7d-pico: Add watchdog support Shawn Guo
2017-06-01 13:00   ` Fabio Estevam
2017-06-04  2:32     ` Shawn Guo

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.