reset: simple: add BCM4908 MISC PCIe reset controller support
authorRafał Miłecki <rafal@milecki.pl>
Fri, 27 Nov 2020 11:14:42 +0000 (12:14 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 8 Jan 2021 12:00:59 +0000 (13:00 +0100)
It's a trivial reset controller. One register with bit per PCIe core.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig
drivers/reset/reset-simple.c

index 71ab75a464917a5c5146c89c44f94861f9892210..752bef7e564f9d902407405834e691e4f88bdc3c 100644 (file)
@@ -173,7 +173,7 @@ config RESET_SCMI
 
 config RESET_SIMPLE
        bool "Simple Reset Controller Driver" if COMPILE_TEST
-       default ARCH_AGILEX || ARCH_ASPEED || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC
+       default ARCH_AGILEX || ARCH_ASPEED || ARCH_BCM4908 || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC
        help
          This enables a simple reset controller driver for reset lines that
          that can be asserted and deasserted by toggling bits in a contiguous,
index e066614818a35a9b30e5f37815b7c60808e1cb72..4dda0daf2c6f51ae94da02a0b500718d1c9c2a19 100644 (file)
@@ -146,6 +146,8 @@ static const struct of_device_id reset_simple_dt_ids[] = {
        { .compatible = "aspeed,ast2500-lpc-reset" },
        { .compatible = "bitmain,bm1880-reset",
                .data = &reset_simple_active_low },
+       { .compatible = "brcm,bcm4908-misc-pcie-reset",
+               .data = &reset_simple_active_low },
        { .compatible = "snps,dw-high-reset" },
        { .compatible = "snps,dw-low-reset",
                .data = &reset_simple_active_low },