[PATCH] thermal: imx: Do NOT return -EPROBE_DEFER when "#cooling-cells" is present

2020-10-21 Thread Anson Huang
r can continue probe. Signed-off-by: Anson Huang --- drivers/thermal/imx_thermal.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 9f00182..df60dcb 100644 --- a/drivers/thermal/imx_the

[RESEND PATCH V2 2/3] pwm: imx27: Use dev_err_probe() to simplify error handling

2020-10-19 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang Acked-by: Uwe Kleine-König --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx27.c | 25

[RESEND PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-10-19 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang Acked-by: Uwe Kleine-König --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx-tpm.c | 10

[RESEND PATCH V2 3/3] pwm: imx1: Use dev_err_probe() to simplify error handling

2020-10-19 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang Acked-by: Uwe Kleine-König --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx1.c | 21

[PATCH V2 3/3] arm64: dts: imx8mp-evk: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
. Signed-off-by: Anson Huang --- Changes since V1: - Provide more explanation of removing schmitt input and enabling open drain in commit msg. --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale

[PATCH V2 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
. Signed-off-by: Anson Huang --- Changes since V1: - Provide more explanation of removing schmitt input and enabling open drain in commit msg. --- arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi| 2 +- arch/arm64/boot/dts

[PATCH V2 2/3] arm64: dts: imx8mn: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
. Signed-off-by: Anson Huang --- Changes since V1: - Provide more explanation of removing schmitt input and enabling open drain in commit msg. --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 2 +- 2 files changed, 2 insertions

RE: [PATCH 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
Hi, Krzysztof > Subject: Re: [PATCH 1/3] arm64: dts: imx8mm: Correct WDOG_B pin > configuration > > On Fri, 9 Oct 2020 at 09:52, Anson Huang wrote: > > > > Different revision of i.MX8MM EVK boards may have different external > > pull up registor desig

RE: [PATCH V3 1/4] gpio: mxc: Support module build

2020-10-12 Thread Anson Huang
Hi, Shawn > Subject: Re: [PATCH V3 1/4] gpio: mxc: Support module build > > On Thu, Sep 17, 2020 at 7:40 AM Anson Huang > wrote: > > > Change config to tristate, add module device table, module author, > > description and license to support module

[tip: irq/core] irqchip/imx-irqsteer: Use dev_err_probe() to simplify error handling

2020-10-11 Thread tip-bot2 for Anson Huang
The following commit has been merged into the irq/core branch of tip: Commit-ID: e0c45b107fc94c5a7a230b25cdbecab004ab1ed5 Gitweb: https://git.kernel.org/tip/e0c45b107fc94c5a7a230b25cdbecab004ab1ed5 Author:Anson Huang AuthorDate:Tue, 11 Aug 2020 14:16:16 +08:00 Committer

[tip: irq/core] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-10-11 Thread tip-bot2 for Anson Huang
The following commit has been merged into the irq/core branch of tip: Commit-ID: c201f4325588a3b0109ba552a20bd4d4b1b5c6c8 Gitweb: https://git.kernel.org/tip/c201f4325588a3b0109ba552a20bd4d4b1b5c6c8 Author:Anson Huang AuthorDate:Tue, 11 Aug 2020 14:16:15 +08:00 Committer

[PATCH 3/3] arm64: dts: imx8mp-evk: Correct WDOG_B pin configuration

2020-10-09 Thread Anson Huang
of flexibility on different board design, just enable it for all i.MX8MP boards. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts

[PATCH 2/3] arm64: dts: imx8mn: Correct WDOG_B pin configuration

2020-10-09 Thread Anson Huang
of flexibility on different board design, just enable it for all i.MX8MN boards. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64

[PATCH 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-09 Thread Anson Huang
of flexibility on different board design, just enable it for all i.MX8MM boards. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi| 2 +- arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi| 2 +- 3

[PATCH] thermal: imx: Correct run_measurement check method

2020-09-27 Thread Anson Huang
Signed-off-by: Anson Huang --- drivers/thermal/imx_thermal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 2c7473d..9f00182 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c

[PATCH] arm64: dts: imx8mn-evk: Add cpu-supply to enable cpufreq

2020-09-27 Thread Anson Huang
PMIC driver is ready on i.MX8MN EVK board, assign cpu-supply for each A53 and restore the operating points table to enable cpufreq. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 32 ++-- 1 file changed, 16 insertions(+), 16 deletions

[PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2

2020-09-27 Thread Anson Huang
On i.MX7ULP revision 2.2, the value is 3, so add support for this revision, otherwise, it will use default revision of 1.0 which is incorrect. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mach-imx7ulp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx7ulp.c

RE: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-09-17 Thread Anson Huang
Gentle ping... > Subject: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error > handling > > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. > > Signed-off-by: Anson Huang

[PATCH V3 3/4] ARM: imx_v6_v7_defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-16 Thread Anson Huang
i.MX SoC GPIO driver provides the basic functions of GPIO pin operations and IRQ operations, it is now changed from "def_bool y" to "tristate", so it should be explicitly enabled to make sure all consumers work normally. Signed-off-by: Anson Huang --- changes since V2:

[PATCH V3 2/4] arm64: defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-16 Thread Anson Huang
i.MX SoC GPIO driver provides the basic functions of GPIO pin operations and IRQ operations, it is now changed from "def_bool y" to "tristate", so it should be explicitly enabled to make sure all consumers work normally. Signed-off-by: Anson Huang --- changes since V2:

[PATCH V3 1/4] gpio: mxc: Support module build

2020-09-16 Thread Anson Huang
subsys_initcall(), NOT module_platform_driver(). Signed-off-by: Anson Huang --- no change. --- drivers/gpio/Kconfig| 2 +- drivers/gpio/gpio-mxc.c | 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 5cfdaf3..c7292a5 100644

[PATCH V3 4/4] ARM: multi_v7_defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-16 Thread Anson Huang
i.MX SoC GPIO driver provides the basic functions of GPIO pin operations and IRQ operations, it is now changed from "def_bool y" to "tristate", so it should be explicitly enabled to make sure all consumers work normally. Signed-off-by: Anson Huang --- changes since V2:

RE: [PATCH V2 RESEND 2/4] arm64: defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-15 Thread Anson Huang
Hi, Krzysztof > Subject: Re: [PATCH V2 RESEND 2/4] arm64: defconfig: Build in > CONFIG_GPIO_MXC by default > > On Mon, 14 Sep 2020 at 05:36, Anson Huang > wrote: > > > > i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as > > built-in ma

[PATCH V2 RESEND 1/4] gpio: mxc: Support module build

2020-09-13 Thread Anson Huang
subsys_initcall(), NOT module_platform_driver(). Signed-off-by: Anson Huang --- Changes since V1: - no code change, just add detail explanation about why this patch does NOT support module unloaded. --- drivers/gpio/Kconfig| 2 +- drivers/gpio/gpio-mxc.c | 6 ++ 2 files changed, 7

[PATCH V2 RESEND 2/4] arm64: defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-13 Thread Anson Huang
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as built-in manually. Signed-off-by: Anson Huang --- No change. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec..c8fca1a

[PATCH V2 RESEND 3/4] ARM: imx_v6_v7_defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-13 Thread Anson Huang
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as built-in manually. Signed-off-by: Anson Huang --- No change. --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs

[PATCH V2 RESEND 4/4] ARM: multi_v7_defconfig: Build in CONFIG_GPIO_MXC by default

2020-09-13 Thread Anson Huang
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as built-in manually. Signed-off-by: Anson Huang --- new patch. --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig

RE: [PATCH V2 1/4] gpio: mxc: Support module build

2020-09-13 Thread Anson Huang
Hi, Linus > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build > > On Thu, Sep 3, 2020 at 3:31 AM Anson Huang > wrote: > > > Hi, Linus > > Do you have chance to take a look at this patch series? > > I've seen there was plenty discussio

[PATCH V4 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-08 Thread Anson Huang
CONFIG_PINCTRL_IMX_SCU anymore, hence stub functions also can be removed. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/pinctrl-imx.c | 8 ++-- drivers/pinctrl/freescale/pinctrl-imx.h | 57 +++-- drivers/pinctrl/freescale/pinctrl-imx8dxl.c | 3 ++ drivers

[PATCH V4 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-08 Thread Anson Huang
. Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng --- changes since V3: - remove the prompt for PINCTRL_IMX. --- drivers/pinctrl/freescale/Kconfig | 3 ++- drivers/pinctrl/freescale/pinctrl-imx.c | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl

[PATCH V4 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-08 Thread Anson Huang
Change PINCTR_IMX_SCU to tristate, add module author, description and license to support building SCU pinctrl core driver as module. Signed-off-by: Anson Huang --- changes since V3: - remove the prompt for PINCTRL_IMX_SCU. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers

RE: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-08 Thread Anson Huang
Hi, Arnd > Subject: Re: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core > driver as module > > On Tue, Sep 8, 2020 at 9:34 AM Anson Huang > wrote: > > > Subject: Re: [PATCH V3 3/3] pinctrl: imx: Support building i.MX > > > pinctrl core driver as

RE: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-08 Thread Anson Huang
> Subject: Re: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core > driver as module > > On Tue, Sep 8, 2020 at 9:20 AM Anson Huang > wrote: > > > # SPDX-License-Identifier: GPL-2.0-only config PINCTRL_IMX > > - bool > > +

[PATCH V3 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-08 Thread Anson Huang
CONFIG_PINCTRL_IMX_SCU anymore, hence stub functions also can be removed. Signed-off-by: Anson Huang --- Changes since V2: - move the removal of #ifdef CONFIG_PINCTRL_IMX_SCU and #else block from patch #2 to this patch. --- drivers/pinctrl/freescale/pinctrl-imx.c | 8 ++-- drivers/pinctrl

[PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-08 Thread Anson Huang
. Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng --- no change. --- drivers/pinctrl/freescale/Kconfig | 3 ++- drivers/pinctrl/freescale/pinctrl-imx.c | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale

[PATCH V3 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-08 Thread Anson Huang
Change PINCTR_IMX_SCU to tristate, add module author, description and license to support building SCU pinctrl core driver as module. Signed-off-by: Anson Huang --- Changes since V2: - move the removal of #ifdef CONFIG_PINCTRL_IMX_SCU and #else block to patch #1. --- drivers

RE: [PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core > driver as module > > > From: Anson Huang > > Sent: Monday, September 7, 2020 8:33 PM > > > > Change PINCTR_IMX_SCU to tristate, remove unnecessary #ifdef and add > >

RE: [PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU > related functions > > > From: Anson Huang > > Sent: Monday, September 7, 2020 8:33 PM > > > > Use function callbacks for SCU related functions in pinctrl-imx.c in > > order

[PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-07 Thread Anson Huang
Use function callbacks for SCU related functions in pinctrl-imx.c in order to support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built as module, all drivers using SCU pinctrl driver need to initialize the SCU related function callback. Signed-off-by: Anson Huang

[PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-07 Thread Anson Huang
Change PINCTR_IMX_SCU to tristate, remove unnecessary #ifdef and add module author, description and license to support building SCU pinctrl core driver as module. Signed-off-by: Anson Huang --- Changes since V1: - split V1 [1/2] patch to 2 patches, this patch supports building SCU

[PATCH V2 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-07 Thread Anson Huang
. Signed-off-by: Anson Huang --- Changes since V1: - Correct module author, using "i.MX pinctrl core driver" instead of "i.MX pinctrl driver". --- drivers/pinctrl/freescale/Kconfig | 3 ++- drivers/pinctrl/freescale/pinctrl-imx.c | 5 + 2 files changed, 7 inser

RE: [PATCH 2/2] pinctrl: imx: Support building i.MX pinctrl driver as module

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH 2/2] pinctrl: imx: Support building i.MX pinctrl driver as > module > > > From: Anson Huang > > Sent: Thursday, July 16, 2020 11:07 PM > > Subject: [PATCH 2/2] pinctrl: imx: Support building i.MX pinctrl > > driver as module > > &g

RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as module

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as > module > > > From: Anson Huang > > Sent: Thursday, July 16, 2020 11:07 PM > > Subject: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver > > as module > > &

RE: [PATCH V2 1/4] gpio: mxc: Support module build

2020-09-02 Thread Anson Huang
Hi, Linus Do you have chance to take a look at this patch series? Thanks, Anson > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build > > On Mon, Jul 27, 2020 at 2:23 PM Anson Huang > wrote: > > > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module b

RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as module

2020-08-31 Thread Anson Huang
as module; > - All drivers using SCU pinctrl driver need to initialize the > SCU related function callback; > - Change PINCTR_IMX_SCU to tristate; > - Add module author, description and license. > > With above changes, i.MX SCU pinctrl driver can be built as m

RE: [PATCH] arm64: dts: imx8mp: Update pinfunc header file

2020-08-23 Thread Anson Huang
Hi, Shawn > Subject: Re: [PATCH] arm64: dts: imx8mp: Update pinfunc header file > > On Fri, Aug 14, 2020 at 05:27:19PM +0800, Anson Huang wrote: > > Update some pins' name and adjust pin options to i.MX8MP pinfunc > > header file according to latest reference manual. > &g

RE: [PATCH V2 2/2] arm64: imx: Select TPM driver by default

2020-08-20 Thread Anson Huang
Gentle ping... > -Original Message- > From: Anson Huang > Sent: 2020年7月8日 11:16 > To: catalin.mari...@arm.com; w...@kernel.org; daniel.lezc...@linaro.org; > t...@linutronix.de; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org > Cc: dl-linux-imx &

[PATCH V3 3/5] dt-bindings: serial: Convert i.MX uart to json-schema

2020-08-17 Thread Anson Huang
Convert the i.MX uart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- no change. --- .../devicetree/bindings/serial/fsl-imx-uart.txt| 40 -- .../devicetree/bindings/serial/fsl-imx-uart.yaml | 92 ++ 2 files changed, 92 insertions

[PATCH V3 4/5] dt-bindings: serial: Convert MXS auart to json-schema

2020-08-17 Thread Anson Huang
Convert the MXS auart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V2: - update maintainer. --- .../devicetree/bindings/serial/fsl-mxs-auart.txt | 53 - .../devicetree/bindings/serial/fsl-mxs-auart.yaml | 91

[PATCH V3 1/5] dt-bindings: clock: Update i.MX28 example

2020-08-17 Thread Anson Huang
-clock.example.dt.yaml: serial@8006a000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: 'dma-names' is a required property Signed-off-by: Anson Huang --- no change. --- Documentation/devicetree/bindings/clock/imx28-clock.yaml | 6

[PATCH V3 2/5] dt-bindings: clock: Update i.MX23 example

2020-08-17 Thread Anson Huang
: serial@8006c000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: 'dma-names' is a required property Signed-off-by: Anson Huang --- no change. --- Documentation/devicetree/bindings/clock/imx23-clock.yaml | 4 +++- 1 file

[PATCH V3 5/5] dt-bindings: serial: Convert NXP lpuart to json-schema

2020-08-17 Thread Anson Huang
Convert the NXP lpuart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V2: - update maintainer, the original owner's email address is no longer valid, use one of the patch contributors as well as NXP's UART owner as maintainer

RE: [PATCH V2 4/5] dt-bindings: serial: Convert MXS auart to json-schema

2020-08-17 Thread Anson Huang
Hi, Rob > Subject: Re: [PATCH V2 4/5] dt-bindings: serial: Convert MXS auart to > json-schema > > On Wed, Aug 12, 2020 at 04:51:23PM +0800, Anson Huang wrote: > > Convert the MXS auart binding to DT schema format using json-schema. > > > > Signed-off-by: Anson Hu

[PATCH V2] dt-bindings: sound: Convert NXP spdif to json-schema

2020-08-17 Thread Anson Huang
Convert the NXP SPDIF binding to DT schema format using json-schema. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- changes since V1: - add "additionalProperties: false". --- .../devicetree/bindings/sound/fsl,spdif.txt| 68 - .../devicetree/bind

[PATCH] hwmon: pwm-fan: Use dev_err_probe() to simplify error handling

2020-08-17 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/hwmon/pwm-fan.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/hwmon/pwm-fan.c b

[PATCH] arm64: dts: imx8mp: Update pinfunc header file

2020-08-14 Thread Anson Huang
Update some pins' name and adjust pin options to i.MX8MP pinfunc header file according to latest reference manual. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h | 360 - 1 file changed, 114 insertions(+), 246 deletions(-) diff --git

[PATCH V2 1/5] dt-bindings: clock: Update i.MX28 example

2020-08-12 Thread Anson Huang
-clock.example.dt.yaml: serial@8006a000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: 'dma-names' is a required property Signed-off-by: Anson Huang --- new patch. --- Documentation/devicetree/bindings/clock/imx28-clock.yaml | 6

[PATCH V2 2/5] dt-bindings: clock: Update i.MX23 example

2020-08-12 Thread Anson Huang
: serial@8006c000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: 'dma-names' is a required property Signed-off-by: Anson Huang --- new patch. --- Documentation/devicetree/bindings/clock/imx23-clock.yaml | 4 +++- 1 file

[PATCH V2 5/5] dt-bindings: serial: Convert NXP lpuart to json-schema

2020-08-12 Thread Anson Huang
Convert the NXP lpuart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- no change. --- .../devicetree/bindings/serial/fsl-lpuart.txt | 43 .../devicetree/bindings/serial/fsl-lpuart.yaml | 79 ++ 2 files changed, 79

[PATCH V2 3/5] dt-bindings: serial: Convert i.MX uart to json-schema

2020-08-12 Thread Anson Huang
Convert the i.MX uart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- no change. --- .../devicetree/bindings/serial/fsl-imx-uart.txt| 40 -- .../devicetree/bindings/serial/fsl-imx-uart.yaml | 92 ++ 2 files changed, 92 insertions

[PATCH V2 4/5] dt-bindings: serial: Convert MXS auart to json-schema

2020-08-12 Thread Anson Huang
Convert the MXS auart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V1: - update examples to align with i.MX23/i.MX28 clock bindings; - add minItem to clocks/clock-names property as i.MX23/i.MX28 have optional clocks

[PATCH V2] dt-bindings: gpio: Convert vf610 to json-schema

2020-08-12 Thread Anson Huang
Convert the vf610 gpio binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V1: - fix reg property to pass build; - add "additionalProperties: false". --- .../devicetree/bindings/gpio/gpio-vf610.txt

[PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/i2c/busses/i2c-imx.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c

[PATCH V2 2/2] thermal: imx8mm: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/thermal/imx8mm_thermal.c | 10 +++--- 1 file changed

[PATCH V2 1/2] thermal: imx: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/thermal/imx_thermal.c | 22 ++ 1 file

[PATCH V2 3/3] pwm: imx1: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx1.c | 21 ++--- 1 file changed

[PATCH V2 2/3] pwm: imx27: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx27.c | 25 ++--- 1 file

[PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx-tpm.c | 10 +++--- 1 file changed, 3

[PATCH V2 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/irqchip/irq-imx-intmux.c | 9 +++-- 1 file changed, 3

[PATCH V2 2/2] irqchip/imx-irqsteer: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/irqchip/irq-imx-irqsteer.c | 9 +++-- 1 file changed

RE: [PATCH 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Anson Huang
Hi, Ahmad > Subject: Re: [PATCH 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify > error handling > > Hello, > > On 8/11/20 6:25 AM, Anson Huang wrote: > > dev_err_probe() can reduce code size, uniform error handling and > > record the defer probe r

[PATCH 2/2] irqchip/imx-irqsteer: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/irqchip/irq-imx-irqsteer.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq

[PATCH 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/irqchip/irq-imx-intmux.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq

[PATCH 2/3] iio: light: isl29018: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/iio/light/isl29018.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/iio/light/isl29018.c

[PATCH 1/3] iio: accel: mma8452: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/iio/accel/mma8452.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/iio

[PATCH 3/3] iio: magnetometer: mag3110: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/iio/magnetometer/mag3110.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx-tpm.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/pwm/pwm-imx-tpm.c b

[PATCH 3/3] pwm: imx1: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx1.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/pwm/pwm

[PATCH 2/3] pwm: imx27: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx27.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/drivers/pwm

[PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/soc/imx/gpcv2.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/soc/imx/gpcv2.c b

[PATCH 2/2] thermal: imx8mm: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/thermal/imx8mm_thermal.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/thermal

[PATCH 1/2] thermal: imx: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/thermal/imx_thermal.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers

RE: [PATCH] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

2020-08-10 Thread Anson Huang
Hi, Lucas > Subject: Re: [PATCH] PCI: imx6: Do not output error message when > devm_clk_get() failed with -EPROBE_DEFER > > Am Dienstag, den 04.08.2020, 13:38 +0800 schrieb Anson Huang: > > When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should NOT > > p

[PATCH V2] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

2020-08-10 Thread Anson Huang
When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should NOT print error message, use dev_err_probe() to handle it. Signed-off-by: Anson Huang --- drivers/pci/controller/dwc/pci-imx6.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) diff

RE: [PATCH] dt-bindings: gpio: Convert vf610 to json-schema

2020-08-06 Thread Anson Huang
Hi, Rob > Subject: Re: [PATCH] dt-bindings: gpio: Convert vf610 to json-schema > > On Tue, 04 Aug 2020 23:01:48 +0800, Anson Huang wrote: > > Convert the vf610 gpio binding to DT schema format using json-schema. > > > > Signed-off-by: Anson Huang > > --- >

[PATCH] dt-bindings: sound: Convert NXP spdif to json-schema

2020-08-05 Thread Anson Huang
Convert the NXP SPDIF binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/sound/fsl,spdif.txt| 68 - .../devicetree/bindings/sound/fsl,spdif.yaml | 108 + 2 files changed, 108 insertions(+), 68

[PATCH] dt-bindings: ata: Convert i.MX sata to json-schema

2020-08-05 Thread Anson Huang
Convert the i.MX sata binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/ata/imx-sata.txt | 37 -- .../devicetree/bindings/ata/imx-sata.yaml | 81 ++ 2 files changed, 81 insertions(+), 37 deletions

[PATCH] dt-bindings: nvmem: Convert snvs lpgpr to json-schema

2020-08-05 Thread Anson Huang
Convert the snvs lpgpr binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/nvmem/snvs-lpgpr.txt | 21 --- .../devicetree/bindings/nvmem/snvs-lpgpr.yaml | 31 ++ 2 files changed, 31 insertions(+), 21

[PATCH] dt-bindings: perf: Convert i.MX DDR to json-schema

2020-08-05 Thread Anson Huang
Convert the i.MX DDR perf binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/perf/fsl-imx-ddr.txt | 22 .../devicetree/bindings/perf/fsl-imx-ddr.yaml | 39 ++ 2 files changed, 39 insertions(+), 22

[PATCH] dt-bindings: rng: Convert i.MX to json-schema

2020-08-05 Thread Anson Huang
Convert the i.MX rng binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/rng/imx-rng.txt | 23 -- Documentation/devicetree/bindings/rng/imx-rng.yaml | 50 ++ 2 files changed, 50 insertions(+), 23 deletions

[PATCH 3/3] dt-bindings: serial: Convert NXP lpuart to json-schema

2020-08-04 Thread Anson Huang
Convert the NXP lpuart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/serial/fsl-lpuart.txt | 43 .../devicetree/bindings/serial/fsl-lpuart.yaml | 79 ++ 2 files changed, 79 insertions(+), 43

[PATCH 1/3] dt-bindings: serial: Convert i.MX uart to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX uart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/serial/fsl-imx-uart.txt| 40 -- .../devicetree/bindings/serial/fsl-imx-uart.yaml | 92 ++ 2 files changed, 92 insertions(+), 40 deletions

[PATCH 2/3] dt-bindings: serial: Convert MXS auart to json-schema

2020-08-04 Thread Anson Huang
Convert the MXS auart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/serial/fsl-mxs-auart.txt | 53 .../devicetree/bindings/serial/fsl-mxs-auart.yaml | 93 ++ 2 files changed, 93 insertions(+), 53

[PATCH 1/2] dt-bindings: fsl: Convert i.MX7ULP PM to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX7ULP PM binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../bindings/arm/freescale/fsl,imx7ulp-pm.txt | 23 - .../bindings/arm/freescale/fsl,imx7ulp-pm.yaml | 40 ++ 2 files changed, 40 insertions(+), 23

[PATCH 2/2] dt-bindings: fsl: Convert i.MX7ULP SIM to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX7ULP SIM binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../bindings/arm/freescale/fsl,imx7ulp-sim.txt | 16 -- .../bindings/arm/freescale/fsl,imx7ulp-sim.yaml| 36 ++ 2 files changed, 36 insertions(+), 16

[PATCH 1/3] dt-bindings: crypto: Convert MXS DCP to json-schema

2020-08-04 Thread Anson Huang
Convert the MXS DCP binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-dcp.txt | 18 .../devicetree/bindings/crypto/fsl-dcp.yaml| 49 ++ 2 files changed, 49 insertions(+), 18 deletions

[PATCH 3/3] dt-bindings: crypto: Convert i.MX sahara to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX sahara binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-imx-sahara.txt | 15 -- .../devicetree/bindings/crypto/fsl-imx-sahara.yaml | 35 ++ 2 files changed, 35 insertions(+), 15

[PATCH 2/3] dt-bindings: crypto: Convert i.MX SCC to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX SCC binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-imx-scc.txt | 21 - .../devicetree/bindings/crypto/fsl-imx-scc.yaml| 52 ++ 2 files changed, 52 insertions(+), 21 deletions

[PATCH] dt-bindings: w1: Convert i.MX to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX one wire binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/w1/fsl-imx-owire.txt | 18 -- .../devicetree/bindings/w1/fsl-imx-owire.yaml | 42 ++ 2 files changed, 42 insertions(+), 18

[PATCH] clk: imx: Explicitly include bits.h

2020-08-04 Thread Anson Huang
It is better to explicitly include the required header file rather then get it through some recursive include. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-busy.c | 1 + drivers/clk/imx/clk-composite-7ulp.c | 1 + drivers/clk/imx/clk-fixup-mux.c | 1 + drivers/clk/imx/clk

  1   2   3   4   5   6   7   8   9   10   >