Add node for NXP TDA19988 encoder and refer to it in the hdmi node
instead of referring to the i2c bus where the encoder is connected to.

Signed-off-by: Jyri Sarha <jsarha at ti.com>
---
 arch/arm/boot/dts/am335x-boneblack.dts |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-boneblack.dts 
b/arch/arm/boot/dts/am335x-boneblack.dts
index 5c42d25..c0c8e4b 100644
--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
@@ -70,10 +70,17 @@
        status = "okay";
 };

+&i2c0 {
+       tda19988: tda19988 at 70 {
+               compatible = "nxp,tda998x";
+               reg = <0x70>;
+       };
+};
+
 / {
        hdmi {
                compatible = "ti,tilcdc,slave";
-               i2c = <&i2c0>;
+               i2c-slave = <&tda19988>;
                pinctrl-names = "default", "off";
                pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
                pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
-- 
1.7.9.5

Reply via email to