* [PATCH 0/2] Add R8A7792 JPEG codec support
@ 2016-06-16 22:00 Sergei Shtylyov
2016-06-16 22:02 ` [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sergei Shtylyov @ 2016-06-16 22:00 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks
2016-06-16 22:00 [PATCH 0/2] Add R8A7792 JPEG codec support Sergei Shtylyov
@ 2016-06-16 22:02 ` Sergei Shtylyov
2016-06-17 7:19 ` Geert Uytterhoeven
2016-06-16 22:03 ` [PATCH 2/2] ARM: dts: r8a7792: add JPU support Sergei Shtylyov
2016-06-20 8:30 ` [PATCH 0/2] Add R8A7792 JPEG codec support Simon Horman
2 siblings, 1 reply; 6+ messages in thread
From: Sergei Shtylyov @ 2016-06-16 22:02 UTC (permalink / raw)
To: linux-arm-kernel
Add JPU clock and its parent, M2 clock to the R8A7792 device tree.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++
include/dt-bindings/clock/r8a7792-clock.h | 1 +
2 files changed, 17 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -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";
Index: renesas/include/dt-bindings/clock/r8a7792-clock.h
===================================================================
--- renesas.orig/include/dt-bindings/clock/r8a7792-clock.h
+++ renesas/include/dt-bindings/clock/r8a7792-clock.h
@@ -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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] ARM: dts: r8a7792: add JPU support
2016-06-16 22:00 [PATCH 0/2] Add R8A7792 JPEG codec support Sergei Shtylyov
2016-06-16 22:02 ` [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks Sergei Shtylyov
@ 2016-06-16 22:03 ` Sergei Shtylyov
2016-06-17 7:20 ` Geert Uytterhoeven
2016-06-20 8:30 ` [PATCH 0/2] Add R8A7792 JPEG codec support Simon Horman
2 siblings, 1 reply; 6+ messages in thread
From: Sergei Shtylyov @ 2016-06-16 22:03 UTC (permalink / raw)
To: linux-arm-kernel
Describe JPEG Processing Unit (JPU) in the R8A7792 device tree.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -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",
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks
2016-06-16 22:02 ` [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks Sergei Shtylyov
@ 2016-06-17 7:19 ` Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-06-17 7:19 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 17, 2016 at 12:02 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add JPU clock and its parent, M2 clock to the R8A7792 device tree.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] ARM: dts: r8a7792: add JPU support
2016-06-16 22:03 ` [PATCH 2/2] ARM: dts: r8a7792: add JPU support Sergei Shtylyov
@ 2016-06-17 7:20 ` Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-06-17 7:20 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 17, 2016 at 12:03 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Describe JPEG Processing Unit (JPU) in the R8A7792 device tree.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/2] Add R8A7792 JPEG codec support
2016-06-16 22:00 [PATCH 0/2] Add R8A7792 JPEG codec support Sergei Shtylyov
2016-06-16 22:02 ` [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks Sergei Shtylyov
2016-06-16 22:03 ` [PATCH 2/2] ARM: dts: r8a7792: add JPU support Sergei Shtylyov
@ 2016-06-20 8:30 ` Simon Horman
2 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-06-20 8:30 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 17, 2016 at 01:00:36AM +0300, Sergei Shtylyov wrote:
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-06-20 8:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-16 22:00 [PATCH 0/2] Add R8A7792 JPEG codec support Sergei Shtylyov
2016-06-16 22:02 ` [PATCH 1/2] ARM: dts: r8a7792: add JPU clocks Sergei Shtylyov
2016-06-17 7:19 ` Geert Uytterhoeven
2016-06-16 22:03 ` [PATCH 2/2] ARM: dts: r8a7792: add JPU support Sergei Shtylyov
2016-06-17 7:20 ` Geert Uytterhoeven
2016-06-20 8:30 ` [PATCH 0/2] Add R8A7792 JPEG codec support Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).