182-watchdog-bcm7038_wdt-Support-BCM6345-compatible-stri.patch 991 B

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