[PATCH] am335x-boneblack-common.dtsi: add cec support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add CEC support to the tda998x.

Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
---
Note: this relies on this gpio patch series:

https://www.spinics.net/lists/linux-gpio/msg32401.html

and this follow-up gpio patch:

https://www.spinics.net/lists/linux-gpio/msg32551.html

that will appear in 4.20.

Tested with my BeagleBone Black board.

Regards,

	Hans
---
 arch/arm/boot/dts/am335x-boneblack-common.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-boneblack-common.dtsi b/arch/arm/boot/dts/am335x-boneblack-common.dtsi
index 325daae40278..07e6b36d17c4 100644
--- a/arch/arm/boot/dts/am335x-boneblack-common.dtsi
+++ b/arch/arm/boot/dts/am335x-boneblack-common.dtsi
@@ -7,6 +7,7 @@
  */

 #include <dt-bindings/display/tda998x.h>
+#include <dt-bindings/interrupt-controller/irq.h>

 &ldo3_reg {
 	regulator-min-microvolt = <1800000>;
@@ -91,6 +92,8 @@
 	tda19988: tda19988 {
 		compatible = "nxp,tda998x";
 		reg = <0x70>;
+		nxp,calib-gpios = <&gpio1 25 0>;
+		interrupts-extended = <&gpio1 25 IRQ_TYPE_LEVEL_LOW>;

 		pinctrl-names = "default", "off";
 		pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
-- 
2.19.0





[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux