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
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
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 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.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 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.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 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 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 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 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 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 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
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, 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
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
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/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/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/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
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
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
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/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/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-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/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/thermal/imx8mm_thermal.c | 10 +++---
1 file changed
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
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
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
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
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
.
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
.
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/imx8mp-evk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale
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
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:
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
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
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
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
-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
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
:
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
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
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
Convert the pfuze100 regulator binding to DT schema format using
json-schema.
Signed-off-by: Anson Huang
---
.../devicetree/bindings/regulator/pfuze100.txt | 394 -
.../devicetree/bindings/regulator/pfuze100.yaml| 186 ++
2 files changed, 186 insertions
Signed-off-by: Anson Huang
---
arch/arm/boot/dts/imx7ulp.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index 3674396..b7ea37a 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/im
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
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
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
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
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
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
power key's status.
Signed-off-by: Anson Huang
---
Changes since V1:
- remove "wakeup-source" property operation, scu power key uses generic
scu irq,
no need to have this property for device wakeup operation.
---
drivers/input/keyboard/Kconfig | 7 ++
dri
Hi, Rob
> On Fri, Aug 30, 2019 at 04:53:45PM -0400, Anson Huang wrote:
> > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system
> > controller, the system controller is in charge of system power, clock
> > and power key event etc. management, Linux kern
Hi, Fabio
> On Mon, Sep 2, 2019 at 11:05 PM Anson Huang
> wrote:
>
> > + ret = input_register_device(input);
> > + if (ret < 0) {
> > + dev_err(>dev, "failed to register input device\n");
> > + return
Hi, Oleksij
> On 03.09.19 16:03, Anson Huang wrote:
> > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system
> > controller, the system controller is in charge of system power, clock
> > and power key event etc. management, Linux kernel has to communicate
>
Hi, Oleksij
> On 03.09.19 16:03, Anson Huang wrote:
> > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller
> > inside, the system controller is in charge of controlling power, clock
> > and power key etc..
> >
> > Adds i.MX system controller power
Hi, Oleksij
> On 03.09.19 08:37, Anson Huang wrote:
> > Hi, Oleksij
> >
> >> On 03.09.19 16:03, Anson Huang wrote:
> >>> NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system
> >>> controller, the system controller is in charge of s
Hi, Oleksij
> On 03.09.19 08:48, Anson Huang wrote:
> > Hi, Oleksij
> >
> >> On 03.09.19 16:03, Anson Huang wrote:
> >>> i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller
> >>> inside, the system controller is in charge of
Select CONFIG_KEYBOARD_IMX_SC_KEY as module by default to
support i.MX8QXP scu key driver.
Signed-off-by: Anson Huang
---
Changes since V2:
- change CONFIG name.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch
Add scu key node for i.MX8QXP, disabled by default as it
depends on board design.
Signed-off-by: Anson Huang
---
Changes since V2:
- use "key" instead of "pwrkey".
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --g
for i.MX system controller
key driver.
Signed-off-by: Anson Huang
---
Changes since V2:
- use "key" instead of "pwrkey" as the key function can be defined in
DT.
---
.../devicetree/bindings/arm/freescale/fsl,scu.txt | 14 ++
1 file changed, 14 inser
Enable scu key for i.MX8QXP MEK board.
Signed-off-by: Anson Huang
---
Changes since V2:
- change node name accordingly.
---
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
b/arch/arm64
key's status.
Signed-off-by: Anson Huang
---
Changes since V2:
- use private platform data instead of global data;
- use "key" instead of "pwrkey";
- fix some data format.
---
drivers/input/keyboard/Kconfig | 7 ++
drivers/input/keyboard/Makefile
C UID(unique identifier) support")
Signed-off-by: Anson Huang
---
drivers/soc/imx/soc-imx-scu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/imx/soc-imx-scu.c b/drivers/soc/imx/soc-imx-scu.c
index 50831eb..c68882e 100644
--- a/drivers/soc/imx/soc-imx-scu.c
+++
Hi, Leonard
> On 2019-09-04 10:14 AM, Anson Huang wrote:
> > The SCU firmware API for getting UID should have response, otherwise,
> > the message stored in function stack could be released and then the
> > response data received from SCU will be stored into that release
> On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote:
> > From: Anson Huang
> >
> > Some platforms like i.MX8MQ has clock control for this module, need to
> > add clock operations to make sure the driver is working properly.
> >
> > Signed-off-by: Anso
Hi, Rui
> On Tue, 2019-08-27 at 01:51 +0000, Anson Huang wrote:
> > > On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote:
> > > > From: Anson Huang
> > > >
> > > > Some platforms like i.MX8MQ has clock control for this module,
> > > > nee
From: Anson Huang
Use __maybe_unused for power management related functions
instead of #if CONFIG_PM_SLEEP to simply the code.
Signed-off-by: Anson Huang
---
No changes.
---
drivers/thermal/qoriq_thermal.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers
From: Anson Huang
Use devm_platform_ioremap_resource() instead of of_iomap() to
save the iounmap() call in error handle path;
Signed-off-by: Anson Huang
---
No change, just adjust the patch sequence and handle the conflicts.
---
drivers/thermal/qoriq_thermal.c | 18 ++
1 file
From: Anson Huang
Some platforms like i.MX8M series SoCs have clock control for TMU,
add optional clocks property to the binding doc.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
No changes, noted the i.MX8M series SoCs need this clock in commit log.
---
Documentation/devicetree
From: Anson Huang
Some platforms like i.MX8MQ has clock control for this module,
need to add clock operations to make sure the driver is working
properly.
Signed-off-by: Anson Huang
Reviewed-by: Guido Günther
---
Changes since V2:
- move this patch as first patch in the series
From: Anson Huang
When registering tmu zone failed, the error path should be err_tmu
instead of err_iomap, as iounmap() needs to be called.
Signed-off-by: Anson Huang
---
New patch.
---
drivers/thermal/qoriq_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Gentle ping...
> > From: anson.hu...@nxp.com
> > Sent: Thursday, July 18, 2019 9:32 AM
> >
> > Use the new helper devm_platform_ioremap_resource() which wraps the
> > platform_get_resource() and devm_ioremap_resource() together, to
> > simplify the code
(refreshed) within a certain period, it resets the MCU.
Add driver support for i.MX7ULP watchdog.
Signed-off-by: Anson Huang
---
Changes since V2:
- add devm_add_action_or_reset to disable clk for remove action.
---
drivers/watchdog/Kconfig | 13 +++
drivers/watchdog/Makefile | 1
Add the watchdog bindings for Freescale i.MX7ULP.
Signed-off-by: Anson Huang
---
No changes.
---
.../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 ++
1 file changed, 22 insertions(+)
create mode 100644
Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.txt
Select CONFIG_IMX7ULP_WDT by default to support i.MX7ULP watchdog.
Signed-off-by: Anson Huang
---
No changes.
---
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/imx_v6_v7_defconfig
index 9bfffbe
Add wdog1 node to support watchdog driver.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm/boot/dts/imx7ulp.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index 6859a3a..1fdb5a35 100644
--- a/arch/arm
Hi, Guenter
> On Tue, Aug 20, 2019 at 08:31:55AM -0700, Guenter Roeck wrote:
> > On Mon, Aug 12, 2019 at 04:53:19PM +0800, anson.hu...@nxp.com
> wrote:
> > > From: Anson Huang
> > >
> > > The i.MX7ULP Watchdog Timer (WDOG) module is an independent timer
Hi, Viresh
> On 08-07-19, 08:43, Anson Huang wrote:
> > Hi, Viresh
> >
> > > On 04-07-19, 07:49, Leonard Crestez wrote:
> > > > On 7/4/2019 9:23 AM, anson.hu...@nxp.com wrote:
> > > > > From: Anson Huang
> > > > >
&g
be NOT
> > supported according to speed garding and market segment fuse settings.
> > So we can assign the cpufreq policy's suspend_freq with max available
> > frequency provided by cpufreq driver.
> >
> > Signed-off-by: Anson Huang
>
> > diff --git a/d
Hi, Viresh
> On 08-07-19, 08:54, Anson Huang wrote:
> > Each OPP has "opp-supported-hw" property as below, the first value
> > needs to be checked with speed grading fuse, and the second one needs
> > to be checked with market segment fuse, ONLY both of them passed,
From: Anson Huang
Add opp-suspend property to each OPP, the of opp core will
select the OPP HW supported and with highest rate to be
suspend opp, it will speed up the suspend/resume process.
Signed-off-by: Anson Huang
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 3 +++
1 file changed, 3
From: Anson Huang
Add opp-suspend property to each OPP, the of opp core will
select the OPP HW supported and with highest rate to be
suspend opp, it will speed up the suspend/resume process.
Signed-off-by: Anson Huang
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4
1 file changed, 4
701 - 800 of 2669 matches
Mail list logo