Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
Hi York, I think it's better not to affect the original i.mx SoCs. If not in i.mx SoCs, we can enable it by define CONFIG_IMX_WATCHDOG in config file. Or do you think it's better to use "select IMX_WATCHDOG" to enable it in default for our LSCH2 SoCs/platforms? Here is the patch I have changed

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
Hi York, Sure, thanks for your suggestion. I'll add IMX_WATCHDOG in Kconfig, users can enable it for the platforms they needed. I will push v2 patch later, please help to review it, thanks. Regards, Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年6月1日 11:20 To: Xiaoliang Ya

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread York Sun
On 05/31/2018 08:16 PM, Xiaoliang Yang wrote: > Hi York, > > I think it's better not to affect the original i.mx SoCs. If not in i.mx > SoCs, we can enable it by define CONFIG_IMX_WATCHDOG in config file. Or do > you think it's better to use "select IMX_WATCHDOG" to enable it in default > for o

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread York Sun
On 05/31/2018 01:01 AM, Xiaoliang Yang wrote: > Thanks York, > > This watchdog driver is really not support LSCH3. I'll change the patch like > following to build the imx_watchdog.c only in LSCH2 of layerscape, do you > think it's appropriate? > > diff --git a/drivers/watchdog/Makefile b/driver

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread Xiaoliang Yang
Thanks York, This watchdog driver is really not support LSCH3. I'll change the patch like following to build the imx_watchdog.c only in LSCH2 of layerscape, do you think it's appropriate? diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index 86cf94b..ea47ccf 100644 --- a/driv

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-30 Thread York Sun
On 05/23/2018 12:52 AM, Xiaoliang Yang wrote: > Support watchdog driver for layerscape. If you want to use it, > please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, > define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. > > Signed-off-by: Xiaoliang Yang > --- > arch/arm/cpu/armv8/fsl

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Hi york, Yes, I sent it two days ago, but it's failed to send to u-boot list, so I resend it. Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年5月24日 6:58 To: Xiaoliang Yang ; u-boot@lists.denx.de Subject: Re: [PATCH 1/2] watchdog: driver support for layerscape On 05/23/2018

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread York Sun
On 05/23/2018 12:52 AM, Xiaoliang Yang wrote: > Support watchdog driver for layerscape. If you want to use it, > please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, > define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. > > Signed-off-by: Xiaoliang Yang > --- > arch/arm/cpu/armv8/fsl

[U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Support watchdog driver for layerscape. If you want to use it, please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 ++ drivers/watc