Add R8A7792 JPEG codec support
Subsystems (2)
cover Add R8A7792 JPEG codec support
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160616-v4.7-rc3' tag. We add the device tree support for the R8A7792 JPEG Processing Unit (JPU).
[1/2] ARM: dts: r8a7792: add JPU clocks
[2/2] ARM: dts: r8a7792: add JPU support
WBR, Sergei
PATCH 1/2 ARM: dts: r8a7792: add JPU clocks
Add JPU clock and its parent, M2 clock to the R8A7792 device tree.
--- arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++ include/dt-bindings/clock/r8a7792-clock.h | 1 + 2 files changed, 17 insertions(+)
arch/arm/boot/dts/r8a7792.dtsi +16 -0
@@ -280,8 +280,24 @@ clock-div = <48>; clock-mult = <1>; }; + m2_clk: m2 { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7792_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <8>; + clock-mult = <1>; + }; /* Gate clocks */ + mstp1_clks: mstp1_clks at e6150134 { + compatible = "renesas,r8a7792-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; + clocks = <&m2_clk>; + #clock-cells = <1>; + clock-indices = <R8A7792_CLK_JPU>; + clock-output-names = "jpu"; + }; mstp2_clks: mstp2_clks at e6150138 { compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks";
include/dt-bindings/clock/r8a7792-clock.h +1 -0
@@ -24,6 +24,7 @@#define R8A7792_CLK_MSIOF0 0/* MSTP1 */ +#define R8A7792_CLK_JPU 6#define R8A7792_CLK_TMU1 11#define R8A7792_CLK_TMU3 21#define R8A7792_CLK_TMU2 22
PATCH 1/2 ARM: dts: r8a7792: add JPU clocks
Quoted 3 lines · Sergei Shtylyov
Add JPU clock and its parent, M2 clock to the R8A7792 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH 2/2 ARM: dts: r8a7792: add JPU support
In reply to Sergei ShtylyovDescribe JPEG Processing Unit (JPU) in the R8A7792 device tree.
--- arch/arm/boot/dts/r8a7792.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/r8a7792.dtsi +9 -0
@@ -246,6 +246,15 @@ status = "disabled"; }; + jpu: jpeg-codec at fe980000 { + compatible = "renesas,jpu-r8a7792", + "renesas,rcar-gen2-jpu"; + reg = <0 0xfe980000 0 0x10300>; + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp1_clks R8A7792_CLK_JPU>; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks at e6150000 { compatible = "renesas,r8a7792-cpg-clocks",
PATCH 2/2 ARM: dts: r8a7792: add JPU support
Quoted 3 lines · Sergei Shtylyov
Describe JPEG Processing Unit (JPU) in the R8A7792 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
cover Add R8A7792 JPEG codec support
In reply to Sergei ShtylyovQuoted 8 lines · Sergei Shtylyov
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160616-v4.7-rc3' tag. We add the device tree support for the R8A7792 JPEG Processing Unit (JPU).[1/2] ARM: dts: r8a7792: add JPU clocks
[2/2] ARM: dts: r8a7792: add JPU support
Thanks, I have queued these up.