From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Cercueil Subject: Re: [PATCH v2 1/3] dt-bindings: Document JZ47xx VPU auxiliary processor Date: Wed, 21 Aug 2019 12:47:39 +0200 Message-ID: <1566384459.1884.0@crapouillou.net> References: <20190729183109.18283-1-paul@crapouillou.net> <20190820205044.GA1223@bogus> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190820205044.GA1223@bogus> Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring Cc: Ohad Ben-Cohen , Bjorn Andersson , Mark Rutland , Paul Burton , od@zcrc.me, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi Rob, Le mar. 20 ao=FBt 2019 =E0 22:50, Rob Herring a =E9crit : > On Mon, Jul 29, 2019 at 02:31:07PM -0400, Paul Cercueil wrote: >> Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs=20 >> from >> Ingenic is a second Xburst MIPS CPU very similar to the main core. >> This document describes the devicetree bindings for this auxiliary >> processor. >>=20 >> Signed-off-by: Paul Cercueil >> --- >>=20 >> Notes: >> v2: Update TCSM0 address in example >>=20 >> .../bindings/remoteproc/ingenic,vpu.txt | 36=20 >> +++++++++++++++++++ >> 1 file changed, 36 insertions(+) >> create mode 100644=20 >> Documentation/devicetree/bindings/remoteproc/ingenic,vpu.txt >>=20 >> diff --git=20 >> a/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.txt=20 >> b/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.txt >> new file mode 100644 >> index 000000000000..576f9e582780 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.txt >> @@ -0,0 +1,36 @@ >> +* Ingenic JZ47xx auxiliary processor >> + >> +Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs=20 >> from Ingenic >> +is a second Xburst MIPS CPU very similar to the main core. >> +This document describes the devicetree bindings for this auxiliary=20 >> processor. >> + >> +Required properties: >> +- compatible: Should be "ingenic,jz4770-vpu-rproc" >> +- reg: Must contain the registers location and length for: >> + * the auxiliary processor, >> + * the Tightly Coupled Shared Memory 0 (TCSM0), >> + * the Tightly Coupled Shared Memory 1 (TCSM1), >> + * the shared SRAM. >> +- reg-names: Must contain "aux", "tcsm0", "tcsm1", "sram". >> +- clocks: Clock specifier for the AUX and VPU clocks. >> +- clock-names: Must contain "aux", "vpu". >> +- interrupts: Interrupt specifier for the VPU hardware block. >> + >> +Example: >> + >> +vpu: cpu@132a0000 { >=20 > cpu is reserved for CPUs under /cpus/. Use video-codec or=20 > video-decoder > or ?? It's not clear what type of video processing this does. Hardware decode and encode of mpeg-2 and h264. I guess I'll use=20 'video-decoder' then. >=20 >> + compatible =3D "ingenic,jz4770-vpu-rproc"; >> + >> + reg =3D <0x132a0000 0x20 /* AUX */ >> + 0x132b0000 0x4000 /* TCSM0 */ >> + 0x132c0000 0xc000 /* TCSM1 */ >> + 0x132f0000 0x7000 /* SRAM */ >> + >; >> + reg-names =3D "aux", "tcsm0", "tcsm1", "sram"; >> + >> + clocks =3D <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>; >> + clock-names =3D "aux", "vpu"; >> + >> + interrupt-parent =3D <&cpuintc>; >> + interrupts =3D <3>; >> +}; >> -- >> 2.21.0.593.g511ec345e18 >>=20 =