Re: [PATCH] clk: exynos7: Mark aclk_fsys1_200 as critical

2020-12-17 Thread Paweł Chmiel
On 17.12.2020 11:14, Stephen Boyd wrote: > Not sure why this wasn't picked up in the samsung PR. Can you resend? Hi There was v2 (https://patchwork.kernel.org/project/linux-samsung-soc/patch/20201107121456.25562-1-pawel.mikolaj.chm...@gmail.com/) but it did receive some request for changes

Re: [PATCH v2] clk: exynos7: Keep aclk_fsys1_200 enabled

2020-11-09 Thread Paweł Chmiel
On 09.11.2020 13:32, Sylwester Nawrocki wrote: > Hi Paweł, > > On 11/7/20 13:14, Paweł Chmiel wrote: >> This clock must be always enabled to allow access to any registers in >> fsys1 CMU. Until proper solution based on runtime PM is applied >> (similar to what wa

[PATCH v2 2/2] arm64: dts: exynos: Correct psci compatible used on Exynos7

2020-11-07 Thread Paweł Chmiel
ort for exynos7") Signed-off-by: Paweł Chmiel --- Changes from v1: - Split into two separate patches. --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dts

[PATCH v2 1/2] arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7

2020-11-07 Thread Paweł Chmiel
node. Fixes: fb026cb65247 ("arm64: dts: Add reboot node for exynos7") Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7") Signed-off-by: Paweł Chmiel --- Changes from v1: - Split into two separate patches. - Include existing exynos-syscon-restar

[PATCH v2] clk: exynos7: Keep aclk_fsys1_200 enabled

2020-11-07 Thread Paweł Chmiel
device (based on Exynos7420), where UFS module is probed before pmic used to power that device. In this case defer probe was happening and that clock was disabled by UFS driver, causing whole boot to hang on next CMU access. Signed-off-by: Paweł Chmiel --- Changes from v1: - Instead of marking clock

Re: [PATCH] arm64: dts: exynos: Fix reboot/poweroff issues on Exynos7

2020-11-04 Thread Paweł Chmiel
Hi On 29.10.2020 18:50, Krzysztof Kozlowski wrote: > On Wed, Oct 28, 2020 at 10:08:13PM +0100, Paweł Chmiel wrote: >> In vendor sources for Exynos 7420, psci is not used to reboot or >> poweroff device. Instead we should use syscon reboot/poweroff. >> Previously it was not

[PATCH] arm64: dts: exynos: Fix reboot/poweroff issues on Exynos7

2020-10-28 Thread Paweł Chmiel
: fb026cb65247 ("arm64: dts: Add reboot node for exynos7") Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7") Signed-off-by: Paweł Chmiel --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a

[PATCH] clk: exynos7: Mark aclk_fsys1_200 as critical

2020-10-24 Thread Paweł Chmiel
), where UFS module is probed before pmic used to power that device. In this case defer probe was happening and that clock was disabled by UFS driver, causing whole boot to hang on next CMU access. Signed-off-by: Paweł Chmiel --- drivers/clk/samsung/clk-exynos7.c | 3 ++- 1 file changed, 2

Re: [PATCH] misc: fsa9480: Delete this driver

2019-06-30 Thread Paweł Chmiel
On Sun, 2019-06-30 at 16:03 +0200, Linus Walleij wrote: > The FSA9480 has a new driver more appropriately located > in the drivers/extcon subsystem. It is also more complete > and includes device tree support. Delete the old misc > driver. > > Cc: Paweł Chmiel > Cc: Cha

Re: [PATCH v2 0/2] extcon: Add fsa9480 extcon driver

2019-06-28 Thread Paweł Chmiel
On Fri, 2019-06-28 at 14:37 +0200, Greg KH wrote: > On Fri, Jun 28, 2019 at 11:28:11AM +0100, Linus Walleij wrote: > > On Fri, Jun 21, 2019 at 12:14 PM Paweł Chmiel > > wrote: > > > > > This small patchset adds support for Fairchild Semiconductor >

[PATCH v4 0/2] power: supply: max8998-charger: Device Tree support

2019-06-21 Thread Paweł Chmiel
not present, assume they're disabled. Changes from v1: - Removed unneeded Fixes tag - Correct description of all charger values - Added missing property unit for charger properties - Removed already applied patch Paweł Chmiel (2): power: supply: max8998-charger: Parse device tree for required

[PATCH v4 1/2] power: supply: max8998-charger: Parse device tree for required data.

2019-06-21 Thread Paweł Chmiel
This patch adds missing code for reading charger configuration from devicetree. Signed-off-by: Paweł Chmiel --- Changes from v3: - Property prefix should be maxim, not max8998 - Changed property name to more meaning full Changes from v2: - Make restart level and charge timeout properties

[PATCH v4 2/2] dt-bindings: mfd: max8998: Add charger subnode binding

2019-06-21 Thread Paweł Chmiel
This patch adds devicetree bindings documentation for battery charging controller as the subnode of MAX8998 PMIC. Signed-off-by: Paweł Chmiel --- Changes from v3: - Property prefix should be maxim, not max8998 - Describe what End of Charge in percent means Changes from v2: - Make charge

[PATCH v2 2/2] extcon: Add fsa9480 extcon driver

2019-06-21 Thread Paweł Chmiel
From: Tomasz Figa This patch adds extcon driver for Fairchild Semiconductor FSA9480 microUSB switch. Signed-off-by: Tomasz Figa Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Remove license sentences - Remove custom sysfs entries - Remove manual

[PATCH v2 0/2] extcon: Add fsa9480 extcon driver

2019-06-21 Thread Paweł Chmiel
This small patchset adds support for Fairchild Semiconductor FSA9480 microUSB switch. It has been tested on Samsung Galaxy S and Samsung Fascinate 4G, but it can be found also on other Samsung Aries (s5pv210) based devices. Tomasz Figa (2): dt-bindings: extcon: Add support for fsa9480 switch

[PATCH v2 1/2] dt-bindings: extcon: Add support for fsa9480 switch

2019-06-21 Thread Paweł Chmiel
From: Tomasz Figa This patch adds documentation for binding of extcont Fairchild Semiconductor FSA9480 microusb switch. This usb port accessory detector and switch, can be found for example in some Samsung s5pv210 based phones. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel Acked

[RESEND,v2] cpufreq: s5pv210: Don't flood kernel log after cpufreq change

2019-06-21 Thread Paweł Chmiel
This commit replaces printk with pr_debug, so we don't flood kernel log. Signed-off-by: Paweł Chmiel Acked-by: Krzysztof Kozlowski --- Changes from v1: - Added Acked-by --- drivers/cpufreq/s5pv210-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq

Re: [PATCH 0/5] mtd: onenand/samsung: Add device tree support

2019-04-29 Thread Paweł Chmiel
On poniedziałek, 29 kwietnia 2019 10:19:28 CEST Miquel Raynal wrote: > Hi Paweł, > > Paweł Chmiel wrote on Fri, 26 Apr 2019 > 18:42:19 +0200: > > > This patchset adds device tree support to Samsung OneNAND driver. > > It was tested on Samsung Galaxy S and Sa

[PATCH 4/5] dt-binding: mtd: onenand/samsung: Add device tree support

2019-04-26 Thread Paweł Chmiel
From: Tomasz Figa This patch adds dt-bindings for Samsung OneNAND driver. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- .../bindings/mtd/samsung-onenand.txt | 46 +++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 1/5] mtd: onenand/samsung: Unify resource order for controller variants

2019-04-26 Thread Paweł Chmiel
for the latter and updates platform code accordingly. As a nice side effect there is a slight reduction in line count of probe function. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- drivers/mtd/nand/onenand/samsung.c | 48 ++ 1 file changed, 22

[PATCH 2/5] mtd: onenand/samsung: Make sure that bus clock is enabled

2019-04-26 Thread Paweł Chmiel
-by: Paweł Chmiel --- drivers/mtd/nand/onenand/samsung.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/nand/onenand/samsung.c b/drivers/mtd/nand/onenand/samsung.c index a425f19a3876..9628bf5bc397 100644 --- a/drivers/mtd/nand/onenand/samsung.c +++ b/drivers/mtd/nand/onenand

[PATCH 5/5] mtd: onenand/samsung: Set name field of mtd_info struct

2019-04-26 Thread Paweł Chmiel
Tomasz Figa Signed-off-by: Paweł Chmiel --- drivers/mtd/nand/onenand/samsung.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/onenand/samsung.c b/drivers/mtd/nand/onenand/samsung.c index 0f450604412f..1fda1f324cc6 100644 --- a/drivers/mtd/nand/onenand/samsung.c +++ b/driv

[PATCH 3/5] mtd: onenand/samsung: Add device tree support

2019-04-26 Thread Paweł Chmiel
From: Tomasz Figa This patch adds support for instantation using Device Tree. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- drivers/mtd/nand/onenand/samsung.c | 37 +- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand

[PATCH 0/5] mtd: onenand/samsung: Add device tree support

2019-04-26 Thread Paweł Chmiel
This patchset adds device tree support to Samsung OneNAND driver. It was tested on Samsung Galaxy S and Samsung Galaxy S Fascinate 4G, an Samsung S5PV210 based mobile phones. Tomasz Figa (5): mtd: onenand/samsung: Unify resource order for controller variants mtd: onenand/samsung: Make sure

[PATCH] mtd: onenand: Add support for 8Gb datasize onenand

2019-04-26 Thread Paweł Chmiel
From: Jonathan Bakker Used in several S5PV210-based Galaxy S devices, among them SGH-T959V, SGH-T959P, SGH-T839, and SPH-D700. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/mtd/nand/onenand/onenand_base.c | 2 ++ include/linux/mtd/onenand_regs.h| 1 + 2 files

Re: [PATCH 2/2] extcon: Add fsa9480 extcon driver

2019-03-20 Thread Paweł Chmiel
On poniedziałek, 18 marca 2019 11:47:38 CET Chanwoo Choi wrote: > Hi, > > Sorry for late reply. Thanks for review. I'll fix all issues and submit v2 version of patches. > > On 19. 2. 26. 오전 1:58, Paweł Chmiel wrote: > > From: Tomasz Figa > > > > This patch

[PATCH 0/2] extcon: Add fsa9480 extcon driver

2019-02-25 Thread Paweł Chmiel
This small patchset adds support for Fairchild Semiconductor FSA9480 microUSB switch. It has been tested on Samsung Galaxy S and Samsung Fascinate 4G, but it can be found also on other Samsung Aries (s5pv210) based devices. Tomasz Figa (2): dt-bindings: extcon: Add support for fsa9480 switch

[PATCH 1/2] dt-bindings: extcon: Add support for fsa9480 switch

2019-02-25 Thread Paweł Chmiel
From: Tomasz Figa This patch adds documentation for binding of extcont Fairchild Semiconductor FSA9480 microusb switch. This usb port accessory detector and switch, can be found for example in some Samsung s5pv210 based phones. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel

[PATCH 2/2] extcon: Add fsa9480 extcon driver

2019-02-25 Thread Paweł Chmiel
From: Tomasz Figa This patch adds extcon driver for Fairchild Semiconductor FSA9480 microUSB switch. Signed-off-by: Tomasz Figa Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/extcon/Kconfig | 10 + drivers/extcon/Makefile | 1 + drivers/extcon

[PATCH v4 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation

2019-02-22 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v2: - Added Reviewed-by Changes from v1: - Add missing subject prefix - Rename reset

[PATCH v4 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-22 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. It can be found for example in some of Samsung Aries based phones. Signed-off-by: Paweł Chmiel Reviewed-by: Sam Ravnborg Reviewed

Re: [PATCH v3 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-11 Thread Paweł Chmiel
On poniedziałek, 11 lutego 2019 16:35:19 CET Andrzej Hajda wrote: > On 02.02.2019 15:27, Paweł Chmiel wrote: > > This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over > > spi. It's based on already removed, non dt s6e63m0 driver and > > panel-samsung-ld

[PATCH v2 4/5] input: misc: bma150: Drop platform data

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker bma150 supports DT now and as there are no in-kernel users of the platform data, remove it. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 27 +-- include/linux/bma150.h | 5 - 2 files

[PATCH v2 3/5] input: misc: bma150: Add support for device tree

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker Add of_match table to enable bma150 to be probed via DT Changes from v1: - Add properties for all of bma150_cfg Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 64 - include/linux/bma150

[PATCH v2 2/5] input: misc: bma150: Use managed resources helpers

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker The driver can be cleaned up by using managed resource helpers Changes from v1: - Correct devm input unregistering Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 44 ++--- 1 file changed, 12

[PATCH v2 1/5] dt-bindings: input: Add binding for bma150 sensor

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker Add device tree bindings for Bosch BMA150 Accelerometer Sensor Changes from v1: - Add properties for all of bma150_cfg - Correct IRQ type in example Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../bindings/input/bosch,bma150.txt | 38

[PATCH v2 5/5] input: misc: bma150: Register input device after setting private data

2019-02-02 Thread Paweł Chmiel
005 7eef3bac 000264e8 00028ad8 00026038 ffe0: 0005 7eef3300 76f76e91 76f78546 800d0030 000288b8 [<80450f70>] (input_event) from [] (0xa5e2817c) Code: e1a08148 eaa8 e351001f 812fff1e (e590c018) ---[ end trace 1c691ee85f2ff243 ]--- Signed-off-by: Jonathan Bakker Signed-of

[PATCH v2 0/5] input: misc: bma150: Add support for device tree

2019-02-02 Thread Paweł Chmiel
This small patchset adds support for device tree to Bosch BMA150 Accelerometer Sensor driver. It was tested on s5pv210-galaxys and s5pv210-fascinate4g. Changes from v1: - Correct devm input unregistering - Correct IRQ type in DT documentation - Add DT properties for bma150_cfg and document

[PATCH v3 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Add missing subject prefix - Rename reset-gpio to reset-gpios - Add link to spi properites documentation

Re: [PATCH v2 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-02 Thread Paweł Chmiel
On piątek, 1 lutego 2019 22:36:07 CET Sam Ravnborg wrote: > Hi Paweł > > Looks good, thanks for addressing all the review feedback. > > On Fri, Feb 01, 2019 at 06:28:52PM +0100, Paweł Chmiel wrote: > > This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected ove

[PATCH v3 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-02 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. It can be found for example in some of Samsung Aries based phones. Signed-off-by: Paweł Chmiel Reviewed-by: Sam Ravnborg --- Changes from

[PATCH v2 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-01 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. It can be found for example in some of Samsung Aries based phones. Signed-off-by: Paweł Chmiel --- Changes from v1: - Correct order

[PATCH v2 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation

2019-02-01 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Add missing subject prefix - Rename reset-gpio to reset-gpios - Add link to spi properites documentation

Re: [PATCH 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-01-28 Thread Paweł Chmiel
> > > On 25.01.2019 17:46, Paweł Chmiel wrote: > > This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over > > spi. It's based on already removed, non dt s6e63m0 driver and > > panel-samsung-ld9040. There is possibility to choose one from 3 > > dif

Re: [PATCH 1/2] drm: panel: Add Samsung s6e63m0 panel documentation

2019-01-26 Thread Paweł Chmiel
itting-patches.rst: > > The preferred subject prefix for binding patches is: > "dt-bindings: : ..." > > It would be a good idea to follow this practice in next revision. I don't know how I forgot about this (will be fixed in next version). > > On Fri, Jan 25, 2019 at 05:46:4

[PATCH 2/3] input: misc: bma150: Add support for device tree

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker Add basic of_match table to enable bma150 to be probed via DT Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc

[PATCH 1/3] input: misc: bma150: Use managed resources helpers

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker The driver can be cleaned up by using managed resource helpers Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 40 + 1 file changed, 14 insertions(+), 26 deletions(-) diff --git a/drivers

[PATCH 3/3] input: dt-bindings: Add binding for bma150 sensor

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker Add device tree bindings for Bosch BMA150 Accelerometer Sensor Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../bindings/input/bosch,bma150.txt | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 Documentation

[PATCH 0/3] input: misc: bma150: Add support for device tree

2019-01-25 Thread Paweł Chmiel
This small patchset adds support for device tree to Bosch BMA150 Accelerometer Sensor driver. It was tested on s5pv210-galaxys and s5pv210-fascinate4g. Jonathan Bakker (3): input: misc: bma150: Use managed resources helpers input: misc: bma150: Add support for device tree input:

[PATCH 2/4] input: misc: gp2a: Add support for light sensor

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker The gp2a driver previously only supported the proximity part of the sensor while the hardware supports both. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/Kconfig | 2 + drivers/input/misc/gp2ap002a00f.c | 71

[PATCH 4/4] dt-bindings: input: Add documentation for gp2a sensor

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Sharp GP2AP002A00F. It's Proximity/Opto Sensor connected over i2c. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../bindings/input/sharp,gp2ap002a00f.txt | 29 +++ 1 file changed, 29 insertions

[PATCH 3/4] input: misc: gp2a: Enable device tree

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker Enable probing of gp2a via device tree via a simple of_match table Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/gp2ap002a00f.c | 46 +++ 1 file changed, 46 insertions(+) diff --git a/drivers/input/misc

[PATCH 0/4] input: misc: gp2a: Add device tree support

2019-01-25 Thread Paweł Chmiel
The main goal of this patchset is to add device tree support to driver. First patch is doing little cleanup by using managed resource helpers. Second patch adds support for light sensor part, which is supported by hw, but was not supported by driver. The last two patches adds device tree

[PATCH 1/4] input: misc: gp2a: Use managed resource helpers

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker Simplify cleanup of failures by using managed resource helpers Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/gp2ap002a00f.c | 37 ++- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/drivers

[PATCH 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-01-25 Thread Paweł Chmiel
-off-by: Paweł Chmiel --- drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 712 ++ 3 files changed, 720 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-samsung

[PATCH 1/2] drm: panel: Add Samsung s6e63m0 panel documentation

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../display/panel/samsung,s6e63m0.txt | 60 +++ 1 file changed, 60 insertions(+) create mode 100644

[PATCH v2 2/2] input: misc: pwm-vibra: Stop regulator after disabling pwm, not before

2019-01-24 Thread Paweł Chmiel
. Signed-off-by: Paweł Chmiel --- drivers/input/misc/pwm-vibra.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/misc/pwm-vibra.c b/drivers/input/misc/pwm-vibra.c index 9df87431d7d4..dbb6d9e1b947 100644 --- a/drivers/input/misc/pwm-vibra.c +++ b/drivers

[PATCH v2 1/2] input: misc: pwm-vibra: Prevent unbalanced regulator

2019-01-24 Thread Paweł Chmiel
From: Jonathan Bakker pwm_vibrator_stop disables the regulator, but it can be called from multiple places, even when the regulator is already disabled. Fix this by using regulator_is_enabled check when starting and stopping device. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel

Re: [PATCH] input: misc: pwm-vibra: Prevent unbalanced regulator

2019-01-17 Thread Paweł Chmiel
czw., 17 sty 2019 o 08:08 Dmitry Torokhov napisał(a): > > Hi Paweł, > > On Wed, Jan 16, 2019 at 10:11:31PM +0100, Paweł Chmiel wrote: > > From: Jonathan Bakker > > > > pwm_vibrator_stop disables the regulator, but it can be called from > > multiple places

[PATCH] input: misc: pwm-vibra: Prevent unbalanced regulator

2019-01-16 Thread Paweł Chmiel
From: Jonathan Bakker pwm_vibrator_stop disables the regulator, but it can be called from multiple places, even when the regulator is already disabled. Fix this by using regulator_is_enabled check when starting and stopping device. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel

[PATCH v4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-13 Thread Paweł Chmiel
defer as fast as posibble. Signed-off-by: Paweł Chmiel --- Changes from v3: - Zero dmc_base pointers after unmapping them - If getting vddarm regulator fails just return, no need to do goto jump which would do the same Changes from v2: - Handle all error paths in probe Changes from v1

Re: [PATCH v3] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-13 Thread Paweł Chmiel
On niedziela, 13 stycznia 2019 14:16:24 CET Krzysztof Kozlowski wrote: > On Fri, Jan 11, 2019 at 08:42:44PM +0100, Paweł Chmiel wrote: > > There is possibility, that when probing driver, regulators are not yet > > initialized. In this case we should return EPROBE_DEFER and wait t

[PATCH v3] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-11 Thread Paweł Chmiel
defer as fast as posibble. Signed-off-by: Paweł Chmiel --- Changes from v2: - Handle all error paths in probe Changes from v1: - Fix compilation error - Reorganize code so it's smaller --- drivers/cpufreq/s5pv210-cpufreq.c | 68 ++- 1 file changed, 49 insertions

Re: [PATCH v2 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-11 Thread Paweł Chmiel
pt., 11 sty 2019 o 10:46 Krzysztof Kozlowski napisał(a): > > On Thu, 10 Jan 2019 at 21:53, Paweł Chmiel > wrote: > > > > There is possibility, that when probing driver, regulators are not yet > > initialized. In this case we should return EPROBE_DEFER and wait till >

[PATCH v2 0/4] ARM: dts: s5pv210: Enable cpufreq support

2019-01-10 Thread Paweł Chmiel
in driver - Reorganize code (so it's smaller), inside patch which logs information about defered probe of regulators Paweł Chmiel (4): ARM: dts: s5pv210: Add dmc nodes cpufreq: s5pv210: Don't flood kernel log after cpufreq change cpufreq: s5pv210: Defer probe if getting regulators fail

[PATCH v2 2/4] cpufreq: s5pv210: Don't flood kernel log after cpufreq change

2019-01-10 Thread Paweł Chmiel
This commit replaces printk with pr_debug, so we don't flood kernel log. Signed-off-by: Paweł Chmiel Acked-by: Krzysztof Kozlowski --- Changes from v1: - Added Acked-by --- drivers/cpufreq/s5pv210-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq

[PATCH v2 1/4] ARM: dts: s5pv210: Add dmc nodes

2019-01-10 Thread Paweł Chmiel
This commit adds dmc nodes, which are needed by s5pv210 cpufreq driver to work. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index e9613418228d

[PATCH v2 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-10 Thread Paweł Chmiel
defer as fast as posibble. Signed-off-by: Paweł Chmiel --- Changes from v1: - Fix compilation error - Reorganize code so it's smaller --- drivers/cpufreq/s5pv210-cpufreq.c | 32 ++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/cpufreq

[PATCH v2 4/4] ARM: defconfig: s5pv210: Add cpufreq support

2019-01-10 Thread Paweł Chmiel
This commit enables cpufreq support for all s5pv210 devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index 951196bdf008..fd4f28aabda6

Re: [PATCH 4/4] dt-bindings: mfd: max8998: Add charger subnode binding

2019-01-10 Thread Paweł Chmiel
Hi On Thursday, 10 January 2019 18:47:11 CET Sylwester Nawrocki wrote: > Hi, > > On 5/1/18 16:43, Paweł Chmiel wrote: > > On Tuesday, May 1, 2018 2:45:40 PM CEST Sebastian Reichel wrote: > >> On Fri, Apr 27, 2018 at 06:03:02PM +0200, Paweł Chmiel wrote: > >>>

Re: [PATCH 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-10 Thread Paweł Chmiel
czw., 10 sty 2019 o 08:01 Viresh Kumar napisał(a): > > On 08-01-19, 21:05, Paweł Chmiel wrote: > > There is possibility, that when probing driver, regulators are not yet > > initialized. In this case we should return EPROBE_DEFER and wait till > > they're initialized

Re: [PATCH 4/4] ARM: defconfig: s5pv210: Add cpufreq support

2019-01-09 Thread Paweł Chmiel
czw., 10 sty 2019 o 08:02 Viresh Kumar napisał(a): > > On 08-01-19, 21:05, Paweł Chmiel wrote: > > This commit enables cpufreq support for all s5pv210 devices. > > > > Signed-off-by: Paweł Chmiel > > --- > > arch/arm/configs/s5pv210_defconfig | 6

[PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-01-09 Thread Paweł Chmiel
difference between max and min. Fixes: 15f4bc3b1f42 ("[media] s5p-jpeg: Add JPEG controls support") Signed-off-by: Paweł Chmiel --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c

Re: [PATCH] ARM: dts: s5pv210: Fix onenand's unit address format warning

2019-01-09 Thread Paweł Chmiel
g,s5pv210-onenand"; > reg = <0xb060 0x2000>, > <0xb000 0x2>, > Checked on Samsung Galaxy S (with local, not yet submited patches for devicetree support for onenand, which is missing in mainline) and it looks ok (device probed, was able to use ubi tools). Tested-by: Paweł Chmiel

[PATCH 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-08 Thread Paweł Chmiel
defer as fast as posibble. Signed-off-by: Paweł Chmiel --- drivers/cpufreq/s5pv210-cpufreq.c | 33 +++ 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index f51697f1e0b3..2d0e4dc7ede7

[PATCH 4/4] ARM: defconfig: s5pv210: Add cpufreq support

2019-01-08 Thread Paweł Chmiel
This commit enables cpufreq support for all s5pv210 devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index 951196bdf008..fd4f28aabda6

[PATCH 0/4] ARM: dts: s5pv210: Enable cpufreq support

2019-01-08 Thread Paweł Chmiel
for regulators, needed by driver. It was observed, that those regulators can be no yet initialized, when driver is probed, so we should wait till we can get them. Last patch enables required kernel config options. Paweł Chmiel (4): ARM: dts: s5pv210: Add dmc nodes cpufreq: s5pv210: Don't flood kernel log

[PATCH 2/4] cpufreq: s5pv210: Don't flood kernel log after cpufreq change

2019-01-08 Thread Paweł Chmiel
This commit replaces printk with pr_debug, so we don't flood kernel log. Signed-off-by: Paweł Chmiel --- drivers/cpufreq/s5pv210-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index

[PATCH 1/4] ARM: dts: s5pv210: Add dmc nodes

2019-01-08 Thread Paweł Chmiel
This commit adds dmc nodes, which are needed by s5pv210 cpufreq driver to work. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index e9613418228d

[PATCH v2 1/4] ARM: dts: s5pv210: aries: Add reserved memory for mfc

2019-01-08 Thread Paweł Chmiel
THis commit adds memory reservation required by MFC to run. On S5PV210 both regions needs to be on separate memory banks. Size of both regions is taken from stock sources. Signed-off-by: Paweł Chmiel --- Changes from v1: - Fixed name of nodes to be more generic --- arch/arm/boot/dts/s5pv210

[PATCH v2 4/4] ARM: defconfig: s5pv210: Enable more drivers present on Samsung Aries

2019-01-08 Thread Paweł Chmiel
) Disable DEBUG_LL. It's currently set to uart1, but if we want to use it on Aries, we would need to switch it to uart2, to get any logs. Signed-off-by: Paweł Chmiel Signed-off-by: Jonathan Bakker --- arch/arm/configs/s5pv210_defconfig | 25 ++--- 1 file changed, 22

[PATCH v2 3/4] ARM: defconfig: s5pv210: Run make savedefconfig

2019-01-08 Thread Paweł Chmiel
This is result of running savedefconfig. It's preparation for adding support for more hw present on Samsung Aries based devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm

[PATCH v2 0/4] ARM: dts: s5pv210: aries: Enable more drivers present on Samsung Aries based devices

2019-01-08 Thread Paweł Chmiel
): ARM: dts: s5pv210: aries: Support for more devices present on Aries Paweł Chmiel (3): ARM: dts: s5pv210: aries: Add reserved memory for mfc ARM: defconfig: s5pv210: Run make savedefconfig ARM: defconfig: s5pv210: Enable more drivers present on Samsung Aries arch/arm/boot/dts/s5pv210

[PATCH v2 2/4] ARM: dts: s5pv210: aries: Support for more devices present on Aries

2019-01-08 Thread Paweł Chmiel
From: Jonathan Bakker This commit enables following devices present on Aries based phones: - pwm-vibrator attached to PWM 1 - poweroff support - Atmel maXTouch touchscreen, connected to i2c2 - Broadcom BCM4329 bluetooth over uart0 Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel

Re: [PATCH 5/6] ARM: dts: s5pv210: aries: Support for more devices present on Aries

2019-01-08 Thread Paweł Chmiel
Dnia poniedziałek, 31 grudnia 2018 14:35:55 CET Krzysztof Kozlowski pisze: > On Fri, 28 Dec 2018 at 17:18, Paweł Chmiel > wrote: > > > > From: Jonathan Bakker > > > > This commit enables following devices present on Aries based phones: > > - pwm-vibrator atta

[PATCH v3 4/7] Input: tm2-touchkey: Allow specifying custom keycodes

2019-01-07 Thread Paweł Chmiel
-by: Paweł Chmiel --- Changes from v2: - Change property name from keycodes to linux,keycodes Changes from v1: - Because key codes could be bigger than 255, use ints for keycodes --- drivers/input/keyboard/tm2-touchkey.c | 49 +++ 1 file changed, 27 insertions(+), 22

[PATCH v3 2/7] Input: dt-bindings: tm2-touchkey: Add support for midas touchkey

2019-01-07 Thread Paweł Chmiel
From: Simon Shields Document compatible for midas touchkey. Signed-off-by: Simon Shields Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added Reviewed-by --- .../devicetree/bindings/input/cypress,tm2-touchkey.txt| 4 +++- 1 file changed, 3 insertions

[PATCH v3 6/7] Input: tm2-touchkey: Add support for aries touchkey variant

2019-01-07 Thread Paweł Chmiel
From: Jonathan Bakker The touchkey variant found on aries board is slighty different, it uses a fixed regulator and writes/read to the same place Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/keyboard/tm2-touchkey.c | 53 +++ 1 file

[PATCH v3 3/7] Input: tm2-touchkey: Correct initial brightness

2019-01-07 Thread Paweł Chmiel
From: Jonathan Bakker Tm2-touchkey don't have brightness levels, but only on/off states, so replace LED_FULL with LED_ON. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/keyboard/tm2-touchkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 5/7] Input: dt-bindings: tm2-touchkey: Document new keycodes property

2019-01-07 Thread Paweł Chmiel
From: Jonathan Bakker Document new optional property for setting custom keycodes. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v2: - Change property name from keycodes to linux,keycodes Changes from v1: - Because key codes could be bigger than 255, use ints

[PATCH v3 0/7] Input: tm2-touchkey: Add support for Aries and Midas

2019-01-07 Thread Paweł Chmiel
This patches adds support for Aries (Samsung i9000) and Midas (Samsung S3) based devices to TM2 Touchkey driver. Changes from v2: - Change property name from keycodes to linux,keycodes Changes from v1: - Added Reviewed-by to some patches - Use ints for keycodes (they could be bigger than

[PATCH v3 7/7] Input: dt-bindings: tm2-touchkey: Add support for aries touchkey

2019-01-07 Thread Paweł Chmiel
From: Jonathan Bakker Document compatible for aries touchkey. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added Reviewed-by --- Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 + 1 file changed, 1

[PATCH v3 1/7] Input: tm2-touchkey: Add support for midas touchkey

2019-01-07 Thread Paweł Chmiel
From: Simon Shields The touchkey on midas boards is almost identical. The only real difference is that it uses the same register for both keycode and base. Signed-off-by: Simon Shields Signed-off-by: Paweł Chmiel --- Changes from v1: - Droped separate name changes - Added missing const

Re: [PATCH v2 5/7] Input: dt-bindings: tm2-touchkey: Document new keycodes property

2019-01-07 Thread Paweł Chmiel
miel?= wrote: > > > > From: Jonathan Bakker > > > > > > > > Document new optional property for setting custom keycodes. > > > > > > > > Signed-off-by: Jonathan Bakker > > > > Signed-off-by: Paweł Chmiel > &

[PATCH] media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration

2018-12-29 Thread Paweł Chmiel
. It was found by using v4l2-compliance tool and checking result of VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS test and using v4l2-ctl to get list of all supported formats. Tested on s5pv210-galaxys (Samsung i9000 phone). Fixes: bb677f3ac434 ("[media] Exynos4 JPEG codec v4l2 driver") Signed-off

[PATCH 3/6] ARM: dts: s5pv210: fascinate4g: Remove hardcoded bootargs

2018-12-28 Thread Paweł Chmiel
Since we have uboot (flashed in place of stock kernel), it's not needed anymore to hardcode bootargs. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-fascinate4g.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-fascinate4g.dts b/arch/arm/boot

[PATCH 6/6] ARM: defconfig: s5pv210: Enable more drivers present on Samsung Aries

2018-12-28 Thread Paweł Chmiel
) Disable DEBUG_LL. It's currently set to uart1, but if we want to use it on Aries, we would need to switch uart2, to get any logs. Signed-off-by: Paweł Chmiel Signed-off-by: Jonathan Bakker --- arch/arm/configs/s5pv210_defconfig | 41 ++ 1 file changed, 30

[PATCH 2/6] ARM: dts: s5pv210: galaxys: Remove hardcoded bootargs

2018-12-28 Thread Paweł Chmiel
Since we have uboot (flashed in place of stock kernel), it's not needed anymore to hardcode bootargs. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-galaxys.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-galaxys.dts b/arch/arm/boot/dts

[PATCH 5/6] ARM: dts: s5pv210: aries: Support for more devices present on Aries

2018-12-28 Thread Paweł Chmiel
From: Jonathan Bakker This commit enables following devices present on Aries based phones: - pwm-vibrator attached to PWM 1 - poweroff support - Atmel maXTouch touchscreen. It's connected to i2c2 - Broadcom BCM4329 bluetooth over uart0 Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel

[PATCH 4/6] ARM: dts: s5pv210: aries: Add reserved memory for mfc

2018-12-28 Thread Paweł Chmiel
This commit adds memory reservation required by MFC to run. On S5PV210 both regions needs to be on separate memory banks. Size of both regions is taken from stock sources. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-aries.dtsi | 22 ++ 1 file changed, 22

  1   2   3   4   >