diff mbox

[3/3] arm: dts: rk322x: add watchdog device node.

Message ID 1494992451-32542-4-git-send-email-frank.wang@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Frank Wang May 17, 2017, 3:40 a.m. UTC
Add watchdog device node for rk322x SoC.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
 arch/arm/boot/dts/rk322x.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

kernel test robot May 18, 2017, 3:18 a.m. UTC | #1
Hi Frank,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.12-rc1 next-20170517]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Frank-Wang/add-and-fix-some-device-node-for-rk322x-SoC/20170518-081958
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/rk322x.dtsi:286.18-19 syntax error
   FATAL ERROR: Unable to parse input tree

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
Frank Wang May 18, 2017, 3:58 a.m. UTC | #2
Hi,

Sorry, I forgot to declare that this change required below patch on 
patchwork.
https://patchwork.kernel.org/patch/9703945/


BR.
Frank

On 2017/5/18 11:18, kbuild test robot wrote:
> Hi Frank,
>
> [auto build test ERROR on rockchip/for-next]
> [also build test ERROR on v4.12-rc1 next-20170517]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url:    https://github.com/0day-ci/linux/commits/Frank-Wang/add-and-fix-some-device-node-for-rk322x-SoC/20170518-081958
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
> config: arm-at91_dt_defconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>          wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # save the attached .config to linux build tree
>          make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
>>> Error: arch/arm/boot/dts/rk322x.dtsi:286.18-19 syntax error
>     FATAL ERROR: Unable to parse input tree
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
Heiko Stübner May 18, 2017, 7:18 a.m. UTC | #3
Am Donnerstag, 18. Mai 2017, 11:58:04 CEST schrieb Frank Wang:
> Hi,
> 
> Sorry, I forgot to declare that this change required below patch on
> patchwork.
> https://patchwork.kernel.org/patch/9703945/

I found that yesterday already and brought everything in the correct order 
when applying :-)


Heiko

> 
> 
> BR.
> Frank
> 
> On 2017/5/18 11:18, kbuild test robot wrote:
> > Hi Frank,
> > 
> > [auto build test ERROR on rockchip/for-next]
> > [also build test ERROR on v4.12-rc1 next-20170517]
> > [if your patch is applied to the wrong git tree, please drop us a note to
> > help improve the system]
> > 
> > url:   
> > https://github.com/0day-ci/linux/commits/Frank-Wang/add-and-fix-some-devi
> > ce-node-for-rk322x-SoC/20170518-081958 base:  
> > https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
> > for-next config: arm-at91_dt_defconfig (attached as .config)
> > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > 
> > reproduce:
> >          wget
> >          https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/ma
> >          ke.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
> >          # save the attached .config to linux build tree
> >          make.cross ARCH=arm
> > 
> > All errors (new ones prefixed by >>):
> >>> Error: arch/arm/boot/dts/rk322x.dtsi:286.18-19 syntax error
> >>> 
> >     FATAL ERROR: Unable to parse input tree
> > 
> > ---
> > 0-DAY kernel test infrastructure                Open Source Technology
> > Center https://lists.01.org/pipermail/kbuild-all                   Intel
> > Corporation
diff mbox

Patch

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index ea1239a..221251a 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -280,6 +280,14 @@ 
 		status = "disabled";
 	};
 
+	wdt: watchdog@110a0000 {
+		compatible = "snps,dw-wdt";
+		reg = <0x110a0000 0x100>;
+		clocks = <&cru PCLK_CPU>;
+		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
 	pwm0: pwm@110b0000 {
 		compatible = "rockchip,rk3288-pwm";
 		reg = <0x110b0000 0x10>;