[PATCH v2 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-07-25 Thread Aleksei Mamlin
This patch add support for Domintech DMARD05, DMARD06 and DMARD07 accelerometers. Signed-off-by: Aleksei Mamlin --- .../devicetree/bindings/iio/accel/dmard06.txt | 19 ++ drivers/iio/accel/Kconfig | 11 + drivers/iio/accel/Makefile | 1

[PATCH v2 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-07-25 Thread Aleksei Mamlin
Add vendor-prefix for Domintech Co., Ltd. Signed-off-by: Aleksei Mamlin Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v2 0/2] Add driver for Domintech DMARD06 accelerometer

2016-07-25 Thread Aleksei Mamlin
emove dmard06_read_chip_id function, check chip id directly on probe - Use sign_extend32 in dmard06_read_raw function - Replace error variable with ret - Remove unnecessary messages - Fix typo in documentation bindings - Add support for DMARD05 and DMARD07 chips - Add PM ops Aleksei Mamlin (2): devic

Re: [PATCH 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-07-25 Thread Aleksei Mamlin
tri-axial digital accelerometer for > >> cost-sensitive consumer application. > >> > >> Signed-off-by: Aleksei Mamlin > I don't have anything to add here. Nice fairly clean first version. Jonathan, I found that dmard05, dmard06 and dmard07 chips are very similar and hav

Re: [PATCH 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-07-23 Thread Aleksei Mamlin
cation. > > > > Signed-off-by: Aleksei Mamlin > > --- > > .../devicetree/bindings/iio/accel/dmard06.txt | 17 ++ > > drivers/iio/accel/Kconfig | 11 ++ > > drivers/iio/accel/Makefile |

[PATCH 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-07-21 Thread Aleksei Mamlin
This patch add support for Domintech DMARD06 accelerometer. Domintech DMARD06 is a low-g tri-axial digital accelerometer for cost-sensitive consumer application. Signed-off-by: Aleksei Mamlin --- .../devicetree/bindings/iio/accel/dmard06.txt | 17 ++ drivers/iio/accel/Kconfig

[PATCH 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-07-21 Thread Aleksei Mamlin
Add vendor-prefix for Domintech Co., Ltd. Signed-off-by: Aleksei Mamlin --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 0/2] Add driver for Domintech DMARD06 accelerometer

2016-07-21 Thread Aleksei Mamlin
This patch series adds driver for Domintech DMARD06 low-g tri-axial digital accelerometer and vendor prefix for Domintech Co., Ltd. Changes since v1: - Rewrite driver to iio subsystem Aleksei Mamlin (2): devicetree: bindings: Add vendor prefix for Domintech Co., Ltd. iio: accel: Add support

Re: [PATCH 2/2] input: misc: Add support for Domintech DMARD06 accelerometer

2016-07-20 Thread Aleksei Mamlin
On Thu, 21 Jul 2016 07:13:05 +0100 Jonathan Cameron wrote: > On 20/07/16 01:02, Dmitry Torokhov wrote: > > On Mon, Jul 18, 2016 at 03:48:12PM +0300, Aleksei Mamlin wrote: > >> This patch add support for Domintech DMARD06 accelerometer. > >> > >> Domintech

[PATCH 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-07-18 Thread Aleksei Mamlin
Add vendor-prefix for Domintech Co., Ltd. Signed-off-by: Aleksei Mamlin --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 0/2] Add driver for Domintech DMARD06 accelerometer

2016-07-18 Thread Aleksei Mamlin
This patch series adds driver for Domintech DMARD06 Low-G Tri-Axial digital accelerometer and vendor prefix for Domintech Co., Ltd. Aleksei Mamlin (2): devicetree: bindings: Add vendor prefix for Domintech Co., Ltd. input: misc: Add support for Domintech DMARD06 accelerometer .../devicetree

[PATCH 2/2] input: misc: Add support for Domintech DMARD06 accelerometer

2016-07-18 Thread Aleksei Mamlin
This patch add support for Domintech DMARD06 accelerometer. Domintech DMARD06 is a low-g tri-axial digital accelerometer with special power saving modes suitable for consumer mobile application. Signed-off-by: Aleksei Mamlin --- .../devicetree/bindings/input/dmard06.txt | 24

Re: [PATCH v2 4/4] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-14 Thread Aleksei Mamlin
On Tue, 14 Jun 2016 15:57:16 +0200 Maxime Ripard wrote: > On Tue, Jun 14, 2016 at 04:19:08PM +0300, Aleksei Mamlin wrote: > > On Tue, 14 Jun 2016 21:11:12 +0800 > > kbuild test robot wrote: > > > > > Hi, > > > > > > [auto build test ERROR o

Re: [PATCH v2 4/4] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-14 Thread Aleksei Mamlin
a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Aleksei-Mamlin/dts-sunxi-Add-sunxi-NAND-Flash-Controller-support/20160614-192539 > base: https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux.git > sunxi/for-next > config: a

[PATCH v2 2/4] ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC

2016-06-14 Thread Aleksei Mamlin
From: Boris Brezillon Add NAND Flash controller node definition to the A10 SoC. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm

[PATCH v2 0/4] dts: sunxi: Add sunxi NAND Flash Controller support

2016-06-14 Thread Aleksei Mamlin
Hello, This series adds the sunxi NAND Flash Controller pin definitions and nodes to dts. Changes since v1: - Remove patch with Hynix H27UBG8T2BTR-BC MLC NAND chip definition. - Remove patches with NAND support on Marsboard A10 board and Wexler TAB7200. - Enable only the pin groups that are actua

[PATCH v2 4/4] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-14 Thread Aleksei Mamlin
From: Boris Brezillon Add NAND Flash controller node definition to the A20 SoC. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm

[PATCH v2 1/4] ARM: dts: sun4i: Add A10 NAND controller pin definitions

2016-06-14 Thread Aleksei Mamlin
From: Boris Brezillon Define the NAND controller pin configs. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b

[PATCH v2 3/4] ARM: dts: sun7i: Add A20 NAND controller pin definitions

2016-06-14 Thread Aleksei Mamlin
From: Boris Brezillon Define the NAND controller pin configs. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b

[PATCH 2/2] ARM: dts: sun7i: Re-order pinctrl nodes alphabetically

2016-06-10 Thread Aleksei Mamlin
No functional change. Re-order sun7i pinctrl nodes alphabetically. Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20.dtsi | 284 +++ 1 file changed, 142 insertions(+), 142 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot

[PATCH 1/2] ARM: dts: sun4i: Re-order pinctrl nodes alphabetically

2016-06-10 Thread Aleksei Mamlin
No functional change. Re-order sun4i pinctrl nodes alphabetically. Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10.dtsi | 114 +++ 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot

[PATCH 0/2] ARM: dts: sunxi: Re-order sun4i and sun7i pinctrl nodes alphabetically

2016-06-10 Thread Aleksei Mamlin
Hello, This patchset have no functional changes, only sorting sun4i and sun7i pinctrl nodes in alphabetical order. Aleksei Mamlin (2): ARM: dts: sun4i: Re-order pinctrl nodes alphabetically ARM: dts: sun7i: Re-order pinctrl nodes alphabetically arch/arm/boot/dts/sun4i-a10.dtsi | 114

Re: [PATCH 7/7] ARM: dts: sun7i: Enable NAND on Wexler TAB7200

2016-06-09 Thread Aleksei Mamlin
On Thu, 9 Jun 2016 00:03:14 +0200 Maxime Ripard wrote: > Hi, > > On Mon, Jun 06, 2016 at 01:24:24PM +0300, Aleksei Mamlin wrote: > > Enable the NFC and describe the NAND flash connected to this controller. > > > > Signed-off-by: Aleksei Mamlin > > --- > &

Re: [PATCH 4/7] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-07 Thread Aleksei Mamlin
On Mon, 6 Jun 2016 13:24:21 +0300 Aleksei Mamlin wrote: > From: Boris Brezillon > > Add NAND Flash controller node definition to the A20 SoC. > > Signed-off-by: Boris Brezillon > Signed-off-by: Aleksei Mamlin > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 11 +

Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table

2016-06-06 Thread Aleksei Mamlin
On Mon, 6 Jun 2016 22:31:38 +0200 Boris Brezillon wrote: > On Mon, 6 Jun 2016 22:59:03 +0300 > Aleksei Mamlin wrote: > > > On Mon, 6 Jun 2016 20:55:49 +0200 > > Boris Brezillon wrote: > > > > > On Mon, 6 Jun 2016 13:24:22 +0300 > > > Aleksei

Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table

2016-06-06 Thread Aleksei Mamlin
On Mon, 6 Jun 2016 20:55:49 +0200 Boris Brezillon wrote: > On Mon, 6 Jun 2016 13:24:22 +0300 > Aleksei Mamlin wrote: > > > Add the full description of the Hynix H27UBG8T2BTR-BC NAND chip in the > > nand_ids table so that we can later use the NAND ECC infos and ONF

[PATCH 1/7] ARM: dts: sun4i: Add A10 NAND controller pin definitions

2016-06-06 Thread Aleksei Mamlin
From: Boris Brezillon Define the NAND controller pin configs. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10.dtsi | 80 1 file changed, 80 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b

[PATCH 4/7] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-06 Thread Aleksei Mamlin
From: Boris Brezillon Add NAND Flash controller node definition to the A20 SoC. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot

[PATCH 3/7] ARM: dts: sun7i: Add A20 NAND controller pin definitions

2016-06-06 Thread Aleksei Mamlin
From: Boris Brezillon Define the NAND controller pin configs. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20.dtsi | 80 1 file changed, 80 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b

[PATCH 0/7] dts: sunxi: Add sunxi NAND Flash Controller support

2016-06-06 Thread Aleksei Mamlin
Hello, This series adds the sunxi NAND Flash Controller nodes to dts. The first 4 patches is Boris Brezillon's patches with dtsi changes. The second 1 patch adds Hynix H27UBG8T2BTR-BC NAND chip definition. The last 2 patches enables NAND on Marsboard A10 board and Wexler TAB7200 tablet. Al

[PATCH 2/7] ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC

2016-06-06 Thread Aleksei Mamlin
From: Boris Brezillon Add NAND Flash controller node definition to the A10 SoC. Signed-off-by: Boris Brezillon Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot

[PATCH 6/7] ARM: dts: sun4i: Enable NAND on Marsboard A10

2016-06-06 Thread Aleksei Mamlin
Enable the NFC and describe the NAND flash connected to this controller. Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun4i-a10-marsboard.dts | 41 +++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-marsboard.dts b/arch/arm/boot

[PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table

2016-06-06 Thread Aleksei Mamlin
Add the full description of the Hynix H27UBG8T2BTR-BC NAND chip in the nand_ids table so that we can later use the NAND ECC infos and ONFI timings mode in controller drivers. Signed-off-by: Aleksei Mamlin --- drivers/mtd/nand/nand_ids.c | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH 7/7] ARM: dts: sun7i: Enable NAND on Wexler TAB7200

2016-06-06 Thread Aleksei Mamlin
Enable the NFC and describe the NAND flash connected to this controller. Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts b/arch/arm

Re: [PATCH v11 3/8] Input: goodix - write configuration data to device

2015-12-08 Thread Aleksei Mamlin
is based on Goodix datasheets for GT911 and GT9271 and on Goodix > driver gt9xx.c for Android (publicly available in Android kernel > trees for various devices). > > Signed-off-by: Octavian Purdila > Signed-off-by: Irina Tirdea Tested-by: Aleksei Mamlin > --- > drivers

Re: [PATCH v11 2/8] Input: goodix - reset device at init

2015-12-08 Thread Aleksei Mamlin
() > { > ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > Package () > { > Package (2) {"irq-gpios", Package() {^STAC, 0, 0, 0 }}, > Package (2) {"reset-gpios", Package() {^STAC, 1, 0, 0 }}, > ... > } >

Re: [PATCH RFC V3 0/3] Input: goodix - add axis swapping and axis inversion support

2015-10-21 Thread Aleksei Mamlin
en" > Input: goodix - update dt bindings documentation (axis > swapping/inversion) > > .../bindings/input/touchscreen/goodix.txt | 6 + > drivers/input/touchscreen/goodix.c | 31 > ++ > 2 files changed, 32 insertion

Re: [PATCH v8 0/9] Goodix touchscreen enhancements

2015-10-09 Thread Aleksei Mamlin
is patchset on ARM tablet Wexler TAB7200 with GT911 touchscreen controller. All works fine, so you can add Tested-by: Aleksei Mamlin > > Thanks, > Irina > > Changes in v8: > - only allow new functionality for devices that declare named > gpios (using _DSD properties in AC

Re: [PATCH v6 3/9] Input: goodix - reset device at init

2015-09-21 Thread Aleksei Mamlin
pending > on these pins will not be available, but the device can still be used > with basic functionality. > I tested this patch on ARM tablet Wexler TAB7200 with GT911 touchscreen controller. All works fine. Tested-by: Aleksei Mamlin > > Signed-off-by: Octavian Purdila

Re: [PATCH v5 3/9] Input: goodix - reset device at init

2015-09-15 Thread Aleksei Mamlin
error = goodix_get_gpio_config(ts, id); > + if (error) > + return error; > + > + if (ts->gpiod_int && ts->gpiod_rst) { > + /* reset the controller */ > + error = goodix_reset(ts); > + if (error) { > + dev_err(&client->dev, "Controller reset failed.\n"); > + return error; > + } > + } > + On devices with devicetree, such as ARM tablets, we can set I2C address via DT, so driver should reset controller and set right address. If we don't do this we get "I2C communication failure: -6". Also, most of touchscreen drivers tries to reset controllers before start communicating, so we need do the same. > goodix_read_config(ts); > > error = goodix_request_input_dev(ts, version_info, id_info); > -- > 1.9.1 > -- Thanks and regards, Aleksei Mamlin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for HP 250GB SATA disk VB0250EAVER

2015-07-01 Thread Aleksei Mamlin
Enabling AA on HP 250GB SATA disk VB0250EAVER causes errors: [3.788362] ata3.00: failed to enable AA (error_mask=0x1) [3.789243] ata3.00: failed to enable AA (error_mask=0x1) Add the ATA_HORKAGE_BROKEN_FPDMA_AA for this specific harddisk. Signed-off-by: Aleksei Mamlin --- drivers/ata