Skip to contentSkip to conversation

ARM: tegra: config: enable RTC for Cardhu and Whistler

PATCH New Stephen Warren 1 participant 2 messages Sep 11, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: config: enable RTC for Cardhu and Whistler

From: Stephen Warren <[email protected]>

Enable CONFIG_RTC_DRV_TPS65910, CONFIG_RTC_DRV_MAX8907, and some RTC options that Kconfig help implies should typically be enabled; RTC_INTF_SYSFS, INTF_PROC, RTC_INTF_DEV.

While rebuilding defconfig:

* Removed entry for HOTPLUG_CPU since it is now implied by PM_SLEEP_SMP.
* Enabled MEDIA_USB_SUPPORT, which is a requirement to keep USB_VIDEO_CLASS=m.

---
 arch/arm/configs/tegra_defconfig |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
arch/arm/configs/tegra_defconfig +5 -3
index ef2c679..adcf3c2 100644
@@ -31,7 +31,6 @@ CONFIG_TEGRA_PCI=y
 CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA=y
 CONFIG_TEGRA_EMC_SCALING_ENABLE=y
 CONFIG_SMP=y
-CONFIG_HOTPLUG_CPU=y
 CONFIG_PREEMPT=y
 CONFIG_AEABI=y
 # CONFIG_OABI_COMPAT is not set
@@ -137,9 +136,8 @@ CONFIG_REGULATOR_TPS6586X=y
 CONFIG_REGULATOR_TPS65910=y
 CONFIG_MEDIA_SUPPORT=y
 CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_USB_SUPPORT=y
 CONFIG_USB_VIDEO_CLASS=m
-# CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV is not set
-# CONFIG_USB_GSPCA is not set
 CONFIG_SOUND=y
 CONFIG_SND=y
 # CONFIG_SND_SUPPORT_OLD_API is not set
@@ -170,7 +168,11 @@ CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_GPIO=y
 CONFIG_RTC_CLASS=y
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
 CONFIG_RTC_DRV_MAX8907=y
+CONFIG_RTC_DRV_TPS65910=y
 CONFIG_RTC_DRV_EM3027=y
 CONFIG_RTC_DRV_TEGRA=y
 CONFIG_STAGING=y
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 ARM: tegra: config: enable RTC for Cardhu and Whistler

Quoted 11 lines · Stephen Warren

From: Stephen Warren <[email protected]>

Enable CONFIG_RTC_DRV_TPS65910, CONFIG_RTC_DRV_MAX8907, and some RTC options that Kconfig help implies should typically be enabled; RTC_INTF_SYSFS, INTF_PROC, RTC_INTF_DEV.

While rebuilding defconfig:

* Removed entry for HOTPLUG_CPU since it is now implied by PM_SLEEP_SMP.
* Enabled MEDIA_USB_SUPPORT, which is a requirement to keep USB_VIDEO_CLASS=m.

Applied to Tegra's for-3.7/defconfig branch. I also squashed all the (3) patches in that branch into a single patch to avoid a little bit of churn due to earlier patches enabling some features that ended up being selected later on, and hence not showing up any more.