diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2023-01-01 02:14:29 +0300 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-01-09 00:06:10 +0300 |
commit | e6f2ffeaf58b23614cc818587aa3a4fc7c108a55 (patch) | |
tree | d0a8a01b940c04d8a8dc2d67ed135e15c561f1c1 /drivers/clk/sunxi-ng/ccu-sun20i-d1.h | |
parent | 925b61ba2dafa9c13c9afa9b83a45d499cd73f2f (diff) | |
download | linux-e6f2ffeaf58b23614cc818587aa3a4fc7c108a55.tar.xz |
clk: sunxi-ng: d1: Add CAN bus gates and resets
The D1 CCU contains gates and resets for two CAN buses. While the CAN
bus controllers are only documented for the T113 SoC, the CCU is the
same across all SoC variants.
Signed-off-by: Fabien Poussin <fabien.poussin@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20221231231429.18357-7-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun20i-d1.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun20i-d1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun20i-d1.h b/drivers/clk/sunxi-ng/ccu-sun20i-d1.h index e303176f0d4e..b14da36e2537 100644 --- a/drivers/clk/sunxi-ng/ccu-sun20i-d1.h +++ b/drivers/clk/sunxi-ng/ccu-sun20i-d1.h @@ -10,6 +10,6 @@ #include <dt-bindings/clock/sun20i-d1-ccu.h> #include <dt-bindings/reset/sun20i-d1-ccu.h> -#define CLK_NUMBER (CLK_FANOUT2 + 1) +#define CLK_NUMBER (CLK_BUS_CAN1 + 1) #endif /* _CCU_SUN20I_D1_H_ */ |