devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] MIPS: Ci20: Enable watchdog driver
@ 2017-09-08 18:35 Mathieu Malaterre
  2017-09-08 18:35 ` [PATCH 2/3] watchdog: jz4780: Allow selection of jz4740-wdt driver Mathieu Malaterre
  2017-09-08 18:35 ` [PATCH 3/3] MIPS: jz4780: DTS: Probe the jz4740-watchdog driver from devicetree Mathieu Malaterre
  0 siblings, 2 replies; 15+ messages in thread
From: Mathieu Malaterre @ 2017-09-08 18:35 UTC (permalink / raw)
  Cc: Mathieu Malaterre, Rob Herring, Mark Rutland, Ralf Baechle,
	Wim Van Sebroeck, Guenter Roeck, Paul Cercueil, Linus Walleij,
	Krzysztof Kozlowski, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-mips-6z/3iImG2C8G8FEW9MqTrA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-watchdog-u79uwXL29TY76Z2rM5mHXA

Update the Ci20's defconfig to enable the JZ4740's watchdog driver.

Signed-off-by: Mathieu Malaterre <malat-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
---
 arch/mips/configs/ci20_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig
index b42cfa7865f9..459b21e6278d 100644
--- a/arch/mips/configs/ci20_defconfig
+++ b/arch/mips/configs/ci20_defconfig
@@ -92,6 +92,8 @@ CONFIG_I2C=y
 CONFIG_I2C_JZ4780=y
 CONFIG_GPIO_SYSFS=y
 # CONFIG_HWMON is not set
+CONFIG_WATCHDOG=y
+CONFIG_JZ4740_WDT=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_DEBUG=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* Re: [3/3] MIPS: jz4780: DTS: Probe the jz4740-watchdog driver from devicetree
@ 2017-10-24 13:43 Paul Cercueil
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Cercueil @ 2017-10-24 13:43 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Mathieu Malaterre, Mark Rutland, linux-kernel, devicetree,
	linux-watchdog, Linus Walleij, Ralf Baechle, Wim Van Sebroeck,
	linux-mips, Krzysztof Kozlowski, robh+dt

Hi,

Le 22 oct. 2017 5:26 PM, Guenter Roeck <linux@roeck-us.net> a écrit :
>
> On Fri, Sep 08, 2017 at 08:35:55PM +0200, Mathieu Malaterre wrote: 
> > The jz4740-watchdog driver supports both jz4740 & jz4780. 
> > 
> > Signed-off-by: Mathieu Malaterre <malat@debian.org> 
>
> Acked-by: Guenter Roeck <linux@roeck-us.net> 
>
> > --- 
> >  arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 +++++ 
> >  1 file changed, 5 insertions(+) 
> > 
> > diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > index 4853ef67b3ab..33d7f49186d6 100644 
> > --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > @@ -207,6 +207,11 @@ 
> >  status = "disabled"; 
> >  }; 
> >  
> > + watchdog: jz4780-watchdog@10002000 { 
> > + compatible = "ingenic,jz4740-watchdog"; 
> > + reg = <0x10002000 0x100>; 
> > + }; 
> > + 
> >  nemc: nemc@13410000 { 
> >  compatible = "ingenic,jz4780-nemc"; 
> >  reg = <0x13410000 0x10000>; 

The node should be named just " watchdog@...", I think.

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [3/3] MIPS: jz4780: DTS: Probe the jz4740-watchdog driver from devicetree
@ 2017-10-24 13:43 Paul Cercueil
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Cercueil @ 2017-10-24 13:43 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Mathieu Malaterre, Mark Rutland, linux-kernel, devicetree,
	linux-watchdog, Linus Walleij, Ralf Baechle, Wim Van Sebroeck,
	linux-mips, Krzysztof Kozlowski, robh+dt

Hi,

Le 22 oct. 2017 5:26 PM, Guenter Roeck <linux@roeck-us.net> a écrit :
>
> On Fri, Sep 08, 2017 at 08:35:55PM +0200, Mathieu Malaterre wrote: 
> > The jz4740-watchdog driver supports both jz4740 & jz4780. 
> > 
> > Signed-off-by: Mathieu Malaterre <malat@debian.org> 
>
> Acked-by: Guenter Roeck <linux@roeck-us.net> 
>
> > --- 
> >  arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 +++++ 
> >  1 file changed, 5 insertions(+) 
> > 
> > diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > index 4853ef67b3ab..33d7f49186d6 100644 
> > --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi 
> > @@ -207,6 +207,11 @@ 
> >  status = "disabled"; 
> >  }; 
> >  
> > + watchdog: jz4780-watchdog@10002000 { 
> > + compatible = "ingenic,jz4740-watchdog"; 
> > + reg = <0x10002000 0x100>; 
> > + }; 
> > + 
> >  nemc: nemc@13410000 { 
> >  compatible = "ingenic,jz4780-nemc"; 
> >  reg = <0x13410000 0x10000>; 

The node should be named just " watchdog@...", I think.

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

end of thread, other threads:[~2017-11-09 16:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 18:35 [PATCH 1/3] MIPS: Ci20: Enable watchdog driver Mathieu Malaterre
2017-09-08 18:35 ` [PATCH 2/3] watchdog: jz4780: Allow selection of jz4740-wdt driver Mathieu Malaterre
2017-09-09  1:32   ` Guenter Roeck
2017-11-09  7:47   ` James Hogan
2017-11-09 16:01     ` Guenter Roeck
2017-11-09 16:43       ` James Hogan
2017-11-09 16:57         ` Guenter Roeck
2017-09-08 18:35 ` [PATCH 3/3] MIPS: jz4780: DTS: Probe the jz4740-watchdog driver from devicetree Mathieu Malaterre
     [not found]   ` <20170908183558.1537-3-malat-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2017-09-15 19:18     ` [PATCH v2 3/5] " Mathieu Malaterre
     [not found]       ` <20170915191837.27564-1-malat-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2017-09-26 13:17         ` PrasannaKumar Muralidharan
2017-09-26 13:26           ` Mathieu Malaterre
     [not found]             ` <CA+7wUsyrP8a96-55Zk_GPQmNzPS9MB__dhjwUds7RkQhfe=+EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-26 13:59               ` PrasannaKumar Muralidharan
2017-10-22 15:26   ` [3/3] " Guenter Roeck
  -- strict thread matches above, loose matches on Subject: below --
2017-10-24 13:43 Paul Cercueil
2017-10-24 13:43 Paul Cercueil

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).