[PATCH v2] watchdog: meson-wdt: add support for the watchdog on Meson8 and Meson8m2

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Jul 22 11:42:42 PDT 2017


On Mon, Jul 17, 2017 at 6:51 PM, Rob Herring <robh at kernel.org> wrote:
> On Wed, Jul 12, 2017 at 12:14:38AM +0200, Martin Blumenstingl wrote:
>> The watchdog IP block on Meson8 and Meson8m2 is already supported by the
>> existing meson-wdt driver. Meson8 uses the same register bits as Meson6,
>> while the newer Meson8m2 SoC uses the same register bits as Meson8b.
>>
>> Currently watchdog support on Meson8 SoC already works because
>> meson8.dtsi simply uses the "amlogic,meson6-wdt" compatible. Adding a
>> separate compatible for Meson8 makes this more explicit though.
>>
>> Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
>> Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
>> Reviewed-by: Guenter Roeck <linux at roeck-us.net>
>> ---
>> Changes since v1 at [0]:
>> - updated the documentation to indicate that Meson8 should also specify
>>   the Meson6 compatible and that Meson8m2 should also specify the
>>   Meson8b compatible
>>
>> [0] https://patchwork.kernel.org/patch/9780093/
>>
>>
>>  Documentation/devicetree/bindings/watchdog/meson-wdt.txt | 6 +++++-
>>  drivers/watchdog/meson_wdt.c                             | 2 ++
>>  2 files changed, 7 insertions(+), 1 deletion(-)
>
> Acked-by: Rob Herring <robh at kernel.org>
Thank you Rob and Guenter
in the meantime this was added to Guenter's watchdog-next tree: [1]


Regards,
Martin


[1] https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?h=watchdog-next&id=6fb84b4c68fbfe1df61fb59fb2f46a8ec044e337



More information about the linux-amlogic mailing list