From: Alex Smith Date: Fri, 6 Mar 2020 21:06:31 +0000 (+0100) Subject: MIPS: DTS: CI20: add DT node for IR sensor X-Git-Tag: v5.15~4223^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5e8fcf85a25bac26c32a0000dbab5857ead9113;p=platform%2Fkernel%2Flinux-starfive.git MIPS: DTS: CI20: add DT node for IR sensor The infrared sensor on the CI20 board is connected to a GPIO and can be operated by using the gpio-ir-recv driver. Add a DT node for the sensor to allow that driver to be used. Signed-off-by: Alex Smith Signed-off-by: H. Nikolaus Schaller Reviewed-by: Paul Cercueil Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index c340f94..fc4e642 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -62,6 +62,11 @@ enable-active-high; }; + ir: ir { + compatible = "gpio-ir-receiver"; + gpios = <&gpe 3 GPIO_ACTIVE_LOW>; + }; + wlan0_power: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "wlan0_power";