watchdog: Add Amlogic Meson GXBB Watchdog Timer driver
v3 cover watchdog: Add Amlogic Meson GXBB Watchdog Timer driver
Adds support for the Amlogic Meson GXBB SoC Watchdog Timer.
It differs from the meson6/meson8b HW, so need for a separate driver. The HW provides a divider capable of having a 1ms timebase thus simplifying the counter update.
The restart call is not provided even if the HW is capable of triggering a system reset immediately because of the PSCI firmare having such functionnality. The watchdog is not expected to be running at boot time since there is a separate system-level watchdog running from the SCPI co-processor, but this case would be handle in a next driver update.
Changes since v2 at http://lkml.kernel.org/r/1464943007-18000-1-git-send-email-narmstrong at baylibre.com :
- Fix set_timeout behaviour
Changes since v1 at http://lkml.kernel.org/r/1464614948-28247-1-git-send-email-narmstrong at baylibre.com :
- Update default timeout to 30sec
- Add separate CONFIG_
- Remove unused defines & functions
- Fix indentation
- Check set_timeout max value
- Reorder includes alphabetically
- Switch to human identify string
- clk_disable_unprepare on probe failure or removal
Changes since RFC version at http://lkml.kernel.org/r/1464249112-13658-1-git-send-email-narmstrong at baylibre.com :
- Remove status callback, will re-introduce it later to managed the already-running use case
- Fix registers defines indentation
- Fix space between operators
- Make all callbacks static functions
- Fix bindings with missing clocks attribute
- Do not stop/start watchdog on a timeout setup
- Fix probe device configuration
Neil Armstrong (3):
watchdog: Add Meson GXBB Watchdog Driver
dt-bindings: watchdog: Add Meson GXBB Watchdog bindings
ARM64: dts: amlogic: meson-gxbb: Add watchdog node
.../bindings/watchdog/meson-gxbb-wdt.txt | 16 ++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 + drivers/watchdog/Kconfig | 10 + drivers/watchdog/Makefile | 1 + drivers/watchdog/meson_gxbb_wdt.c | 270 +++++++++++++++++++++ 5 files changed, 303 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt create mode 100644 drivers/watchdog/meson_gxbb_wdt.c
Signature · 1 line
2.7.0
PATCH v3 1/3 watchdog: Add Meson GXBB Watchdog Driver
Add watchdog specific driver for Amlogic Meson GXBB SoC.
--- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/meson_gxbb_wdt.c | 270 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 281 insertions(+) create mode 100644 drivers/watchdog/meson_gxbb_wdt.c
drivers/watchdog/Kconfig +10 -0
@@ -609,6 +609,16 @@ config QCOM_WDT To compile this driver as a module, choose M here: the module will be called qcom_wdt. +config MESON_GXBB_WATCHDOG + tristate "Amlogic Meson GXBB SoCs watchdog support" + depends on ARCH_MESON + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer + in Amlogic Meson GXBB SoCs. + To compile this driver as a module, choose M here: the + module will be called meson_gxbb_wdt. + config MESON_WATCHDOG tristate "Amlogic Meson SoCs watchdog support" depends on ARCH_MESON
drivers/watchdog/Makefile +1 -0
@@ -67,6 +67,7 @@ obj-$(CONFIG_ST_LPC_WATCHDOG) += st_lpc_wdt.o obj-$(CONFIG_QCOM_WDT) += qcom-wdt.o obj-$(CONFIG_BCM_KONA_WDT) += bcm_kona_wdt.o obj-$(CONFIG_TEGRA_WATCHDOG) += tegra_wdt.o +obj-$(CONFIG_MESON_GXBB_WATCHDOG) += meson_gxbb_wdt.o obj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o obj-$(CONFIG_MEDIATEK_WATCHDOG) += mtk_wdt.o obj-$(CONFIG_DIGICOLOR_WATCHDOG) += digicolor_wdt.o
drivers/watchdog/meson_gxbb_wdt.c new file +270 -0
270 lines not on this page · raw message
Signature · 1 line
2.7.0
PATCH v3 2/3 dt-bindings: watchdog: Add Meson GXBB Watchdog bindings
In reply to Neil Armstrong--- .../devicetree/bindings/watchdog/meson-gxbb-wdt.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt
Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt new file +16 -0
@@ -0,0 +1,16 @@ +Meson GXBB SoCs Watchdog timer + +Required properties: + +- compatible : should be "amlogic,meson-gxbb-wdt" +- reg : Specifies base physical address and size of the registers. +- clocks : Should be a phandle to the Watchdog clock source, for GXBB the xtal + is the default clock source. + +Example: + +wdt: watchdog at 98d0 { + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0 0x98d0 0x0 0x10>; + clocks = <&xtal>; +};
Signature · 1 line
2.7.0
PATCH v3 3/3 ARM64: dts: amlogic: meson-gxbb: Add watchdog node
In reply to Neil Armstrong--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +6 -0
@@ -136,6 +136,12 @@ clocks = <&xtal>; status = "disabled"; }; + + watchdog at 98d0 { + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0x0 0x098d0 0x0 0x10>; + clocks = <&xtal>; + }; }; gic: interrupt-controller at c4301000 {
Signature · 1 line
2.7.0
Re: [PATCH v3 1/3] watchdog: Add Meson GXBB Watchdog Driver
In reply to Neil ArmstrongQuoted 3 lines · Neil Armstrong
Add watchdog specific driver for Amlogic Meson GXBB SoC.
Signed-off-by Neil Armstrong <[email protected]>
Quoted 317 lines
--- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/meson_gxbb_wdt.c | 270 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 281 insertions(+)create mode 100644
drivers/watchdog/meson_gxbb_wdt.cdrivers/watchdog/Kconfig +10
-0@@ -609,6 +609,16 @@ config QCOM_WDT To compile this driver as a module, choose M here: the module will be called qcom_wdt. +config MESON_GXBB_WATCHDOG + tristate "Amlogic Meson GXBB SoCs watchdog support" + depends on ARCH_MESON + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer + in Amlogic Meson GXBB SoCs. + To compile this driver as a module, choose M here: the + module will be called meson_gxbb_wdt. + config MESON_WATCHDOG tristate "Amlogic Meson SoCs watchdog support" depends on ARCH_MESONdrivers/watchdog/Makefile +1
-0@@ -67,6 +67,7 @@ obj-$(CONFIG_ST_LPC_WATCHDOG) += st_lpc_wdt.o obj-$(CONFIG_QCOM_WDT) += qcom-wdt.o obj-$(CONFIG_BCM_KONA_WDT) += bcm_kona_wdt.o obj-$(CONFIG_TEGRA_WATCHDOG) += tegra_wdt.o +obj-$(CONFIG_MESON_GXBB_WATCHDOG) += meson_gxbb_wdt.o obj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o obj-$(CONFIG_MEDIATEK_WATCHDOG) += mtk_wdt.o obj-$(CONFIG_DIGICOLOR_WATCHDOG) += digicolor_wdt.odrivers/watchdog/meson_gxbb_wdt.c new file +270
-0@@ -0,0 +1,270 @@ +/* +* This file is provided under a dual BSD/GPLv2 license. When using or +* redistributing this file, you may do so under either license. +* +* GPL LICENSE SUMMARY +* +* Copyright (c) 2016 BayLibre, SAS. +* Author: Neil Armstrong <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of version 2 of the GNU General Public License as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. +* The full GNU General Public License is included in this distribution +* in the file called COPYING. +* +* BSD LICENSE +* +* Copyright (c) 2016 BayLibre, SAS. +* Author: Neil Armstrong <[email protected]> +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the +* distribution. +* * Neither the name of Intel Corporation nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +#include <linux/clk.h> +#include <linux/err.h> +#include <linux/io.h> +#include <linux/module.h> +#include <linux/of.h> +#include <linux/platform_device.h> +#include <linux/slab.h> +#include <linux/types.h> +#include <linux/watchdog.h> + +#define DEFAULT_TIMEOUT 30/* seconds */ + +#define GXBB_WDT_CTRL_REG 0x0 +#define GXBB_WDT_TCNT_REG 0x8 +#define GXBB_WDT_RSET_REG 0xc + +#define GXBB_WDT_CTRL_CLKDIV_EN BIT(25) +#define GXBB_WDT_CTRL_CLK_EN BIT(24) +#define GXBB_WDT_CTRL_EE_RESET BIT(21) +#define GXBB_WDT_CTRL_EN BIT(18) +#define GXBB_WDT_CTRL_DIV_MASK (BIT(18) - 1) + +#define GXBB_WDT_TCNT_SETUP_MASK (BIT(16) - 1) +#define GXBB_WDT_TCNT_CNT_SHIFT 16 + +struct meson_gxbb_wdt { +void __iomem *reg_base; +struct watchdog_device wdt_dev; +struct clk *clk; +}; + +static int meson_gxbb_wdt_start (struct watchdog_device *wdt_dev) +{ +struct meson_gxbb_wdt *data =watchdog_get_drvdata (wdt_dev); + +writel (readl (data->reg_base +GXBB_WDT_CTRL_REG ) |GXBB_WDT_CTRL_EN , + data->reg_base +GXBB_WDT_CTRL_REG ); + +return 0 ; +} + +static int meson_gxbb_wdt_stop (struct watchdog_device *wdt_dev) +{ +struct meson_gxbb_wdt *data =watchdog_get_drvdata (wdt_dev); + +writel (readl (data->reg_base +GXBB_WDT_CTRL_REG ) & ~GXBB_WDT_CTRL_EN , + data->reg_base +GXBB_WDT_CTRL_REG ); + +return 0 ; +} + +static int meson_gxbb_wdt_ping (struct watchdog_device *wdt_dev) +{ +struct meson_gxbb_wdt *data =watchdog_get_drvdata (wdt_dev); + +writel (0 , data->reg_base +GXBB_WDT_RSET_REG ); + +return 0 ; +} + +static int meson_gxbb_wdt_set_timeout (struct watchdog_device *wdt_dev, +unsigned int timeout) +{ +struct meson_gxbb_wdt *data =watchdog_get_drvdata (wdt_dev); +unsigned long tcnt = timeout *1000 ; + +if (tcnt >GXBB_WDT_TCNT_SETUP_MASK ) + tcnt =GXBB_WDT_TCNT_SETUP_MASK ; + + wdt_dev->timeout = timeout; + +meson_gxbb_wdt_ping (wdt_dev); + +writel (tcnt, data->reg_base +GXBB_WDT_TCNT_REG ); + +return 0 ; +} + +static unsigned int meson_gxbb_wdt_get_timeleft (struct watchdog_device *wdt_dev) +{ +struct meson_gxbb_wdt *data =watchdog_get_drvdata (wdt_dev); +unsigned long reg; + + reg =readl (data->reg_base +GXBB_WDT_TCNT_REG ); + +return ((reg >>GXBB_WDT_TCNT_CNT_SHIFT ) - + (reg &GXBB_WDT_TCNT_SETUP_MASK )) /1000 ; +} + +static const struct watchdog_ops meson_gxbb_wdt_ops = { + .start = meson_gxbb_wdt_start, + .stop = meson_gxbb_wdt_stop, + .ping = meson_gxbb_wdt_ping, + .set_timeout = meson_gxbb_wdt_set_timeout, + .get_timeleft = meson_gxbb_wdt_get_timeleft, +}; + +static const struct watchdog_info meson_gxbb_wdt_info = { + .identity ="Meson GXBB Watchdog" , + .options =WDIOF_SETTIMEOUT |WDIOF_KEEPALIVEPING |WDIOF_MAGICCLOSE , +}; + +static int __maybe_unused meson_gxbb_wdt_resume (struct device *dev) +{ +struct meson_gxbb_wdt *data =dev_get_drvdata (dev); + +if (watchdog_active (&data->wdt_dev)) +meson_gxbb_wdt_start (&data->wdt_dev); + +return 0 ; +} + +static int __maybe_unused meson_gxbb_wdt_suspend (struct device *dev) +{ +struct meson_gxbb_wdt *data =dev_get_drvdata (dev); + +if (watchdog_active (&data->wdt_dev)) +meson_gxbb_wdt_stop (&data->wdt_dev); + +return 0 ; +} + +static const struct dev_pm_ops meson_gxbb_wdt_pm_ops = { +SET_SYSTEM_SLEEP_PM_OPS (meson_gxbb_wdt_suspend, meson_gxbb_wdt_resume) +}; + +static const struct of_device_id meson_gxbb_wdt_dt_ids[] = { + { .compatible ="amlogic,meson-gxbb-wdt" , }, + {/* sentinel */ }, +}; +MODULE_DEVICE_TABLE (of, meson_gxbb_wdt_dt_ids); + +static int meson_gxbb_wdt_probe (struct platform_device *pdev) +{ +struct meson_gxbb_wdt *data; +struct resource *res; +int ret; + + data =devm_kzalloc (&pdev->dev,sizeof (*data),GFP_KERNEL ); +if (!data) +return -ENOMEM ; + + res =platform_get_resource (pdev,IORESOURCE_MEM ,0 ); + data->reg_base =devm_ioremap_resource (&pdev->dev, res); +if (IS_ERR (data->reg_base)) +return PTR_ERR (data->reg_base); + + data->clk =devm_clk_get (&pdev->dev,NULL ); +if (IS_ERR (data->clk)) +return PTR_ERR (data->clk); + +clk_prepare_enable (data->clk); + +platform_set_drvdata (pdev, data); + + data->wdt_dev.parent = &pdev->dev; + data->wdt_dev.info = &meson_gxbb_wdt_info; + data->wdt_dev.ops = &meson_gxbb_wdt_ops; + data->wdt_dev.max_hw_heartbeat_ms =GXBB_WDT_TCNT_SETUP_MASK ; + data->wdt_dev.min_timeout =1 ; + data->wdt_dev.timeout =DEFAULT_TIMEOUT ; +watchdog_set_drvdata (&data->wdt_dev, data); + +/* Setup with 1ms timebase */ +writel (((clk_get_rate (data->clk) /1000 ) &GXBB_WDT_CTRL_DIV_MASK ) | +GXBB_WDT_CTRL_EE_RESET | +GXBB_WDT_CTRL_CLK_EN | +GXBB_WDT_CTRL_CLKDIV_EN , + data->reg_base +GXBB_WDT_CTRL_REG ); + +meson_gxbb_wdt_set_timeout (&data->wdt_dev, data->wdt_dev.timeout); + + ret =watchdog_register_device (&data->wdt_dev); +if (ret) { +clk_disable_unprepare (data->clk); +return ret; + } + +return 0 ; +} + +static int meson_gxbb_wdt_remove (struct platform_device *pdev) +{ +struct meson_gxbb_wdt *data =platform_get_drvdata (pdev); + +watchdog_unregister_device (&data->wdt_dev); + +clk_disable_unprepare (data->clk); + +return 0 ; +} + +static void meson_gxbb_wdt_shutdown (struct platform_device *pdev) +{ +struct meson_gxbb_wdt *data =platform_get_drvdata (pdev); + +meson_gxbb_wdt_stop (&data->wdt_dev); +} + +static struct platform_driver meson_gxbb_wdt_driver = { + .probe = meson_gxbb_wdt_probe, + .remove = meson_gxbb_wdt_remove, + .shutdown = meson_gxbb_wdt_shutdown, + .driver = { + .name ="meson-gxbb-wdt" , + .pm = &meson_gxbb_wdt_pm_ops, + .of_match_table = meson_gxbb_wdt_dt_ids, + }, +}; + +module_platform_driver (meson_gxbb_wdt_driver); + +MODULE_ALIAS ("platform:meson-gxbb-wdt" ); +MODULE_AUTHOR ("Neil Armstrong <[email protected]>" ); +MODULE_DESCRIPTION ("Amlogic Meson GXBB Watchdog timer driver" ); +MODULE_LICENSE ("Dual BSD/GPL" );
Re: [PATCH v3 2/3] dt-bindings: watchdog: Add Meson GXBB Watchdog bindings
In reply to Neil ArmstrongQuoted 2 lines · Neil Armstrong
Acked-by Rob Herring <[email protected]>Signed-off-by Neil Armstrong <[email protected]>
Quoted 28 lines
--- .../devicetree/bindings/watchdog/meson-gxbb-wdt.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)create mode 100644
Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txtDocumentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt new file +16
-0@@ -0,0 +1,16 @@ +Meson GXBB SoCs Watchdog timer + +Required properties: + +- compatible : should be "amlogic,meson-gxbb-wdt" +- reg : Specifies base physical address and size of the registers. +- clocks : Should be a phandle to the Watchdog clock source, for GXBB the xtal + is the default clock source. + +Example: + +wdt: watchdog at 98d0 { + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0 0x98d0 0x0 0x10>; + clocks = <&xtal>; +};
Re: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
In reply to Neil ArmstrongQuoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>
Would this go in through one of the arm trees ?
Guenter
Quoted 22 lines
--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +6
-0@@ -136,6 +136,12 @@ clocks = <&xtal>; status = "disabled"; }; + + watchdog at 98d0 { + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0x0 0x098d0 0x0 0x10>; + clocks = <&xtal>; + }; }; gic: interrupt-controller at c4301000 {
Kevin Hilman
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 6 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Would this go in through one of the arm trees ?
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
Thanks,
Kevin
Hi Neil,
Quoted 37 lines
Adds support for the Amlogic Meson GXBB SoC Watchdog Timer.
It differs from the meson6/meson8b HW, so need for a separate driver. The HW provides a divider capable of having a 1ms timebase thus simplifying the counter update.
The restart call is not provided even if the HW is capable of triggering a system reset immediately because of the PSCI firmare having such functionnality. The watchdog is not expected to be running at boot time since there is a separate system-level watchdog running from the SCPI co-processor, but this case would be handle in a next driver update.Changes since v2 at http://lkml.kernel.org/r/[email protected] :
- Fixset_timeoutbehaviourChanges since v1 at http://lkml.kernel.org/r/[email protected] :
- Update default timeout to 30sec
- Add separateCONFIG_
- Remove unused defines & functions
- Fix indentation
- Checkset_timeoutmax value
- Reorder includes alphabetically
- Switch to human identify string
-clk_disable_unprepareon probe failure or removalChanges since RFC version at http://lkml.kernel.org/r/[email protected] :
- Remove status callback, will re-introduce it later to managed the already-running use case
- Fix registers defines indentation
- Fix space between operators
- Make all callbacks static functions
- Fix bindings with missing clocks attribute
- Do not stop/start watchdog on a timeout setup
- Fix probe device configurationNeil Armstrong (3):
watchdog: Add Meson GXBB Watchdog Driver
dt-bindings: watchdog: Add Meson GXBB Watchdog bindings
ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 12 lines
.../bindings/watchdog/meson-gxbb-wdt.txt | 16 ++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 + drivers/watchdog/Kconfig | 10 + drivers/watchdog/Makefile | 1 + drivers/watchdog/meson_gxbb_wdt.c | 270 +++++++++++++++++++++ 5 files changed, 303 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt create mode 100644 drivers/watchdog/meson_gxbb_wdt.cSignature · 1 line
2.7.0
This patches have been added to linux-watchdog-next.
Kind regards,
Wim.
Kevin Hilman
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
In reply to Kevin HilmanHi Guenter,
Quoted 7 lines · Kevin Hilman
Quoted 5 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>
Quoted 7 lines
Quoted 1 line
Would this go in through one of the arm trees ?
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
ping... do you have a prefernce here?
Thanks,
Kevin
Kevin Hilman
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 13 lines · Kevin Hilman
Hi Guenter,
Quoted 9 lines · Kevin Hilman
Quoted 6 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Would this go in through one of the arm trees ?
Quoted 8 lines
Quoted 5 lines
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
ping... do you have a prefernce here?
Oops, just noticed Wim already picked these up.
Ignore me,
Kevin
Kevin Hilman
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 17 lines · Kevin Hilman
Quoted 16 lines · Kevin Hilman
Hi Guenter,
Quoted 12 lines · Kevin Hilman
Quoted 6 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Would this go in through one of the arm trees ?
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
ping... do you have a prefernce here?
Oops, just noticed Wim already picked these up.
Strange, seems that Wim picked up patches 1 & 3, but this one was missed. I'll queue this for the arm-soc tree.
Kevin
Guenter Roeck
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 22 lines · Kevin Hilman
Quoted 20 lines · Kevin Hilman
Quoted 19 lines · Kevin Hilman
Hi Guenter,
Quoted 14 lines · Kevin Hilman
Quoted 6 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Would this go in through one of the arm trees ?
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
ping... do you have a prefernce here?
Oops, just noticed Wim already picked these up.
Strange, seems that Wim picked up patches 1 & 3, but this one was missed. I'll queue this for the arm-soc tree.
I got a number of requests from arm maintainers to not pick up devicetree changes for arch/arm, so for my part I usually leave those alone.
Guenter
Kevin Hilman
maintainerRe: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node
Quoted 29 lines · Guenter Roeck
Quoted 28 lines · Kevin Hilman
Quoted 25 lines · Kevin Hilman
Quoted 13 lines · Kevin Hilman
Hi Guenter,
Quoted 9 lines · Kevin Hilman
Quoted 6 lines · Guenter Roeck
Quoted 1 line · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Would this go in through one of the arm trees ?
Quoted 8 lines
Quoted 5 lines
You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and submit via arm-soc).
However, with your ack, and since this is a brand new driver, I could take the driver as well. Just let me know your preference.
ping... do you have a prefernce here?
Oops, just noticed Wim already picked these up.
Quoted 6 lines
Quoted 3 lines
Strange, seems that Wim picked up patches 1 & 3, but this one was missed. I'll queue this for the arm-soc tree.
I got a number of requests from arm maintainers to not pick up devicetree changes for
arch/arm, so for my part I usually leave those alone.
Yeah, that's the normal way, but Wim replied to the cover letter saying he would pick up all three, so I got a bit confused.
Anyways, not a big deal. I'll take it from here.
Kevin