2013-05-31 05:56:52

by Michal Simek

[permalink] [raw]
Subject: [PATCH v2 0/2] Xilinx watchdog changes


Attachments:
(No filename) (577.00 B)
(No filename) (198.00 B)
Download all attachments

2013-06-01 15:28:44

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] watchdog: xilinx: Fix driver header

On Fri, May 31, 2013 at 07:56:33AM +0200, Michal Simek wrote:
> - Remove reference for IP version
> - Fix header coding style
> - Remove notes which are visible from the code
> - Fix driver license according to header
>
> Signed-off-by: Michal Simek <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> Changes in v2: None
>
> drivers/watchdog/of_xilinx_wdt.c | 30 ++++++++++--------------------
> 1 file changed, 10 insertions(+), 20 deletions(-)
>
> diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
> index 2761ddb..d4a35ab 100644
> --- a/drivers/watchdog/of_xilinx_wdt.c
> +++ b/drivers/watchdog/of_xilinx_wdt.c
> @@ -1,23 +1,13 @@
> /*
> -* of_xilinx_wdt.c 1.01 A Watchdog Device Driver for Xilinx xps_timebase_wdt
> -*
> -* (C) Copyright 2011 (Alejandro Cabrera <[email protected]>)
> -*
> -* -----------------------
> -*
> -* This program is free software; you can redistribute it and/or
> -* modify it under the terms of the GNU General Public License
> -* as published by the Free Software Foundation; either version
> -* 2 of the License, or (at your option) any later version.
> -*
> -* -----------------------
> -* 30-May-2011 Alejandro Cabrera <[email protected]>
> -* - If "xlnx,wdt-enable-once" wasn't found on device tree the
> -* module will use CONFIG_WATCHDOG_NOWAYOUT
> -* - If the device tree parameters ("clock-frequency" and
> -* "xlnx,wdt-interval") wasn't found the driver won't
> -* know the wdt reset interval
> -*/
> + * Watchdog Device Driver for Xilinx axi/xps_timebase_wdt
> + *
> + * (C) Copyright 2011 (Alejandro Cabrera <[email protected]>)
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version
> + * 2 of the License, or (at your option) any later version.
> + */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> @@ -413,5 +403,5 @@ module_platform_driver(xwdt_driver);
>
> MODULE_AUTHOR("Alejandro Cabrera <[email protected]>");
> MODULE_DESCRIPTION("Xilinx Watchdog driver");
> -MODULE_LICENSE("GPL");
> +MODULE_LICENSE("GPL v2");
> MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
> --
> 1.8.2.3
>

2013-06-01 15:29:07

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH v2 2/2] watchdog: xilinx: Setup the origin compatible string

On Fri, May 31, 2013 at 07:56:34AM +0200, Michal Simek wrote:
> Watchdog 1.01.a is also compatible with 1.00.a.
> Add the origin version to compatible list.
>
> Signed-off-by: Michal Simek <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> Changes in v2:
> - Extend compatible list with 1.00.a instead of replacing 1.01.a
> reported by Guenter Roeck <[email protected]>
>
> drivers/watchdog/of_xilinx_wdt.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
> index d4a35ab..4dd281f 100644
> --- a/drivers/watchdog/of_xilinx_wdt.c
> +++ b/drivers/watchdog/of_xilinx_wdt.c
> @@ -384,6 +384,7 @@ static int xwdt_remove(struct platform_device *dev)
>
> /* Match table for of_platform binding */
> static struct of_device_id xwdt_of_match[] = {
> + { .compatible = "xlnx,xps-timebase-wdt-1.00.a", },
> { .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
> {},
> };
> --
> 1.8.2.3
>

2013-06-10 09:10:32

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] Xilinx watchdog changes

Hi Wim

On 05/31/2013 07:56 AM, Michal Simek wrote:
> The patchset fixes license header and add 1.00.a IP to compatible
> list.
>
> Thanks for your review,
> Michal
>
> Remove the 3rd patch from this series which incorrectly
> tried to support set timeout feature.
>
> Changes in v2:
> - Extend compatible list with 1.00.a instead of replacing 1.01.a
> reported by Guenter Roeck <[email protected]>
>
> Michal Simek (2):
> watchdog: xilinx: Fix driver header
> watchdog: xilinx: Setup the origin compatible string
>
> drivers/watchdog/of_xilinx_wdt.c | 31 +++++++++++--------------------
> 1 file changed, 11 insertions(+), 20 deletions(-)

Can you please add these two patches to your tree?

Thanks,
Michal


--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



Attachments:
signature.asc (263.00 B)
OpenPGP digital signature

2013-06-26 13:00:24

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] Xilinx watchdog changes

On 06/10/2013 11:10 AM, Michal Simek wrote:
> Hi Wim
>
> On 05/31/2013 07:56 AM, Michal Simek wrote:
>> The patchset fixes license header and add 1.00.a IP to compatible
>> list.
>>
>> Thanks for your review,
>> Michal
>>
>> Remove the 3rd patch from this series which incorrectly
>> tried to support set timeout feature.
>>
>> Changes in v2:
>> - Extend compatible list with 1.00.a instead of replacing 1.01.a
>> reported by Guenter Roeck <[email protected]>
>>
>> Michal Simek (2):
>> watchdog: xilinx: Fix driver header
>> watchdog: xilinx: Setup the origin compatible string
>>
>> drivers/watchdog/of_xilinx_wdt.c | 31 +++++++++++--------------------
>> 1 file changed, 11 insertions(+), 20 deletions(-)
>
> Can you please add these two patches to your tree?

Wim: I can't see these patches in linux-next that's why I expect
you haven't added them to your branch.
Can you please look at it?

Thanks,
Michal


--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



Attachments:
signature.asc (263.00 B)
OpenPGP digital signature

2013-06-27 19:21:09

by Wim Van Sebroeck

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] Xilinx watchdog changes

Hi Michal,

> The patchset fixes license header and add 1.00.a IP to compatible
> list.
>
> Thanks for your review,
> Michal
>
> Remove the 3rd patch from this series which incorrectly
> tried to support set timeout feature.
>
> Changes in v2:
> - Extend compatible list with 1.00.a instead of replacing 1.01.a
> reported by Guenter Roeck <[email protected]>
>
> Michal Simek (2):
> watchdog: xilinx: Fix driver header
> watchdog: xilinx: Setup the origin compatible string
>
> drivers/watchdog/of_xilinx_wdt.c | 31 +++++++++++--------------------
> 1 file changed, 11 insertions(+), 20 deletions(-)

Both patches added to linux-watchdog-next.

Kind regards,
Wim.