083-v5.20-watchdog-bcm7038_wdt-Support-BCM6345-compatible-stri.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 2dd441f16d6ad6104d85c4e5dfeb6dde4df26869 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Wed, 16 Feb 2022 07:34:08 +0100
  4. Subject: [PATCH] watchdog: bcm7038_wdt: Support BCM6345 compatible string
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. A new "compatible" value has been added in the commit 17fffe91ba36
  9. ("dt-bindings: watchdog: Add BCM6345 compatible to BCM7038 binding").
  10. It's meant to be used for BCM63xx SoCs family but hardware block can be
  11. programmed just like the 7038 one.
  12. Cc: Florian Fainelli <[email protected]>
  13. Signed-off-by: Rafał Miłecki <[email protected]>
  14. Acked-by: Florian Fainelli <[email protected]>
  15. Reviewed-by: Guenter Roeck <[email protected]>
  16. Link: https://lore.kernel.org/r/[email protected]
  17. Signed-off-by: Guenter Roeck <[email protected]>
  18. Signed-off-by: Wim Van Sebroeck <[email protected]>
  19. ---
  20. drivers/watchdog/bcm7038_wdt.c | 1 +
  21. 1 file changed, 1 insertion(+)
  22. --- a/drivers/watchdog/bcm7038_wdt.c
  23. +++ b/drivers/watchdog/bcm7038_wdt.c
  24. @@ -212,6 +212,7 @@ static SIMPLE_DEV_PM_OPS(bcm7038_wdt_pm_
  25. bcm7038_wdt_resume);
  26. static const struct of_device_id bcm7038_wdt_match[] = {
  27. + { .compatible = "brcm,bcm6345-wdt" },
  28. { .compatible = "brcm,bcm7038-wdt" },
  29. {},
  30. };