[PATCH 0/3] mmc: sdhci-esdhc-imx: fix no UHS modes

2018-06-28 Thread Stefan Agner
board device trees which work around this by not setting vqmmc-supply, e.g. arch/arm/boot/dts/imx6qdl-sr-som-ti.dtsi. Introducing a new quirk was the only way which I came up with, but maybe there is a better way to prevent higher speed modes while allowing 1.8V eMMC? Stefan Agner (3): mmc

[PATCH 1/3] mmc: sdhci-esdhc-imx: get rid of support_vsel

2018-06-28 Thread Stefan Agner
The field support_vsel is currently only used in the device tree case. Get rid of it. No change in behavior. Signed-off-by: Stefan Agner --- drivers/mmc/host/sdhci-esdhc-imx.c | 8 ++-- include/linux/platform_data/mmc-esdhc-imx.h | 2 -- 2 files changed, 2 insertions(+), 8

[PATCH 0/3] mmc: sdhci-esdhc-imx: fix no UHS modes

2018-06-28 Thread Stefan Agner
board device trees which work around this by not setting vqmmc-supply, e.g. arch/arm/boot/dts/imx6qdl-sr-som-ti.dtsi. Introducing a new quirk was the only way which I came up with, but maybe there is a better way to prevent higher speed modes while allowing 1.8V eMMC? Stefan Agner (3): mmc

[PATCH] mmc: sdhci-esdhc-imx: support eMMC DDR mode when running at 3.3V

2018-06-28 Thread Stefan Agner
) power mode: 2 (on) bus width: 3 (8 bits) timing spec:8 (mmc DDR52) signal voltage: 0 (3.30 V) driver type:0 (driver type B) Signed-off-by: Stefan Agner --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc

[PATCH] mmc: sdhci-esdhc-imx: support eMMC DDR mode when running at 3.3V

2018-06-28 Thread Stefan Agner
) power mode: 2 (on) bus width: 3 (8 bits) timing spec:8 (mmc DDR52) signal voltage: 0 (3.30 V) driver type:0 (driver type B) Signed-off-by: Stefan Agner --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc

Re: [PATCH][next] mtd: rawnand: fix a couple of spelling mistakes

2018-06-26 Thread Stefan Agner
On 26.06.2018 12:26, Colin King wrote: > From: Colin Ian King > > Trival fix of two spelling mistakes in dev_err error messages: > "supportes" -> "supports" and "strenght" -> "strength" Acked-by: Stefan Agner > > Signed-off-by

Re: [PATCH][next] mtd: rawnand: fix a couple of spelling mistakes

2018-06-26 Thread Stefan Agner
On 26.06.2018 12:26, Colin King wrote: > From: Colin Ian King > > Trival fix of two spelling mistakes in dev_err error messages: > "supportes" -> "supports" and "strenght" -> "strength" Acked-by: Stefan Agner > > Signed-off-by

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-06-26 Thread Stefan Agner
On 17.04.2018 10:11, Thierry Reding wrote: > On Mon, Apr 16, 2018 at 08:21:09PM +0200, Stefan Agner wrote: >> On 16.04.2018 18:08, Stephen Warren wrote: >> > On 04/16/2018 09:56 AM, Stefan Agner wrote: >> >> On 27.03.2018 14:16, Dmitry Osipenko wrote: >> >>

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-06-26 Thread Stefan Agner
On 17.04.2018 10:11, Thierry Reding wrote: > On Mon, Apr 16, 2018 at 08:21:09PM +0200, Stefan Agner wrote: >> On 16.04.2018 18:08, Stephen Warren wrote: >> > On 04/16/2018 09:56 AM, Stefan Agner wrote: >> >> On 27.03.2018 14:16, Dmitry Osipenko wrote: >> >>

Re: [PATCH] mfd: as3722: disable auto power on when AC OK

2018-06-26 Thread Stefan Agner
On 25.06.2018 10:00, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > On ams AS3722, power on when AC OK is enabled by default. > Making this option as disable by default and enable only > when platform need this explicitly. > > Signed-off-by: Laxman Dewangan > Reviewed-by: Bibek Basu >

Re: [PATCH] mfd: as3722: disable auto power on when AC OK

2018-06-26 Thread Stefan Agner
On 25.06.2018 10:00, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > On ams AS3722, power on when AC OK is enabled by default. > Making this option as disable by default and enable only > when platform need this explicitly. > > Signed-off-by: Laxman Dewangan > Reviewed-by: Bibek Basu >

[PATCH v8 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v8 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v8 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v8 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v8 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v8 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v8 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
es support Changes since v6: - checkpatch.pl fixes Changes since v7: - Replace nand_release() with mtd_device_unregister() + nand_cleanup() Lucas Stach (1): ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mt

[PATCH v8 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko Reviewed-by: Boris Brezillon --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1

[PATCH v8 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v8 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v8 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
es support Changes since v6: - checkpatch.pl fixes Changes since v7: - Replace nand_release() with mtd_device_unregister() + nand_cleanup() Lucas Stach (1): ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mt

[PATCH v8 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko Reviewed-by: Boris Brezillon --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1

[PATCH v8 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v8 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

Re: [PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
On 24.06.2018 21:50, Boris Brezillon wrote: > On Sun, 24 Jun 2018 21:22:28 +0200 > Stefan Agner wrote: > >> + >> +static int tegra_nand_remove(struct platform_device *pdev) >> +{ >> +struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); >>

Re: [PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
On 24.06.2018 21:50, Boris Brezillon wrote: > On Sun, 24 Jun 2018 21:22:28 +0200 > Stefan Agner wrote: > >> + >> +static int tegra_nand_remove(struct platform_device *pdev) >> +{ >> +struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); >>

[PATCH v7 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v7 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v7 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v7 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v7 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v7 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v7 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1223 + 4 files chan

[PATCH v7 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v7 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1223 + 4 files chan

[PATCH v7 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v7 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
io variant of wait_for_completion_timeout Changes since v5: - Drop extra OOB bytes support Changes since v6: - checkpatch.pl fixes Lucas Stach (1): ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add

[PATCH v7 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
io variant of wait_for_completion_timeout Changes since v5: - Drop extra OOB bytes support Changes since v6: - checkpatch.pl fixes Lucas Stach (1): ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add

[PATCH v6 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-21 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v6 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-21 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v6 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-21 Thread Stefan Agner
ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add an option to specify NAND chip as a boot device mtd: rawnand: tegra: add devicetree binding mtd: rawnand: add NVIDIA Tegra NAND Flash control

[PATCH v6 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-21 Thread Stefan Agner
ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add an option to specify NAND chip as a boot device mtd: rawnand: tegra: add devicetree binding mtd: rawnand: add NVIDIA Tegra NAND Flash control

[PATCH v6 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-21 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v6 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-21 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v6 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-21 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig |6 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1225 + 4 files chan

[PATCH v6 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-21 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v6 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-21 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v6 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-21 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig |6 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1225 + 4 files chan

[PATCH v6 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-21 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v6 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-21 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v6 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-21 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v6 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-21 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-06-21 Thread Stefan Agner
be converted to read-only, and make the ftrace "before" >> and "after" calls do nothing if that variable is not yet set. This is >> similar to the x86 solution from commit 162396309745 ("ftrace, x86: >> make kernel text writable only for conversions").

Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-06-21 Thread Stefan Agner
be converted to read-only, and make the ftrace "before" >> and "after" calls do nothing if that variable is not yet set. This is >> similar to the x86 solution from commit 162396309745 ("ftrace, x86: >> make kernel text writable only for conversions").

Re: [PATCH 15/20] dts: arm: imx7{d,s}: Update coresight binding for hardware ports

2018-06-19 Thread Stefan Agner
On 19.06.2018 04:12, Shawn Guo wrote: > Hi Stefan, > > Can you take a look at the patch? Thanks. > > Shawn > > On Tue, Jun 05, 2018 at 10:43:26PM +0100, Suzuki K Poulose wrote: >> Switch to the updated coresight bindings. Looks good to me. Reviewed-by: Stefan

Re: [PATCH 15/20] dts: arm: imx7{d,s}: Update coresight binding for hardware ports

2018-06-19 Thread Stefan Agner
On 19.06.2018 04:12, Shawn Guo wrote: > Hi Stefan, > > Can you take a look at the patch? Thanks. > > Shawn > > On Tue, Jun 05, 2018 at 10:43:26PM +0100, Suzuki K Poulose wrote: >> Switch to the updated coresight bindings. Looks good to me. Reviewed-by: Stefan

Re: [PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-18 Thread Stefan Agner
Hi Boris, On 18.06.2018 13:59, Boris Brezillon wrote: > Hi Stefan, > > On Mon, 18 Jun 2018 12:51:52 +0200 > Stefan Agner wrote: > >> On 18.06.2018 11:58, Boris Brezillon wrote: >> > On Sun, 17 Jun 2018 22:45:59 +0200 >> > Stefan Agner wrote: >&

Re: [PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-18 Thread Stefan Agner
Hi Boris, On 18.06.2018 13:59, Boris Brezillon wrote: > Hi Stefan, > > On Mon, 18 Jun 2018 12:51:52 +0200 > Stefan Agner wrote: > >> On 18.06.2018 11:58, Boris Brezillon wrote: >> > On Sun, 17 Jun 2018 22:45:59 +0200 >> > Stefan Agner wrote: >&

Re: [PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-18 Thread Stefan Agner
On 18.06.2018 11:58, Boris Brezillon wrote: > On Sun, 17 Jun 2018 22:45:59 +0200 > Stefan Agner wrote: > >> Changes definitly calm down, most noteably probably the changes >> around checking whether a page is empty if the stack reports ECC >> errors.. I verified th

Re: [PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-18 Thread Stefan Agner
On 18.06.2018 11:58, Boris Brezillon wrote: > On Sun, 17 Jun 2018 22:45:59 +0200 > Stefan Agner wrote: > >> Changes definitly calm down, most noteably probably the changes >> around checking whether a page is empty if the stack reports ECC >> errors.. I verified th

[PATCH v5 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-17 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v5 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-17 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts

[PATCH v5 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-17 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig |6 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1268 + 4 files chan

[PATCH v5 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-17 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v5 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-17 Thread Stefan Agner
off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Dmitry Osipenko --- MAINTAINERS |7 + drivers/mtd/nand/raw/Kconfig |6 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/tegra_nand.c | 1268 + 4 files chan

[PATCH v5 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-17 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-17 Thread Stefan Agner
ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add an option to specify NAND chip as a boot device mtd: rawnand: tegra: add devicetree binding mtd: rawnand: add NVIDIA Tegra NAND Flash

[PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-17 Thread Stefan Agner
ARM: dts: tegra: add Tegra20 NAND flash controller node Stefan Agner (5): mtd: rawnand: add Reed-Solomon error correction algorithm mtd: rawnand: add an option to specify NAND chip as a boot device mtd: rawnand: tegra: add devicetree binding mtd: rawnand: add NVIDIA Tegra NAND Flash

[PATCH v5 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-17 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v5 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-17 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v5 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-17 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v5 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-17 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v5 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-17 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v5 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-17 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-17 Thread Stefan Agner
On 12.06.2018 10:13, Boris Brezillon wrote: > On Tue, 12 Jun 2018 10:02:12 +0200 > Stefan Agner wrote: > >> >> +static int tegra_nand_read_page_hwecc(struct mtd_info *mtd, >> >> + struct nand_chip *chip, >> >> +

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-17 Thread Stefan Agner
On 12.06.2018 10:13, Boris Brezillon wrote: > On Tue, 12 Jun 2018 10:02:12 +0200 > Stefan Agner wrote: > >> >> +static int tegra_nand_read_page_hwecc(struct mtd_info *mtd, >> >> + struct nand_chip *chip, >> >> +

[PATCH] ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate

2018-06-17 Thread Stefan Agner
] for (i = AMIXER_PCM_F, j = SUM_IN_F; i <= AMIXER_PCM_S; i++, j++) { ~ ^~~~ Introduce enum CT_SUM_CTL k and it instead. Signed-off-by: Stefan Agner --- sound/pci/ctxfi/ctmixer.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) d

[PATCH] ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate

2018-06-17 Thread Stefan Agner
] for (i = AMIXER_PCM_F, j = SUM_IN_F; i <= AMIXER_PCM_S; i++, j++) { ~ ^~~~ Introduce enum CT_SUM_CTL k and it instead. Signed-off-by: Stefan Agner --- sound/pci/ctxfi/ctmixer.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) d

[PATCH] ALSA: ice1724: remove unused array

2018-06-17 Thread Stefan Agner
This fixes a warning seen with clang: sound/pci/ice1712/prodigy_hifi.c:321:28: warning: variable 'wm_vol' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const unsigned char wm_vol[256] = { ^ Signed-off-by: Stefan Agner --- sound

[PATCH] ALSA: ice1724: remove unused array

2018-06-17 Thread Stefan Agner
This fixes a warning seen with clang: sound/pci/ice1712/prodigy_hifi.c:321:28: warning: variable 'wm_vol' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const unsigned char wm_vol[256] = { ^ Signed-off-by: Stefan Agner --- sound

[PATCH] ASoC: codecs: PCM1789: unconditionally flush work

2018-06-17 Thread Stefan Agner
t;work) ~~ ~~^~~~ Signed-off-by: Stefan Agner --- sound/soc/codecs/pcm1789.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/pcm1789.c b/sound/soc/codecs/pcm1789.c index 21f15219b3ad..8df6447c76a6 100644 --- a/sound/soc/codecs/pcm1789.c +++ b

[PATCH] ASoC: codecs: PCM1789: unconditionally flush work

2018-06-17 Thread Stefan Agner
t;work) ~~ ~~^~~~ Signed-off-by: Stefan Agner --- sound/soc/codecs/pcm1789.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/pcm1789.c b/sound/soc/codecs/pcm1789.c index 21f15219b3ad..8df6447c76a6 100644 --- a/sound/soc/codecs/pcm1789.c +++ b

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 17:24, Jens Axboe wrote: > On 6/12/18 3:17 AM, Stefan Agner wrote: >> [also added Jens Axboe] >> >> On 12.06.2018 10:27, Boris Brezillon wrote: >>> On Tue, 12 Jun 2018 10:06:42 +0200 >>> Stefan Agner wrote: >>> >>>> On

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 17:24, Jens Axboe wrote: > On 6/12/18 3:17 AM, Stefan Agner wrote: >> [also added Jens Axboe] >> >> On 12.06.2018 10:27, Boris Brezillon wrote: >>> On Tue, 12 Jun 2018 10:06:42 +0200 >>> Stefan Agner wrote: >>> >>>> On

Re: [v2,4/6] ARM: drop no-thumb-interwork in EABI mode

2018-06-12 Thread Stefan Agner
On 12.06.2018 19:19, Guenter Roeck wrote: > On Sun, Mar 25, 2018 at 08:09:57PM +0200, Stefan Agner wrote: >> According to GCC documentation -m(no-)thumb-interwork is >> meaningless in AAPCS configurations. Also clang does not > > It appears that this is only correct for r

Re: [v2,4/6] ARM: drop no-thumb-interwork in EABI mode

2018-06-12 Thread Stefan Agner
On 12.06.2018 19:19, Guenter Roeck wrote: > On Sun, Mar 25, 2018 at 08:09:57PM +0200, Stefan Agner wrote: >> According to GCC documentation -m(no-)thumb-interwork is >> meaningless in AAPCS configurations. Also clang does not > > It appears that this is only correct for r

Re: [PATCH v2] serial: imx: fix cached UCR2 read on software reset

2018-06-12 Thread Stefan Agner
On 07.06.2018 09:56, Uwe Kleine-König wrote: > On Fri, Apr 20, 2018 at 02:44:07PM +0200, Stefan Agner wrote: >> To reset the UART the SRST needs be cleared (low active). According >> to the documentation the bit will remain active for 4 module clocks >> until it is cleared (s

Re: [PATCH v2] serial: imx: fix cached UCR2 read on software reset

2018-06-12 Thread Stefan Agner
On 07.06.2018 09:56, Uwe Kleine-König wrote: > On Fri, Apr 20, 2018 at 02:44:07PM +0200, Stefan Agner wrote: >> To reset the UART the SRST needs be cleared (low active). According >> to the documentation the bit will remain active for 4 module clocks >> until it is cleared (s

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
[also added Jens Axboe] On 12.06.2018 10:27, Boris Brezillon wrote: > On Tue, 12 Jun 2018 10:06:42 +0200 > Stefan Agner wrote: > >> On 12.06.2018 02:03, Dmitry Osipenko wrote: >> > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> >> Add support

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
[also added Jens Axboe] On 12.06.2018 10:27, Boris Brezillon wrote: > On Tue, 12 Jun 2018 10:06:42 +0200 > Stefan Agner wrote: > >> On 12.06.2018 02:03, Dmitry Osipenko wrote: >> > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> >> Add support

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 02:03, Dmitry Osipenko wrote: > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> Add support for the NAND flash controller found on NVIDIA >> Tegra 2 SoCs. This implementation does not make use of the >> command queue feature. Regular operations/data

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 02:03, Dmitry Osipenko wrote: > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> Add support for the NAND flash controller found on NVIDIA >> Tegra 2 SoCs. This implementation does not make use of the >> command queue feature. Regular operations/data

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 01:32, Dmitry Osipenko wrote: > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> Add support for the NAND flash controller found on NVIDIA >> Tegra 2 SoCs. This implementation does not make use of the >> command queue feature. Regular operations/data

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 01:32, Dmitry Osipenko wrote: > On Monday, 11 June 2018 23:52:22 MSK Stefan Agner wrote: >> Add support for the NAND flash controller found on NVIDIA >> Tegra 2 SoCs. This implementation does not make use of the >> command queue feature. Regular operations/data

[PATCH v4 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-11 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

[PATCH v4 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-11 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions

[PATCH v4 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-11 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd

<    1   2   3   4   5   6   7   8   9   10   >