clk-rcar-gen2: ADSP clock support
Subsystems (5)
PATCH 1/1 clk-rcar-gen2: ADSP clock support
Add the ADSP clock support to the R-Car generation 2 CPG driver. This clock gets derived from PLL1. The layout of the ADSPCKCR register is similar to those of the clocks supported by the 'clk-div6' driver but the divider encoding is non-linear, so can't be supported by that driver...
Based on the original patch by Konstantin Kozhevnikov <[email protected]>.
Signed-off-by Sergei Shtylyov <[email protected]>
---
The patch is against the 'clk-next' branch of Mike Turquette's 'linux.git' repo plus the RCAN clock support posted yesterday.
Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt | 5 - drivers/clk/shmobile/clk-rcar-gen2.c | 48 ++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt +3 -2
@@ -16,7 +16,8 @@ Required Properties: - clocks: Reference to the parent clock - #clock-cells: Must be 1 - clock-output-names: The names of the clocks. Supported clocks are "main", - "pll0", "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1", "z", and "rcan" + "pll0", "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1", "z", "adsp", and + "rcan" Example
@@ -30,5 +31,5 @@ Example #clock-cells = <1>; clock-output-names = "main", "pll0, "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1", "z", - "rcan"; + "adsp", "rcan"; };
drivers/clk/shmobile/clk-rcar-gen2.c +48 -0
66 lines not on this page · raw message