Enable config options to enable S2R wakeup
Subsystems (2)
cover Enable config options to enable S2R wakeup
RTC source is very useful in testing S2R wakeup. Also enable gpio-keys driver in case someone wants wakeup the board using the buttons.
S2R wakeup feature on Arndale depends on following two additional patches.
1. [PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi
http://permalink.gmane.org/gmane.linux.linaro.devel/15871
2. [PATCH V2] ARM: dts: Enable RTC node for Arndale (Posted a couple of minutes back, link not available yet)
S2R wakeup tested on Arndale board with an initramfs through both RTC wakeup alarm and GPIO button interrupt.
Tushar Behera (2):
ARM: exynos_defconfig: Enable GPIO buttons driver
ARM: exynos_defconfig: Enable RTC driver
arch/arm/configs/exynos_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/2 ARM: exynos_defconfig: Enable GPIO buttons driver
Many of the boards use GPIO-mapped buttons for generic input. For Arndale board, these buttons also serve as wakeup source.
--- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/exynos_defconfig +1 -0
@@ -50,6 +50,7 @@ CONFIG_USB_USBNET=y CONFIG_USB_NET_SMSC75XX=y CONFIG_USB_NET_SMSC95XX=y CONFIG_INPUT_EVDEV=y +CONFIG_KEYBOARD_GPIO=y CONFIG_KEYBOARD_CROS_EC=y # CONFIG_MOUSE_PS2 is not set CONFIG_MOUSE_CYAPA=y
Signature · 1 line
1.7.9.5
PATCH 2/2 ARM: exynos_defconfig: Enable RTC driver
In reply to Tushar BeheraThe issues reported in commit 522ccdb6fd0e ("ARM: dts: Disable the RTC by default on exynos5") are no longer reproduced on EXYNOS5250 based systems.
Hence it would be better to re-enable RTC support for EXYNOS5250.
--- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/exynos_defconfig +2 -0
@@ -105,6 +105,8 @@ CONFIG_MMC_SDHCI_S3C=y CONFIG_MMC_DW=y CONFIG_MMC_DW_IDMAC=y CONFIG_MMC_DW_EXYNOS=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_S3C=y CONFIG_COMMON_CLK_MAX77686=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y
Signature · 1 line
1.7.9.5
cover Enable config options to enable S2R wakeup
In reply to Tushar BeheraQuoted 16 lines · Tushar Behera
RTC source is very useful in testing S2R wakeup. Also enable gpio-keys driver in case someone wants wakeup the board using the buttons.
S2R wakeup feature on Arndale depends on following two additional patches.
1. [PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi
http://permalink.gmane.org/gmane.linux.linaro.devel/158712. [PATCH V2] ARM: dts: Enable RTC node for Arndale (Posted a couple of minutes back, link not available yet)
S2R wakeup tested on Arndale board with an initramfs through both RTC wakeup alarm and GPIO button interrupt.
Quoted 6 lines
Tushar Behera (2):
ARM:exynos_defconfig: Enable GPIO buttons driver
ARM:exynos_defconfig: Enable RTC driverarch/arm/configs/exynos_defconfig | 3 +++ 1 file changed, 3 insertions(+)
.. but I don't see a need to keep them as two separate commit, just squash them when applying, Kukjin.
-Olof
cover Enable config options to enable S2R wakeup
Quoted 22 lines · Olof Johansson
Quoted 20 lines · Tushar Behera
RTC source is very useful in testing S2R wakeup. Also enable gpio-keys driver in case someone wants wakeup the board using the buttons.
S2R wakeup feature on Arndale depends on following two additional patches.
1. [PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi
http://permalink.gmane.org/gmane.linux.linaro.devel/158712. [PATCH V2] ARM: dts: Enable RTC node for Arndale (Posted a couple of minutes back, link not available yet)
S2R wakeup tested on Arndale board with an initramfs through both RTC wakeup alarm and GPIO button interrupt.
Tushar Behera (2):
ARM:exynos_defconfig: Enable GPIO buttons driver
ARM:exynos_defconfig: Enable RTC driver
Quoted 9 lines
Quoted 2 lines
arch/arm/configs/exynos_defconfig | 3 +++ 1 file changed, 3 insertions(+)Acked-by Olof Johansson <[email protected]>.. but I don't see a need to keep them as two separate commit, just squash
them when applying, Kukjin.
Sure, I will. Thanks.
- Kukjin