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
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
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
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
.
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
.
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
.
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
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 design, some are
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 build for i.MX GPIO
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
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
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
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
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
nt")
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
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
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
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
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:
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:
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
--- a
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:
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 manual
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
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
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
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
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 disc
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
.
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
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
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
> 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
> > +
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
.
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
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
> 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
> > mo
> 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 to
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
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
.
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
> 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
> 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
> >
&
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
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
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
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
&
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
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
evicetree/bindings/clock/imx28-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.
---
Documentat
:
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.y
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
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
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
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
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 --
evicetree/bindings/clock/imx28-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.
---
Documentat
:
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.y
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
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
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
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
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
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
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
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
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
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
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
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
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 reaso
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> > ---
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 1125 matches
Mail list logo