Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: sunxi: Export CLK_DRAM for devfreq

The MBUS node needs to reference the CLK_DRAM clock, as the MBUS
hardware implements memory dynamic frequency scaling using this clock.

Export this clock for SoCs which will be getting a devfreq driver.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211118031841.42315-2-samuel@sholland.org

authored by

Samuel Holland and committed by
Maxime Ripard
71b597ef 34734edd

+2 -6
-2
drivers/clk/sunxi-ng/ccu-sun50i-a64.h
··· 51 51 52 52 #define CLK_USB_OHCI1_12M 92 53 53 54 - #define CLK_DRAM 94 55 - 56 54 /* All the DRAM gates are exported */ 57 55 58 56 /* And the DSI and GPU module clock is exported */
-2
drivers/clk/sunxi-ng/ccu-sun8i-h3.h
··· 42 42 43 43 /* The first bunch of module clocks are exported */ 44 44 45 - #define CLK_DRAM 96 46 - 47 45 /* All the DRAM gates are exported */ 48 46 49 47 /* Some more module clocks are exported */
+1 -1
include/dt-bindings/clock/sun50i-a64-ccu.h
··· 113 113 #define CLK_USB_OHCI0 91 114 114 115 115 #define CLK_USB_OHCI1 93 116 - 116 + #define CLK_DRAM 94 117 117 #define CLK_DRAM_VE 95 118 118 #define CLK_DRAM_CSI 96 119 119 #define CLK_DRAM_DEINTERLACE 97
+1 -1
include/dt-bindings/clock/sun8i-h3-ccu.h
··· 126 126 #define CLK_USB_OHCI1 93 127 127 #define CLK_USB_OHCI2 94 128 128 #define CLK_USB_OHCI3 95 129 - 129 + #define CLK_DRAM 96 130 130 #define CLK_DRAM_VE 97 131 131 #define CLK_DRAM_CSI 98 132 132 #define CLK_DRAM_DEINTERLACE 99