VIN, ADV7180 for r8a7794/alt
Subsystems (2)
cover VIN, ADV7180 for r8a7794/alt
Hi!
This series adds VIN support for the Alt board. The hardware configuration for I2C1 and the video decoder of Alt is exactly identical to that of Silk, so these are largely identical to Sergei's Silk definitions.
To be applied on top of Horms's "ARM: shmobile: alt: Add pfc pins to DT" patch.
CU
Uli
Ulrich Hecht (2):
ARM: shmobile: alt: add I2C1 DT support
ARM: shmobile: alt: add VIN0, ADV7180 DT support
arch/arm/boot/dts/r8a7794-alt.dts | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+)
Signature · 1 line
2.6.1
PATCH 1/2 ARM: shmobile: alt: add I2C1 DT support
Defines the board-dependent part of the I2C1 device.
--- arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7794-alt.dts +13 -0
@@ -115,6 +115,11 @@ renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; renesas,function = "eth"; }; + + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; + }; }; &cmt0 {
@@ -134,6 +139,14 @@ }; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &scif2 { status = "okay"; };
Signature · 1 line
2.6.1
PATCH 2/2 ARM: shmobile: alt: add VIN0, ADV7180 DT support
In reply to Ulrich HechtAdds the device board-dependent part of the VIN0 device and its ADV7180 video decoder on I2C1, and the interconnection between them.
Based on silk patch by Sergei Shtylyov.
--- arch/arm/boot/dts/r8a7794-alt.dts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
arch/arm/boot/dts/r8a7794-alt.dts +34 -0
@@ -120,6 +120,11 @@ renesas,groups = "i2c1"; renesas,function = "i2c1"; }; + + vin0_pins: vin0 { + renesas,groups = "vin0_data8", "vin0_clk"; + renesas,function = "vin0"; + }; }; &cmt0 {
@@ -145,6 +150,35 @@ status = "okay"; clock-frequency = <400000>; + + composite-in at 20 { + compatible = "adi,adv7180"; + reg = <0x20>; + remote = <&vin0>; + + port { + adv7180: endpoint { + bus-width = <8>; + remote-endpoint = <&vin0ep>; + }; + }; + }; +}; + +&vin0 { + status = "okay"; + pinctrl-0 = <&vin0_pins>; + pinctrl-names = "default"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vin0ep: endpoint { + remote-endpoint = <&adv7180>; + bus-width = <8>; + }; + }; }; &scif2 {
Signature · 1 line
2.6.1
cover VIN, ADV7180 for r8a7794/alt
In reply to Ulrich HechtQuoted 8 lines · Ulrich Hecht
Hi!
This series adds VIN support for the Alt board. The hardware configuration for I2C1 and the video decoder of Alt is exactly identical to that of Silk, so these are largely identical to Sergei's Silk definitions.
To be applied on top of Horms's "ARM: shmobile: alt: Add pfc pins to DT" patch.
Thanks, I have queued-up this series on top of the patch mentioned above.