[linux-yocto] [PATCH 14/15] pinctrl: intel: broxton: Allow UART 2 pins to be GPIO

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/a64991ad3ad413bb265abf29c6cbce42479ccff6?at=master] The UART driver is going to support runtime PM. The problem is that that is used for console and we have no other possibility to wake

[linux-yocto] [PATCH 11/15] serial: core: remove legacy PM code

2016-11-17 Thread Nilesh Bacchewar
. Signed-off-by: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/serial_core.c | 56 include/linux/serial_core.h | 1 - 2 files changed, 57 deletions(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial

[linux-yocto] [PATCH 15/15] serial: 8250_dw: Set autosuspend time

2016-11-17 Thread Nilesh Bacchewar
Upstream-status: Pending. Set autosuspend time to allow port enter D3. Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/8250/8250_dw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 6c0c49a

[linux-yocto] [PATCH 13/15] serial: 8250_dw: support serial console wakeup

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/31b40497a96e5f44fd0bea6cb3ae2fd1cc27?at=master] Set up RxD or CTS pin as wake source and switch the driver to use it. Signed-off-by: Andy Shevchenko --- drivers/tty/serial/8250/82

[linux-yocto] [PATCH 06/15] serial: core: add support of runtime PM

2016-11-17 Thread Nilesh Bacchewar
lock). Signed-off-by: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/serial_core.c | 73 +++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index

[linux-yocto] [PATCH 09/15] serial: 8250_dw: enable runtime PM

2016-11-17 Thread Nilesh Bacchewar
when using, for example, as a serial console since there is no means to resume it back. Signed-off-by: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/8250/8250_dw.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/tty/serial

[linux-yocto] [PATCH 12/15] serial: 8250_port: prevent console to sleep

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Upstream-Status: Pending. Prevent console to sleep during start-up stage. Signed-off-by: Andy Shevchenko --- drivers/tty/serial/8250/8250_port.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_

[linux-yocto] [PATCH 08/15] serial: 8250_port: remove legacy PM code

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/beaec3129e338fd4b4538b6a11afdec64e025185?at=master] Since the driver has been switched to use runtime PM, remove legacy PM code. Signed-off-by: Andy Shevchenko --- drivers/tty/serial/

[linux-yocto] [PATCH 07/15] serial: 8250_port: remove unnecessary calls to runtime PM

2016-11-17 Thread Nilesh Bacchewar
runtime PM calls. Signed-off-by: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/8250/8250_port.c | 74 + 1 file changed, 25 insertions(+), 49 deletions(-) diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250

[linux-yocto] [PATCH 10/15] serial: 8250: remove legacy ->pm() hook

2016-11-17 Thread Nilesh Bacchewar
: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/8250/8250_core.c | 1 - drivers/tty/serial/8250/8250_port.c | 12 include/linux/serial_8250.h | 2 -- 3 files changed, 15 deletions(-) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty

[linux-yocto] [PATCH 02/15] serial: 8250_port: factor out serial8250_do_restore_context()

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/fe798435558f5214855a60ac15df4fe6d48e956c?at=master] The new function serial8250_do_restore_context() is used to write the saved register values to the hardware. It is used in serial8250_

[linux-yocto] [PATCH 05/15] serial: core: enforce type for upf_t when copying

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/15c1b8590c648ee0b1b747b30d285725424044de?at=master] upf_t is a bitwise defined type and any assignment from different, but compatible, types makes static analyzer unhappy. drivers/tty/s

[linux-yocto] [PATCH 03/15] serial: 8250_port: export serial8250_rpm_{get|put}_tx()

2016-11-17 Thread Nilesh Bacchewar
both calls. Signed-off-by: Andy Shevchenko Signed-off-by: Nilesh Bacchewar --- drivers/tty/serial/8250/8250.h | 3 +++ drivers/tty/serial/8250/8250_port.c | 6 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h

[linux-yocto] [PATCH 00/15] 8250/serial: Enable RuntimePM for HSUART

2016-11-17 Thread Nilesh Bacchewar
PM code serial: 8250_port: prevent console to sleep serial: 8250_dw: support serial console wakeup pinctrl: intel: broxton: Allow UART 2 pins to be GPIO Nilesh Bacchewar (1): serial: 8250_dw: Set autosuspend time drivers/pinctrl/intel/pinctrl-broxton.c | 32 -- drivers/tty/serial/8

[linux-yocto] [PATCH 01/15] serial: 8250_port: properly handle runtime PM in IRQ

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-status: Pending. [https://bitbucket.org/andy-shev/linux/commits/8d89f5c7fa087bb72104070667330288714000d0?at=master] We can't and basically don't need to call runtime PM in IRQ handler. If IRQ is ours, device must be powered on. Otherwise check if the

[linux-yocto] [PATCH 04/15] serial: 8250_dma: power off device after TX is done

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/5fe86674840c6773d09943a78a5f7f3bf2420ffd?at=master] When any 8250 based driver sets up DMA and has UART_CAP_RPM capability enabled the device is left powered on after transfer is done. W

[linux-yocto] [yocto-kernel-cache] [PATCH] Enable Intel PMIC TMU config

2016-11-07 Thread Nilesh Bacchewar
Hello Bruce, This change enables Intel PMIC TMU config as module on broxton platform. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): Broxton: Enable PMIC TMU module features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1

[linux-yocto] [PATCH] Broxton: Enable PMIC TMU module

2016-11-07 Thread Nilesh Bacchewar
Enable Intel Whiskey Cove PMIC TMU driver as module. Signed-off-by: Nilesh Bacchewar --- features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg index 4b2472b..ba47aa5 100644 --- a/features/power

[linux-yocto] [PATCH] platform: x86: Add Whiskey Cove PMIC TMU support

2016-11-07 Thread Nilesh Bacchewar
Backport: - Submitted upstream [https://patchwork.kernel.org/patch/9415995/] - Backport fix. This adds TMU (Time Management Unit) support for Intel BXT platform. It enables the alarm wake-up functionality in the TMU unit of Whiskey Cove PMIC. Signed-off-by: Nilesh Bacchewar

[linux-yocto] [PATCH] x86/platform: Add Whiskey Cove PMIC TMU support

2016-11-07 Thread Nilesh Bacchewar
Backports this patch on linux-yocto-4.4. Patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): platform: x86: Add Whiskey Cove PMIC TMU support drivers/mfd/intel_soc_pmic_bxtwc.c | 38

[linux-yocto] [PATCH] pinctrl: intel: Configure GPIO chip IRQ as wakeup interrupts

2016-09-22 Thread Nilesh Bacchewar
/GPIO driver need to mark GPIO chip/controller IRQ (first level IRQ) as wake capable iff GPIO pin's IRQ (second level IRQ) is marked as wake cable. Changes in v2: - Add missing irq initialisation. Signed-off-by: Nilesh Bacchewar Reviewed-by: Mika Westerberg --- drivers/pinctrl/intel/pi

[linux-yocto] [PATCH] x86/pinctrl: Configure GPIO chip IRQ as wakeup interrupts

2016-09-22 Thread Nilesh Bacchewar
Backports Intel pinctrl patch on linux-yocto-4.4. Patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): pinctrl: intel: Configure GPIO chip IRQ as wakeup interrupts drivers/pinctrl/intel

[linux-yocto] [PATCH 3/5] drm/i915/bxt: Export pooled eu info to userspace

2016-09-12 Thread Nilesh Bacchewar
arun.siluv...@linux.intel.com Acked-by: Jani Nikula Signed-off-by: Nilesh Bacchewar --- drivers/gpu/drm/i915/i915_dma.c | 6 ++ include/uapi/drm/i915_drm.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 84a61c

[linux-yocto] [PATCH 4/5] drm/i915/bxt: update list of PCIIDs

2016-09-12 Thread Nilesh Bacchewar
From: Imre Deak Backport: commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0 upstream. Add PCIIDs for new versions of the SOC, based on BSpec. Also add the name of the versions as code comment where this is available. The new versions don't have any changes visible to the kernel driver. Signed-off

[linux-yocto] [PATCH 5/5] drm/i915/bxt: Add WaDisablePooledEuLoadBalancingFix

2016-09-12 Thread Nilesh Bacchewar
f-by: Arun Siluvery Signed-off-by: Tvrtko Ursulin Signed-off-by: Nilesh Bacchewar --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 6 ++ 2 files changed, 7 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_r

[linux-yocto] [PATCH 1/5] drm/i915:bxt: Enable Pooled EU support

2016-09-12 Thread Nilesh Bacchewar
From: "arun.siluv...@linux.intel.com" Backport: commit 33e141ed1cf74cd8ef26e5f175e43e378157a649 upstream. This mode allows to assign EUs to pools which can process work collectively. The command to enable this mode should be issued as part of context initialization. The pooled mode is global,

[linux-yocto] [PATCH 2/5] drm/i915/bxt: Add WaEnablePooledEuFor2x6

2016-09-12 Thread Nilesh Bacchewar
From: "arun.siluv...@linux.intel.com" Backport: commit e015dd69b2cf8d639308ad1cb4cd204a24e918fe upstream. Pooled EU is enabled by default for BXT but for fused down 2x6 parts it is advised to turn it off. But there is another HW issue in these parts (fused down 2x6 parts) before C0 that requires

[linux-yocto] [PATCH 0/5] Backport on linux-yocto-4.4 bxt-rebase branch

2016-09-12 Thread Nilesh Bacchewar
Backport Enable Pooled EU support patches to linux-yocto-4.4. These patches are for BXT-M standard SKUs. Patches have been approved and available on upstream kernel. Rebased on bxt-rebase branch. Imre Deak (1): drm/i915/bxt: update list of PCIIDs arun.siluv...@linux.intel.com (4): drm/i915:b

[linux-yocto] [PATCH 2/2] vmstat: make vmstat_updater deferrable again and shut down on idle

2016-08-26 Thread Nilesh Bacchewar
From: Christoph Lameter Backport: commit 0eb77e9880321915322d42913c3b53241739c8aa upstream. Currently the vmstat updater is not deferrable as a result of commit ba4877b9ca51 ("vmstat: do not use deferrable delayed work for vmstat_update"). This in turn can cause multiple interruptions of the ap

[linux-yocto] [PATCH 0/2] Backport on linux-yocto-4.4 bxt-rebase branch

2016-08-26 Thread Nilesh Bacchewar
Backport on linux-yocto-4.4. These patches are approved & available on upstream kernel. These patches have been rebased on bxt-rebase branch. Christoph Lameter (1): vmstat: make vmstat_updater deferrable again and shut down on idle Paul E. McKenney (1): rcu: Make expedited RCU-sched grace p

[linux-yocto] [PATCH 1/2] rcu: Make expedited RCU-sched grace period immediately detect idle

2016-08-26 Thread Nilesh Bacchewar
From: "Paul E. McKenney" Backport: commit 28728dd310d48834cd486dac3cac9ae96b9deb96 upstream. Currently, sync_sched_exp_handler() will force a reschedule unless this CPU has already checked in or unless a reschedule has already been called for. This is clearly wasteful if sync_sched_exp_handler(

[linux-yocto] [PATCH] x86/tsc: Set X86_FEATURE_TSC_RELIABLE to skip refined calibration

2016-08-17 Thread Nilesh Bacchewar
works but may not be reliable. So kernel may report a physically reliable TSC is not reliable just because a physically not reliable HPET is acting as timekeeping watchdog. Signed-off-by: Bin Gao Signed-off-by: Nilesh Bacchewar --- arch/x86/kernel/tsc.c | 1 + 1 file changed, 1 insertion(+) di

[linux-yocto] [PATCH] x86/tsc patch backport on linux-yocto-4.4 bxt-rebase branch

2016-08-17 Thread Nilesh Bacchewar
This patchset backports x86/tsc patch on linux-yocto-4.4 from 4.8-rcX. This patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): x86/tsc: Set X86_FEATURE_TSC_RELIABLE to skip refined

[linux-yocto] [PATCH] features/powertop: To provide wakeup/seconds events

2016-07-20 Thread Nilesh Bacchewar
for powertop to provide wakeup/seconds events Signed-off-by: Nilesh Bacchewar --- features/powertop/powertop.cfg | 5 + features/soc/broxton/broxton.scc | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 features/powertop/powertop.cfg diff --git a/features/powertop/powertop.cfg

[linux-yocto] [yocto-kernel-cache] [PATCH] Enable Powertop configs

2016-07-20 Thread Nilesh Bacchewar
Hello Bruce, This is to enable Powertop feature on broxton platform. This patch is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): features/powertop: To provide wakeup/seconds events features/powertop/powertop.cfg | 5 + features/soc/broxton/broxton.scc | 2 ++ 2 files changed, 7

[linux-yocto] [yocto-kernel-cache] [PATCH] GPIO: Enable Intel PMIC gpio config

2016-07-14 Thread Nilesh Bacchewar
Hello Bruce, This change enables Intel PMIC gpio config as module on broxton platform. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): gpio: Enable Intel PMIC gpio features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1

[linux-yocto] [PATCH] gpio: Enable Intel PMIC gpio

2016-07-14 Thread Nilesh Bacchewar
Enable Intel Whiskey Cove PMIC gpio driveri as module. --- features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg index 479cbbc..4b2472b 100644 --- a/features/power/intel_pmic.cfg +++ b/features/power/intel

[linux-yocto] [PATCH] Thermal: Enable Broxton SoC thermal reporting device

2016-07-10 Thread Nilesh Bacchewar
From: Amy Wiles commit 20bbfaf72cb419cf2a864978df3fc36f1986046a upstream. Enable Broxton SoC thermal reporting device. Signed-off-by: Amy Wiles Signed-off-by: Zhang Rui --- drivers/thermal/int340x_thermal/processor_thermal_device.c | 10 ++ 1 file changed, 10 insertions(+) diff --gi

[linux-yocto] [PATCH] Thermal: Backport thermal patch to linux-yocto-4.4 bxt-rebase

2016-07-10 Thread Nilesh Bacchewar
Its backport thermal patch to enable Broxton thermal reporting device. It is targeted for linux-yocto-4.4 on bxt-rebase branch. Amy Wiles (1): Thermal: Enable Broxton SoC thermal reporting device drivers/thermal/int340x_thermal/processor_thermal_device.c | 10 ++ 1 file changed, 10 ins

[linux-yocto] [PATCH] gpio: disable Intel PMIC gpio

2016-07-08 Thread Nilesh Bacchewar
Disable Intel Whiskey Cove PMIC gpio driver. Signed-off-by: Nilesh Bacchewar --- features/power/intel_pmic.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg index 4b2472b..479cbbc 100644 --- a/features/power/intel_pmic.cfg

[linux-yocto] [yocto-kernel-cache] [PATCH] GPIO: disable Intel PMIC gpio config

2016-07-08 Thread Nilesh Bacchewar
Hello Bruce, This change disables Intel PMIC gpio config on broxton platform. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): gpio: disable Intel PMIC gpio features/power/intel_pmic.cfg | 3 --- 1 file changed, 3 deletions(-) -- 1.9.1

[linux-yocto] [PATCH] features/thermal: Enable Intel PMIC thermal feature

2016-07-06 Thread Nilesh Bacchewar
Enable this for Intel PMIC with ADC channels monitoring system temperature measurements and alerts. Signed-off-by: Nilesh Bacchewar --- features/power/intel_pmic.cfg | 6 ++ features/thermal/coretemp.cfg | 3 +++ 2 files changed, 9 insertions(+) diff --git a/features/power/intel_pmic.cfg b

[linux-yocto] [yocto-kernel-cache] [PATCH] Thermal: Enable PMIC thermal configs

2016-07-06 Thread Nilesh Bacchewar
Hello Bruce, This change enables PMIC thermal feature on broxton platform. Changes are added in coretemp.cfg and intel pmic. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): features/thermal: Enable Intel PMIC thermal feature features/power/intel_pmic.cfg | 6

[linux-yocto] [PATCH] gpio: update Intel WhiskeyCove GPIO driver

2016-07-06 Thread Nilesh Bacchewar
Incremental patch for Intel WhiskeyCove GPIO driver based on updated patch version Changes: - Typo fix (Whsikey --> Whiskey). - Removed the device id table and added MODULE_ALIAS() Signed-off-by: Nilesh Bacchewar --- drivers/gpio/Kconfig | 2 +- drivers/gpio/gpio-wcove.c |

[linux-yocto] [PATCH] Update GPIO driver on linux-yocto-4.4 bxt-rebase branch

2016-07-06 Thread Nilesh Bacchewar
This is incremental patchset to backported Intel WhiskeyCove GPIO driver on linux-yocto-4.4 from 4.7-rcX. This patch have been submitted upstream and the approval is in progress, hence may not be final. Patch have been rebased on bxt-rebase branch. Nilesh Bacchewar (1): gpio: update Intel

[linux-yocto] [PATCH] cpumask: Export cpumask_any_but()

2016-06-30 Thread Nilesh Bacchewar
Almost every cpumask function is exported, just not the one I need to make the Intel uncore driver modular. commit 3712bba1a260ad851f3aa8ddea9cb7326f6aa0b3 upstream. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Cc: Andi Kleen Cc: Arnaldo Carvalho de Melo Cc: Borislav P

[linux-yocto] [PATCH] Backport cpumask fix on linux-yocto-4.4 bxt-rebase branch

2016-06-30 Thread Nilesh Bacchewar
This patchset backports exported cpumask_any_but function on linux-yocto-4.4 from 4.7-rcX. This patch have been submitted upstream and approved, patch have been rebased on bxt-rebase branch. Nilesh Bacchewar (1): cpumask: Export cpumask_any_but() lib/cpumask.c | 1 + 1 file changed, 1

[linux-yocto] [PATCH 13/16] powercap: intel_rapl: Add missing Haswell model

2016-06-29 Thread Nilesh Bacchewar
From: Srinivas Pandruvada commit 462d8083fb2da951ad6edb9e8000c1f2578d27a9 upstream. Added missing model 0x46. Tested-and-reported-by: Piotr Maksymiuk Signed-off-by: Srinivas Pandruvada Signed-off-by: Rafael J. Wysocki --- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)

[linux-yocto] [PATCH 04/16] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-29 Thread Nilesh Bacchewar
From: Bin Gao This patch adds operation region driver for Intel BXT WhiskeyCove PMIC. The register mapping is done as per the BXT WC data sheet. Changes in v4: - Reverted(removed) regs_read() and regs_write() methods Changes in v3: - Added regs_read() and regs_write() methods Changes in v2: -

[linux-yocto] [PATCH 02/16] gpio: change member .parent to .dev

2016-06-29 Thread Nilesh Bacchewar
This patch is to fix backport compile issue. change member .parent to .dev in drivers/gpio/gpio-wcove.c Upstream-status: Inappropriate [Fix backport compile issue] Signed-off-by: Nilesh Bacchewar --- drivers/gpio/gpio-wcove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[linux-yocto] [PATCH 12/16] powercap/rapl: track lead cpu per package

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit 323ee64aa175a67fbbe744e809777d17e6fb42d7 upstream. RAPL driver operates on MSRs that are under package/socket scope instead of core scope. However, the current code does not keep track of which CPUs are available on each package for MSR access. Therefore it has to search f

[linux-yocto] [PATCH 16/16] thermal/powerclamp: remove cpu whitelist

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit b721ca0d192754deccb89fb01c77e41e6fd91ad9 upstream. Powerclamp works by aligning idle time to achieve package level idle states, aka cstates. As long as one of the package cstates is available, synchronized idle injection is meaningful. This patch replaces the CPU whitelis

[linux-yocto] [PATCH 01/16] gpio: add Intel WhiskeyCove GPIO driver

2016-06-29 Thread Nilesh Bacchewar
This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. This driver is based on gpio-crystalcove.c. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- drivers/gpio/Kconfig | 13 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-wcove.c | 402 +

[linux-yocto] [PATCH 03/16] acpi/pmic: modify the pen function signature to take bit field

2016-06-29 Thread Nilesh Bacchewar
From: Bin Gao Issue description: On some pmics, the policy enable for thermal alerts refers to different bit fields of the same registers, whereas on other pmics, the policy enable refers to the same bit field on different registers. Previous implementation did not provide the flexibility for sup

[linux-yocto] [PATCH 00/16] Thermal backport on linux-yocto-4.4 bxt-rebase branch

2016-06-29 Thread Nilesh Bacchewar
Kabylake thermal/powerclamp: remove cpu whitelist Julia Lawall (1): powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures Nilesh Bacchewar (7): gpio: add Intel WhiskeyCove GPIO driver gpio: change member .parent to .dev include/linux/mfd/intel_soc_pmic.h

[linux-yocto] [PATCH 15/16] powercap/rapl: handle missing msrs

2016-06-29 Thread Nilesh Bacchewar
Some RAPL MSRs may not exist on some CPUs, we need to continue the topology detection and enumerate what is available. This patch handles the missing MSRs then report to powercap layer only the features available. Signed-off-by: Jacob Pan --- drivers/powercap/intel_rapl.c | 103

[linux-yocto] [PATCH 07/16] mfd/intel_soc_pmic_bxtwc: add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone

2016-06-29 Thread Nilesh Bacchewar
This changes adds the mapping of Intel BXT WhiskeyCove PMIC ADC channel to thermal zone. This mapping is used in the pmic thermal driver to notify the thermal zone with the pmic adc channel alert interrupts. Signed-off-by: Yegnesh Iyer Signed-off-by: Bin Gao --- drivers/mfd/intel_soc_pmic_bxtwc

[linux-yocto] [PATCH 11/16] powercap/rapl: add package reference per domain

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit 309557f558a6f276e364b08d916c0f644b5bd2e1 upstream. This patch adds to each rapl domain a reference of the package it belongs to. At runtime, we can then avoid searching the package data for each access. It simplifies the domain level operations which depend on package leve

[linux-yocto] [PATCH 09/16] powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2016-06-29 Thread Nilesh Bacchewar
From: Julia Lawall commit 600c395bf6c4e44ec831e850d7f93ce53d7373be upstream. The powercap_zone_ops and powercap_zone_constraint_ops structures are never modified, so declare them as const. Most of the actual changes adjust indentation to accomodate the const keyword. Done with the help of Cocc

[linux-yocto] [PATCH 14/16] powercap/intel_rapl: Add support for Kabylake

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit 6c51cc0203de25aeaff9d0236d6c2b497be93e3b upstream. Kabylake is similar to Skylake in terms of RAPL. Signed-off-by: Jacob Pan Signed-off-by: Rafael J. Wysocki --- drivers/powercap/intel_rapl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/powercap/intel_

[linux-yocto] [PATCH 10/16] powercap/rapl: reduce ipi calls

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit f14a1396d8f19b6c53593045eba86d10360a0cee upstream. Reduce remote CPU calls for MSR access by combining read modify write into one function. Suggested-by: Peter Zijlstra Signed-off-by: Jacob Pan Signed-off-by: Rafael J. Wysocki --- drivers/powercap/intel_rapl.c | 119 +

[linux-yocto] [PATCH 08/16] acpi: pmic: intel: add REGS operation region support

2016-06-29 Thread Nilesh Bacchewar
At least some of the Broxtons have a third custom OpRegion named REGS. This adds handling for it. Signed-off-by: Felipe Balbi Signed-off-by: Heikki Krogerus --- drivers/acpi/pmic/intel_pmic.c | 67 +- 1 file changed, 66 insertions(+), 1 deletion(-) diff

[linux-yocto] [PATCH 05/16] include/linux/mfd/intel_soc_pmic.h: add new data structures

2016-06-29 Thread Nilesh Bacchewar
This patch adds three new data structures: struct trip_config_map {}, struct thermal_irq_map {} and struct pmic_thermal_data {} which are required by some new drivers. Signed-off-by: ysiyer Signed-off-by: Bin Gao --- include/linux/mfd/intel_soc_pmic.h | 21 + 1 file changed,

[linux-yocto] [PATCH 06/16] thermal: add Intel BXT WhiskeyCove PMIC thermal driver

2016-06-29 Thread Nilesh Bacchewar
This change add support for pmic thermal driver which is intended to handle the alert interrupts triggered upon thermal trip point cross and notify the thermal framework appropriately with the zone, temp, crossed trip and event details. Signed-off-by: Yegnesh S Iyer Signed-off-by: Bin Gao --- d