diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2018-07-31 09:11:31 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-07 19:11:03 +0200 |
commit | 43541bfa4c073fd44d4e728b36970cb6a729aad7 (patch) | |
tree | 975a489876323d0251bdd8e9bcbe5da5e742fad9 /arch/arm/boot/dts/omap3-gta04a5.dts | |
parent | ARM: dts: omap3-gta04a5: add support for PPS (diff) | |
download | linux-43541bfa4c073fd44d4e728b36970cb6a729aad7.tar.xz linux-43541bfa4c073fd44d4e728b36970cb6a729aad7.zip |
ARM: dts: omap3-gta04a5: disable IrDA receiver to save power
The GTA04A5 has an improved IrDA circuit that can enable/disable
the receiver individually. We do not have an IrDA driver/subsystem
and hence the receiver should be actively turned off to save power,
especially in suspend.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-gta04a5.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04a5.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index e3f9e0969065..e3352cc97c91 100644 --- a/arch/arm/boot/dts/omap3-gta04a5.dts +++ b/arch/arm/boot/dts/omap3-gta04a5.dts @@ -25,7 +25,21 @@ }; +&gpio5 { + irda_en { + gpio-hog; + gpios = <(175-160) GPIO_ACTIVE_HIGH>; + output-high; /* activate gpio_175 to disable IrDA receiver */ + }; +}; + &omap3_pmx_core { + irda_pins: pinmux_irda { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21d0, PIN_OUTPUT_PULLUP | MUX_MODE4) /* mcspi1_cs1 = gpio175 */ + >; + }; + pps_pins: pinmux_pps_pins { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */ |