[v2,6/6] ARM: dts: n900: enable lirc-rx51 driver

Message ID 1463427254-7728-7-git-send-email-ivo.g.dimitrov.75@gmail.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Ivaylo Dimitrov May 16, 2016, 7:34 p.m. UTC
  Add the needed DT data to enable IR TX driver

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
---
 arch/arm/boot/dts/omap3-n900.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
  

Comments

Tony Lindgren June 10, 2016, 10:49 a.m. UTC | #1
* Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [160516 12:36]:
> Add the needed DT data to enable IR TX driver

Applying this patch into omap-for-v4.8/dt instead of the
earlier version.

Regards,

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

Patch

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b3c26a9..cb3878a 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -143,6 +143,18 @@ 
 		io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>;
 		io-channel-names = "temp", "bsi", "vbat";
 	};
+
+	pwm9: dmtimer-pwm@9 {
+		compatible = "ti,omap-dmtimer-pwm";
+		#pwm-cells = <3>;
+		ti,timers = <&timer9>;
+		ti,clock-source = <0x00>; /* timer_sys_ck */
+	};
+
+	ir: n900-ir {
+		compatible = "nokia,n900-ir";
+		pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
+	};
 };
 
 &omap3_pmx_core {