diff mbox series

am335x-boneblack-common.dtsi: add cec support

Message ID c1a57790-ec91-103a-818a-40d7284cc502@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series am335x-boneblack-common.dtsi: add cec support | expand

Commit Message

Hans Verkuil Sept. 24, 2018, 11:01 a.m. UTC
Add CEC support to the tda998x.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
---
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(+)

Comments

Tony Lindgren Sept. 24, 2018, 10:09 p.m. UTC | #1
* Hans Verkuil <hverkuil@xs4all.nl> [180924 04:06]:
> Add CEC support to the tda998x.
> 
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> ---
> 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.

OK great applying into omap-for-v4.20/dt thanks.

Tony
diff mbox series

Patch

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>;