[6/6,v2] ARM: lager: add vin1 node
Commit Message
Add device-tree for vin1 (composite video in) on the
lager board.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Fixes since v1:
- Whitespace fixes as suggested by Sergei
---
arch/arm/boot/dts/r8a7790-lager.dts | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Comments
Same for this one - who takes it and is CC sufficient?
Thanks
Guennadi
On Sat, 5 Jul 2014, Ben Dooks wrote:
> Add device-tree for vin1 (composite video in) on the
> lager board.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
>
> Fixes since v1:
> - Whitespace fixes as suggested by Sergei
> ---
> arch/arm/boot/dts/r8a7790-lager.dts | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index 4805c9f..e00543b 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -214,6 +214,11 @@
> renesas,groups = "i2c2";
> renesas,function = "i2c2";
> };
> +
> + vin1_pins: vin {
> + renesas,groups = "vin1_data8", "vin1_clk";
> + renesas,function = "vin1";
> + };
> };
>
> ðer {
> @@ -342,8 +347,39 @@
> status = "ok";
> pinctrl-0 = <&i2c2_pins>;
> pinctrl-names = "default";
> +
> + composite-in@20 {
> + compatible = "adi,adv7180";
> + reg = <0x20>;
> + remote = <&vin1>;
> +
> + port {
> + adv7180: endpoint {
> + bus-width = <8>;
> + remote-endpoint = <&vin1ep0>;
> + };
> + };
> + };
> };
>
> &i2c3 {
> status = "ok";
> };
> +
> +/* composite video input */
> +&vin1 {
> + pinctrl-0 = <&vin1_pins>;
> + pinctrl-names = "default";
> +
> + status = "ok";
> +
> + port {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + vin1ep0: endpoint {
> + remote-endpoint = <&adv7180>;
> + bus-width = <8>;
> + };
> + };
> +};
> --
> 2.0.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -214,6 +214,11 @@
renesas,groups = "i2c2";
renesas,function = "i2c2";
};
+
+ vin1_pins: vin {
+ renesas,groups = "vin1_data8", "vin1_clk";
+ renesas,function = "vin1";
+ };
};
ðer {
@@ -342,8 +347,39 @@
status = "ok";
pinctrl-0 = <&i2c2_pins>;
pinctrl-names = "default";
+
+ composite-in@20 {
+ compatible = "adi,adv7180";
+ reg = <0x20>;
+ remote = <&vin1>;
+
+ port {
+ adv7180: endpoint {
+ bus-width = <8>;
+ remote-endpoint = <&vin1ep0>;
+ };
+ };
+ };
};
&i2c3 {
status = "ok";
};
+
+/* composite video input */
+&vin1 {
+ pinctrl-0 = <&vin1_pins>;
+ pinctrl-names = "default";
+
+ status = "ok";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vin1ep0: endpoint {
+ remote-endpoint = <&adv7180>;
+ bus-width = <8>;
+ };
+ };
+};