linux/arch/arm/configs
Tony Lindgren c1be2032f6 ARM: dts: Enable N900 keyboard sleep leds by default
On N900 there are nice LEDs that show the state of the
sys_clkreq and sys_off_mode pins.

These LEDs go low when the system enters deeper idle
states. The left LED shows the state of the sys_clkreq
pin, and goes off during retention idle. The right LED
shows the state of sys_off_mode pin and both go off
during off idle.

As N900 is a battery operated device, these LEDs should
be off most of the time. So let's enable them by default
so we can make sure the system is mostly idle.

This allows the maintainers to also immediately test
patches for PM regressions by looking at the LEDs,
which certainly makes my life easier.

The LED can naturally be disabled during runtime with:

# echo none > /sys/class/leds/debug::sleep/trigger

Note that we don't currently have support for omap3
errata 1.158 that remuxes GPIO pins to INPUT_PULLUP |
MUX_MODE7 for the duration of idle. This means that the
GPIO pins set high will go down during off idle. In this
case it does not matter as the sys_off_mode goes down
too, but there's still a slim chance of false off idle
LED signals. If in doubt, false LED signals can be
verified by the sys_off_mode or vdd_core values.

Also note that to allow the UARTs to autoidle, the
following needs to be run on N900 to enable off idle:

#!/bin/sh
uarts=$(find /sys/class/tty/ttyO*/device/power/ -type d)
for uart in $uarts; do
	echo 3000 > $uart/autosuspend_delay_ms
done

uarts=$(find /sys/class/tty/ttyO*/power/ -type d)
for uart in $uarts; do
	echo enabled > $uart/wakeup
	echo auto > $uart/control
done

echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode

For retention idle, change the above to set 0 to
enable_off_mode.

Also note that without the twl4030 PM scripts the actual
voltage scaling won't happen for off idle so we only get
voltage scaling over I2C4 for retention idle. I'll do
some device tree patches for those also a bit later on.

Cc: Kevin Hilman <khilman@linaro.org>
Cc: Nishanth Menon <nm@ti.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
[tony@atomide.com: also make sure the LEDs get built to see PM regressions]
Signed-off-by: Tony Lindgren <tony@atomide.com>
2014-05-06 15:45:15 -07:00
..
acs5k_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
acs5k_tiny_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
am200epdkit_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ape6evm_defconfig ARM: shmobile: ape6evm: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:04 +09:00
armadillo800eva_defconfig ARM: shmobile: armadillo: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:03 +09:00
assabet_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
at91_dt_defconfig ARM: at91: updated the at91_dt_defconfig with support for the ADS7846 2014-03-12 14:36:14 +01:00
at91rm9200_defconfig ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
at91sam9g45_defconfig ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
at91sam9rl_defconfig ARM: at91/defconfig: refresh at91sam9rl_defconfig 2014-03-10 15:41:02 +01:00
at91sam9260_9g20_defconfig ARM: at91/defconfig: refresh at91sam9260_9g20_defconfig 2014-03-10 15:41:03 +01:00
at91sam9261_9g10_defconfig ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
at91sam9263_defconfig ARM: at91: drop non DT: Calao USB-A96x 2013-05-31 16:52:37 +02:00
at91x40_defconfig arm: at91: minimal defconfig for at91x40 SoC 2011-04-23 11:03:06 +08:00
badge4_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
bcm2835_defconfig ARM: bcm2835: Move to mach-bcm directory 2014-02-24 19:42:35 -07:00
bcm_defconfig Update bcm_defconfig with new pinctrl CONFIG 2014-04-14 09:39:33 +02:00
bockw_defconfig ARM: shmobile: bockw: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:03 +09:00
cerfcube_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
clps711x_defconfig ARM: clps711x: Update defconfig 2014-02-28 17:46:40 +01:00
cm_x2xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
cm_x300_defconfig ARM: pxa/cm-x300: update cm_x300_defconfig 2011-07-11 14:43:28 +08:00
cns3420vb_defconfig ARM: cns3xxx: enable multiplatform support 2013-03-14 17:34:57 +01:00
colibri_pxa270_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
colibri_pxa300_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
collie_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
corgi_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
davinci_all_defconfig ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
dove_defconfig ARM: dove: Enable watchdog support in the defconfig 2014-02-17 21:47:31 +00:00
ebsa110_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
efm32_defconfig ARM: new platform for Energy Micro's EFM32 Cortex-M3 SoCs 2013-12-16 17:51:33 +01:00
em_x270_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ep93xx_defconfig usb: ohci: remove ep93xx bus glue platform driver 2013-10-29 16:43:37 -07:00
eseries_pxa_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
exynos_defconfig ARM: exynos_defconfig: Update EHCI config entry 2014-02-16 02:02:33 +09:00
ezx_defconfig ARM: pxa: fix inconsistent CONFIG_USB_PXA27X 2011-11-10 15:32:27 +08:00
footbridge_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
genmai_defconfig ARM: shmobile: r7s72100: update defconfig for I2C usage 2014-02-18 11:36:33 +09:00
h3600_defconfig ARM: 7849/2: h3600: update defconfig 2013-10-29 11:01:06 +00:00
h5000_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
hackkit_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
hi3xxx_defconfig ARM: config: add defconfig for Hi3xxx 2013-12-17 16:43:33 -08:00
imote2_defconfig ARM: pxa: fix inconsistent CONFIG_USB_PXA27X 2011-11-10 15:32:27 +08:00
imx_v4_v5_defconfig ARM: imx_v4_v5_defconfig: Select CONFIG_MMC_UNSAFE_RESUME 2014-03-05 10:35:16 +08:00
imx_v6_v7_defconfig ARM: imx_v6_v7_defconfig: Select CONFIG_DEBUG_FS 2014-03-05 10:40:44 +08:00
integrator_defconfig ARM: integrator: update defconfig 2013-10-16 14:09:34 +02:00
iop13xx_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
iop32x_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
iop33x_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
ixp4xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
jornada720_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
keystone_defconfig ARM: config: keystone: enable AEMIF/NAND support 2014-02-28 21:06:46 -05:00
kirkwood_defconfig ARM: kirkwood: enable HIGHMEM in defconfig 2013-11-23 17:17:13 +00:00
koelsch_defconfig ARM: shmobile: koelsch: Enable SDHI, GPIO and regulators in defconfig 2014-02-17 12:30:22 +09:00
ks8695_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
kzm9g_defconfig ARM: shmobile: kzm9g: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:03 +09:00
lager_defconfig ARM: shmobile: lager defconfig: Enable RSPI and MTD_M25P80 2014-02-13 14:33:58 +09:00
lart_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
lpc32xx_defconfig ARM: arm-soc platform updates for 3.10, part 1 2013-05-02 09:31:45 -07:00
lpd270_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
lubbock_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
mackerel_defconfig ARM: shmobile: mackerel: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:02 +09:00
magician_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
mainstone_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
marzen_defconfig ARM: shmobile: marzen: enable CONFIG_DEVTMPFS in defconfig 2014-02-04 10:26:02 +09:00
mini2440_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
mmp2_defconfig ARM: mmp: enable debug uart port in defconfig 2012-08-16 17:49:08 +08:00
moxart_defconfig ARM: moxart: add MOXA ART SoC platform files 2013-12-22 11:57:38 -08:00
msm_defconfig ARM: msm_defconfig: Enable MSM clock drivers 2014-01-31 14:58:52 -08:00
multi_v5_defconfig ARM: fix duplicate symbols in multi_v5_defconfig 2014-03-17 14:35:44 +01:00
multi_v7_defconfig ARM: SoC: board changes 2014-04-05 14:44:13 -07:00
mv78xx0_defconfig defconfigs: remove CONFIG_MTD_NAND_VERIFY_WRITE 2012-09-29 15:00:49 +01:00
mvebu_v5_defconfig ARM: kirkwood: Add HP T5325 devices to {multi|mvebu}_v5_defconfig 2014-02-25 20:31:11 +00:00
mvebu_v7_defconfig ARM: SoC: board changes 2014-04-05 14:44:13 -07:00
mxs_defconfig ARM: mxs_defconfig: Turn off CONFIG_DEBUG_GPIO 2013-10-21 09:37:27 +08:00
neponset_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
netwinder_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
netx_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
nhk8815_defconfig ARM: nomadik: configure for NO_HZ and HRTIMERS 2013-07-20 11:59:45 +02:00
nuc910_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
nuc950_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
nuc960_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
omap1_defconfig mailbox/omap: move the OMAP mailbox framework to drivers 2013-06-11 11:41:51 -05:00
omap2plus_defconfig ARM: dts: Enable N900 keyboard sleep leds by default 2014-05-06 15:45:15 -07:00
orion5x_defconfig arm: orion5x: add DT related options in defconfig 2012-11-21 21:00:58 +00:00
palmz72_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pcm027_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pleb_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
prima2_defconfig watchdog: sirf: add watchdog driver of CSR SiRFprimaII and SiRFatlasVI 2013-11-17 19:37:23 +01:00
pxa3xx_defconfig defconfigs: remove CONFIG_MTD_NAND_VERIFY_WRITE 2012-09-29 15:00:49 +01:00
pxa168_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pxa255-idp_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pxa910_defconfig ARM: mmp: add display and fb support in pxa910 defconfig 2013-02-21 17:22:17 -08:00
raumfeld_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
realview_defconfig ARM: 6903/1: Realview: Use physmap driver instead of integrator-flash 2011-05-20 22:27:08 +01:00
realview-smp_defconfig ARM: 6903/1: Realview: Use physmap driver instead of integrator-flash 2011-05-20 22:27:08 +01:00
rpc_defconfig ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs 2012-05-05 05:50:50 +01:00
s3c2410_defconfig ARM: s3c2410_defconfig: update s3c2410_defconfig 2012-03-03 08:55:58 +09:00
s3c6400_defconfig ARM: s3c6400_defconfig: enable more boards in defconfig 2012-08-11 13:31:49 +09:00
s5p64x0_defconfig ARM: S5P: Update defconfig for HRT support 2011-03-12 08:05:19 +09:00
s5pc100_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
s5pv210_defconfig ARM: S5P: Update defconfig for HRT support 2011-03-12 08:05:19 +09:00
sama5_defconfig ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
shannon_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
shmobile_defconfig ARM: shmobile: Add defconfig for shmobile multiplatform 2014-02-17 10:22:44 +09:00
simpad_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
socfpga_defconfig ARM: socfpga: Update socfpga_defconfig 2014-03-02 14:58:07 -06:00
spear3xx_defconfig ARM: spear: use multiplatform configuration options. 2013-03-12 17:40:14 +01:00
spear6xx_defconfig ARM: spear: use multiplatform configuration options. 2013-03-12 17:40:14 +01:00
spear13xx_defconfig watchdog: delete mpcore_wdt driver 2013-07-11 21:47:58 +02:00
spitz_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
sunxi_defconfig ARM: sunxi: Enable A31 SPI and SID in the defconfig 2014-02-07 20:26:40 +01:00
tct_hammer_defconfig ARM: s3c24xx: enable CONFIG_BUG for tct_hammer 2012-08-10 13:02:06 +02:00
tegra_defconfig ARM: SoC: board changes 2014-04-05 14:44:13 -07:00
trizeps4_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
u300_defconfig ARM: u300: u300_defconfig: Enable PARTITION_ADVANCED 2014-04-14 09:21:43 +02:00
u8500_defconfig ARM: ux500: configure for CW1200 WLAN chip 2014-04-14 11:08:26 +02:00
versatile_defconfig ARM: versatile: enable LEDs by default 2013-12-20 18:22:49 +01:00
vexpress_defconfig ARM: vexpress: Enable platform-specific options in defconfig 2013-10-28 13:26:02 -07:00
viper_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
vt8500_v6_v7_defconfig ARM: vt8500: add defconfig for v6/v7 chips 2013-11-14 10:44:30 -08:00
xcep_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
zeus_defconfig arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00