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

ARM: STi: STIH415: Add IR support.

This patch adds IRB support to STiH415 platforms.

Tested on B2000 and B2020 development boards.

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

+19
+8
arch/arm/boot/dts/stih415-pinctrl.dtsi
··· 120 120 }; 121 121 }; 122 122 123 + rc{ 124 + pinctrl_ir: ir0 { 125 + st,pins { 126 + ir = <&PIO4 0 ALT2 IN>; 127 + }; 128 + }; 129 + }; 130 + 123 131 gmac1 { 124 132 pinctrl_mii1: mii1 { 125 133 st,pins {
+11
arch/arm/boot/dts/stih415.dtsi
··· 195 195 clock-names = "stmmaceth"; 196 196 clocks = <&CLKS_ETH1_PHY>; 197 197 }; 198 + 199 + rc: rc@fe518000 { 200 + compatible = "st,comms-irb"; 201 + reg = <0xfe518000 0x234>; 202 + interrupts = <0 203 0>; 203 + clocks = <&CLK_SYSIN>; 204 + rx-mode = "infrared"; 205 + pinctrl-names = "default"; 206 + pinctrl-0 = <&pinctrl_ir>; 207 + resets = <&softreset STIH415_IRB_SOFTRESET>; 208 + }; 198 209 }; 199 210 };