[PATCH v4 0/2] Use NVMEM as reboot-mode write interface

2019-05-15 Thread Han Nandor
Description --- Extend the reboot mode driver to use a NVMEM cell as writing interface. Testing --- The testing is done by configuring DT from a custom board. The NVMEM cell is configured in an RTC non-volatile memory. Kernel: 4.14.60 (the patchset was rebased on kernel master) DT

[PATCH v4 2/2] dt-bindings: power: reset: add document for NVMEM based reboot-mode

2019-05-15 Thread Han Nandor
Add the device tree bindings document for the NVMEM based reboot-mode driver. Signed-off-by: Nandor Han --- .../power/reset/nvmem-reboot-mode.txt | 26 +++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v4 1/2] power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface

2019-05-15 Thread Han Nandor
Add a new reboot mode write interface that is using an NVMEM cell to store the reboot mode magic. Signed-off-by: Nandor Han --- drivers/power/reset/Kconfig | 9 +++ drivers/power/reset/Makefile| 1 + drivers/power/reset/nvmem-reboot-mode.c | 76

[PATCH v3 2/2] dt-bindings: power: reset: add document for NVMEM based reboot-mode

2019-04-21 Thread Han Nandor
Add the device tree bindings document for the NVMEM based reboot-mode driver. Signed-off-by: Nandor Han --- .../power/reset/nvmem-reboot-mode.txt | 32 +++ 1 file changed, 32 insertions(+) create mode 100644

[PATCH v3 0/2] Use NVMEM as reboot-mode write interface

2019-04-21 Thread Han Nandor
Description --- Extend the reboot mode driver to use a NVMEM cell as writing interface. Testing --- The testing is done by configuring DT from a custom board. The NVMEM cell is configured in an RTC non-volatile memory. Kernel: 4.14.60 (the patchset was rebased on kernel master) DT

[PATCH v3 1/2] power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface

2019-04-21 Thread Han Nandor
Add a new reboot mode write interface that is using an NVMEM cell to store the reboot mode magic. Signed-off-by: Nandor Han --- drivers/power/reset/Kconfig | 9 +++ drivers/power/reset/Makefile| 1 + drivers/power/reset/nvmem-reboot-mode.c | 76

[PATCH v3 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-16 Thread Han Nandor
DS3232 RTC has 236 bytes of persistent memory. Add RTC SRAM read and write access using the NVMEM Framework. Signed-off-by: Nandor Han --- Description --- Provides DS3232 RTC SRAM access using NVMEM framework. Testing --- The test was done on a custom board which contains a DS3232

[PATCH v2 2/2] dt-bindings: power: reset: add document for NVMEM based reboot-mode

2019-04-10 Thread Han Nandor
Add the device tree bindings document for the NVMEM based reboot-mode driver. Signed-off-by: Nandor Han --- .../power/reset/nvmem-reboot-mode.txt | 32 +++ 1 file changed, 32 insertions(+) create mode 100644

[PATCH v2 1/2] power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface

2019-04-10 Thread Han Nandor
Add a new reboot mode write interface that is using an NVMEM cell to store the reboot mode magic. Signed-off-by: Nandor Han --- drivers/power/reset/Kconfig | 9 +++ drivers/power/reset/Makefile| 1 + drivers/power/reset/nvmem-reboot-mode.c | 76

[PATCH v2 0/2] Use NVMEM as reboot-mode write interface

2019-04-10 Thread Han Nandor
Description --- Extend the reboot mode driver to use a NVMEM cell as writing interface. Testing --- The testing is done by configuring DT from a custom board. The NVMEM cell is configured in an RTC non-volatile memory. Kernel: 4.14.60 (the patchset was rebased on kernel master) DT

[PATCH v2 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-08 Thread Han Nandor
DS3232 RTC has 236 bytes of persistent memory. Add RTC SRAM read and write access using the NVMEM Framework. Signed-off-by: Nandor Han --- Description --- Provides DS3232 RTC SRAM access using NVMEM framework. Testing --- The test was done on a custom board which contains a DS3232

[PATCH 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-05 Thread Han Nandor
DS3232 RTC has 236 bytes of persistent memory. Add RTC SRAM read and write access using the NVMEM Framework. Signed-off-by: Nandor Han --- Description --- Provides DS3232 RTC SRAM access using NVMEM framework. Testing --- The test was done on a custom board which contains a DS3232

[PATCH 1/1] power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface

2019-04-05 Thread Han Nandor
Add a new reboot mode write interface that is using a NVMEM cell, called "reboot-mode", to store the reboot mode magic. Signed-off-by: Nandor Han --- Description --- Extend the reboot mode driver to use a NVMEM cell as writing interface. Testing --- The testing is done by

[RFC PATCH 1/1] regmap: verify if register is writeable before writing operations

2019-04-02 Thread Han Nandor
regmap provides a couple of ways to validate the register range used. a) maxim allowed register, b) writable/readable register tables, c) callback function that can be provided by the driver to validate a register. regmap framework should verify if registers are writeable before every write

[RFC PATCH 0/1] Verify if register is writeable before a write operation

2019-04-02 Thread Han Nandor
Description --- This is an RFC because I don't know if this is a bug or a normal use case. It seems that the function `_regmap_raw_write_impl` from the regmap framework verifies that a register is writable only using the callback function, ignoring the other two (max allowed register,

RE: [PATCH] gpio: xra1403: select REGMAP_SPI

2017-05-30 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 30 May 2017 14:13 > To: Linus Walleij <linus.wall...@linaro.org> > Cc: Han, Nandor (GE Healthcare) <nandor@ge.com>; Arnd Bergmann > <a...@arndb.de>; linux-g...@vger.kernel

RE: [PATCH] gpio: xra1403: select REGMAP_SPI

2017-05-30 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 30 May 2017 14:13 > To: Linus Walleij > Cc: Han, Nandor (GE Healthcare) ; Arnd Bergmann > ; linux-g...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: EXT: [PATCH] gpio: xr

[PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-24 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 24 April 2017 16:47 > To: Han, Nandor (GE Healthcare) <nandor@ge.com> > Cc: Greg KH <gre...@linuxfoundation.org>; David S. Miller > <da...@davemloft.net>; Geert U

[PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-24 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 24 April 2017 16:47 > To: Han, Nandor (GE Healthcare) > Cc: Greg KH ; David S. Miller > ; Geert Uytterhoeven m68k.org>; Mauro Carvalho Chehab ; Daniel Vetter > ; Alexandre

[PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-08 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 07 April 2017 13:07 > To: Han, Nandor (GE Healthcare) <nandor@ge.com> > Cc: Alexandre Courbot <gnu...@gmail.com>; Rob Herring <robh...@kernel.org>; > Mark Rutla

[PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-08 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 07 April 2017 13:07 > To: Han, Nandor (GE Healthcare) > Cc: Alexandre Courbot ; Rob Herring ; > Mark Rutland > ; linux-g...@vger.kernel.org; > devicet...@vger.kernel.org; linu

[PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-05 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 29 March 2017 05:07 > To: Han, Nandor (GE Healthcare) <nandor@ge.com> > Cc: Alexandre Courbot <gnu...@gmail.com>; Rob Herring <robh...@kernel.org>; > Mark Rutla

[PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-04-05 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 29 March 2017 05:07 > To: Han, Nandor (GE Healthcare) > Cc: Alexandre Courbot ; Rob Herring ; > Mark Rutland > ; linux-g...@vger.kernel.org; > devicet...@vger.kernel.org; linu

[PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver

2017-04-05 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 29 March 2017 04:51 > To: Han, Nandor (GE Healthcare) <nandor@ge.com> > Cc: Alexandre Courbot <gnu...@gmail.com>; Rob Herring <robh...@kernel.org>; > Mark Rutla

[PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver

2017-04-05 Thread Han, Nandor (GE Healthcare)
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 29 March 2017 04:51 > To: Han, Nandor (GE Healthcare) > Cc: Alexandre Courbot ; Rob Herring ; > Mark Rutland > ; linux-g...@vger.kernel.org; > devicet...@vger.kernel.org; linu

Re: EXT: pre 4.9-rc dma regression, imx6 sound etc

2016-10-13 Thread Han, Nandor (GE Healthcare)
On 12/10/2016 16:25, Mika Penttilä wrote: Hi! Bisected that commit 5881826 - "dmaengine: imx-sdma - update the residue calculation for cyclic channels" is first bad commit to cause audio regression on imx6q, sgtl5000 codec. It causes audible disturbing background noise when playing

Re: EXT: pre 4.9-rc dma regression, imx6 sound etc

2016-10-13 Thread Han, Nandor (GE Healthcare)
On 12/10/2016 16:25, Mika Penttilä wrote: Hi! Bisected that commit 5881826 - "dmaengine: imx-sdma - update the residue calculation for cyclic channels" is first bad commit to cause audio regression on imx6q, sgtl5000 codec. It causes audible disturbing background noise when playing