Convert the vf610 gpio binding to DT schema format using json-schema.
Signed-off-by: Anson Huang
---
.../devicetree/bindings/gpio/gpio-vf610.txt| 63 -
.../devicetree/bindings/gpio/gpio-vf610.yaml | 79 ++
2 files changed, 79 insertions(+), 63
When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should
NOT print error message, just return -EPROBE_DEFER is enough.
Signed-off-by: Anson Huang
---
drivers/pci/controller/dwc/pci-imx6.c | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff
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
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
Convert the MMDC memory controller binding to DT schema format using
json-schema.
Signed-off-by: Anson Huang
---
.../bindings/memory-controllers/fsl/mmdc.txt | 35
.../bindings/memory-controllers/fsl/mmdc.yaml | 49 ++
2 files changed, 49
the recommended sequence can make it more robust.
Signed-off-by: Anson Huang
---
changes since V3:
- wdog timeout should NOT update when setting timeout register failed.
---
drivers/watchdog/imx7ulp_wdt.c | 74 ++
1 file changed, 61 insertions(+), 13
When kernel idle, system will enter wait/stop mode, wdog should continue
running in this scenario, and the refresh thread can wake up system from
wait/stop mode.
Signed-off-by: Anson Huang
---
no change.
---
drivers/watchdog/imx7ulp_wdt.c | 5 -
1 file changed, 4 insertions(+), 1 deletion
Hi, Guenter
> Subject: Re: [PATCH V3 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On Thu, Jul 30, 2020 at 10:03:10AM +0800, Anson Huang wrote:
> > According to reference manual, the i.MX7ULP WDOG's operations except
> > refresh shou
Hi, Philipp
> Subject: Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default
>
> Hi Anson,
>
> On Thu, 2020-07-30 at 02:11 +0000, Anson Huang wrote:
> > Hi, Philipp/Rob
> >
> > > Subject: Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default
>
Change i.MX SoCs nand node name from "gpmi-nand" to "nand-controller" to
be compliant with yaml schema, it requires the nodename to be
"nand-controller".
Signed-off-by: Anson Huang
---
arch/arm/boot/dts/imx23-evk.dts| 2 +-
arch/arm/boot/dts/imx23.dtsi
Change i.MX27 nand node name from "nand" to "nand-controller" to
be compliant with yaml schema, it requires the nodename to be
"nand-controller".
Signed-off-by: Anson Huang
---
arch/arm/boot/dts/imx27.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Convert the i.MX nand controller binding to DT schema format
using json-schema.
Signed-off-by: Anson Huang
---
Documentation/devicetree/bindings/mtd/mxc-nand.txt | 19 --
.../devicetree/bindings/mtd/mxc-nand.yaml | 42 ++
2 files changed, 42 insertions
Convert the gpmi nand controller binding to DT schema format
using json-schema.
Signed-off-by: Anson Huang
---
.../devicetree/bindings/mtd/gpmi-nand.txt | 75 -
.../devicetree/bindings/mtd/gpmi-nand.yaml | 118 +
2 files changed, 118 insertions
Hi, Philipp/Rob
> Subject: Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default
>
> On Wed, 2020-07-29 at 09:26 -0600, Rob Herring wrote:
> > On Mon, Jul 20, 2020 at 8:26 AM Anson Huang
> wrote:
> > > i.MX7 reset driver now supports module build and
the recommended sequence can make it more robust.
Signed-off-by: Anson Huang
---
changes since V2:
- change the wait timeout to 20us according to experiment;
- drop WARN_ON when timeout, and check its return value in each caller
for
unlock wait, no need to handle the return
When kernel idle, system will enter wait/stop mode, wdog should continue
running in this scenario, and the refresh thread can wake up system from
wait/stop mode.
Signed-off-by: Anson Huang
---
no change.
---
drivers/watchdog/imx7ulp_wdt.c | 5 -
1 file changed, 4 insertions(+), 1 deletion
Hi, Guenter
> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On 7/29/20 8:32 AM, Anson Huang wrote:
> > Hi, Guenter
> >
> >
> >> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follo
Change configuration to "tristate", add module author, description
and license to support building i.MX8M SoCs clock driver as module.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig | 16 ---
Change configuration to "tristate", add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 10 ++
drivers/clk/im
.
Anson Huang (6):
clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31
bits
clk: composite: Export clk_hw_register_composite()
clk: imx: Support building i.MX common clock driver as module
clk: imx: Add clock configuration for ARMv7 platforms
clk: imx8m: Support module
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option
instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default
according to CONFIG_SOC_xxx.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx
while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK))
Signed-off-by: Anson Huang
Reported-by: kernel test robot
---
changes since V8:
- explicitly include linux/bits.h.
---
drivers/clk/imx/clk-imx6sl.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/d
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 8
Hi, Randy
> Subject: Re: [PATCH V7 1/6] clk: imx6sl: Use BIT(x) to avoid shifting signed
> 32-bit value by 31 bits
>
> On 7/29/20 4:51 PM, Anson Huang wrote:
> > Hi, Randy
> >
> >
> >> Subject: Re: [PATCH V7 1/6] clk: imx6sl: Use BIT(x) to avoid shift
while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK))
Signed-off-by: Anson Huang
Reported-by: kernel test robot
---
changes since V7:
- remove unnecessary linux/bitfield.h include.
---
drivers/clk/imx/clk-imx6sl.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
Change configuration to "tristate", add module author, description
and license to support building i.MX8M SoCs clock driver as module.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig | 16 ---
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 8
Change configuration to "tristate", add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 10 ++
drivers/clk/im
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option
instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default
according to CONFIG_SOC_xxx.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx
#1.
Anson Huang (6):
clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31
bits
clk: composite: Export clk_hw_register_composite()
clk: imx: Support building i.MX common clock driver as module
clk: imx: Add clock configuration for ARMv7 platforms
clk: imx8m: Support
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1
Hi, Randy
> Subject: Re: [PATCH V7 1/6] clk: imx6sl: Use BIT(x) to avoid shifting signed
> 32-bit value by 31 bits
>
> On 7/29/20 7:48 AM, Anson Huang wrote:
> > Use readl_relaxed() instead of __raw_readl(), and use BIT(x) instead
> > of (1 << X) to fix below bu
Hi, Guenter
> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On 7/28/20 7:20 PM, Anson Huang wrote:
> > According to reference manual, the i.MX7ULP WDOG's operations should
> > follow below sequence:
> >
&g
Hi, Guenter
> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On 7/28/20 10:02 PM, Anson Huang wrote:
> > Hi, Guenter
> >
> >
> >> Subject: RE: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follo
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 8
Change configuration to "tristate", add module author, description
and license to support building i.MX8M SoCs clock driver as module.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig | 16 ---
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option
instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default
according to CONFIG_SOC_xxx.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx
Change configuration to "tristate", add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/imx/Kconfig| 10 ++
drivers/clk/im
patch of this
series.
Anson Huang (6):
clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31
bits
clk: composite: Export clk_hw_register_composite()
clk: imx: Support building i.MX common clock driver as module
clk: imx: Add clock configuration for ARMv7 platforms
clk
while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK))
Signed-off-by: Anson Huang
Reported-by: kernel test robot
---
Changes since V6:
- improve the subject.
---
drivers/clk/imx/clk-imx6sl.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/c
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
no change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1
Hi, Guenter
> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On 7/28/20 9:50 PM, Anson Huang wrote:
> > Hi, Guenter
> >
> >
> >> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follo
Hi, Guenter
> Subject: RE: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> Hi, Guenter
>
>
> > Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the
> > sequence for wdog operations
> >
>
Hi, Guenter
> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence
> for wdog operations
>
> On 7/28/20 7:20 PM, Anson Huang wrote:
> > According to reference manual, the i.MX7ULP WDOG's operations should
> > follow below sequence:
> >
&g
Hi, Guenter
> Subject: RE: [PATCH 1/2] watchdog: imx7ulp: Strictly follow the sequence for
> wdog operations
>
> Hi, Guenter
>
>
> > Subject: Re: [PATCH 1/2] watchdog: imx7ulp: Strictly follow the
> > sequence for wdog operations
> >
> > On 7/27/20 11
When kernel idle, system will enter wait/stop mode, wdog should continue
running in this scenario, and the refresh thread can wake up system from
wait/stop mode.
Signed-off-by: Anson Huang
---
no change.
---
drivers/watchdog/imx7ulp_wdt.c | 5 -
1 file changed, 4 insertions(+), 1 deletion
sequence can make it more robust.
Signed-off-by: Anson Huang
---
Changes since V1:
- use readl_poll_timeout_atomic() instead of usleep_ranges() since IRQ
is disabled.
---
drivers/watchdog/imx7ulp_wdt.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers
Hi, Guenter
> Subject: Re: [PATCH 1/2] watchdog: imx7ulp: Strictly follow the sequence for
> wdog operations
>
> On 7/27/20 11:42 PM, Anson Huang wrote:
> > According to reference manual, the i.MX7ULP WDOG's operations should
> > follow below sequence:
> >
&g
sequence can make it more robust.
Signed-off-by: Anson Huang
---
drivers/watchdog/imx7ulp_wdt.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/watchdog/imx7ulp_wdt.c b/drivers/watchdog/imx7ulp_wdt.c
index 7993c8c..b414ecf 100644
--- a/drivers/watchdog
When kernel idle, system will enter wait/stop mode, wdog should continue
running in this scenario, and the refresh thread can wake up system from
wait/stop mode.
Signed-off-by: Anson Huang
---
drivers/watchdog/imx7ulp_wdt.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
Hi, Arnd
> Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build
>
> On Mon, Jul 27, 2020 at 1:21 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build On Mon,
> > > Jul 27, 2020 at 10:18 AM Anson Huang wrote:
> &
Hi, Arnd
> Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build
>
> On Mon, Jul 27, 2020 at 10:18 AM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build
> > >
> > > On Wed, Jul 22, 2020 at 3:50 AM Anson Huang
>
Hi, Arnd
> Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build
>
> On Wed, Jul 22, 2020 at 3:50 AM Anson Huang
> wrote:
> >
> > Change config to tristate, add module device table, module author,
> > description and license to support mod
The following commit has been merged into the timers/core branch of tip:
Commit-ID: a6d0812a081defd8bef5453c7b69a1cb4735a170
Gitweb:
https://git.kernel.org/tip/a6d0812a081defd8bef5453c7b69a1cb4735a170
Author:Anson Huang
AuthorDate:Wed, 08 Jul 2020 11:16:07 +08:00
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
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 070c7e3..43b2bfd
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.MX7 reset driver now supports module build, it is no longer
enabled by default, need to select it explicitly.
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
Use module_platform_driver(), add module device table, author,
description and license to support module build, and
CONFIG_RESET_IMX7 is changed to default 'y' ONLY for i.MX7D,
other platforms need to select it in defconfig.
Signed-off-by: Anson Huang
---
Changes since V2:
- use
i.MX7 reset driver now supports module build and it is no longer
built in by default, so i.MX PCI driver needs to select it explicitly
due to it is NOT supporting loadable module currently.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pci/controller/dwc/Kconfig | 1 +
1 file changed, 1
Hi, Philipp
> Subject: Re: [PATCH V2 1/3] reset: imx7: Support module build
>
> On Mon, 2020-06-29 at 23:05 +0800, Anson Huang wrote:
> > Add module device table, author, description and license to support
> > module build, and CONFIG_RESET_IMX7 is changed to default 'y
Hi, Arnd
> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as
> module
>
> On Fri, Jul 17, 2020 at 11:24 AM Anson Huang
> wrote:
> > > Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl
> > > driver as module
&
Hi, Daniel
> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as
> module
>
> On 7/17/20 2:44 AM, Anson Huang wrote:
> > Hi, Daniel
> >
> >
> >> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl
> >&g
Hi, Daniel
> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as
> module
>
> On 7/16/20 6:21 PM, Anson Huang wrote:
> > Hi, Daniel
> >
> >
> >> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl
> >> dr
Hi, Daniel
> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as
> module
>
> Hi Anson,
>
> Few comments inline:
>
> On 7/16/20 6:06 PM, Anson Huang wrote:
> > To support building i.MX SCU pinctrl driver as module, bel
te;
- Add module author, description and license.
With above changes, i.MX SCU pinctrl driver can be built as module.
Signed-off-by: Anson Huang
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-imx.c | 8 ++--
drivers/pinctrl/freescale/pi
.
Signed-off-by: Anson Huang
---
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/Kconfig
index 570355c..922ae4b 100644
Hi, Linus
> Subject: Re: [PATCH 1/3] gpio: mxc: Support module build
>
> On Wed, Jul 15, 2020 at 4:44 AM Anson Huang
> wrote:
>
> > > Subject: RE: [PATCH 1/3] gpio: mxc: Support module build
> > >
> > > Hi, Linus
> > >
> > >
Hi, Linus
> Subject: RE: [PATCH 1/3] gpio: mxc: Support module build
>
> Hi, Linus
>
> > Subject: Re: [PATCH 1/3] gpio: mxc: Support module build
> >
> > On Wed, Jul 8, 2020 at 1:28 AM Anson Huang
> > wrote:
> >
> > > subsys_initcall(gpio
Hi, Linus
> Subject: Re: [PATCH 1/3] gpio: mxc: Support module build
>
> On Wed, Jul 8, 2020 at 1:28 AM Anson Huang
> wrote:
>
> > subsys_initcall(gpio_mxc_init);
> > +
> > +MODULE_AUTHOR("Shawn Guo ");
> > +MODULE_DESCRIPTION("i.MX GPI
Hi, Andreas
> Subject: Re: [PATCH 3/3] ARM: imx_v6_v7_defconfig: Build in
> CONFIG_GPIO_MXC by default
>
> Hi,
>
> On Wed, 8 Jul 2020 07:25:23 +0800
> Anson Huang wrote:
>
> > i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as
> > b
Select CLKSRC_IMX_TPM for ARCH_MXC by default.
Signed-off-by: Anson Huang
---
No change.
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 8dd05b2..c52b7a0 100644
--- a/arch/arm64
Allows building and compile-testing the i.MX TPM driver for ARM64.
Signed-off-by: Anson Huang
---
Changes since V1:
- select TIMER_OF for CLKSRC_IMX_TPM.
---
drivers/clocksource/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b
Change config to tristate, add module device table, module author,
description and license to support module build for i.MX GPIO driver.
Signed-off-by: Anson Huang
---
drivers/gpio/Kconfig| 2 +-
drivers/gpio/gpio-mxc.c | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC
as built-in manually.
Signed-off-by: Anson Huang
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 278e78f..6817d01 100644
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC
as built-in manually.
Signed-off-by: Anson Huang
---
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
while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK))
Signed-off-by: Anson Huang
Reported-by: kernel test robot
---
New patch.
---
drivers/clk/imx/clk-imx6sl.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/imx/clk-imx6sl.c b/drivers/clk/imx/cl
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option
instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default
according to CONFIG_SOC_xxx.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
---
Changes since V5:
- make i.MX6/7 platforms clock driver
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig| 8 ++--
drivers/clk/imx/Makefile
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
No change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1
Change configuration to "tristate", add module author, description
and license to support building i.MX8M SoCs clock driver as module.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
---
No change.
---
drivers/clk/imx/Kconfig | 16
drivers/clk/imx/clk-imx
Change configuration to "tristate", add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig| 10 ++
drivers/clk/imx/Makefile | 9 -
d
to fix build warning reported by kernel robot test on
i.MX6SL
clock driver.
Anson Huang (6):
clk: composite: Export clk_hw_register_composite()
clk: imx: Support building i.MX common clock driver as module
clk: imx: Add clock configuration for ARMv7 platforms
clk: imx8m: Support
Hi, Laurent
> Subject: Re: [PATCH V5 0/6] Support building i.MX ARMv7/ARMv8 platforms
> clock driver as module
>
> Hi Anson,
>
> On Thu, Jul 02, 2020 at 11:23:55PM +0800, Anson Huang wrote:
> > Nowdays, there are more and more requirements of building SoC specifi
Change configuration to "tristate", add module author, description
and license to support building i.MX8M SoCs clock driver as module.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
---
drivers/clk/imx/Kconfig | 16
drivers/clk/imx/clk-imx8mm.c | 4 +++
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang
---
Changes since V4:
- add empty function of imx_register_uart_clocks() for MODULE build
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option
instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default
according to CONFIG_SOC_xxx, COMPILE_TEST will be also supported.
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
---
Changes since V4
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang
Reviewed-by: Stephen Boyd
---
No change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1
Change configuration to "tristate", add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- keep using builtin_platform_driver();
- add COMPILE_TEST support.
---
drivers/clk/i
Add module author, description and license to support module build
for i.MX5/6/7 and vf610 SoCs.
Signed-off-by: Anson Huang
---
New patch.
---
drivers/clk/imx/clk-imx5.c| 5 +
drivers/clk/imx/clk-imx6q.c | 5 +
drivers/clk/imx/clk-imx6sl.c | 5 +
drivers/clk/imx/clk-imx6sll.c
build support for ARMv7 platforms, also add COMPILE_TEST
for them;
- add COMPILE_TEST for ARMv8 platforms;
- keep using builtin_platform_driver() for i.MX8QXP clock driver.
Anson Huang (6):
clk: composite: Export clk_hw_register_composite()
clk: imx: Support module build
Hi, Arnd
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock
> driver as module
>
> On Thu, Jul 2, 2020 at 8:40 AM Dong Aisheng wrote:
> > On Thu, Jul 2, 2020 at 2:11 PM Anson Huang
> wrote:
> > > > Subject: Re: [PATCH V4 3/5] clk:
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock
> driver as module
>
> On Thu, Jul 2, 2020 at 2:11 PM Anson Huang wrote:
> >
> > > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common
> > > clock driver as module
>
Hi, Arnd/Stephen
> Subject: Re: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as
> module
>
> Quoting Arnd Bergmann (2020-06-29 01:19:44)
> > On Mon, Jun 29, 2020 at 9:18 AM Dong Aisheng
> wrote:
> > > On Thu, Jun 25, 2020 at 6:43 AM Stephen Boyd
> wrote:
> > > > Quoting Aisheng
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock
> driver as module
>
> On Thu, Jul 2, 2020 at 11:26 AM Anson Huang
> wrote:
> [...]
> > > > @@ -143,16 +148,18 @@ void imx_cscmr1_fixup(u32 *val) static int
> > > > imx_kee
> Subject: Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock
> driver as module
>
> On Thu, Jul 2, 2020 at 11:55 AM Anson Huang
> wrote:
> [...]
> > > > +{
> > > > + return platform_driver_register(_lpcg_clk_dr
> Subject: Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock
> driver as module
>
> On Thu, Jul 2, 2020 at 10:20 AM Anson Huang
> wrote:
> >
> > Change configuration to "tristate", use device_initcall() instead of
> > builtin_platfo
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock
> driver as module
>
> On Thu, Jul 2, 2020 at 10:19 AM Anson Huang
> wrote:
> >
> > There are more and more requirements of building SoC specific drivers
> > as modules, add support for
101 - 200 of 2669 matches
Mail list logo