[PATCH 2/7] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones.

2018-06-21 Thread Paweł Chmiel
This DTS file have initial support Samsung Aries based phones. Initial version have support for: - sdcard - internal memory (present only on non 4g variant) - max8998 pmic and rtc - max17040 fuel gauge - gpio keys - fimd (no panel driver yet) - usb (peripherial mode) - wifi Signed-off-by: Paweł

[PATCH 5/7] dt-bindings: samsung: Document bindings for Samsung aries boards

2018-06-21 Thread Paweł Chmiel
Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt index

[PATCH 7/7] dt-bindings: samsung: Document binding for SGH-T959P board

2018-06-21 Thread Paweł Chmiel
From: Jonathan Bakker Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt b/Documentation

[PATCH 0/7] Initial support for Samsung Galaxy S and Galaxy S 4G

2018-06-21 Thread Paweł Chmiel
Jonathan Bakker (2): ARM: dts: s5pv210: Add initial DTS config for SGH-T959P phone dt-bindings: samsung: Document binding for SGH-T959P board Paweł Chmiel (5): ARM: dts: s5pv210: Add missing interrupt-controller property to gph2 ARM: dts: s5pv210: Add initial DTS for Samsung Aries based

[PATCH 6/7] ARM: dts: s5pv210: Add initial DTS config for SGH-T959P phone

2018-06-21 Thread Paweł Chmiel
From: Jonathan Bakker Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/s5pv210-fascinate4g.dts | 40 +++ 2 files changed, 41 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH 1/7] ARM: dts: s5pv210: Add missing interrupt-controller property to gph2

2018-06-21 Thread Paweł Chmiel
which are added in next patches. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi index 3a79feab11c3..7f0c9d447871 100644 --- a/arch/arm

[PATCH 3/7] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone.

2018-06-21 Thread Paweł Chmiel
Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/s5pv210-galaxys.dts | 72 +++ 2 files changed, 73 insertions(+) create mode 100644 arch/arm/boot/dts/s5pv210-galaxys.dts diff --git a/arch/arm/boot/dts/Makefile b

[PATCH 4/7] ARM: s5pv210_defconfig: Enable drivers for Samsung Aries based phones

2018-06-21 Thread Paweł Chmiel
Enable config options required for Samsung Aries based phones.. While we're here, also enable other useful options like: - SYSVIPC - CGROUPS - DEVTMPFS - networking support - ext4 and autofs Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig

Re: [PATCH 3/7] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone.

2018-06-22 Thread Paweł Chmiel
On Friday, June 22, 2018 9:49:42 AM CEST Krzysztof Kozlowski wrote: > On 21 June 2018 at 21:09, Paweł Chmiel wrote: > > Signed-off-by: Paweł Chmiel > > Please add commit message. This can be something as simple as "Add > Samsung Galaxy S DTS which is a commercial phone

Re: [PATCH 2/7] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones.

2018-06-22 Thread Paweł Chmiel
On Friday, June 22, 2018 9:41:02 AM CEST Krzysztof Kozlowski wrote: > On 21 June 2018 at 21:09, Paweł Chmiel wrote: > > This DTS file have initial support Samsung Aries based phones. > > Initial version have support for: > > - sdcard > > - internal memory (pre

Re: [PATCH v2 1/2] Input: atmel_mxt_ts: Add support for optional regulators.

2018-07-28 Thread Paweł Chmiel
On Thursday, July 19, 2018 9:54:04 PM CEST Nick Dyer wrote: > On Wed, Jul 18, 2018 at 06:21:30PM +0200, Paweł Chmiel wrote: > > On Tuesday, July 17, 2018 10:00:05 PM CEST Nick Dyer wrote: > > > On Tue, Jul 17, 2018 at 08:16:25PM +0200, Paweł Chmiel wrote: > > >

[PATCH v3 3/3] Input: atmel_mxt_ts: Document optional voltage regulators

2018-07-31 Thread Paweł Chmiel
Document new optional voltage regulators, which can be used to power down/up touchscreen. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added reviewed-by --- Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 8 1 file changed, 8 insertions

[PATCH v3 0/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-07-31 Thread Paweł Chmiel
separate method, to make code more readable. - Add wait code, to ensure that device is ready for communication. Changes from v1: - Enable regulators only if reset_gpio is present. - Switch from devm_regulator_get_optional to devm_regulator_get. Paweł Chmiel (3): Input: atmel_mxt_ts: Add

[PATCH v3 2/3] Input: atmel_mxt_ts: Wait for device be ready for communication

2018-07-31 Thread Paweł Chmiel
According to documentation, device isn't ready for communication, until firmware asserts the CHG line. Add missing wait for this. Signed-off-by: Paweł Chmiel --- drivers/input/touchscreen/atmel_mxt_ts.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/input/touchs

[PATCH v3 1/3] Input: atmel_mxt_ts: Add support for optional regulators.

2018-07-31 Thread Paweł Chmiel
This patch adds optional regulators, which can be used to power up touchscreen. After enabling regulators, we need to wait 150msec. This value is taken from official driver. It was tested on Samsung Galaxy i9000 (based on Samsung S5PV210 SOC). Signed-off-by: Paweł Chmiel --- Changes from v2

[PATCH 0/2] Input: atmel_mxt_ts: Add support for optional regulators

2018-07-13 Thread Paweł Chmiel
This two patches add optional regulator support to atmel_mxt_ts. First patch adds regulators to driver. Second patch updates documentation. Paweł Chmiel (2): Input: atmel_mxt_ts: Add support for optional regulators. Input: atmel_mxt_ts: Document optional voltage regulators .../devicetree

[PATCH 2/2] Input: atmel_mxt_ts: Document optional voltage regulators

2018-07-13 Thread Paweł Chmiel
Document new optional voltage regulators, which can be used to power down/up touchscreen. Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/input/atmel

[PATCH 1/2] Input: atmel_mxt_ts: Add support for optional regulators.

2018-07-13 Thread Paweł Chmiel
This patch adds optional regulators, which can be used to power up touchscreen. After enabling regulators, we need to wait 150msec. This value is taken from official driver. It was tested on Samsung Galaxy i9000 (based on Samsung S5PV210 SOC). Signed-off-by: Paweł Chmiel --- drivers/input

[PATCH v2 0/3] power: supply: max8998-charger:

2018-07-14 Thread Paweł Chmiel
moved already applied patch Paweł Chmiel (2): power: supply: max8998-charger: Parse device tree for required data. dt-bindings: mfd: max8998: Add charger subnode binding Tomasz Figa (1): power: supply: max8998-charger: Fix platform data retrieval Documentation/devicetree/bindings/mfd/max899

[PATCH v2 1/3] power: supply: max8998-charger: Fix platform data retrieval

2018-07-14 Thread Paweł Chmiel
ned-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- drivers/power/supply/max8998_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/max8998_charger.c b/drivers/power/supply/max8998_charger.c index b64cf0f14142..66438029bdd0 100644 --- a/drivers/po

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

2018-07-14 Thread Paweł Chmiel
This patch adds missing code for reading charger configuration from devicetree. Signed-off-by: Paweł Chmiel --- Changes from v1: - Removed unneeded Fixes tag - Use new property names --- drivers/power/supply/max8998_charger.c | 50 ++ 1 file changed, 50

[PATCH v2 3/3] dt-bindings: mfd: max8998: Add charger subnode binding

2018-07-14 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 v1: - Removed unneeded Fixes tag - Correct description of all charger values - Added missing property unit --- Documentation

[PATCH] pinctrl/samsung: Correct EINTG banks order

2018-04-08 Thread Paweł Chmiel
interrupt, due to wrong bank being looked up. Observed on s5pv210, when trying to handle gpj0 interrupt, where kernel was mapping it to gpi bank. Signed-off-by: Paweł Chmiel --- drivers/pinctrl/samsung/pinctrl-exynos-arm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[PATCH] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-05 Thread Paweł Chmiel
i_bcm: Handle empty packet after firmware loading") Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/bluetooth/hci_bcm.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth

[PATCH] Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth

2018-12-05 Thread Paweł Chmiel
; Class: 0x00 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 2.1 (0x4) Revision: 0x2e8 LMP Version: 2.1 (0x4) Subversion: 0x4217 Manufacturer: Broadcom Corporation (15) ``` Signed-off-by: Paweł Chmiel --- drivers/bluetooth/b

[PATCH v2] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-05 Thread Paweł Chmiel
i_bcm: Handle empty packet after firmware loading") Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Rename UNKNOWN to TYPE49 - Rename UNKNOWN2 to TYPE52 --- drivers/bluetooth/hci_bcm.c | 22 ++ 1 file changed, 22 insertion

Re: [PATCH] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-05 Thread Paweł Chmiel
appears to be intended behaviour, treated them as diagnostic > > packets. > > > > Note that this is another variant of commit 01d5e44ace8a > > ("Bluetooth: hci_bcm: Handle empty packet after firmware loading") > > > > Signed-off-by: Jonathan Bakker > >

[PATCH 6/8] Input: dt-bindings: tm2-touchkey: Document new keycodes property

2018-12-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 --- .../devicetree/bindings/input/cypress,tm2-touchkey.txt| 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree

[PATCH 3/8] Input: tm2-touchkey: Use predefined device name

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker Purely a cosmetic fix, using the names defined earlier Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/keyboard/tm2-touchkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/keyboard/tm2-touchkey.c b

[PATCH 4/8] Input: tm2-touchkey: Correct initial brightness

2018-12-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 --

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

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker Document compatible for aries touchkey. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/cypress

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

2018-12-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 | 56 +++ 1 file

[PATCH 5/8] Input: tm2-touchkey: Allow specifying custom keycodes

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker Not all devices use the same keycodes in the same order Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/keyboard/tm2-touchkey.c | 49 +++ 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/drivers/input

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

2018-12-07 Thread Paweł Chmiel
From: Simon Shields Document compatible for midas touchkey. Signed-off-by: Simon Shields Signed-off-by: Paweł Chmiel --- .../devicetree/bindings/input/cypress,tm2-touchkey.txt| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

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

2018-12-07 Thread Paweł Chmiel
This patches adds support for Aries (Samsung i9000) and Midsa (Samsung S3) based devices to TM2 Touchkey driver. Jonathan Bakker (6): Input: tm2-touchkey: Use predefined device name Input: tm2-touchkey: Correct initial brightness Input: tm2-touchkey: Allow specifying custom keycodes Input:

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

2018-12-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 --- drivers/input/keyboard/tm2-touchkey.c | 48 ++- 1

[PATCH v4 3/3] Input: atmel_mxt_ts: Document optional voltage regulators

2018-12-07 Thread Paweł Chmiel
Document new optional voltage regulators, which can be used to power down/up touchscreen. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added reviewed-by --- .../devicetree/bindings/input/atmel,maxtouch.txt | 8 1 file changed, 8 insertions

[PATCH v4 0/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-07 Thread Paweł Chmiel
devm_regulator_get_optional to devm_regulator_get. Paweł Chmiel (3): Input: atmel_mxt_ts: Add support for optional regulators Input: atmel_mxt_ts: Wait for device be ready for communication Input: atmel_mxt_ts: Document optional voltage regulators .../bindings/input/atmel,maxtouch.txt

[PATCH v4 2/3] Input: atmel_mxt_ts: Wait for device be ready for communication

2018-12-07 Thread Paweł Chmiel
According to documentation, device isn't ready for communication, until firmware asserts the CHG line. Add missing wait for this. Signed-off-by: Paweł Chmiel --- Changes from v3: - Fix checkpatch issues --- drivers/input/touchscreen/atmel_mxt_ts.c | 11 +++ 1 file change

[PATCH v4 1/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-07 Thread Paweł Chmiel
This patch adds optional regulators, which can be used to power up touchscreen. After enabling regulators, we need to wait 150msec. This value is taken from official driver. It was tested on Samsung Galaxy i9000 (based on Samsung S5PV210 SOC). Signed-off-by: Paweł Chmiel --- Changes from v3

[PATCH 0/3] iio: adc: exynos-adc: Add support for S5PV210

2018-12-07 Thread Paweł Chmiel
This patchset adds support for S5PV210 adc variant to exynos-adc driver. Jonathan Bakker (3): iio: adc: exynos-adc: Add S5PV210 variant iio: adc: Allow selection of Exynos ADC on S5PV210 dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant .../bindings/iio/adc/samsung,exynos-adc.txt

[PATCH 3/3] dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker Add information about new compatible for S5PV210 Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../devicetree/bindings/iio/adc/samsung,exynos-adc.txt| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 2/3] iio: adc: Allow selection of Exynos ADC on S5PV210

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker Make it possible to use Exynos ADC driver on S5PV210 based devices. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc

[PATCH 1/3] iio: adc: exynos-adc: Add S5PV210 variant

2018-12-07 Thread Paweł Chmiel
From: Jonathan Bakker S5PV210's ADC variant is almost the same as v1 except that it has 10 channels and doesn't require the pmu register Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/iio/adc/exynos_adc.c | 14 ++ 1 file changed, 14 insertion

Re: [PATCH 2/5] media: dt-bindings: Add binding for si470x radio

2018-12-07 Thread Paweł Chmiel
is more work needed on one of them, the second one can still be picked (devicetree one). Ok will do this in next version of patchset. > > Regards, > > Hans > > On 12/05/2018 04:47 PM, Paweł Chmiel wrote: > > Add device tree bindings for si470x family radio recei

[PATCH v2 4/4] media: dt-bindings: Add binding for si470x radio

2018-12-07 Thread Paweł Chmiel
Add device tree bindings for si470x family radio receiver driver. Signed-off-by: Paweł Chmiel --- Changes from v1: - squashed with patch adding reset-gpio documentation --- .../devicetree/bindings/media/si470x.txt | 26 +++ 1 file changed, 26 insertions(+) create

[PATCH v2 1/4] si470x-i2c: Add device tree support

2018-12-07 Thread Paweł Chmiel
This commit enables device tree support adding simple of_match table. Signed-off-by: Paweł Chmiel --- drivers/media/radio/si470x/radio-si470x-i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio

[PATCH v2 0/4] media: radio-si470x-i2c: Add device tree and reset gpio support

2018-12-07 Thread Paweł Chmiel
Samsung Galaxy S (i9000) phone. Changes from v1: - squashed patches adding/modifying dt-bindings into one patch Paweł Chmiel (4): si470x-i2c: Add device tree support si470x-i2c: Use managed resource helpers si470x-i2c: Add optional reset-gpio support media: dt-bindings: Add binding for

[PATCH v2 2/4] si470x-i2c: Use managed resource helpers

2018-12-07 Thread Paweł Chmiel
Simplify cleanup of failures by using managed resource helpers Signed-off-by: Paweł Chmiel --- drivers/media/radio/si470x/radio-si470x-i2c.c | 29 +++ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media

[PATCH v2 3/4] si470x-i2c: Add optional reset-gpio support

2018-12-07 Thread Paweł Chmiel
If reset-gpio is defined, use it to bring device out of reset. Without this, it's not possible to access si470x registers. Signed-off-by: Paweł Chmiel --- drivers/media/radio/si470x/radio-si470x-i2c.c | 15 +++ drivers/media/radio/si470x/radio-si470x.h | 1 + 2 files ch

[PATCH] ARM: dts: s5pv210: Add s5p-jpeg codec node.

2018-11-30 Thread Paweł Chmiel
This commit adds node for s5p-jpeg codec, which is present in S5PV210 SOC. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 75f454a210d6..12eac8930eac

[PATCH v4 5/5] dt-bindings: samsung: Document bindings for SGH-T959P board

2018-07-07 Thread Paweł Chmiel
From: Jonathan Bakker Document the binding for Samsung Galaxy S Fascinate 4G (SGH-T959P). Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Acked-by: Rob Herring -- Changes from v2: - Added Acked-by Changes from v1: - Added missing commit msg. -- --- Documentation/devicetree

[PATCH v4 2/5] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone

2018-07-07 Thread Paweł Chmiel
) - wifi Signed-off-by: Paweł Chmiel -- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/s5pv210-galaxys.dts | 77

[PATCH v4 0/5] Initial support for Samsung Galaxy S and Galaxy S 4G

2018-07-07 Thread Paweł Chmiel
SGH-T959P phone dt-bindings: samsung: Document bindings for SGH-T959P board Paweł Chmiel (3): ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone dt-bindings: samsung: Document bindings for Samsung aries boards

[PATCH v4 3/5] ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone

2018-07-07 Thread Paweł Chmiel
driver yet) - usb (peripherial mode) - wifi Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts

[PATCH v4 4/5] dt-bindings: samsung: Document bindings for Samsung aries boards

2018-07-07 Thread Paweł Chmiel
Document the binding for Samsung Galaxy S (i9000) phone and whole Samsung Aries devices family (based on S5PV210). Also because this is first not Exynos-based devices, document this information at beginning of file. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring -- Changes from v2

[PATCH v4 1/5] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

2018-07-07 Thread Paweł Chmiel
This DTS file have initial support Samsung Aries based phones. Initial version have support for: - sdcard - internal memory (present only on non 4g variant) - max8998 pmic and rtc - max17040 fuel gauge - gpio keys - fimd (no panel driver yet) - usb (peripherial mode) - wifi Signed-off-by: Paweł

Re: [PATCH v4 0/5] Initial support for Samsung Galaxy S and Galaxy S 4G

2018-07-10 Thread Paweł Chmiel
On Tuesday, July 10, 2018 2:05:04 PM CEST Pavel Machek wrote: > Hi! > > > This patch series adds support for Samsung Galaxy S and Galaxy S 4G. > > Both are commercial phone based on Aries family. > > Thanks for doing this. What kind of userspace are your running? > > (I do have N900 here running

[PATCH v2 00/10] Initial support for Samsung Galaxy S and Galaxy S 4G

2018-06-27 Thread Paweł Chmiel
: Document bindings for SGH-T959P board Paweł Chmiel (8): ARM: dts: s5pv210: Add missing interrupt-controller property to gph2 ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone dt-bindings: samsung: Add S5PV210 as

[PATCH v2 10/10] ARM: s5pv210_defconfig: Enable options needed to boot typical Linux distro

2018-06-27 Thread Paweł Chmiel
This commit enables few options which are required to boot typical Linux distro. It was tested by booting ArchLinux ARM from sdcard. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/configs

[PATCH v2 03/10] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone

2018-06-27 Thread Paweł Chmiel
) - wifi Signed-off-by: Paweł Chmiel -- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/s5pv210-galaxys.dts | 77

[PATCH v2 09/10] ARM: s5pv210_defconfig: Enable drivers for Samsung Aries based phones

2018-06-27 Thread Paweł Chmiel
Enable config options required for Samsung Aries based phones. ARM_APPENDED_DTB is also needed, because stock bootloader does not support loading dtb files. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 33 +++-- 1 file changed, 31 insertions

[PATCH v2 08/10] ARM: s5pv210_defconfig: Run make savedefconfig

2018-06-27 Thread Paweł Chmiel
This is result of running savedefconfig. It's preparation for adding support for Samsung Aries devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defc

[PATCH v2 02/10] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

2018-06-27 Thread Paweł Chmiel
This DTS file have initial support Samsung Aries based phones. Initial version have support for: - sdcard - internal memory (present only on non 4g variant) - max8998 pmic and rtc - max17040 fuel gauge - gpio keys - fimd (no panel driver yet) - usb (peripherial mode) - wifi Signed-off-by: Paweł

[PATCH v2 06/10] dt-bindings: samsung: Document bindings for Samsung aries boards

2018-06-27 Thread Paweł Chmiel
Document the binding for Samsung Galaxy S (i9000) phone. Also add binding for whole Samsung Aries devices family (based on S5PV210). Signed-off-by: Paweł Chmiel -- Changes from v1: - Added missing commit msg. -- --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt | 2 ++ 1

[PATCH v2 07/10] dt-bindings: samsung: Document bindings for SGH-T959P board

2018-06-27 Thread Paweł Chmiel
From: Jonathan Bakker Document the binding for Samsung Galaxy S Fascinate 4G (SGH-T959P). Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel -- Changes from v1: - Added missing commit msg. -- --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt | 1 + 1 file

[PATCH v2 04/10] ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone

2018-06-27 Thread Paweł Chmiel
driver yet) - usb (peripherial mode) - wifi Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts

[PATCH v2 05/10] dt-bindings: samsung: Add S5PV210 as possible soc in Samsung boards

2018-06-27 Thread Paweł Chmiel
There are Samsung devices, which are not Exynos-based boards, like it's in case of S5PV210. Document this information at beginning of file. Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH v2 01/10] ARM: dts: s5pv210: Add missing interrupt-controller property to gph2

2018-06-27 Thread Paweł Chmiel
which are added in next patches. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi index 3a79feab11c3..7f0c9d447871 100644 --- a/arch/arm

Re: [PATCH v2 02/10] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

2018-06-28 Thread Paweł Chmiel
On Thursday, June 28, 2018 9:48:48 AM CEST Krzysztof Kozlowski wrote: > On 28 June 2018 at 09:41, Krzysztof Kozlowski wrote: > > On 27 June 2018 at 19:12, Paweł Chmiel > > wrote: > >> This DTS file have initial support Samsung Aries based phones. > >>

[PATCH v3 3/9] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone

2018-07-06 Thread Paweł Chmiel
) - wifi Signed-off-by: Paweł Chmiel -- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/s5pv210-galaxys.dts | 77

[PATCH v3 9/9] ARM: s5pv210_defconfig: Enable options needed to boot typical Linux distro

2018-07-06 Thread Paweł Chmiel
This commit enables few options which are required to boot typical Linux distro. It was tested by booting ArchLinux ARM from sdcard. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/configs

[PATCH v3 0/9] Initial support for Samsung Galaxy S and Galaxy S 4G

2018-07-06 Thread Paweł Chmiel
, second adds drivers required by both devices and last adds some options, which are usefull in booting typical Linux distribution. Jonathan Bakker (2): ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone dt-bindings: samsung: Document bindings for SGH-T959P board Paweł Chmiel (7

[PATCH v3 8/9] ARM: s5pv210_defconfig: Enable drivers for Samsung Aries based phones

2018-07-06 Thread Paweł Chmiel
Enable config options required for Samsung Aries based phones. ARM_APPENDED_DTB is also needed, because stock bootloader does not support loading dtb files. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 33 +++-- 1 file changed, 31 insertions

[PATCH v3 7/9] ARM: s5pv210_defconfig: Run make savedefconfig

2018-07-06 Thread Paweł Chmiel
This is result of running savedefconfig. It's preparation for adding support for Samsung Aries devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defc

[PATCH v3 4/9] ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone

2018-07-06 Thread Paweł Chmiel
driver yet) - usb (peripherial mode) - wifi Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts

[PATCH v3 1/9] ARM: dts: s5pv210: Add missing interrupt-controller property to gph2

2018-07-06 Thread Paweł Chmiel
which are added in next patches. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi index 3a79feab11c3..7f0c9d447871 100644 --- a/arch/arm

[PATCH v3 6/9] dt-bindings: samsung: Document bindings for SGH-T959P board

2018-07-06 Thread Paweł Chmiel
From: Jonathan Bakker Document the binding for Samsung Galaxy S Fascinate 4G (SGH-T959P). Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Acked-by: Rob Herring -- Changes from v2: - Added Acked-by Changes from v1: - Added missing commit msg. -- --- Documentation/devicetree

[PATCH v3 5/9] dt-bindings: samsung: Document bindings for Samsung aries boards

2018-07-06 Thread Paweł Chmiel
Document the binding for Samsung Galaxy S (i9000) phone and whole Samsung Aries devices family (based on S5PV210). Also because this is first not Exynos-based devices, document this information at beginning of file. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring -- Changes from v2

[PATCH v3 2/9] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

2018-07-06 Thread Paweł Chmiel
This DTS file have initial support Samsung Aries based phones. Initial version have support for: - sdcard - internal memory (present only on non 4g variant) - max8998 pmic and rtc - max17040 fuel gauge - gpio keys - fimd (no panel driver yet) - usb (peripherial mode) - wifi Signed-off-by: Paweł

[PATCH v3] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-19 Thread Paweł Chmiel
i_bcm: Handle empty packet after firmware loading") Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v2: - Rebased against latest bluetooth-next tree Changes from v1: - Rename UNKNOWN to TYPE49 - Rename UNKNOWN2 to TYPE52 --- drivers/bluetooth/hci_

[PATCH v2] Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth

2018-12-19 Thread Paweł Chmiel
; Class: 0x00 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 2.1 (0x4) Revision: 0x2e8 LMP Version: 2.1 (0x4) Subversion: 0x4217 Manufacturer: Broadcom Corporation (15) ``` Signed-off-by: Paweł Chmiel --- Changes from v1: -

Re: [PATCH v2] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-19 Thread Paweł Chmiel
appears to be intended behaviour, treated them as diagnostic > > packets. > > > > Note that this is another variant of commit 01d5e44ace8a > > ("Bluetooth: hci_bcm: Handle empty packet after firmware loading") > > > > Signed-off-by: Jonathan Bak

[PATCH 1/3] drm/exynos: rotator: Add support for s5pv210

2018-12-19 Thread Paweł Chmiel
This commit adds support for s5pv210. Currently only NV12 and XRGB formats are supported. It was tested by using tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Signed-off-by: Paweł Chmiel --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 23 + 1

[PATCH 0/3] drm/exynos: rotator: Add support for s5pv210

2018-12-19 Thread Paweł Chmiel
This patchset adds support for s5pv210 soc, into Samsung DRM Rotator driver. Currently only NV12 and XRGB formats are supported. It was tested by using simple tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Paweł Chmiel (3): drm/exynos: rotator: Add support for

[PATCH 3/3] ARM: dts: s5pv210: Add node for exynos-rotator

2018-12-19 Thread Paweł Chmiel
This commit adds node for Exynos Rorator device, so it can be used on all s5pv210 based devices. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index

[PATCH 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support

2018-12-19 Thread Paweł Chmiel
This commit documents new compatible for s5pv210 soc, which will be also supported by this driver. Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/gpu/samsung-rotator.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/samsung

Re: [PATCH v4 1/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-14 Thread Paweł Chmiel
Dnia niedziela, 9 grudnia 2018 05:26:12 CET Dmitry Torokhov pisze: > On Fri, Dec 07, 2018 at 03:28:55PM +0100, Paweł Chmiel wrote: > > This patch adds optional regulators, which can be used to power > > up touchscreen. After enabling regulators, we need to wait 150msec. > >

[PATCH v5 1/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-14 Thread Paweł Chmiel
This patch adds optional regulators, which can be used to power up touchscreen. After enabling regulators, we need to wait 150msec. This value is taken from official driver. It was tested on Samsung Galaxy i9000 (based on Samsung S5PV210 SOC). Signed-off-by: Paweł Chmiel --- Changes from v4

[PATCH v5 0/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-14 Thread Paweł Chmiel
for communication. Changes from v1: - Enable regulators only if reset_gpio is present. - Switch from devm_regulator_get_optional to devm_regulator_get. Paweł Chmiel (3): Input: atmel_mxt_ts: Add support for optional regulators Input: atmel_mxt_ts: Wait for device be ready for communication

[PATCH v5 2/3] Input: atmel_mxt_ts: Wait for device be ready for communication

2018-12-14 Thread Paweł Chmiel
According to documentation, device isn't ready for communication, until firmware asserts the CHG line. Add missing wait for this. Signed-off-by: Paweł Chmiel --- Changes from v1: - Fix checkpatch issues --- drivers/input/touchscreen/atmel_mxt_ts.c | 11 +++ 1 file change

[PATCH v5 3/3] Input: atmel_mxt_ts: Document optional voltage regulators

2018-12-14 Thread Paweł Chmiel
Document new optional voltage regulators, which can be used to power down/up touchscreen. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added reviewed-by --- .../devicetree/bindings/input/atmel,maxtouch.txt | 8 1 file changed, 8 insertions

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 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 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 25

[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 in

[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 --

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

2019-01-07 Thread Paweł Chmiel
: 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

  1   2   3   >