[PATCH v3 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-19 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v3 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-19 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi |

[PATCH v3 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-19 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v3 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-19 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/b

[PATCH v3 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-19 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio E

[PATCH v3 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-19 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++ arch

[PATCH v3 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-19 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts

[PATCH v3 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-19 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner <ste...@agner

[PATCH v3 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-19 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 ++

[PATCH v3 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-19 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion

[PATCH v3 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-19 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner Reviewed

[PATCH v3 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-19 Thread Stefan Agner
-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- Changes since v1: - Changed label and node name for MCP2515 - Drop num-cs from ecspi3 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi

[PATCH v3 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-19 Thread Stefan Agner
-by: Stefan Agner Reviewed-by: Fabio Estevam --- Changes since v1: - Changed label and node name for MCP2515 - Drop num-cs from ecspi3 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi | 13 - 2 files changed, 37

[PATCH v3 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-19 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 inser

[PATCH v3 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-19 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v3 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-19 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v3 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-19 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b

Re: [PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-18 Thread Stefan Agner
On 2017-12-17 23:55, Philippe Ombredanne wrote: > Fabio, > > On Sun, Dec 17, 2017 at 10:59 PM, Fabio Estevam <feste...@gmail.com> wrote: >> Hi Stefan, >> >> On Sun, Dec 17, 2017 at 6:37 PM, Stefan Agner <ste...@agner.ch> wrote: >> >>> --- /d

Re: [PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-18 Thread Stefan Agner
On 2017-12-17 23:55, Philippe Ombredanne wrote: > Fabio, > > On Sun, Dec 17, 2017 at 10:59 PM, Fabio Estevam wrote: >> Hi Stefan, >> >> On Sun, Dec 17, 2017 at 6:37 PM, Stefan Agner wrote: >> >>> --- /dev/null >>> +++ b/arch/arm/boot/d

[PATCH v2 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-17 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 i

[PATCH v2 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-17 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi |

[PATCH v2 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-17 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v2 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-17 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-17 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 ++

[PATCH v2 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-17 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion

[PATCH v2 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-17 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio E

[PATCH v2 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-17 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/b

[PATCH v2 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-17 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts

[PATCH v2 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-17 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++ arch

[PATCH v2 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-17 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 inser

[PATCH v2 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-17 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-17 Thread Stefan Agner
-by: Stefan Agner <ste...@agner.ch> --- Changes since v1: - Changed label and node name for MCP2515 - Drop num-cs from ecspi3 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi | 13 - 2 files changed, 37 inse

[PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-17 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner <ste...@agner

[PATCH v2 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-17 Thread Stefan Agner
-by: Stefan Agner --- Changes since v1: - Changed label and node name for MCP2515 - Drop num-cs from ecspi3 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi | 13 - 2 files changed, 37 insertions(+), 1 deletion

[PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-17 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner --- Changes

[PATCH v2 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner <ste...@agner.ch> Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b

Re: [PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
On 2017-12-16 15:01, Fabio Estevam wrote: > On Wed, Dec 6, 2017 at 1:29 PM, Stefan Agner <ste...@agner.ch> wrote: >> The Colibri pins PWM and are multiplexed on the module, make >> sure the secondary SoC pin is not active. >> >> Signed-off-by: Stefan Agner <st

Re: [PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
On 2017-12-16 15:01, Fabio Estevam wrote: > On Wed, Dec 6, 2017 at 1:29 PM, Stefan Agner wrote: >> The Colibri pins PWM and are multiplexed on the module, make >> sure the secondary SoC pin is not active. >> >> Signed-off-by: Stefan Agner > > I haven't rea

Re: [PATCH 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-07 Thread Stefan Agner
On 2017-12-06 16:30, Stefan Agner wrote: > The Colibri Evaluation Carrier Board provides a MCP2515 CAN > controller connected via SPI. Note that the i.MX 7 provides > an internal CAN controller which is much better suited for CAN > operations. Using the MCP2515 with a Colibri

Re: [PATCH 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-07 Thread Stefan Agner
On 2017-12-06 16:30, Stefan Agner wrote: > The Colibri Evaluation Carrier Board provides a MCP2515 CAN > controller connected via SPI. Note that the i.MX 7 provides > an internal CAN controller which is much better suited for CAN > operations. Using the MCP2515 with a Colibri

[PATCH 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-06 Thread Stefan Agner
-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi | 14 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/ar

[PATCH 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-06 Thread Stefan Agner
-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 25 + arch/arm/boot/dts/imx7-colibri.dtsi | 14 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7

[PATCH 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-06 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner <ste...@agner

[PATCH 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-06 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner --- arch/arm

[PATCH 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-06 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

[PATCH 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-06 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCH 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-06 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dt

[PATCH 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-06 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm

[PATCH 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-06 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dt

[PATCH 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-06 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi

[PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-06 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/ar

[PATCH 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-06 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-06 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7

[PATCH 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-06 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/ar

[PATCH 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-06 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-06 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCH 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-06 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner <ste...@agner.ch> --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++ arch/arm/bo

[PATCH 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-06 Thread Stefan Agner
is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++ arch/arm/boot/dts/imx7

[PATCH RESEND] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
Protect macro argument with parentheses to avoid ambiguity. This fixes a warning seen with clang: warning: logical not is only applied to the left hand side of this comparison Signed-off-by: Stefan Agner <ste...@agner.ch> Acked-by: Nicolin Chen <nicoleots...@gmail.com> --- s

[PATCH RESEND] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
Protect macro argument with parentheses to avoid ambiguity. This fixes a warning seen with clang: warning: logical not is only applied to the left hand side of this comparison Signed-off-by: Stefan Agner Acked-by: Nicolin Chen --- sound/soc/fsl/fsl_asrc.h | 2 +- 1 file changed, 1 insertion

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-12-06 15:39, Mark Brown wrote: > On Wed, Dec 06, 2017 at 03:25:37PM +0100, Stefan Agner wrote: >> On 2017-12-06 15:11, Mark Brown wrote: > [...] >> I did not meant to bug people, just wanted to make sure the patch does >> not falls through the cracks... After all,

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-12-06 15:39, Mark Brown wrote: > On Wed, Dec 06, 2017 at 03:25:37PM +0100, Stefan Agner wrote: >> On 2017-12-06 15:11, Mark Brown wrote: > [...] >> I did not meant to bug people, just wanted to make sure the patch does >> not falls through the cracks... After all,

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-12-06 15:11, Mark Brown wrote: > On Wed, Dec 06, 2017 at 02:53:39PM +0100, Stefan Agner wrote: >> On 2017-08-07 09:08, Nicolin Chen wrote: >> > On Sun, Aug 06, 2017 at 11:36:57PM -0700, Stefan Agner wrote: > >> Mark, you seem to have merged other patches for th

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-12-06 15:11, Mark Brown wrote: > On Wed, Dec 06, 2017 at 02:53:39PM +0100, Stefan Agner wrote: >> On 2017-08-07 09:08, Nicolin Chen wrote: >> > On Sun, Aug 06, 2017 at 11:36:57PM -0700, Stefan Agner wrote: > >> Mark, you seem to have merged other patches for th

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-08-07 09:08, Nicolin Chen wrote: > On Sun, Aug 06, 2017 at 11:36:57PM -0700, Stefan Agner wrote: >> Protect macro argument with parentheses to avoid ambiguity. >> This fixes a warning seen with clang: >> warning: logical not is only applied to the left hand side o

Re: [PATCH] ASoC: fsl_asrc: protect macro argument

2017-12-06 Thread Stefan Agner
On 2017-08-07 09:08, Nicolin Chen wrote: > On Sun, Aug 06, 2017 at 11:36:57PM -0700, Stefan Agner wrote: >> Protect macro argument with parentheses to avoid ambiguity. >> This fixes a warning seen with clang: >> warning: logical not is only applied to the left hand side o

Re: [PATCH] video: fbdev: mxsfb: fix pixelclock polarity

2017-10-17 Thread Stefan Agner
DRM driver when using mainline which does not suffer from this issue, so I did not mind much that this fix never made it... -- Stefan > > Best regards, > -- > Bartlomiej Zolnierkiewicz > Samsung R Institute Poland > Samsung Electronics > > On Friday, May 06, 2016 01:29:59 PM Stef

Re: [PATCH] video: fbdev: mxsfb: fix pixelclock polarity

2017-10-17 Thread Stefan Agner
DRM driver when using mainline which does not suffer from this issue, so I did not mind much that this fix never made it... -- Stefan > > Best regards, > -- > Bartlomiej Zolnierkiewicz > Samsung R Institute Poland > Samsung Electronics > > On Friday, May 06, 2016 01:29:59 PM Stef

Re: module: Remove const attribute from alias for MODULE_DEVICE_TABLE

2017-08-28 Thread Stefan Agner
On 2017-08-28 10:41, Kees Cook wrote: > On Mon, Aug 28, 2017 at 10:38 AM, Nick Desaulniers > wrote: >> I think Kees' proposal is a better solution; rather than require all >> usage of device table to remember to add const, have the macro add it >> for all users.

Re: module: Remove const attribute from alias for MODULE_DEVICE_TABLE

2017-08-28 Thread Stefan Agner
On 2017-08-28 10:41, Kees Cook wrote: > On Mon, Aug 28, 2017 at 10:38 AM, Nick Desaulniers > wrote: >> I think Kees' proposal is a better solution; rather than require all >> usage of device table to remember to add const, have the macro add it >> for all users. Otherwise if you require caller's

Re: module: Remove const attribute from alias for MODULE_DEVICE_TABLE

2017-08-27 Thread Stefan Agner
ICE_TABLE usage sites. This would also made it clearly visible that the device tables are const. I created a semantic patch, it turns out that 620 sites are affected (out of 4499)... // // Cocinelle Semantic Patch to constify module device tables // // Author: Stefan Agner <ste...@agner.ch>

Re: module: Remove const attribute from alias for MODULE_DEVICE_TABLE

2017-08-27 Thread Stefan Agner
ICE_TABLE usage sites. This would also made it clearly visible that the device tables are const. I created a semantic patch, it turns out that 620 sites are affected (out of 4499)... // // Cocinelle Semantic Patch to constify module device tables // // Author: Stefan Agner // @ module_device

Re: [PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-13 Thread Stefan Agner
Hi Shawn, On 2017-08-04 20:13, Shawn Guo wrote: > On Wed, Aug 02, 2017 at 12:51:29PM -0700, Stefan Agner wrote: >> If a regulator requests a deferred probe, the power domain gets >> initialized twice. This leads to a list double add (without >> list debugging the kernel ha

Re: [PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-13 Thread Stefan Agner
Hi Shawn, On 2017-08-04 20:13, Shawn Guo wrote: > On Wed, Aug 02, 2017 at 12:51:29PM -0700, Stefan Agner wrote: >> If a regulator requests a deferred probe, the power domain gets >> initialized twice. This leads to a list double add (without >> list debugging the kernel ha

[PATCH RESEND] lib/mpi: fix build with clang

2017-08-07 Thread Stefan Agner
remove superfluous casts on output operands to avoid warnings such as: warning: invalid use of a cast in an inline asm context requiring an l-value Signed-off-by: Stefan Agner <ste...@agner.ch> Acked-by: Arnd Bergmann <a...@arndb.de> --- I checked the output of gcc with -S switch befo

[PATCH RESEND] lib/mpi: fix build with clang

2017-08-07 Thread Stefan Agner
remove superfluous casts on output operands to avoid warnings such as: warning: invalid use of a cast in an inline asm context requiring an l-value Signed-off-by: Stefan Agner Acked-by: Arnd Bergmann --- I checked the output of gcc with -S switch before and after this change, gcc generated

[PATCH] ASoC: fsl_asrc: protect macro argument

2017-08-07 Thread Stefan Agner
Protect macro argument with parentheses to avoid ambiguity. This fixes a warning seen with clang: warning: logical not is only applied to the left hand side of this comparison Signed-off-by: Stefan Agner <ste...@agner.ch> --- sound/soc/fsl/fsl_asrc.h | 2 +- 1 file changed, 1 insertion

[PATCH] ASoC: fsl_asrc: protect macro argument

2017-08-07 Thread Stefan Agner
Protect macro argument with parentheses to avoid ambiguity. This fixes a warning seen with clang: warning: logical not is only applied to the left hand side of this comparison Signed-off-by: Stefan Agner --- sound/soc/fsl/fsl_asrc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] drm/atmel-hlcdc: remove unnecessary if statement

2017-08-07 Thread Stefan Agner
The statement always evaluates to true since the struct fields are arrays. This has shown up as a warning when compiling with clang: warning: address of array 'desc->layout.xstride' will always evaluate to 'true' [-Wpointer-bool-conversion] Signed-off-by: Stefan Agner <ste...@ag

[PATCH] drm/atmel-hlcdc: remove unnecessary if statement

2017-08-07 Thread Stefan Agner
The statement always evaluates to true since the struct fields are arrays. This has shown up as a warning when compiling with clang: warning: address of array 'desc->layout.xstride' will always evaluate to 'true' [-Wpointer-bool-conversion] Signed-off-by: Stefan Agner --- drivers/

[PATCH] mm: vmstat: get slab statistics always from node counters

2017-08-06 Thread Stefan Agner
'enum zone_stat_item' [-Wenum-conversion] Fixes: 385386cff4 ("mm: vmstat: move slab statistics from zone to node counters") Signed-off-by: Stefan Agner <ste...@agner.ch> --- kernel/power/snapshot.c | 2 +- mm/page_alloc.c | 8 2 files changed, 5 insertions

[PATCH] mm: vmstat: get slab statistics always from node counters

2017-08-06 Thread Stefan Agner
'enum zone_stat_item' [-Wenum-conversion] Fixes: 385386cff4 ("mm: vmstat: move slab statistics from zone to node counters") Signed-off-by: Stefan Agner --- kernel/power/snapshot.c | 2 +- mm/page_alloc.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --gi

Re: Revert "[media] et8ek8: Export OF device ID as module aliases"

2017-08-06 Thread Stefan Agner
Hi Mauro, Just hit this issue too. This seems not to have made it into v4.13 as of today yet, any chance to get it still in? -- Stefan On 2017-06-08 02:01, Arnd Bergmann wrote: > This one got applied twice, causing a build error with clang: > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1:

Re: Revert "[media] et8ek8: Export OF device ID as module aliases"

2017-08-06 Thread Stefan Agner
Hi Mauro, Just hit this issue too. This seems not to have made it into v4.13 as of today yet, any chance to get it still in? -- Stefan On 2017-06-08 02:01, Arnd Bergmann wrote: > This one got applied twice, causing a build error with clang: > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1:

Re: [PATCH] lib/mpi: fix build with clang

2017-08-05 Thread Stefan Agner
Hi Herbert, This still applies fine on 4.13-rc3, any chance to get it merged through one of your trees? -- Stefan On 2017-04-19 20:40, Stefan Agner wrote: > Use just @ to denote comments which works with gcc and clang. > Otherwise clang reports an escape sequence error: > error

Re: [PATCH] lib/mpi: fix build with clang

2017-08-05 Thread Stefan Agner
Hi Herbert, This still applies fine on 4.13-rc3, any chance to get it merged through one of your trees? -- Stefan On 2017-04-19 20:40, Stefan Agner wrote: > Use just @ to denote comments which works with gcc and clang. > Otherwise clang reports an escape sequence error: > error

[PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-02 Thread Stefan Agner
linux-kernel@vger.kernel.org Fixes: 03aa12629fc4 ("soc: imx: Add GPCv2 power gating driver") Signed-off-by: Stefan Agner <ste...@agner.ch> --- Hi Shawn, Since this leads to a Kernel hang in v4.13-rc3, can you get this into v4.13 still? -- Stefan drivers/soc/imx/gpcv2.c | 15 +++

[PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-02 Thread Stefan Agner
: imx: Add GPCv2 power gating driver") Signed-off-by: Stefan Agner --- Hi Shawn, Since this leads to a Kernel hang in v4.13-rc3, can you get this into v4.13 still? -- Stefan drivers/soc/imx/gpcv2.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drive

Re: i.MX 7 boot freeze with 4.13-rc3

2017-08-02 Thread Stefan Agner
Hi Andrey, On 2017-08-02 09:57, Andrey Smirnov wrote: > On Tue, Aug 1, 2017 at 7:38 PM, Stefan Agner <ste...@agner.ch> wrote: >> Hi, >> >> Linux 4.13-rc3 seems to freeze on a Colibri iMX7: >> > > Hi Stefan, sorry to hear about that. > >> ..

Re: i.MX 7 boot freeze with 4.13-rc3

2017-08-02 Thread Stefan Agner
Hi Andrey, On 2017-08-02 09:57, Andrey Smirnov wrote: > On Tue, Aug 1, 2017 at 7:38 PM, Stefan Agner wrote: >> Hi, >> >> Linux 4.13-rc3 seems to freeze on a Colibri iMX7: >> > > Hi Stefan, sorry to hear about that. > >> ... >> 8021q: 802.1Q VLAN

Re: [PATCH v6 0/3] ARM: dts: imx7: add NAND support

2017-08-01 Thread Stefan Agner
Hi Shawn, On 2017-06-14 08:11, Shawn Guo wrote: > On Thu, Jun 08, 2017 at 03:34:46PM -0700, Stefan Agner wrote: >> Stefan Agner (3): >> clk: imx7d: create clocks behind rawnand clock gate >> ARM: dts: imx7: add GPMI NAND and APBH DMA >> ARM: dts: imx7-colibri: add

Re: [PATCH v6 0/3] ARM: dts: imx7: add NAND support

2017-08-01 Thread Stefan Agner
Hi Shawn, On 2017-06-14 08:11, Shawn Guo wrote: > On Thu, Jun 08, 2017 at 03:34:46PM -0700, Stefan Agner wrote: >> Stefan Agner (3): >> clk: imx7d: create clocks behind rawnand clock gate >> ARM: dts: imx7: add GPMI NAND and APBH DMA >> ARM: dts: imx7-colibri: add

i.MX 7 boot freeze with 4.13-rc3

2017-08-01 Thread Stefan Agner
Hi, Linux 4.13-rc3 seems to freeze on a Colibri iMX7: ... 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered Registering SWP/SWPB emulation handler vdd1p0d: supplied by DCDC3 asoc-simple-card sound: sgtl5000 <-> 308a.sai mapping ok I started a bisect run and I had a hard time

i.MX 7 boot freeze with 4.13-rc3

2017-08-01 Thread Stefan Agner
Hi, Linux 4.13-rc3 seems to freeze on a Colibri iMX7: ... 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered Registering SWP/SWPB emulation handler vdd1p0d: supplied by DCDC3 asoc-simple-card sound: sgtl5000 <-> 308a.sai mapping ok I started a bisect run and I had a hard time

[PATCH v6 1/3] clk: imx7d: create clocks behind rawnand clock gate

2017-06-08 Thread Stefan Agner
, and use a shared clock gate to correctly model the hardware. Signed-off-by: Stefan Agner <ste...@agner.ch> Tested-by: Fabio Estevam <fabio.este...@nxp.com> --- drivers/clk/imx/clk-imx7d.c | 6 -- include/dt-bindings/clock/imx7d-clock.h | 4 +++- 2 files changed,

[PATCH v6 1/3] clk: imx7d: create clocks behind rawnand clock gate

2017-06-08 Thread Stefan Agner
, and use a shared clock gate to correctly model the hardware. Signed-off-by: Stefan Agner Tested-by: Fabio Estevam --- drivers/clk/imx/clk-imx7d.c | 6 -- include/dt-bindings/clock/imx7d-clock.h | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/clk

[PATCH v6 3/3] ARM: dts: imx7-colibri: add NAND support

2017-06-08 Thread Stefan Agner
The Colibri iMX7 modules come with 512MB on-module SLC NAND flash populated. Make use of it by enabling the GPMI controller. Signed-off-by: Stefan Agner <ste...@agner.ch> Tested-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7-colibri.dtsi | 9 + 1 fil

[PATCH v6 3/3] ARM: dts: imx7-colibri: add NAND support

2017-06-08 Thread Stefan Agner
The Colibri iMX7 modules come with 512MB on-module SLC NAND flash populated. Make use of it by enabling the GPMI controller. Signed-off-by: Stefan Agner Tested-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot

[PATCH v6 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA

2017-06-08 Thread Stefan Agner
Add i.MX 7 APBH DMA and GPMI NAND modules. Signed-off-by: Stefan Agner <ste...@agner.ch> Tested-by: Fabio Estevam <fabio.este...@nxp.com> --- arch/arm/boot/dts/imx7s.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dts

<    6   7   8   9   10   11   12   13   14   15   >