[PATCH v6 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2017-12-05 Thread Oleksij Rempel
40 mA Signed-off-by: Oleksij Rempel --- drivers/regulator/pfuze100-regulator.c | 92 ++ 1 file changed, 92 insertions(+) diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c index 63922a2167e5..f6c276ed91d8 100644 ---

[PATCH v6 4/6] regulator: pfuze100: add fsl,pmic-stby-poweroff property

2017-12-05 Thread Oleksij Rempel
Document the new optional "fsl,pmic-stby-poweroff" property. Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/pfuze

[PATCH v6 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2017-12-05 Thread Oleksij Rempel
off modes. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- arch/arm/boot/dts/imx6dl-riotboard.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 275c6c05219d..574f6b261ecd 100644 --- a/a

[PATCH v6 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2017-12-05 Thread Oleksij Rempel
off modes. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-riotboard.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 275c6c05219d..574f6b261ecd 100644 --- a/arch/arm/boot/dts/imx6dl-riotboard

[PATCH v6 4/6] regulator: pfuze100: add fsl,pmic-stby-poweroff property

2017-10-27 Thread Oleksij Rempel
Document the new optional "fsl,pmic-stby-poweroff" property. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH v6 4/6] regulator: pfuze100: add fsl,pmic-stby-poweroff property

2017-10-27 Thread Oleksij Rempel
Document the new optional "fsl,pmic-stby-poweroff" property. Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/pfuze

[PATCH RESEND v6 0/6] provide power off support for iMX6 with external PMIC

2017-10-27 Thread Oleksij Rempel
patch v4: - update comment in "regulator: pfuze100: add fsl,pmic-stby-poweroff ..." patch - add Acked-by to "ARM: imx6q: provide documentation for new ..." patch v3: - set pm_power_off_prepare = NULL on .remove. - documentation and spelling fixes. - use %pf instead o

[PATCH RESEND v6 0/6] provide power off support for iMX6 with external PMIC

2017-10-27 Thread Oleksij Rempel
patch v4: - update comment in "regulator: pfuze100: add fsl,pmic-stby-poweroff ..." patch - add Acked-by to "ARM: imx6q: provide documentation for new ..." patch v3: - set pm_power_off_prepare = NULL on .remove. - documentation and spelling fixes. - use %pf instead o

[PATCH v6 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2017-10-27 Thread Oleksij Rempel
40 mA Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/regulator/pfuze100-regulator.c | 92 ++ 1 file changed, 92 insertions(+) diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c index 63922a2167

[PATCH v6 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2017-10-27 Thread Oleksij Rempel
40 mA Signed-off-by: Oleksij Rempel --- drivers/regulator/pfuze100-regulator.c | 92 ++ 1 file changed, 92 insertions(+) diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c index 63922a2167e5..f6c276ed91d8 100644 ---

[PATCH v6 3/6] kernel/reboot.c: export pm_power_off_prepare

2017-10-27 Thread Oleksij Rempel
Export pm_power_off_prepare. It is needed to implement power off on Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH v6 3/6] kernel/reboot.c: export pm_power_off_prepare

2017-10-27 Thread Oleksij Rempel
Export pm_power_off_prepare. It is needed to implement power off on Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). Signed-off-by: Oleksij Rempel --- kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/reboot.c b/kernel/reboot.c

[PATCH v6 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

2017-10-27 Thread Oleksij Rempel
-manuals/IMX6DQRM.pdf page 5083 This patch implements step 4. of this sequence. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- arch/arm/mach-imx/pm-imx6.c | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/p

[PATCH v6 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

2017-10-27 Thread Oleksij Rempel
-manuals/IMX6DQRM.pdf page 5083 This patch implements step 4. of this sequence. Signed-off-by: Oleksij Rempel --- arch/arm/mach-imx/pm-imx6.c | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index ecdf071653d4

[PATCH v6 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2017-10-27 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/clock/imx6q-clock.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/D

[PATCH v6 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2017-10-27 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/imx6q-clock.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index

[PATCH v6 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2017-10-27 Thread Oleksij Rempel
off modes. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- arch/arm/boot/dts/imx6dl-riotboard.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 275c6c05219d..574f6b261ecd 100644 --- a/a

[PATCH v6 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2017-10-27 Thread Oleksij Rempel
off modes. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-riotboard.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 275c6c05219d..574f6b261ecd 100644 --- a/arch/arm/boot/dts/imx6dl-riotboard

[PATCH v4 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-26 Thread Oleksij Rempel
is that the kref_get() in watchdog_open() won't be executed. But then kref_put() in close will be called since the watchdog now does stop. This causes the imbalance. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Cc: Wim Van Sebroeck <w...@iguana.be> Cc: Guenter Roeck <li...@r

[PATCH v4 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-26 Thread Oleksij Rempel
is that the kref_get() in watchdog_open() won't be executed. But then kref_put() in close will be called since the watchdog now does stop. This causes the imbalance. Signed-off-by: Oleksij Rempel Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.kernel.org --- changes v4: - remove

[PATCH v4 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-26 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Cc: Dinh Nguyen <dingu...@opensource.altera.com> Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/b

[PATCH v4 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-26 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts

Re: [PATCH 1/2] watchdog: Fix potential kref imbalance when opening watchdog

2017-09-25 Thread Oleksij Rempel
On 25.09.2017 18:17, Guenter Roeck wrote: If a watchdog driver's open function sets WDOG_HW_RUNNING with the expectation that the watchdog can not be stopped, but then stops the watchdog anyway in its stop function, kref_get() wil not be called in watchdog_open(). If the watchdog then stops on

Re: [PATCH 1/2] watchdog: Fix potential kref imbalance when opening watchdog

2017-09-25 Thread Oleksij Rempel
On 25.09.2017 18:17, Guenter Roeck wrote: If a watchdog driver's open function sets WDOG_HW_RUNNING with the expectation that the watchdog can not be stopped, but then stops the watchdog anyway in its stop function, kref_get() wil not be called in watchdog_open(). If the watchdog then stops on

Re: [PATCH v3 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-25 Thread Oleksij Rempel
Hi, On 25.09.2017 18:16, Guenter Roeck wrote: On Mon, Sep 25, 2017 at 07:25:30AM +0200, Oleksij Rempel wrote: From: Steffen Trumtrar <s.trumt...@pengutronix.de> The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a rese

Re: [PATCH v3 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-25 Thread Oleksij Rempel
Hi, On 25.09.2017 18:16, Guenter Roeck wrote: On Mon, Sep 25, 2017 at 07:25:30AM +0200, Oleksij Rempel wrote: From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off

[PATCH v3 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Cc: Dinh Nguyen <dingu...@opensource.altera.com> Cc: linux-arm-ker...@lists.infradead.org --- no changes

[PATCH v3 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij R

[PATCH v3 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- no changes since version v1 arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi

[PATCH v3 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-21 Thread Oleksij Rempel
Hi, On 21.09.2017 07:26, Masahiro Yamada wrote: Hi. .. Hm.. according to https://www.altera.com/en_US/pdfs/literature/hb/cyclone-v/cyclone5_handbook.pdf Table 13-18: NAND Controller Module Data Space Address Range Module Instance Start AddressEnd Address NAND_DATA

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-21 Thread Oleksij Rempel
Hi, On 21.09.2017 07:26, Masahiro Yamada wrote: Hi. .. Hm.. according to https://www.altera.com/en_US/pdfs/literature/hb/cyclone-v/cyclone5_handbook.pdf Table 13-18: NAND Controller Module Data Space Address Range Module Instance Start AddressEnd Address NAND_DATA

[PATCH v2 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Cc: Dinh Nguyen <dingu...@opensource.altera.com> Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/b

[PATCH v2 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij R

[PATCH v2 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts

[PATCH v2 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Oleksij Rempel
On 14.09.2017 10:16, Masahiro Yamada wrote: Hi. 2017-09-14 17:04 GMT+09:00 Oleksij Rempel <o...@pengutronix.de>: Hi, i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? I think so. (also arch/arm/boot/dts/socfpga_arria10.dtsi in the same way) Hm.. according to

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Oleksij Rempel
On 14.09.2017 10:16, Masahiro Yamada wrote: Hi. 2017-09-14 17:04 GMT+09:00 Oleksij Rempel : Hi, i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? I think so. (also arch/arm/boot/dts/socfpga_arria10.dtsi in the same way) Hm.. according to https://www.altera.com

[PATCH v1 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij R

[PATCH v1 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch

[PATCH v1 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> Cc: Dinh Nguyen <dingu...@opensource.altera.com> Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/b

[PATCH v1 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Oleksij Rempel
Hi, i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? On 14.09.2017 09:17, Masahiro Yamada wrote: This example allocates too much for register regions. Especially, there are only two registers in the "nand_data" interface of this hardware (ADDR: 0x00, DATA: 0x10).

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Oleksij Rempel
Hi, i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? On 14.09.2017 09:17, Masahiro Yamada wrote: This example allocates too much for register regions. Especially, there are only two registers in the "nand_data" interface of this hardware (ADDR: 0x00, DATA: 0x10).

[PATCH v1] ARM: dts: socfpga: fix nand compatible

2017-09-14 Thread Oleksij Rempel
l.org/lkml/2016/12/1/450 Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- arch/arm/boot/dts/socfpga.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 7e24dc8e82d4..d697f5062624 100644

[PATCH v1] ARM: dts: socfpga: fix nand compatible

2017-09-14 Thread Oleksij Rempel
string "altr,socfpga-denali-nand". | There are no users (in upstream) of the old compatible string. | | The Denali IP on SOCFPGA incorporates the hardware ECC fixup engine. | So, this capability should be associated with the compatible. | | [1] https://lkml.org/lkml/2016/12/1/450 Signed-off

Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-08-18 Thread Oleksij Rempel
to simulate lower bits transfer, > and adjusts burst length runtimely to use biggeest burst length > as possible to reduce the gaps in transfer for PIO mode. > > Signed-off-by: Jiada Wang <jiada_w...@mentor.com> Tested-by: Oleksij Rempel <o.rem.

Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-08-18 Thread Oleksij Rempel
to simulate lower bits transfer, > and adjusts burst length runtimely to use biggeest burst length > as possible to reduce the gaps in transfer for PIO mode. > > Signed-off-by: Jiada Wang Tested-by: Oleksij Rempel -- Pengutronix e.K. |

[PATCH v3 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-08-17 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devi

[PATCH v3 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-08-17 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devicetree/bindings/remoteproc/imx

[PATCH v3 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-08-17 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 426 + 3 files changed, 437 insertions(+) create mode 100644 d

[PATCH v3 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-08-17 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 426 + 3 files changed, 437 insertions(+) create mode 100644 drivers/remoteproc/imx_rproc.c

[PATCH v3 0/2] provide imx rproc driver

2017-08-17 Thread Oleksij Rempel
ead of reg property - remove memory ranges from documentation Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 +

[PATCH v3 0/2] provide imx rproc driver

2017-08-17 Thread Oleksij Rempel
ead of reg property - remove memory ranges from documentation Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 +

[PATCH v2 0/2] provide imx rproc driver

2017-08-08 Thread Oleksij Rempel
anges from documentation Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ drivers/remoteproc/Kconfig

[PATCH v2 0/2] provide imx rproc driver

2017-08-08 Thread Oleksij Rempel
anges from documentation Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ drivers/remoteproc/Kconfig

[PATCH v2 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-08-08 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devi

[PATCH v2 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-08-08 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 426 + 3 files changed, 437 insertions(+) create mode 100644 d

[PATCH v2 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-08-08 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devicetree/bindings/remoteproc/imx

[PATCH v2 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-08-08 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 426 + 3 files changed, 437 insertions(+) create mode 100644 drivers/remoteproc/imx_rproc.c

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-08-03 Thread Oleksij Rempel
On 03.08.2017 09:48, Horia Geantă wrote: On 8/3/2017 6:17 AM, Herbert Xu wrote: On Wed, Aug 02, 2017 at 02:03:14PM +, Horia Geantă wrote: Take CAAM's engine HWRNG: it can work both as a TRNG and as a TRNG-seeded DRBG (that's how it's currently configured). IIUC, both setups are fit as

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-08-03 Thread Oleksij Rempel
On 03.08.2017 09:48, Horia Geantă wrote: On 8/3/2017 6:17 AM, Herbert Xu wrote: On Wed, Aug 02, 2017 at 02:03:14PM +, Horia Geantă wrote: Take CAAM's engine HWRNG: it can work both as a TRNG and as a TRNG-seeded DRBG (that's how it's currently configured). IIUC, both setups are fit as

[PATCH v1 1/2] spi: loopback-test: implement testing with no CS

2017-07-25 Thread Oleksij Rempel
To run spi-loopback-tests on HW without modifications, we need to disable Chip Select. This should avoid surprising side effects for SPI devices by testing patterns. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/spi/spi-loopback-test.c | 12 +--- 1 file chan

[PATCH v1 1/2] spi: loopback-test: implement testing with no CS

2017-07-25 Thread Oleksij Rempel
To run spi-loopback-tests on HW without modifications, we need to disable Chip Select. This should avoid surprising side effects for SPI devices by testing patterns. Signed-off-by: Oleksij Rempel --- drivers/spi/spi-loopback-test.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions

[PATCH v1 2/2] spi: imx: add SPI_NO_CS support

2017-07-25 Thread Oleksij Rempel
To run spi-loopback-tests on HW without modifications, we need to disable Chip Select. This should avoid surprising side effects for SPI devices by testing patterns. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/spi/spi-imx.c | 9 - 1 file changed, 8 inse

[PATCH v1 2/2] spi: imx: add SPI_NO_CS support

2017-07-25 Thread Oleksij Rempel
To run spi-loopback-tests on HW without modifications, we need to disable Chip Select. This should avoid surprising side effects for SPI devices by testing patterns. Signed-off-by: Oleksij Rempel --- drivers/spi/spi-imx.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-23 Thread Oleksij Rempel
Am 18.07.2017 um 18:38 schrieb Bjorn Andersson: > On Tue 18 Jul 01:45 PDT 2017, Oleksij Rempel wrote: > >> Hallo Bjorn, >> >> On 11.07.2017 00:14, Bjorn Andersson wrote: >>> On Mon 10 Jul 07:42 PDT 2017, Oleksij Rempel wrote: >>> >>>>

Re: [PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-23 Thread Oleksij Rempel
Am 18.07.2017 um 18:38 schrieb Bjorn Andersson: > On Tue 18 Jul 01:45 PDT 2017, Oleksij Rempel wrote: > >> Hallo Bjorn, >> >> On 11.07.2017 00:14, Bjorn Andersson wrote: >>> On Mon 10 Jul 07:42 PDT 2017, Oleksij Rempel wrote: >>> >>>> Signed

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
On Wed, Jul 19, 2017 at 04:53:21PM +, Horia Geantă wrote: > On 7/19/2017 7:32 PM, Oleksij Rempel wrote: > > On Wed, Jul 19, 2017 at 12:49:47PM +, Horia Geantă wrote: > >> On 7/19/2017 10:45 AM, Oleksij Rempel wrote: > >>> According documentation, it is NIST

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
On Wed, Jul 19, 2017 at 04:53:21PM +, Horia Geantă wrote: > On 7/19/2017 7:32 PM, Oleksij Rempel wrote: > > On Wed, Jul 19, 2017 at 12:49:47PM +, Horia Geantă wrote: > >> On 7/19/2017 10:45 AM, Oleksij Rempel wrote: > >>> According documentation, it is NIST

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
On Wed, Jul 19, 2017 at 12:49:47PM +, Horia Geantă wrote: > On 7/19/2017 10:45 AM, Oleksij Rempel wrote: > > According documentation, it is NIST certified TRNG. > > So, set high quality to let the HWRNG framework automatically use it. > > > > Signed-of

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
On Wed, Jul 19, 2017 at 12:49:47PM +, Horia Geantă wrote: > On 7/19/2017 10:45 AM, Oleksij Rempel wrote: > > According documentation, it is NIST certified TRNG. > > So, set high quality to let the HWRNG framework automatically use it. > > > > Si

[PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
According documentation, it is NIST certified TRNG. So, set high quality to let the HWRNG framework automatically use it. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/crypto/caam/caamrng.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/crypt

[PATCH v1] crypto: caam - set hwrng quality level

2017-07-19 Thread Oleksij Rempel
According documentation, it is NIST certified TRNG. So, set high quality to let the HWRNG framework automatically use it. Signed-off-by: Oleksij Rempel --- drivers/crypto/caam/caamrng.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/crypto/caam/caamrng.c b/drivers/crypto/caam

Re: [PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-18 Thread Oleksij Rempel
Hallo Bjorn, On 11.07.2017 00:14, Bjorn Andersson wrote: On Mon 10 Jul 07:42 PDT 2017, Oleksij Rempel wrote: Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 44 ++ 1 file changed, 44 insertions(+)

Re: [PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-18 Thread Oleksij Rempel
Hallo Bjorn, On 11.07.2017 00:14, Bjorn Andersson wrote: On Mon 10 Jul 07:42 PDT 2017, Oleksij Rempel wrote: Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation

[PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-17 Thread Oleksij Rempel
tion until a single event of any type occurs. Don't print |# anything. Find the line by name. |$ gpiomon --num-events=1 --silent `gpiofind "USR-IN"` Used names was taken from RIoTboard schematics, version 1 (2013.12.07). Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> ---

[PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-17 Thread Oleksij Rempel
tion until a single event of any type occurs. Don't print |# anything. Find the line by name. |$ gpiomon --num-events=1 --silent `gpiofind "USR-IN"` Used names was taken from RIoTboard schematics, version 1 (2013.12.07). Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6d

Re: [PATCH v6 0/6] provide power off support for iMX6 with external PMIC

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King DT is already ACKed. On 20.06.2017 16:09, Oleksij Rempel wrote: This patch series is providing power off support for Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). changes: v6: - rename imx6_pm_poweroff

Re: [PATCH v6 0/6] provide power off support for iMX6 with external PMIC

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King DT is already ACKed. On 20.06.2017 16:09, Oleksij Rempel wrote: This patch series is providing power off support for Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). changes: v6: - rename imx6_pm_poweroff

Re: [PATCH v7 0/3] nvmem: upstream snvs_lpgpr driver

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King ;) DT is already ACKed. On 20.06.2017 09:09, Oleksij Rempel wrote: changes v7: - split imx6ul patch and squash it with with main patches. - spell fixes in the binding documentation - return regmap_bulk_read directly. changes v6: - check

Re: [PATCH v7 0/3] nvmem: upstream snvs_lpgpr driver

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King ;) DT is already ACKed. On 20.06.2017 09:09, Oleksij Rempel wrote: changes v7: - split imx6ul patch and squash it with with main patches. - spell fixes in the binding documentation - return regmap_bulk_read directly. changes v6: - check

[PATCH v3] spi: loopback-test: provide loop_req option.

2017-07-14 Thread Oleksij Rempel
3-MISO -> PIN 1 grab some data and decode it: sigrok-cli -d fx2lafw --time 16 --config samplerate=10m \ --channels 0-2 -o dump.sr sigrok-cli -i dump.sr -P spi:mosi=1:clk=2 > result_for_regression_tests Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- v3: - more re

[PATCH v3] spi: loopback-test: provide loop_req option.

2017-07-14 Thread Oleksij Rempel
3-MISO -> PIN 1 grab some data and decode it: sigrok-cli -d fx2lafw --time 16 --config samplerate=10m \ --channels 0-2 -o dump.sr sigrok-cli -i dump.sr -P spi:mosi=1:clk=2 > result_for_regression_tests Signed-off-by: Oleksij Rempel --- v3: - more rewording after feed back prov

[PATCH v2] spi: loopback-test: provide loop_req option.

2017-07-14 Thread Oleksij Rempel
d fx2lafw --time 16 --config samplerate=10m \ --channels 0-2 -o dump.sr sigrok-cli -i dump.sr -P spi:mosi=1:clk=2 > result_for_regression_tests Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- v2: - some spelling fixes - add more background about testing setup - reword error

[PATCH v2] spi: loopback-test: provide loop_req option.

2017-07-14 Thread Oleksij Rempel
d fx2lafw --time 16 --config samplerate=10m \ --channels 0-2 -o dump.sr sigrok-cli -i dump.sr -P spi:mosi=1:clk=2 > result_for_regression_tests Signed-off-by: Oleksij Rempel --- v2: - some spelling fixes - add more background about testing setup - reword error message. drivers/spi/spi-loo

Re: [PATCH v1] spi: loopback-test: provide loop request option.

2017-07-12 Thread Oleksij Rempel
On 12.07.2017 15:40, Oleksij Rempel wrote: From: Oleksij Rempel <li...@rempel-privat.de> Provide a module parameter to request internal loop by the SPI master controller. This should make loop testing easier without extra HW modification. Signed-off-by: Oleksij Rempel <li...@rempel-

Re: [PATCH v1] spi: loopback-test: provide loop request option.

2017-07-12 Thread Oleksij Rempel
On 12.07.2017 15:40, Oleksij Rempel wrote: From: Oleksij Rempel Provide a module parameter to request internal loop by the SPI master controller. This should make loop testing easier without extra HW modification. Signed-off-by: Oleksij Rempel --- drivers/spi/spi-loopback-test.c | 18

[PATCH v1] spi: loopback-test: provide loop request option.

2017-07-12 Thread Oleksij Rempel
From: Oleksij Rempel <li...@rempel-privat.de> Provide a module parameter to request internal loop by the SPI master controller. This should make loop testing easier without extra HW modification. Signed-off-by: Oleksij Rempel <li...@rempel-privat.de> --- drivers/spi/spi-loopback

[PATCH v1] spi: loopback-test: provide loop request option.

2017-07-12 Thread Oleksij Rempel
From: Oleksij Rempel Provide a module parameter to request internal loop by the SPI master controller. This should make loop testing easier without extra HW modification. Signed-off-by: Oleksij Rempel --- drivers/spi/spi-loopback-test.c | 18 ++ 1 file changed, 18 insertions

[PATCH v1 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-07-10 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 417 + 3 files changed, 428 insertions(+) create mode 100644 d

[PATCH v1 2/2] remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver

2017-07-10 Thread Oleksij Rempel
on i.MX6SX as well. Signed-off-by: Oleksij Rempel --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/imx_rproc.c | 417 + 3 files changed, 428 insertions(+) create mode 100644 drivers/remoteproc/imx_rproc.c

[PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-10 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devi

[PATCH v1 0/2] provide imx rproc driver

2017-07-10 Thread Oleksij Rempel
rv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw Functionality was confirmed with current OpenOCD master. OpenOCD cfg file can be found here: https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote

[PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-10 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/remoteproc/imx-rproc.txt | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt diff --git a/Documentation/devicetree/bindings/remoteproc/imx

[PATCH v1 0/2] provide imx rproc driver

2017-07-10 Thread Oleksij Rempel
rv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw Functionality was confirmed with current OpenOCD master. OpenOCD cfg file can be found here: https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg Oleksij Rempel (2): remoteproc: dt: Provide bindings for iMX6SX/7D Remote

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-07-04 Thread Oleksij Rempel
Hi Bjorn, thank you for review, On 25.06.2017 22:41, Bjorn Andersson wrote: On Wed 14 Jun 13:48 PDT 2017, Oleksij Rempel wrote: From: Oleksij Rempel <li...@rempel-privat.de> this driver was tested on NXP imx7d but should work on imx6sx as well. It will upload firmware to OCRAM, which

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-07-04 Thread Oleksij Rempel
Hi Bjorn, thank you for review, On 25.06.2017 22:41, Bjorn Andersson wrote: On Wed 14 Jun 13:48 PDT 2017, Oleksij Rempel wrote: From: Oleksij Rempel this driver was tested on NXP imx7d but should work on imx6sx as well. It will upload firmware to OCRAM, which shared memory between Cortex

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-06-23 Thread Oleksij Rempel
On Wed, Jun 21, 2017 at 04:09:26PM -0500, Suman Anna wrote: > Hi Oleksij, > > On 06/19/2017 02:43 AM, Oleksij Rempel wrote: > > Hi, > > > > Thank you for your review! > > > > On 15.06.2017 21:01, Suman Anna wrote: > >> Hi Oleksij, > &

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-06-23 Thread Oleksij Rempel
On Wed, Jun 21, 2017 at 04:09:26PM -0500, Suman Anna wrote: > Hi Oleksij, > > On 06/19/2017 02:43 AM, Oleksij Rempel wrote: > > Hi, > > > > Thank you for your review! > > > > On 15.06.2017 21:01, Suman Anna wrote: > >> Hi Oleksij, > &

<    4   5   6   7   8   9   10   11   12   13   >