mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 20:33:49 -04:00
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>
This commit is contained in:
committed by
Tony Lindgren
parent
4440f94d06
commit
43541bfa4c
@@ -25,7 +25,21 @@ pps {
|
||||
|
||||
};
|
||||
|
||||
&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 */
|
||||
|
||||
Reference in New Issue
Block a user