CHROMIUM: config: Enable Baytrail Pinctrl and re-generate configs

Enable CONFIG_PINCTRL, CONFIG_PINCTRL_BAYTRAIL, CONFIG_X86_INTEL_LPSS
Then re-generate the kernel configs with 'kernelconfig oldconfig'

This ended up cleaning up a few unrelated config entries, but it should
be no functional changes except the byproduct of enabling PINCTRL and LPSS.

BUG=chrome-os-partner:24314
TEST=build and boot on rambi, check for probed driver:
CQ-DEPEND=CL:178559

gpiochip_find_base: found new base at 154
gpiochip_add: registered GPIOs 154 to 255 on device: INT33FC:00
gpiochip_find_base: found new base at 126
gpiochip_add: registered GPIOs 126 to 153 on device: INT33FC:01
gpiochip_find_base: found new base at 82
gpiochip_add: registered GPIOs 82 to 125 on device: INT33FC:02

Change-Id: I99f0a3bdeefcde4663d50ad092c71a4933a1b61e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/178560
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
CHROMIUM: config: enable CPUQuiet and Tegra driver

This patch enables the CPUQuiet framework and Tegra driver.

BUG=none
TEST=boot the system and check the auto hotplug works

Change-Id: I94e875dc7d5421265f962cde65119d7be0c4b6f7
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/176921
Reviewed-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: set Tegra124 default cpufreq governor to interactive

Set default governor to interactive for power saving

BUG=None
TEST=Build and boot on Venice2, check the CPU frequency while idle.

Change-Id: I8cca2dd40ec295a9b9a54790f0e6811021904726
Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/179315
Reviewed-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: Enable Electric Design Points for Tegra124.

This driver limits the current drawn from a given regulator.  This limit
keeps the regulator within its design limits.

BUG=none
TEST=check edp action with sysfs

Change-Id: I22bb887d801c233ca0d90dc137cb4cc7081b79ee
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180283
CHROMIUM: config: Enable Tegra thermal throttling.

BUG=none
TEST=check thermal throttling initialized on rev2.

Change-Id: I3832adb234e9e31aad433c72fb3df7b243bce834
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180356
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Wei Ni <wni.nvidia@gmail.com>
Tested-by: Wei Ni <wni.nvidia@gmail.com>
CHROMIUM: config : Enable HID_LOGITECH_HIDPP and HID_LOGITECH_WTP

These two are necessary to support logitech dj type devices.

Signed-off-by: Andrew de los Reyes <adlr@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>

BUG=chromium:323784
TEST=Test Logitech T650 on falco running chromeos-3.10.
Check that with evtest, touchpad works, and reports
MT data.

Change-Id: I765c37f58ba88631ef2f8e3135f6aa373b54ac43
Reviewed-on: https://chromium-review.googlesource.com/181036
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
CHROMIUM: config: Enable marvell bluetooth over sdio

Enables the Marvell bluetooth over SDIO driver for Tegra 124.

BUG=None
TEST=bluetoothctl scan and pair

Change-Id: Ia9e0542fe2377559f71965f8b3b0cf0bbdf3a233
Signed-off-by: Christopher Freeman <cfreeman@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/181292
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Commit-Queue: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Revert "final removal of CONFIG_EXPERIMENTAL"

Since we build with wireless-3.8 which still has some dependencies on
CONFIG_EXPERIMENTAL, we need to remove this.

BUG=None
TEST=None

This reverts commit 3d374d09f16f64ab4d71704cbe621514d36cd0b1.

Change-Id: Ie0e260fe3e67839ee253a19ae794156d1173750d
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181550
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
CHROMIUM: config: Change config files to build zram module

This configures zram to be built as a module for all configurations.

BUG=chrome-os-partner:24166
TEST=See that rambi boots and that 'find / -name "zram*"' discovers files

Change-Id: I198c6161c5a793cf59de638b0341ae7b7d0e6168
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181686
CHROMIUM: config: Change config files to match wireless-3.8

This change removes some of the configs that don't exist in wireless-3.8 and
turns on some configs that were left out. ATH9K_RATE_CONTROL is set in the
config files for the 3.8 kernel, so this adds it back. This also turns the
EXPERIMENTAL config back on since that is needed for some of the wireless-3.8
configs.

BUG=None
TEST=emerge-rambi chromeos-kernel-3_10

Change-Id: I0afd2b6c9068e423729d28fc6b669cfdcf1fa424
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181685
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
CHROMIUM: config: Update kernel config for display/graphics

- Enable nvmap
- Enable nvhost
- Enable dc driver
- Enable DEVFREQ

BUG=none
TEST=emerged kernel for nyan(Tegra124 Norrin) and made sure kernel boots.

Change-Id: I134b5a269b92b0314e91645af400af652b194903
Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180274
CHROMIUM: config : enable ELAN_I2C driver for x86_64 common.

For now, turn it on for x86_64 to support rambi.

Signed-off-by: Benson Leung <bleung@chromium.org>

BUG=chrome-os-partner:24733
TEST=With elan trackpad attached to a rambi,
ensure the mouse cursor moves around.

Change-Id: Ic63e34afcaae612f8b4bb061d998357661f44c20
Reviewed-on: https://chromium-review.googlesource.com/182236
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
CHROMIUM: Enable iTCO watchdog timer in kernel configs

This enables CONFIG_ITCO_WDT and CONFIG_ITCO_VENDOR_SUPPORT for
i386 and x86_64.

BUG=chromium:321832
TEST=verified that the Intel TCO watchdog works on peppy

Change-Id: Icc792875ba9e6fef63ef5735e11e15eddc90f4f7
Signed-off-by: Ben Zhang <benzh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182059
Reviewed-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
CHROMIUM: config: Enable SST/LPE driver configs

For x86_64 flavor, the following options were set:

CONFIG_INTEL_MID_DMAC=y
CONFIG_SND_BYT_MACHINE=y
CONFIG_SND_BYT_MAX98090=y
CONFIG_SND_BYT_MAX98090_I2C_BUSNUM=9
CONFIG_SND_SOC=y
CONFIG_VLV2_PLAT_CLK=y

BUG=chrome-os-partner:24118
TEST=play youtube video, make sure there is audio

Change-Id: I47d5c5c87c2fb658952380e5c7d2c79c8df8ba5d
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182572
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
CHROMIUM: config: renormalize splitconfigs

Looks like several Kconfigs have changed recently, especially related to
wireless.

BUG=None
TEST=chromeos/scripts/kernelconfig oldconfig and accept defaults; builds for
     nyan and rambi.

Change-Id: I3ce3e1b38a4958259bfdffe4069b84c8794840e5
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/184066
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: enable PID thermal governor on Tegra124

BUG=None
TEST=Build and boot on Nyan.

Change-Id: Ifb9b857e68de5179945fc68b4bb4c67b2a59e355
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/184067
Reviewed-by: Wei Ni <wni.nvidia@gmail.com>
Tested-by: Wei Ni <wni.nvidia@gmail.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: enable Elan touchpad on Tegra124

The Nyan-Big boards will be using the Elan I2C touchpad.

BUG=None
TEST=Builds; no boards with Elan touchpad yet.

Change-Id: Ie87e05c971c3f3626996c3853dfe19265d3045be
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/184068
Reviewed-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: Enable DPTF and related drivers

For x86_64 builds enable the following drivers:
- INTEL_DPTF
- INTEL_DPTF_ACPI
- INTEL_DPTF_PCH
- INTEL_DPTF_CPU

BUG=chrome-os-partner:25110
TEST=build and boot kernel on rambi device

When complete this provides a set of kernel drivers that are used
by the ESIF upper framework applications.  This is tested by loading
the drivers and starting the ESIF application to ensure that the
sysfs nodes are created as expected and the DPTF/ESIF application
runs without issue.

Change-Id: I6e50c5bfdc2e8fcc2162323fb6e3f2049adcf903
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/183045
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Brian Bian <brian.bian@intel.com>
CHROMIUM: config: enable TEGRA_THERM_EST on Tegra124

Enable the CONFIG_TEGRA_THERM_EST and CONFIG_THERMAL_OF.

BUG=None
TEST=Verfied. Can access the therm_est thermal zone in sysfs.

Change-Id: Ia8cd5cd7594937f9662b8522988eecf6c9ce6936
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/184090
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
CHROMIUM: config: Re-generate configs

It looks like my change to enable DPTF collided with another change
and while the result is functional it not correct.

For baytrail we do not need the dptf_cpu or dptf_pch drivers and those
appear to be crashing on haswell devices.

Generated with "chromeos/scripts/kernelconfig oldconfig"

BUG=chrome-os-partner:25510
TEST=build and boot kernel on rambi device

Change-Id: I36cbfb3fc2b1dbf5d2c5e11e7697c42178795389
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/184532
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>