Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: STi: STIH416: Add IR support.

This patch adds IRB support to STiH416 platforms.

Tested on B2000 and B2020 development board

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>

+19
+7
arch/arm/boot/dts/stih416-pinctrl.dtsi
··· 106 106 st,retime-pin-mask = <0x7f>; 107 107 }; 108 108 109 + rc{ 110 + pinctrl_ir: ir0 { 111 + st,pins { 112 + ir = <&PIO4 0 ALT2 IN>; 113 + }; 114 + }; 115 + }; 109 116 sbc_serial1 { 110 117 pinctrl_sbc_serial1: sbc_serial1 { 111 118 st,pins {
+12
arch/arm/boot/dts/stih416.dtsi
··· 200 200 clock-names = "stmmaceth"; 201 201 clocks = <&CLK_S_ETH1_PHY>; 202 202 }; 203 + 204 + rc: rc@fe518000 { 205 + compatible = "st,comms-irb"; 206 + reg = <0xfe518000 0x234>; 207 + interrupts = <0 203 0>; 208 + rx-mode = "infrared"; 209 + clocks = <&CLK_SYSIN>; 210 + pinctrl-names = "default"; 211 + pinctrl-0 = <&pinctrl_ir>; 212 + resets = <&softreset STIH416_IRB_SOFTRESET>; 213 + }; 214 + 203 215 }; 204 216 };