[PATCH v3 06/14] ARM: sun7i-a20: Add support for the C1 SRAM region with the SRAM controller

2018-05-07 Thread Paul Kocialkowski
From: Maxime Ripard This adds support for the C1 SRAM region (to be used with the SRAM controller driver) for the A20 platform. The region is shared between the Video Engine and the CPU. Signed-off-by: Maxime Ripard Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun7i-a20.dtsi | 14

[PATCH v3 10/14] dt-bindings: media: Document bindings for the Sunxi-Cedrus VPU driver

2018-05-07 Thread Paul Kocialkowski
This adds a device-tree binding document that specifies the properties used by the Sunxi-Cedurs VPU driver, as well as examples. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/media/sunxi-cedrus.txt | 58 ++ 1 file changed, 58 insertions(+) create mode

[PATCH v3 07/14] ARM: sun8i-a33: Add SRAM controller node and C1 SRAM region

2018-05-07 Thread Paul Kocialkowski
From: Maxime Ripard This adds a SRAM controller node for the A33, with support for the C1 SRAM region that is shared between the Video Engine and the CPU. Signed-off-by: Maxime Ripard Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a33.dtsi | 22 ++ 1 file

[PATCH v3 05/14] ARM: sun5i: Add support for the C1 SRAM region with the SRAM controller

2018-05-07 Thread Paul Kocialkowski
From: Maxime Ripard This adds support for the C1 SRAM region (to be used with the SRAM controller driver) for sun5i-based platforms. The region is shared between the Video Engine and the CPU. Signed-off-by: Maxime Ripard Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun5i.dtsi | 14

[PATCH v3 03/14] ARM: dts: sun5i: Use dedicated SRAM controller compatible

2018-05-07 Thread Paul Kocialkowski
Use the newly-introduced SRAM controller compatible for the A13 and other sun5i platforms instead of its A10 fashion. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun5i.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm

[PATCH v3 02/14] drivers: soc: sunxi: Add dedicated compatibles for the A13, A20 and A33

2018-05-07 Thread Paul Kocialkowski
This introduces platform-specific compatibles for the A13, A20 and A33 SRAM driver. No particular adaptation for these platforms is required at this point, although this might become the case in the future. Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 3 +++ 1 file

[PATCH v3 01/14] drivers: soc: sunxi: Add support for the C1 SRAM region

2018-05-07 Thread Paul Kocialkowski
with the same layout as the A10 (which also includes the A13, A20, A33 and other SoCs). Signed-off-by: Maxime Ripard Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc

[PATCH v3 14/14] ARM: dts: sun8i-a33: Add Video Engine and reserved memory nodes

2018-05-07 Thread Paul Kocialkowski
tream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a33.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/

[PATCH v3 13/14] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-07 Thread Paul Kocialkowski
tream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun7i-a20.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7

[PATCH v3 11/14] media: platform: Add Sunxi-Cedrus VPU decoder driver

2018-05-07 Thread Paul Kocialkowski
community in the interest of reverse engineering, documenting and implementing support for Allwinner VPU. Signed-off-by: Paul Kocialkowski --- MAINTAINERS| 7 + drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile

[PATCH v3 00/14] Sunxi-Cedrus driver for the Allwinner Video Engine, using media requests

2018-05-07 Thread Paul Kocialkowski
he C1 SRAM region ARM: sun5i: Add support for the C1 SRAM region with the SRAM controller ARM: sun7i-a20: Add support for the C1 SRAM region with the SRAM controller ARM: sun8i-a33: Add SRAM controller node and C1 SRAM region Paul Kocialkowski (9): drivers: soc: sunxi: Add dedicated c

[PATCH v3 12/14] ARM: dts: sun5i: Add Video Engine and reserved memory nodes

2018-05-07 Thread Paul Kocialkowski
on in downstream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun5i.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boo

[PATCH v3 04/14] ARM: dts: sun7i-a20: Use dedicated SRAM controller compatible

2018-05-07 Thread Paul Kocialkowski
Use the newly-introduced SRAM controller compatible for the A20 instead of its A10 fashion. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun7i-a20.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20

Re: [PATCH v3 08/14] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-07 Thread Paul Kocialkowski
Hi Hans, On Mon, 2018-05-07 at 15:49 +0200, Hans Verkuil wrote: > On 07/05/18 14:44, Paul Kocialkowski wrote: > > From: Florent Revest > > > > Stateless video decoding engines require both the MPEG slices and > > associated metadata from the video stream in order to d

Re: [PATCH v3 00/14] Sunxi-Cedrus driver for the Allwinner Video Engine, using media requests

2018-05-07 Thread Paul Kocialkowski
[...] On Mon, 2018-05-07 at 14:44 +0200, Paul Kocialkowski wrote: > Remaining tasks: > * cleaning up registers description and documenting the fields used; > * removing the assigned-clocks property and setting the clock rate > in the driver directly; > * checking the series with

Re: [PATCH v3 1/3] drm/panel: Add RGB666 variant of Innolux AT070TN90

2018-05-07 Thread Paul Kocialkowski
Hi, Le lundi 07 mai 2018 à 09:08 +0200, Maxime Ripard a écrit : > Hi, > > On Sun, May 06, 2018 at 11:48:59PM +0200, Paul Kocialkowski wrote: > > This adds timings for the RGB666 variant of the Innolux AT070TN90 > > panel, > > as found on the Ainol AW1 tablet. >

Re: [PATCH v3 3/3] ARM: dts: sun7i: Add support for the Ainol AW1 tablet

2018-05-07 Thread Paul Kocialkowski
Hi, Le lundi 07 mai 2018 à 09:19 +0200, Maxime Ripard a écrit : > Hi, > > On Sun, May 06, 2018 at 11:49:01PM +0200, Paul Kocialkowski wrote: > > This adds support for the Ainol AW1, an A20-based 7" tablet from Ainol. > > > > The following board-specific feature

[PATCH v4 1/3] drm/panel: Add RGB666 variant of Innolux AT070TN90

2018-05-07 Thread Paul Kocialkowski
device-tree property to specify the bus format to use instead of the default one for the panel. This will allow supporting different bus formats for the same panel modes. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26

[PATCH v4 2/3] ARM: dts: sun7i: Add RGB666 pins definition

2018-05-07 Thread Paul Kocialkowski
This adds the pins definition for RGB666 LCD panels on the A20. It was inspired by the A33 definition, that concernes the same set of pins. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun7i-a20.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i

[PATCH v4 3/3] ARM: dts: sun7i: Add support for the Ainol AW1 tablet

2018-05-07 Thread Paul Kocialkowski
dio output * Audio speakers * USB via SPCI connector The following are not supported: * Wi-Fi * Bluetooth * NAND * Audio via SPCI connector * Audio via Bluetooth I2S Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/sun7i-a20-ainol-aw1

Re: [PATCH v3] dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect

2017-01-24 Thread Paul Kocialkowski
proposal (this patch). I'd also be happy to implement and test that solution on nyans, as I've done other bq24735-related work for nyans recently. -- Paul Kocialkowski, developer of free digital technology at the lower levels Website: https://www.paulk.fr/ Coding blog: https://code.pa

Re: [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger

2017-01-25 Thread Paul Kocialkowski
Le mercredi 25 janvier 2017 à 11:59 +0100, Thierry Reding a écrit : > On Sun, Jan 22, 2017 at 04:47:49PM +0100, Paul Kocialkowski wrote: > > Nyan boards come with an embedded controller that controls when to > > enable and disable the charge. Thus, it should not be left up to th

Re: [PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection

2017-01-25 Thread Paul Kocialkowski
Le mercredi 25 janvier 2017 à 12:02 +0100, Thierry Reding a écrit : > On Sun, Jan 22, 2017 at 04:47:50PM +0100, Paul Kocialkowski wrote: > > Depthcharge (the payload used with cros devices) will attempt to detect > > boards using their revision. This includes all the known revisi

Re: [PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection

2017-01-25 Thread Paul Kocialkowski
Le mercredi 25 janvier 2017 à 12:14 +0100, Thierry Reding a écrit : > On Wed, Jan 25, 2017 at 12:08:08PM +0100, Paul Kocialkowski wrote: > > Le mercredi 25 janvier 2017 à 12:02 +0100, Thierry Reding a écrit : > > > On Sun, Jan 22, 2017 at 04:47:50PM +0100, Paul

Re: [PATCH v3] dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect

2017-01-26 Thread Paul Kocialkowski
On 25/01/17 13:20, Peter Rosin wrote: > On 2017-01-24 17:24, Paul Kocialkowski wrote: > > Le jeudi 15 décembre 2016 à 18:50 +0100, Peter Rosin a écrit : > > > The bindings are fine. > > >  > > > The Tegra dts files are buggy, but the driver is also buggy, so th

[PATCH 4/5] ARM: tegra: nyan-big: Proper pinmux for TPM i2c

2017-01-22 Thread Paul Kocialkowski
This corrects the pinmux for accessing the TPM over the i2c line. Thus, it allows correctly probing the module, that previously failed with i2c errors. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-big.dts | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH 2/5] ARM: tegra: nyan: Use external control for bq24735 charger

2017-01-22 Thread Paul Kocialkowski
Nyan boards come with an embedded controller that controls when to enable and disable the charge. Thus, it should not be left up to the kernel to handle that. Using the ti,external-control property allows specifying this use-case. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124

[PATCH 1/5] ARM: tegra: nyan: Use proper IRQ type definitions

2017-01-22 Thread Paul Kocialkowski
This switches a few interrupt definitions that were using GPIO_ACTIVE_HIGH as IRQ type, which is invalid. This is mostly a cosmetic change, that doesn't affect any driver. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan.dtsi | 4 ++-- 1 file changed, 2 insertions(

[PATCH 5/5] ARM: tegra: nyan-blaze: Proper pinmux for TPM i2c

2017-01-22 Thread Paul Kocialkowski
From: Jerome Coste This corrects the pinmux for accessing the TPM over the i2c line. Thus, it allows correctly probing the module, that previously failed with i2c errors. --- arch/arm/boot/dts/tegra124-nyan-blaze.dts | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) d

[PATCH 3/5] ARM: tegra: nyan-big: Include compatible revisions for proper detection

2017-01-22 Thread Paul Kocialkowski
detects instead of using the default kernel. This allows having a FIT image with multiple kernels for multiple devices. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-big.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra124

[PATCH v2 1/6] ARM: tegra: nyan: Use proper IRQ type definitions

2017-01-22 Thread Paul Kocialkowski
This switches a few interrupt definitions that were using GPIO_ACTIVE_HIGH as IRQ type, which is invalid. This is mostly a cosmetic change, that doesn't affect any driver. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan.dtsi | 4 ++-- 1 file changed, 2 insertions(

[PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger

2017-01-22 Thread Paul Kocialkowski
Nyan boards come with an embedded controller that controls when to enable and disable the charge. Thus, it should not be left up to the kernel to handle that. Using the ti,external-control property allows specifying this use-case. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124

[PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection

2017-01-22 Thread Paul Kocialkowski
detects instead of using the default kernel. This allows having a FIT image with multiple kernels for multiple devices. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-big.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra124

[PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c

2017-01-22 Thread Paul Kocialkowski
This corrects the pinmux for accessing the TPM over the i2c line. Thus, it allows correctly probing the module, that previously failed with i2c errors. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-big.dts | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection

2017-01-22 Thread Paul Kocialkowski
detects instead of using the default kernel. This allows having a FIT image with multiple kernels for multiple devices. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-blaze.dts | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH v2 6/6] ARM: tegra: nyan-blaze: Proper pinmux for TPM i2c

2017-01-22 Thread Paul Kocialkowski
From: Jerome Coste This corrects the pinmux for accessing the TPM over the i2c line. Thus, it allows correctly probing the module, that previously failed with i2c errors. --- arch/arm/boot/dts/tegra124-nyan-blaze.dts | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) d

Re: [PATCH] ARM: tegra: nyan: Mark all USB ports as host

2016-11-08 Thread Paul Kocialkowski
Le mardi 08 novembre 2016 à 10:54 +0200, Peter De Schrijver a écrit : > On Mon, Nov 07, 2016 at 02:09:31PM +, Jon Hunter wrote: > > > > On 07/11/16 13:28, Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > > > On Sun, Sep 18, 2016 at

Re: [PATCH] ARM: tegra: nyan: Mark all USB ports as host

2016-11-08 Thread Paul Kocialkowski
6 08:54, Peter De Schrijver wrote: > > > > > > > > On Mon, Nov 07, 2016 at 02:09:31PM +, Jon Hunter wrote: > > > > > > > > > > > > > > > On 07/11/16 13:28, Thierry Reding wrote: > > > > > > > &g

[PATCH] iio: si7020: Add devicetree support and trivial bindings

2016-10-25 Thread Paul Kocialkowski
This adds devicetree support for the si7020 iio driver. Since it works well without requiring any additional property, its compatible string is added to the trivial i2c devices bindings list. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1

[PATCH 2/2] power: bq24735-charger: Assume not charging when charger is missing

2016-08-28 Thread Paul Kocialkowski
read whether it is charging through i2c, which will fail as the charger is disconnected. This also fixes that specific issue. Signed-off-by: Paul Kocialkowski --- drivers/power/bq24735-charger.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/power/bq24735-charger.c

[PATCH 4/4] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection

2016-08-28 Thread Paul Kocialkowski
Depthcharge (the payload used with cros devices) will attempt to detect boards using their revision. This includes all the known revisions for the nyan-blaze board so that the dtb can be selected preferably. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-blaze.dts | 8

[PATCH 1/4] ARM: tegra: nyan: Use proper IRQ type definitions

2016-08-28 Thread Paul Kocialkowski
This switches a few interrupt definitions that were using GPIO_ACTIVE_HIGH as IRQ type, which is invalid. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b

[PATCH 1/2] power: bq24735-charger: Request status GPIO with initial input setup

2016-08-28 Thread Paul Kocialkowski
charger is connected, sends i2c messages and fails. Signed-off-by: Paul Kocialkowski --- drivers/power/bq24735-charger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/bq24735-charger.c b/drivers/power/bq24735-charger.c index fa454c1..361a047 100644 --- a

[PATCH 3/4] ARM: tegra: nyan-big: Include compatible revisions for proper detection

2016-08-28 Thread Paul Kocialkowski
Depthcharge (the payload used with cros devices) will attempt to detect boards using their revision. This includes all the known revisions for the nyan-big board so that the dtb can be selected preferably. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan-big.dts | 7

[PATCH 2/4] ARM: tegra: nyan: Use external control for bq24735 charger

2016-08-28 Thread Paul Kocialkowski
Nyan boards come with an embedded controller that controls when to enable and disable the charge. Thus, it should not be left up to the kernel to handle that. Using the ti,external-control property allows specifying this use-case. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124

Re: [PATCH 1/2] power: bq24735-charger: Request status GPIO with initial input setup

2016-08-29 Thread Paul Kocialkowski
Le lundi 29 août 2016 à 02:36 +0200, Sebastian Reichel a écrit : > Hi, > > On Sun, Aug 28, 2016 at 07:34:45PM +0200, Paul Kocialkowski wrote: > > > > This requests the status GPIO with initial input setup. it is required > > to read the GPIO status at probe time and t

[PATCH v2] power: bq24735-charger: Request status GPIO with initial input setup

2016-08-29 Thread Paul Kocialkowski
charger is connected, sends i2c messages and fails. While at it, this switches the driver over to devm and gpio consumer. Signed-off-by: Paul Kocialkowski --- drivers/power/bq24735-charger.c | 29 +++-- include/linux/power/bq24735-charger.h | 3 +-- 2 files changed

[PATCH] kconfig: Add localdefconfig helper

2016-03-26 Thread Paul Kocialkowski
widely. In addition, it keeps all the path handling logic inside the Makefiles, as opposed to delegating some of it to a wrapper script or such, when copying the default configuration to .config. Signed-off-by: Paul Kocialkowski --- Makefile | 2 +- scripts/kconfig/Makefile | 9

Re: [PATCH] kconfig: Add localdefconfig helper

2016-03-26 Thread Paul Kocialkowski
Le samedi 26 mars 2016 à 19:53 +0100, Sam Ravnborg a écrit : > On Sat, Mar 26, 2016 at 07:31:27PM +0100, Paul Kocialkowski wrote: > > > > This introduces a localdefconfig make target to specify out-of-tree default > > configs. The out-of-tree default target is

[PATCH] pwm: twl: Reliably disable TWL6030 PWMs

2016-03-29 Thread Paul Kocialkowski
it to the driver. It consists in enabling the PWM clock after issuing a reset. This is what TI kernel trees and production code seem to be using. However, adding an extra step to disable the PWM clock seems to work reliably, despite looking quite odd. Signed-off-by: Paul Kocialkowski --- driver

[PATCH 1/8] mfd: twl-core: Rename struct twl4030_platform_data to twl_platform_data

2016-03-29 Thread Paul Kocialkowski
Since twl4030_platform_data also holds platform data (e.g. regulators) for other TWL chips, it makes sense to rename it to a non-model-specific name. This will also allow hooking more platform data structure to it in the future. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/board

[PATCH 2/8] mfd: twl-core: Rename some non-model-specific structures, without model name

2016-03-29 Thread Paul Kocialkowski
Some of the structures exposed in the twl_platform_data structure are common to various TWL chips, so it makes sense to rename them to a non-model-specific name. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/board-rx51-peripherals.c | 4 ++-- arch/arm/mach-omap2/twl-common.c

[PATCH 5/8] ARM: OMAP2+: Only select TWL4030_POWER for OMAP3

2016-03-29 Thread Paul Kocialkowski
The TWL4030 is generally used with the OMAP3, not with OMAP4. The TWL6030 is generally used with the OMAP4 instead. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach

[PATCH 8/8] input: twl-pwrbutton: Rename interrupt routine for better consistency

2016-03-29 Thread Paul Kocialkowski
This renames the twl-pwrbutton interrupt routing from powerbutton_irq to twl_pwrbutton_irq, for better consistency with the driver name. Signed-off-by: Paul Kocialkowski --- drivers/input/misc/twl-pwrbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input

[PATCH 7/8] input: misc: Add TWL6030 power button support to twl-pwrbutton

2016-03-29 Thread Paul Kocialkowski
unmasking and remasking support Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/input/twl-pwrbutton.txt| 22 .../bindings/input/twl4030-pwrbutton.txt | 21 --- arch/arm/boot/dts/twl6030.dtsi | 5 + arch/arm/configs/omap2plus_defconfig

[PATCH 6/8] ARM: OMAP2+: Select TWL6030_POWER for OMAP4

2016-03-29 Thread Paul Kocialkowski
The TWL6030 is generally used with the OMAP4. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 6ffa7f1..2d67eaf 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch

[PATCH 4/8] mfd: Add TWL6030 power driver, with minimal support for power off

2016-03-29 Thread Paul Kocialkowski
This adds a TWL6030 power driver, that currently only supports powering off the device when the TWL is used as system power controller. This driver might be extended to support more power-related features of the TWL6030. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/mfd/twl6030

[PATCH 1/2] ARM: OMAP3: Use offset definition and omap_ctrl_writel for boot mode

2016-03-29 Thread Paul Kocialkowski
This introduces offset definitions for scratchpad and scratchpad boot mode to be used with omap_ctrl_writel, fixing a comment suggesting this. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/control.c | 4 +--- arch/arm/mach-omap2/control.h | 3 +++ 2 files changed, 4 insertions(+), 3

[PATCH 3/8] mfd: twl-core: Rename TWL4030_CORE Kconfig option to TWL_CORE

2016-03-29 Thread Paul Kocialkowski
Since the twl-core mfd driver is not limited to twl4030 support, but also supports other chips of the TWL family, it makes sense to rename its matching Kconfig opton to a non-model-specific name. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 2 +- arch/arm/mach-omap2

[PATCH 2/2] ARM: OMAP4: Store reboot mode to SAR scratchpad memory before restart

2016-03-29 Thread Paul Kocialkowski
This adds support for storing the reboot mode command to SAR scratchpad memory, at a location compatible with TI kernels, so that bootloaders can grab the reboot mode and act upon it. Currently, upstream U-Boot has support for this feature on OMAP4. Signed-off-by: Paul Kocialkowski --- arch

[PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

2016-03-29 Thread Paul Kocialkowski
This uses ti,system-power-controller instead of the deprecated ti,use_poweroff property for powering off. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap3-sniper.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch

[PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

2016-03-29 Thread Paul Kocialkowski
This uses ti,system-power-controller instead of the deprecated ti,use_poweroff property for powering off. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap3-sniper.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch

[PATCH 2/5] ARM: dts: Amazon Kindle Fire (first generation) codename kc1 basic support

2016-03-29 Thread Paul Kocialkowski
: Paul Kocialkowski --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap4-kc1.dts | 140 2 files changed, 141 insertions(+) create mode 100644 arch/arm/boot/dts/omap4-kc1.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile

[PATCH 1/5] devicetree: bindings: Add vendor prefix for Amazon.com, Inc.

2016-03-29 Thread Paul Kocialkowski
This adds the amazon vendor prefix for Amazon.com, Inc. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH 0/5] Amazon Kindle Fire (first generation) codename kc1 support series

2016-03-29 Thread Paul Kocialkowski
This series adds basic support for the Amazon Kindle Fire (first generation) codename kc1. A few features such as serial, i2c, the internal eMMC, USB gadget and power button leds. It requires some TWL-related patches to work properly, in particular: * pwm: twl: Reliably disable TWL6030 PWMs * mfd:

[PATCH 4/5] ARM: dts: omap4-kc1: LEDs support

2016-03-29 Thread Paul Kocialkowski
This adds support for the Kindle Fire (first generation) power button LEDs, that are wired to the TWL6030 PWM outputs. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b

[PATCH 5/5] ARM: dts: omap4-kc1: Power off support

2016-03-29 Thread Paul Kocialkowski
This adds support for turning off the main power supply via the TWL6030 on the Kindle Fire (first generation). Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4

[PATCH 3/5] ARM: dts: omap4-kc1: USB OTG support

2016-03-29 Thread Paul Kocialkowski
This adds support for USB OTG on the Kindle Fire (first generation). Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4-kc1.dts index 9fe4441

Re: [PATCH v4 1/5] ARM: dts: LG Optimus Black codename sniper basic support

2016-03-20 Thread Paul Kocialkowski
Hi, Le lundi 29 février 2016 à 13:51 -0800, Tony Lindgren a écrit : > Hi, > > * Paul Kocialkowski [160228 04:40]: > > > > The LG Optimus Black codename sniper is a smartphone that was designed and > > manufactured by LG Electronics (LGE) and released back in 2011.

Re: [PATCH v2 2/4] regulator: lp872x: Add enable GPIO pin support

2016-02-12 Thread Paul Kocialkowski
Hi, Le vendredi 12 février 2016 à 09:14 +0900, Kim, Milo a écrit : > Thanks for the patch. Please see my comments below. Thanks for the review! > On 2/6/2016 3:42 AM, Paul Kocialkowski wrote: > > LP872x regulators are made active via the EN pin, which might be hooked to a > &g

Re: [PATCH 2/2] regulator: core: Provide per-regulator runtime PM support

2016-02-12 Thread Paul Kocialkowski
Hi, Le mardi 09 février 2016 à 21:51 +0100, Paul Kocialkowski a écrit : > Le jeudi 21 janvier 2016 à 20:24 +, Mark Brown a écrit : > > Provide a flag auto_runtime_pm in the regulator_desc which causes the > > regulator core to take a runtime PM reference to a regulator while it

Re: [PATCH v4 1/5] ARM: dts: LG Optimus Black codename sniper basic support

2016-03-01 Thread Paul Kocialkowski
Le lundi 29 février 2016 à 13:51 -0800, Tony Lindgren a écrit : > Hi, > > * Paul Kocialkowski [160228 04:40]: > > The LG Optimus Black codename sniper is a smartphone that was designed and > > manufactured by LG Electronics (LGE) and released back in 2011. > > It i

Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support

2016-03-01 Thread Paul Kocialkowski
Hi, Le dimanche 28 février 2016 à 13:39 +0100, Paul Kocialkowski a écrit : > This adds support for the volume and gesture keys, using TWL4030 keypad. I noticed this patch hadn't been picked up in: https://git.kernel.org/cgit/linux /kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.6/dt

Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support

2016-03-01 Thread Paul Kocialkowski
Le mardi 01 mars 2016 à 12:59 -0800, Tony Lindgren a écrit : > * Paul Kocialkowski [160301 11:19]: > > Hi, > > > > Le dimanche 28 février 2016 à 13:39 +0100, Paul Kocialkowski a écrit : > > > This adds support for the volume and gesture keys, using TWL4030 keypad.

[PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Paul Kocialkowski
LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/regulator/lp872x.txt | 1 + drivers/regulator/lp872x.c

[PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Some devices don't hook the DVS pin to a GPIO but to ground or VCC. In those cases, it is not a problem to have no DVS GPIO. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/lp872

[PATCH 2/6] regulator: lp872x: Get rid of duplicate reference to DVS GPIO

2015-12-23 Thread Paul Kocialkowski
The lp872x structure holds a reference to the DVS GPIO, but it is never actually used anywhere, since a first reference exists from the lp872x_dvs structure. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator

[PATCH 0/6] LG Optimus Black (P970) codename sniper support and lp872x improvements

2015-12-23 Thread Paul Kocialkowski
This series introduces support for the LG Optimus Black, as described in the patch adding devicetree support for the device. In order to power the external mmc (mmc1), the lp872x regulator is used. Its code had to be improved a bit to work on the device. Note that the patch adding devicetree supp

[PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-23 Thread Paul Kocialkowski
, internal emmc and external mmc. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-sniper.dts | 220 + 2 files changed, 221 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-sniper.dts diff --git

[PATCH 6/6] ARM: multi_v7_defconfig: Enable LP872x regulator support

2015-12-23 Thread Paul Kocialkowski
The LP872x regulator is used in the LG Optimus Black (P970) codename sniper to supply the external mmc card. Signed-off-by: Paul Kocialkowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs

[PATCH 1/6] regulator: lp872x: Add missing of_match in regulators descriptions

2015-12-23 Thread Paul Kocialkowski
In order to select the regulators via of_find_regulator_by_node (and thus use them in devicetree), defining of_match for each regulator is required. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:41 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:36AM +0100, Paul Kocialkowski wrote: > > Some devices don't hook the DVS pin to a GPIO but to ground or VCC. > > In those cases, it is not a problem to have no DVS GPIO. > >

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > + gpio = lp->pdata->enable_gpio; > > + if (!gpio_is_valid(gpio)) > > + return 0; > > + > > + /* A

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-24 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > + gpio = lp->pdata->enable_gpio; > > + if (!gpio_is_valid(gpio)) > > + return 0; > > + > > + /* A

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
Hi, Le mercredi 23 décembre 2015 à 07:44 -0800, Tony Lindgren a écrit : > * Paul Kocialkowski [151223 03:00]: > > +&gpio1 { > > + ti,no-reset-on-init; > > +}; > > + > > +&gpio2 { > > + ti,no-reset-on-init; > > +}; > > + > >

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
you please use the IOPAD mux macros from > include/dt-bindings/pinctrl/omap.h instead? > > We just did a massive cleanup on the OMAP DTS to use them instead of > an offset from the padconf registers. Sure thing, will do in v2. Thanks for the review! -- Paul Kocialkowski, Re

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-24 Thread Paul Kocialkowski
Le jeudi 24 décembre 2015 à 19:35 +, Mark Brown a écrit : > On Thu, Dec 24, 2015 at 07:12:53PM +0100, Paul Kocialkowski wrote: > > Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > > > > This isn't really adding support for the enable GPIO as th

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-28 Thread Paul Kocialkowski
Hi Milo, thanks for the review, Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : > Hi Paul, > > On 23/12/15 20:56, Mark Brown wrote: > > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > >> + gpio = lp->pdata->enable_g

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Paul Kocialkowski
Hi Milo, Le mardi 29 décembre 2015 à 09:45 +0900, Milo Kim a écrit : > Hi Paul, > > On 29/12/15 07:49, Paul Kocialkowski wrote: > > Hi Milo, thanks for the review, > > > > Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : > >> Hi Paul, > >

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Paul Kocialkowski
Le mardi 29 décembre 2015 à 14:02 -0600, Rob Herring a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > LP872x regulators are made active via the EN pin, which might be hooked to a > > GPIO. This adds support for driving the GPIO high when the d

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-30 Thread Paul Kocialkowski
Hi Milo, Le mercredi 30 décembre 2015 à 09:22 +0900, Milo Kim a écrit : > Hi Paul, > > On 29/12/15 20:13, Paul Kocialkowski wrote: > > Hi Milo, > > > > Le mardi 29 décembre 2015 à 09:45 +0900, Milo Kim a écrit : > >> Hi Paul, > >> > >> On

Re: [PATCH 2/2] regulator: core: Provide per-regulator runtime PM support

2016-01-29 Thread Paul Kocialkowski
Le jeudi 21 janvier 2016 à 20:24 +, Mark Brown a écrit : > Provide a flag auto_runtime_pm in the regulator_desc which causes the > regulator core to take a runtime PM reference to a regulator while it > is enabled. This helps integration with chip wide power management > for > auxiliary PMICs,

[PATCH v2 0/6] LG Optimus Black (P970) codename sniper support and lp872x improvements

2016-02-05 Thread Paul Kocialkowski
Changes since v1: * Remove lp872x patches that were accepted already from the series * Explain why removing the invalid DVS GPIO warning is enough * Update copyright notice on omap3-sniper.dts * Rename the devicetree property for the enable GPIO to enable-gpios * Rename function to enable GPIO to l

[PATCH v2 1/4] regulator: lp872x: Remove warning about invalid DVS GPIO

2016-02-05 Thread Paul Kocialkowski
DVS_M bit on the LP872X_GENERAL_CFG register (in lp872x_select_buck_vout_addr) to decide whether to use software or hardware DVS selection. Thus, there is no need to print a warning when the DVS GPIO is invalid. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 4 +--- 1 file chang

[PATCH v2 4/4] ARM: multi_v7_defconfig: Enable LP872x regulator support

2016-02-05 Thread Paul Kocialkowski
The LP872x regulator is used in the LG Optimus Black (P970) codename sniper to supply the external mmc card. Signed-off-by: Paul Kocialkowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2016-02-05 Thread Paul Kocialkowski
Hi, Le lundi 18 janvier 2016 à 16:32 +, Mark Brown a écrit : > On Sat, Jan 16, 2016 at 08:32:13AM +0100, Paul Kocialkowski wrote: > > > Is there some git tree I can work with that has regulator runtime PM > > support at this point? I'll certainly end up handling the

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2016-02-05 Thread Paul Kocialkowski
Hi, Le mardi 29 décembre 2015 à 15:55 -0600, Rob Herring a écrit : > On Tue, Dec 29, 2015 at 3:26 PM, Paul Kocialkowski wrote: > > Le mardi 29 décembre 2015 à 14:02 -0600, Rob Herring a écrit : > >> On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > >&

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2016-02-05 Thread Paul Kocialkowski
Le lundi 28 décembre 2015 à 09:34 +0900, Milo Kim a écrit : > Hi Paul, > > Thanks for the patches. Please see my comments below. Thanks for the review Milo, I have just submitted v2 with those suggestions integrated. > On 23/12/15 19:58, Paul Kocialkowski wrote: > > LP872x r

[PATCH v2 3/4] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2016-02-05 Thread Paul Kocialkowski
, internal emmc and external mmc. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-sniper.dts | 215 + 2 files changed, 216 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-sniper.dts diff --git

[PATCH v2 2/4] regulator: lp872x: Add enable GPIO pin support

2016-02-05 Thread Paul Kocialkowski
LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/regulator/lp872x.txt | 1 + drivers/regulator/lp872x.c

<    2   3   4   5   6   7   8   9   >