linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc.
       [not found] <1473859677-9231-1-git-send-email-peter.griffin@linaro.org>
@ 2016-09-14 13:27 ` Peter Griffin
  2016-09-14 22:16   ` Guenter Roeck
                     ` (2 more replies)
  2016-09-14 13:27 ` [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms Peter Griffin
  1 sibling, 3 replies; 6+ messages in thread
From: Peter Griffin @ 2016-09-14 13:27 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree
  Cc: peter.griffin, lee.jones, wim, linux, robh+dt, linux-watchdog

STiH415/6 SoC support is being removed from the kernel
so update the dt bding document to reflect this.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <wim@iguana.be>
Cc: <linux@roeck-us.net>
Cc: <robh+dt@kernel.org>
Cc: <linux-watchdog@vger.kernel.org>
---
 Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt b/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
index 039c5ca..b949039 100644
--- a/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
@@ -9,8 +9,7 @@ functionality.
 
 Required properties
 
-- compatible 	: Must be one of: "st,stih407-lpc" "st,stih416-lpc"
-				  "st,stih415-lpc" "st,stid127-lpc"
+- compatible 	: Should be: "st,stih407-lpc"
 - reg		: LPC registers base address + size
 - interrupts    : LPC interrupt line number and associated flags
 - clocks	: Clock used by LPC device (See: ../clock/clock-bindings.txt)
-- 
1.9.1

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

* [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms
       [not found] <1473859677-9231-1-git-send-email-peter.griffin@linaro.org>
  2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
@ 2016-09-14 13:27 ` Peter Griffin
  2016-09-14 22:16   ` Guenter Roeck
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Griffin @ 2016-09-14 13:27 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree
  Cc: peter.griffin, lee.jones, wim, linux, linux-watchdog

STiH415/6 SoC support is being removed from the kernel.
This patch updates the watchdog driver to remove references
to these obsolete platforms.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <wim@iguana.be>
Cc: <linux@roeck-us.net>
Cc: <linux-watchdog@vger.kernel.org>
---
 drivers/watchdog/st_lpc_wdt.c | 33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c
index 14e9bad..e6100e4 100644
--- a/drivers/watchdog/st_lpc_wdt.c
+++ b/drivers/watchdog/st_lpc_wdt.c
@@ -52,27 +52,6 @@ struct st_wdog {
 	bool warm_reset;
 };
 
-static struct st_wdog_syscfg stid127_syscfg = {
-	.reset_type_reg		= 0x004,
-	.reset_type_mask	= BIT(2),
-	.enable_reg		= 0x000,
-	.enable_mask		= BIT(2),
-};
-
-static struct st_wdog_syscfg stih415_syscfg = {
-	.reset_type_reg		= 0x0B8,
-	.reset_type_mask	= BIT(6),
-	.enable_reg		= 0x0B4,
-	.enable_mask		= BIT(7),
-};
-
-static struct st_wdog_syscfg stih416_syscfg = {
-	.reset_type_reg		= 0x88C,
-	.reset_type_mask	= BIT(6),
-	.enable_reg		= 0x888,
-	.enable_mask		= BIT(7),
-};
-
 static struct st_wdog_syscfg stih407_syscfg = {
 	.enable_reg		= 0x204,
 	.enable_mask		= BIT(19),
@@ -83,18 +62,6 @@ static const struct of_device_id st_wdog_match[] = {
 		.compatible = "st,stih407-lpc",
 		.data = &stih407_syscfg,
 	},
-	{
-		.compatible = "st,stih416-lpc",
-		.data = &stih416_syscfg,
-	},
-	{
-		.compatible = "st,stih415-lpc",
-		.data = &stih415_syscfg,
-	},
-	{
-		.compatible = "st,stid127-lpc",
-		.data = &stid127_syscfg,
-	},
 	{},
 };
 MODULE_DEVICE_TABLE(of, st_wdog_match);
-- 
1.9.1

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

* Re: [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc.
  2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
@ 2016-09-14 22:16   ` Guenter Roeck
  2016-09-23 15:08   ` Rob Herring
  2016-10-08 14:04   ` Wim Van Sebroeck
  2 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2016-09-14 22:16 UTC (permalink / raw)
  To: Peter Griffin
  Cc: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree, lee.jones, wim, robh+dt, linux-watchdog

On Wed, Sep 14, 2016 at 02:27:48PM +0100, Peter Griffin wrote:
> STiH415/6 SoC support is being removed from the kernel
> so update the dt bding document to reflect this.
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Cc: <wim@iguana.be>
> Cc: <linux@roeck-us.net>
> Cc: <robh+dt@kernel.org>
> Cc: <linux-watchdog@vger.kernel.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt b/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
> index 039c5ca..b949039 100644
> --- a/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
> @@ -9,8 +9,7 @@ functionality.
>  
>  Required properties
>  
> -- compatible 	: Must be one of: "st,stih407-lpc" "st,stih416-lpc"
> -				  "st,stih415-lpc" "st,stid127-lpc"
> +- compatible 	: Should be: "st,stih407-lpc"
>  - reg		: LPC registers base address + size
>  - interrupts    : LPC interrupt line number and associated flags
>  - clocks	: Clock used by LPC device (See: ../clock/clock-bindings.txt)
> -- 
> 1.9.1
> 

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

* Re: [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms
  2016-09-14 13:27 ` [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms Peter Griffin
@ 2016-09-14 22:16   ` Guenter Roeck
  0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2016-09-14 22:16 UTC (permalink / raw)
  To: Peter Griffin
  Cc: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree, lee.jones, wim, linux-watchdog

On Wed, Sep 14, 2016 at 02:27:49PM +0100, Peter Griffin wrote:
> STiH415/6 SoC support is being removed from the kernel.
> This patch updates the watchdog driver to remove references
> to these obsolete platforms.
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Cc: <wim@iguana.be>
> Cc: <linux@roeck-us.net>
> Cc: <linux-watchdog@vger.kernel.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/watchdog/st_lpc_wdt.c | 33 ---------------------------------
>  1 file changed, 33 deletions(-)
> 
> diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c
> index 14e9bad..e6100e4 100644
> --- a/drivers/watchdog/st_lpc_wdt.c
> +++ b/drivers/watchdog/st_lpc_wdt.c
> @@ -52,27 +52,6 @@ struct st_wdog {
>  	bool warm_reset;
>  };
>  
> -static struct st_wdog_syscfg stid127_syscfg = {
> -	.reset_type_reg		= 0x004,
> -	.reset_type_mask	= BIT(2),
> -	.enable_reg		= 0x000,
> -	.enable_mask		= BIT(2),
> -};
> -
> -static struct st_wdog_syscfg stih415_syscfg = {
> -	.reset_type_reg		= 0x0B8,
> -	.reset_type_mask	= BIT(6),
> -	.enable_reg		= 0x0B4,
> -	.enable_mask		= BIT(7),
> -};
> -
> -static struct st_wdog_syscfg stih416_syscfg = {
> -	.reset_type_reg		= 0x88C,
> -	.reset_type_mask	= BIT(6),
> -	.enable_reg		= 0x888,
> -	.enable_mask		= BIT(7),
> -};
> -
>  static struct st_wdog_syscfg stih407_syscfg = {
>  	.enable_reg		= 0x204,
>  	.enable_mask		= BIT(19),
> @@ -83,18 +62,6 @@ static const struct of_device_id st_wdog_match[] = {
>  		.compatible = "st,stih407-lpc",
>  		.data = &stih407_syscfg,
>  	},
> -	{
> -		.compatible = "st,stih416-lpc",
> -		.data = &stih416_syscfg,
> -	},
> -	{
> -		.compatible = "st,stih415-lpc",
> -		.data = &stih415_syscfg,
> -	},
> -	{
> -		.compatible = "st,stid127-lpc",
> -		.data = &stid127_syscfg,
> -	},
>  	{},
>  };
>  MODULE_DEVICE_TABLE(of, st_wdog_match);
> -- 
> 1.9.1
> 

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

* Re: [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc.
  2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
  2016-09-14 22:16   ` Guenter Roeck
@ 2016-09-23 15:08   ` Rob Herring
  2016-10-08 14:04   ` Wim Van Sebroeck
  2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2016-09-23 15:08 UTC (permalink / raw)
  To: Peter Griffin
  Cc: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree, lee.jones, wim, linux, linux-watchdog

On Wed, Sep 14, 2016 at 02:27:48PM +0100, Peter Griffin wrote:
> STiH415/6 SoC support is being removed from the kernel
> so update the dt bding document to reflect this.
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Cc: <wim@iguana.be>
> Cc: <linux@roeck-us.net>
> Cc: <robh+dt@kernel.org>
> Cc: <linux-watchdog@vger.kernel.org>
> ---
>  Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc.
  2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
  2016-09-14 22:16   ` Guenter Roeck
  2016-09-23 15:08   ` Rob Herring
@ 2016-10-08 14:04   ` Wim Van Sebroeck
  2 siblings, 0 replies; 6+ messages in thread
From: Wim Van Sebroeck @ 2016-10-08 14:04 UTC (permalink / raw)
  To: Peter Griffin
  Cc: linux-arm-kernel, linux-kernel, kernel, patrice.chotard,
	devicetree, lee.jones, linux, robh+dt, linux-watchdog

Hi Peter,

> STiH415/6 SoC support is being removed from the kernel
> so update the dt bding document to reflect this.
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Cc: <wim@iguana.be>
> Cc: <linux@roeck-us.net>
> Cc: <robh+dt@kernel.org>
> Cc: <linux-watchdog@vger.kernel.org>
> ---

This patch and your st_wdt patch has been added to linux-watchdog-next almost 2 weeks ago.

Kind regards,
Wim.

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

end of thread, other threads:[~2016-10-08 14:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1473859677-9231-1-git-send-email-peter.griffin@linaro.org>
2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
2016-09-14 22:16   ` Guenter Roeck
2016-09-23 15:08   ` Rob Herring
2016-10-08 14:04   ` Wim Van Sebroeck
2016-09-14 13:27 ` [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms Peter Griffin
2016-09-14 22:16   ` Guenter Roeck

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