Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2016-01-02 Thread Roman Volkov
В Fri, 01 Jan 2016 22:53:33 +0100 Arnd Bergmann <a...@arndb.de> пишет: > On Friday 01 January 2016 20:32:30 Roman Volkov wrote: > > > Applied both to next/dt, thanks a lot for following up! > > > > > > Let me know if you think this should go into stable back

[PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650

2016-01-01 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver is already in the kernel, this node enables the controller support for WM8650 Signed-off-by: Roman Volkov <rvol...@v1ros.org> Reviewed-by: Alexey Charkov <alch...@gmail

[PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505

2016-01-01 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> According to datasheet, the registers space of SDHC controller is 1Kb, not '0x1000', the correct value should be '0x400'. Bracket interrupt numbers individually per recommendations. Signed-off-by: Roman Volkov <rvol...@v1ros.org> --- arch/

[PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2016-01-01 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505 Device Tree file. Changes in v3: 1. Add minor fixes for WM8505 SDHC node Tested on both WM8505 and WM8650. Roman Volkov (2): dts: vt8500: Add SDHC node to DT

Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2016-01-01 Thread Roman Volkov
В Fri, 01 Jan 2016 15:29:29 +0100 Arnd Bergmann <a...@arndb.de> пишет: > On Friday 01 January 2016 16:38:10 Roman Volkov wrote: > > From: Roman Volkov <rvol...@v1ros.org> > > > > This patch set enables SD controller support for WM8650 and > > fixes

[PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-31 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505 Device Tree file. Changes in v3: 1. Add minor fixes for WM8505 SDHC node Tested on both WM8505 and WM8650. Roman Volkov (2): dts: vt8500: Add SDHC node to DT

[PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505

2015-12-31 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> According to datasheet, the registers space of SDHC controller is 1Kb, not '0x1000', the correct value should be '0x400'. Bracket interrupt numbers individually per recommendations. Signed-off-by: Roman Volkov <rvol...@v1ros.org> --- arch/

[PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-12-31 Thread Roman Volkov
From: Roman Volkov <rvol...@v1ros.org> Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver is already in the kernel, this node enables the controller support for WM8650 Signed-off-by: Roman Volkov <rvol...@v1ros.org> Reviewed-by: Alexey Charkov <alch...@gmail

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-31 Thread Roman Volkov
В Thu, 31 Dec 2015 16:32:59 +0100 Arnd Bergmann <a...@arndb.de> пишет: > On Thursday 31 December 2015 16:31:02 Arnd Bergmann wrote: > > On Thursday 24 December 2015 00:48:25 Roman Volkov wrote: > > > В Sat, 4 Apr 2015 15:27:20 +0300 > > > Roman Volkov <v1...@

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-23 Thread Roman Volkov
В Sat, 4 Apr 2015 15:27:20 +0300 Roman Volkov <v1...@v1ros.org> пишет: > В Sun, 1 Mar 2015 23:39:11 +0300 > Roman Volkov <rvol...@v1ros.org> пишет: > > > В Sun, 01 Mar 2015 20:52:55 +0100 > > Arnd Bergmann <a...@arndb.de> пишет: > > > > &g

[PATCH v4 2/4] i8042: Kernel configuration for OF/FDT support

2015-07-05 Thread Roman Volkov
i8042_of.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. Kconfig is not modified. Signed-off-by: Roman Volkov rvol...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/serio/i8042.h b/drivers

[PATCH v4 1/4] i8042: Add i8042_of.h header

2015-07-05 Thread Roman Volkov
the 'compatible' property in the device tree, required by the newer standards. A workaround would be to manually insert these properties by the platform code. Signed-off-by: Roman Volkov rvol...@v1ros.org Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/input/serio/i8042-of.h | 168

[PATCH v4 3/4] i8042: Add OF/FDT support to the driver

2015-07-05 Thread Roman Volkov
probe/remove functions. Signed-off-by: Roman Volkov rvol...@v1ros.org --- drivers/input/serio/i8042.c | 43 ++- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index cb5ece7..ec58af1

[PATCH v4 4/4] Documentation: Add 'intel,8042' FDT bindings

2015-07-05 Thread Roman Volkov
Add a documentation file for the new OF/FDT binding for the i8042 interface. Signed-off-by: Roman Volkov rvol...@v1ros.org --- .../devicetree/bindings/serio/intel,8042.txt | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v4 0/4] FDT support for i8042 driver

2015-07-05 Thread Roman Volkov
, it is not possible to avoid these changes. -Move the documentation file into the right place (thanks to Hans de Goede for the hint) -Change the order of patches Tested on: x86, ARM-vt8500, both as a module\built-in. Roman Volkov (4): i8042: Add i8042_of.h header i8042: Kernel configuration

Re: [PATCH v3 5/5] i8042: Add i8042_dt.h glue for DT support

2015-06-13 Thread Roman Volkov
Something prevents me from following the thread, replying to myself. В Sat, 14 Mar 2015 20:20:38 -0700 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Roman, On Mon, Feb 16, 2015 at 12:11:43AM +0300, Roman Volkov wrote: Documentation for 'intel,8042' DT compatible node

Re:

2015-05-31 Thread Roman Volkov
В Sat, 14 Mar 2015 20:20:38 -0700 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Roman, On Mon, Feb 16, 2015 at 12:11:43AM +0300, Roman Volkov wrote: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov

Re: [PATCH v3 1/5] i8042: intel-8042 DT documentation

2015-05-31 Thread Roman Volkov
В Sat, 14 Mar 2015 20:20:38 -0700 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Roman, On Mon, Feb 16, 2015 at 12:11:43AM +0300, Roman Volkov wrote: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-04-04 Thread Roman Volkov
В Sun, 1 Mar 2015 23:39:11 +0300 Roman Volkov rvol...@v1ros.org пишет: В Sun, 01 Mar 2015 20:52:55 +0100 Arnd Bergmann a...@arndb.de пишет: On Sunday 01 March 2015 19:06:45 Roman Volkov wrote: This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505

Re: [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-03-01 Thread Roman Volkov
В Sun, 01 Mar 2015 20:59:13 +0300 Sergei Shtylyov sergei.shtyl...@cogentembedded.com пишет: On 3/1/2015 7:06 PM, Roman Volkov wrote: Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver is already in the kernel, this node enables the controller support for WM8650

[PATCH v3 2/2] dts: vt8500: Fix errors in SDHC node for WM8505

2015-03-01 Thread Roman Volkov
According to datasheet, the registers space of SDHC controller is 1Kb, not '0x1000', the correct value should be '0x400'. Bracket interrupt numbers individually per recommendations. Signed-off-by: Roman Volkov rvol...@v1ros.org --- arch/arm/boot/dts/wm8505.dtsi | 4 ++-- 1 file changed, 2

[PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-03-01 Thread Roman Volkov
This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505 Device Tree file. Changes in v3: 1. Add minor fixes for WM8505 SDHC node Tested on both WM8505 and WM8650. Roman Volkov (2): dts: vt8500: Add SDHC node to DTS file for WM8650 dts: vt8500: Fix errors

[PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-03-01 Thread Roman Volkov
Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver is already in the kernel, this node enables the controller support for WM8650 Signed-off-by: Roman Volkov rvol...@v1ros.org Reviewed-by: Alexey Charkov alch...@gmail.com --- arch/arm/boot/dts/wm8650.dtsi | 9 + 1

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-03-01 Thread Roman Volkov
В Sun, 01 Mar 2015 20:52:55 +0100 Arnd Bergmann a...@arndb.de пишет: On Sunday 01 March 2015 19:06:45 Roman Volkov wrote: This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505 Device Tree file. Changes in v3: 1. Add minor fixes for WM8505 SDHC node

[PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-03-01 Thread Roman Volkov
This patch set enables SD controller support for WM8650 and fixes minor errors in WM8505 Device Tree file. Changes in v3: 1. Add minor fixes for WM8505 SDHC node Tested on both WM8505 and WM8650. Roman Volkov (2): dts: vt8500: Add SDHC node to DTS file for WM8650 dts: vt8500: Fix errors

[PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505

2015-03-01 Thread Roman Volkov
According to datasheet, the registers space of SDHC controller is 1Kb, not '0x1000', the correct value should be '0x400'. Bracket interrupt numbers individually per recommendations. Signed-off-by: Roman Volkov rvol...@v1ros.org --- arch/arm/boot/dts/wm8505.dtsi | 4 ++-- 1 file changed, 2

[PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-03-01 Thread Roman Volkov
Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver is already in the kernel, this node enables the controller support for WM8650 Signed-off-by: Roman Volkov rvol...@v1ros.org Reviewed-by: Alexey Charkov alch...@gmail.com --- arch/arm/boot/dts/wm8650.dtsi | 9 + 1

[PATCH v3 0/5] Device Tree support for i8042 driver

2015-02-15 Thread Roman Volkov
controversial and needs more testing since affects all architectures which use the driver. Please give information regarding required steps to get this patch accepted. Would be great to find testers to get additional tested-by records. Roman Volkov (5): i8042: intel-8042 DT documentation i8042

[PATCH v3 2/5] i8042: Kernel configuration handling for DT support

2015-02-15 Thread Roman Volkov
i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions

[PATCH v3 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-15 Thread Roman Volkov
This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other information should be retrieved from the device tree. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org

[PATCH v3 3/5] i8042: Add OF match table

2015-02-15 Thread Roman Volkov
The OF device table allows the platform_driver_probe() function to automatically match device and parse the DT node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH v3 1/5] i8042: intel-8042 DT documentation

2015-02-15 Thread Roman Volkov
Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation

[PATCH v3 4/5] i8042: Prepare i8042 driver for DT support

2015-02-15 Thread Roman Volkov
not create a device. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 46 - 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 2f09062..96b62fd 100644

[PATCH v2 2/5] i8042: Kernel configuration handling for DT support

2015-02-13 Thread Roman Volkov
i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions

[PATCH v2 1/5] i8042: intel-8042 DT documentation

2015-02-13 Thread Roman Volkov
Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation

[PATCH v2 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-13 Thread Roman Volkov
This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other information should be retrieved from the device tree. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org

[PATCH v2 4/5] i8042: Prepare i8042 driver for DT support

2015-02-13 Thread Roman Volkov
. To avoid searching of the compatible node twice, the platform_device structure pointer must be passed to the i8042_platform_init() function right after initialization by platform_device_probe(). Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org

[PATCH v2 3/5] i8042: Add OF match table

2015-02-13 Thread Roman Volkov
The OF device table allows the platform_driver_probe() function to automatically match device and parse the DT node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH v2 0/5] Device Tree support for i8042 driver

2015-02-13 Thread Roman Volkov
in the documentation. Errors fixed in the initialization funtion. Redundant parameters removed from Device Tree bindings (init-reset, etc.). Roman Volkov (5): i8042: intel-8042 DT documentation i8042: Kernel configuration handling for DT support i8042: Add OF match table i8042: Prepare i8042 driver

Re: [PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-10 Thread Roman Volkov
В Tue, 3 Feb 2015 11:32:02 -0800 Dmitry Torokhov dmitry.torok...@gmail.com пишет: On Tue, Feb 03, 2015 at 11:38:16AM +, Mark Rutland wrote: On Mon, Feb 02, 2015 at 09:48:46PM +, Roman Volkov wrote: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk

[PATCH] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-02-05 Thread Roman Volkov
There is no DT node for SDHC controller for WM8650, while the driver already exists. Add missing node to make the controller working by default. Signed-off-by: Roman Volkov v1...@v1ros.org Reviewed-by: Alexey Charkov alch...@gmail.com --- arch/arm/boot/dts/wm8650.dtsi | 9 + 1 file

[PATCH v2 RESEND] dts: vt8500: Add SDHC node to DTS file for WM8650

2015-02-05 Thread Roman Volkov
There is no DT node for SDHC controller for WM8650, while the driver already exists. Add missing node to make the controller working by default. Signed-off-by: Roman Volkov v1...@v1ros.org Reviewed-by: Alexey Charkov alch...@gmail.com --- arch/arm/boot/dts/wm8650.dtsi | 9 + 1 file

Re: [PATCH 4/5] i8042: Prepare i8042 driver for DT support

2015-02-04 Thread Roman Volkov
В Tue, 3 Feb 2015 11:38:35 -0800 Dmitry Torokhov dmitry.torok...@gmail.com пишет: On Tue, Feb 03, 2015 at 12:48:49AM +0300, Roman Volkov wrote: Use platform_device_probe() instead of platform_create_bundle() when compiled with DT support, since the latter function is not suitable

Re: [PATCH 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-03 Thread Roman Volkov
В Tue, 3 Feb 2015 11:52:50 + Mark Rutland mark.rutl...@arm.com пишет: On Mon, Feb 02, 2015 at 09:48:50PM +, Roman Volkov wrote: This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other

[PATCH 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-02 Thread Roman Volkov
This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other information should be retrieved from the device tree. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org

[PATCH 2/5] i8042: Kernel configuration handling for DT support

2015-02-02 Thread Roman Volkov
i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions

[PATCH 4/5] i8042: Prepare i8042 driver for DT support

2015-02-02 Thread Roman Volkov
. To avoid searching of the compatible node twice, the platform_device structure pointer must be passed to the i8042_platform_init() function right after initialization by platform_device_probe(). Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- Yes, many

[PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation

[PATCH 3/5] i8042: Add OF match table

2015-02-02 Thread Roman Volkov
The OF device table allows the platform_driver_probe() function to automatically match device and parse the DT node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 10 ++ 1 file changed, 10 insertions(+) diff

Re: [PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
В Tue, 3 Feb 2015 00:48:46 +0300 Roman Volkov v1...@v1ros.org пишет: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29