of: Add new compatibles for CODA bindings
Subsystems (2)
PATCH 1/2 of: Add new compatibles for CODA bindings
From: Philipp Zabel <[email protected]>
This patch adds new compatibles using the new Chips&Media vendor prefix "cnm" and CODA model name as well as a Freescale specific compatible value for i.MX6DL/S.
The latter is because for some reason the i.MX6DL/S firmware provided by Freescale differs from the i.MX6Q/D version.
Signed-off-by Philipp Zabel <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>
--- Documentation/devicetree/bindings/media/coda.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/media/coda.txt +6 -5
@@ -5,10 +5,11 @@ Coda codec IPs are present in i.MX SoCs in various versions, called VPU (Video Processing Unit). Required properties: -- compatible : should be "fsl,<chip>-src" for i.MX SoCs: - (a) "fsl,imx27-vpu" for CodaDx6 present in i.MX27 - (b) "fsl,imx53-vpu" for CODA7541 present in i.MX53 - (c) "fsl,imx6q-vpu" for CODA960 present in i.MX6q +- compatible : should be "fsl,<chip>-src", "cnm,coda<model>" for i.MX SoCs: + (a) "fsl,imx27-vpu", "cnm,codadx6" for CodaDx6 present in i.MX27 + (b) "fsl,imx53-vpu", "cnm,coda7541" for CODA7541 present in i.MX53 + (c) "fsl,imx6q-vpu", "cnm,coda960" for CODA960 present in i.MX6Q/D + (d) "fsl,imx6dl-vpu", "cnm,coda960" for CODA960 present in i.MX6DL/S - reg: should be register base and length as documented in the SoC reference manual - interrupts : Should contain the VPU interrupt. For CODA960,
@@ -21,7 +22,7 @@ Required properties: Example: vpu: vpu@63ff4000 { - compatible = "fsl,imx53-vpu"; + compatible = "fsl,imx53-vpu", "cnm,coda7541"; reg = <0x63ff4000 0x1000>; interrupts = <9>; clocks = <&clks 63>, <&clks 63>;
Signature · 1 line
1.9.1
PATCH 2/2 of: Add named interrupts to CODA bindings
From: Philipp Zabel <[email protected]>
This patch documents named interrupt bindings for the CODA video processing units.
Signed-off-by Philipp Zabel <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>
--- Documentation/devicetree/bindings/media/coda.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/media/coda.txt +7 -2
@@ -12,19 +12,24 @@ Required properties: (d) "fsl,imx6dl-vpu", "cnm,coda960" for CODA960 present in i.MX6DL/S - reg: should be register base and length as documented in the SoC reference manual -- interrupts : Should contain the VPU interrupt. For CODA960, - a second interrupt is needed for the MJPEG unit. +- interrupts : Should contain the VPU (BIT processor) interrupt. + For CODA960, a second interrupt is needed for the JPEG unit. - clocks : Should contain the ahb and per clocks, in the order determined by the clock-names property. - clock-names : Should be "ahb", "per" - iram : phandle pointing to the SRAM device node +Optional properties: +- interrupt-names: Should be "bit" for the BIT processor interrupt + and "jpeg" for the JPEG unit interrupt on CODA960. + Example: vpu: vpu@63ff4000 { compatible = "fsl,imx53-vpu", "cnm,coda7541"; reg = <0x63ff4000 0x1000>; interrupts = <9>; + interrupt-names = "bit"; clocks = <&clks 63>, <&clks 63>; clock-names = "ahb", "per"; iram = <&ocram>;
Signature · 1 line
1.9.1