diff options
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/ast2500-reset.c | 1 | ||||
-rw-r--r-- | drivers/reset/reset-bcm6345.c | 3 | ||||
-rw-r--r-- | drivers/reset/reset-hisilicon.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-hsdk.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-imx7.c | 3 | ||||
-rw-r--r-- | drivers/reset/reset-mediatek.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-meson.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-mtmips.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-rockchip.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-socfpga.c | 1 | ||||
-rw-r--r-- | drivers/reset/reset-sunxi.c | 2 | ||||
-rw-r--r-- | drivers/reset/reset-ti-sci.c | 1 | ||||
-rw-r--r-- | drivers/reset/reset-uclass.c | 1 | ||||
-rw-r--r-- | drivers/reset/reset-uniphier.c | 1 | ||||
-rw-r--r-- | drivers/reset/sandbox-reset-test.c | 1 | ||||
-rw-r--r-- | drivers/reset/sandbox-reset.c | 1 | ||||
-rw-r--r-- | drivers/reset/sti-reset.c | 2 | ||||
-rw-r--r-- | drivers/reset/stm32-reset.c | 2 | ||||
-rw-r--r-- | drivers/reset/tegra-car-reset.c | 1 | ||||
-rw-r--r-- | drivers/reset/tegra186-reset.c | 1 |
20 files changed, 33 insertions, 0 deletions
diff --git a/drivers/reset/ast2500-reset.c b/drivers/reset/ast2500-reset.c index d1d44f3728..beb5cd8fa8 100644 --- a/drivers/reset/ast2500-reset.c +++ b/drivers/reset/ast2500-reset.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <misc.h> #include <reset.h> #include <reset-uclass.h> diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c index c1f1e7f70b..156703e084 100644 --- a/drivers/reset/reset-bcm6345.c +++ b/drivers/reset/reset-bcm6345.c @@ -9,9 +9,12 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <asm/io.h> +#include <linux/bitops.h> +#include <linux/delay.h> #define MAX_RESETS 32 diff --git a/drivers/reset/reset-hisilicon.c b/drivers/reset/reset-hisilicon.c index a678b8f745..139bc5d73e 100644 --- a/drivers/reset/reset-hisilicon.c +++ b/drivers/reset/reset-hisilicon.c @@ -3,12 +3,14 @@ * Copyright (c) 2019, Linaro Limited */ +#include <log.h> #include <malloc.h> #include <asm/io.h> #include <common.h> #include <dm.h> #include <dt-bindings/reset/ti-syscon.h> #include <reset-uclass.h> +#include <linux/bitops.h> struct hisi_reset_priv { void __iomem *base; diff --git a/drivers/reset/reset-hsdk.c b/drivers/reset/reset-hsdk.c index f9a432a7a2..0c8f276293 100644 --- a/drivers/reset/reset-hsdk.c +++ b/drivers/reset/reset-hsdk.c @@ -6,9 +6,11 @@ * Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> */ +#include <log.h> #include <asm/io.h> #include <common.h> #include <dm.h> +#include <linux/bitops.h> #include <linux/iopoll.h> #include <reset-uclass.h> diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c index a61855e9ed..96916b644a 100644 --- a/drivers/reset/reset-imx7.c +++ b/drivers/reset/reset-imx7.c @@ -3,6 +3,7 @@ * Copyright (c) 2017, Impinj, Inc. */ +#include <log.h> #include <malloc.h> #include <asm/io.h> #include <common.h> @@ -10,6 +11,8 @@ #include <dt-bindings/reset/imx7-reset.h> #include <dt-bindings/reset/imx8mq-reset.h> #include <reset-uclass.h> +#include <linux/bitops.h> +#include <linux/delay.h> struct imx7_reset_priv { void __iomem *base; diff --git a/drivers/reset/reset-mediatek.c b/drivers/reset/reset-mediatek.c index 6d17f52ac7..97d3d57592 100644 --- a/drivers/reset/reset-mediatek.c +++ b/drivers/reset/reset-mediatek.c @@ -8,11 +8,13 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/lists.h> #include <regmap.h> #include <reset-uclass.h> #include <syscon.h> +#include <linux/bitops.h> #include <linux/err.h> struct mediatek_reset_priv { diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c index 70f96355b3..4e3327898e 100644 --- a/drivers/reset/reset-meson.c +++ b/drivers/reset/reset-meson.c @@ -8,9 +8,11 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <regmap.h> +#include <linux/bitops.h> #define REG_COUNT 8 #define BITS_PER_REG 32 diff --git a/drivers/reset/reset-mtmips.c b/drivers/reset/reset-mtmips.c index 677de0a6f9..bc20e3335c 100644 --- a/drivers/reset/reset-mtmips.c +++ b/drivers/reset/reset-mtmips.c @@ -8,8 +8,10 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> +#include <linux/bitops.h> #include <linux/io.h> struct mtmips_reset_priv { diff --git a/drivers/reset/reset-rockchip.c b/drivers/reset/reset-rockchip.c index 100afc8103..8092555650 100644 --- a/drivers/reset/reset-rockchip.c +++ b/drivers/reset/reset-rockchip.c @@ -5,8 +5,10 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> +#include <linux/bitops.h> #include <linux/io.h> #include <asm/arch-rockchip/hardware.h> #include <dm/lists.h> diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c index c0930a624b..830eda9430 100644 --- a/drivers/reset/reset-socfpga.c +++ b/drivers/reset/reset-socfpga.c @@ -14,6 +14,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/lists.h> #include <dm/of_access.h> diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index f21bf3b1ae..05f7f599ce 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c @@ -7,10 +7,12 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <asm/io.h> #include <dm/lists.h> +#include <linux/bitops.h> #include <linux/log2.h> #include <asm/arch/ccu.h> diff --git a/drivers/reset/reset-ti-sci.c b/drivers/reset/reset-ti-sci.c index f5d82b5681..95cd388587 100644 --- a/drivers/reset/reset-ti-sci.c +++ b/drivers/reset/reset-ti-sci.c @@ -11,6 +11,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <dm/device_compat.h> diff --git a/drivers/reset/reset-uclass.c b/drivers/reset/reset-uclass.c index 8ec8e462e6..5e38ce5c06 100644 --- a/drivers/reset/reset-uclass.c +++ b/drivers/reset/reset-uclass.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <fdtdec.h> +#include <log.h> #include <malloc.h> #include <reset.h> #include <reset-uclass.h> diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index 348f3886d1..06079d2a9c 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <dm/device_compat.h> diff --git a/drivers/reset/sandbox-reset-test.c b/drivers/reset/sandbox-reset-test.c index ae79be0730..9bc4a7e0de 100644 --- a/drivers/reset/sandbox-reset-test.c +++ b/drivers/reset/sandbox-reset-test.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset.h> #include <asm/io.h> diff --git a/drivers/reset/sandbox-reset.c b/drivers/reset/sandbox-reset.c index bdf53a3de9..7a6f7f676c 100644 --- a/drivers/reset/sandbox-reset.c +++ b/drivers/reset/sandbox-reset.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <asm/io.h> diff --git a/drivers/reset/sti-reset.c b/drivers/reset/sti-reset.c index 31b3e48e0e..ac3a99f9bf 100644 --- a/drivers/reset/sti-reset.c +++ b/drivers/reset/sti-reset.c @@ -6,6 +6,7 @@ #include <common.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <wait_bit.h> #include <dm.h> @@ -13,6 +14,7 @@ #include <regmap.h> #include <syscon.h> #include <dt-bindings/reset/stih407-resets.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/reset/stm32-reset.c b/drivers/reset/stm32-reset.c index 5dda522a4e..64a11cfcfc 100644 --- a/drivers/reset/stm32-reset.c +++ b/drivers/reset/stm32-reset.c @@ -7,10 +7,12 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <stm32_rcc.h> #include <asm/io.h> +#include <linux/bitops.h> /* reset clear offset for STM32MP RCC */ #define RCC_CL 0x4 diff --git a/drivers/reset/tegra-car-reset.c b/drivers/reset/tegra-car-reset.c index 23c6facff2..a33d4533a8 100644 --- a/drivers/reset/tegra-car-reset.c +++ b/drivers/reset/tegra-car-reset.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <reset-uclass.h> #include <asm/arch/clock.h> diff --git a/drivers/reset/tegra186-reset.c b/drivers/reset/tegra186-reset.c index e85f42b3a3..c60a03f0bf 100644 --- a/drivers/reset/tegra186-reset.c +++ b/drivers/reset/tegra186-reset.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <misc.h> #include <reset-uclass.h> |