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 V3:
- ONLY include __setup_param() build for built-in, module build no need
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
---
Changes since V3:
- add module author/description, and merge all i.MX8M SoCs patch into
one patch.
--
Change configuration to "tristate", use device_initcall() instead
of builtin_platform_driver(), add module author, description and
license to support building i.MX8QXP clock drivers as module.
Signed-off-by: Anson Huang
---
Changes since V3:
- use device_initcall()
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
i.MX8QXP clock driver, then export
is no needed for common scu/lpcg clock driver.
Anson Huang (5):
clk: composite: Export clk_hw_register_composite()
clk: imx: Add clock configuration for ARMv7 platforms
clk: imx: Support building i.MX common clock driver as module
clk: imx8m
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
---
Changes since V3:
- Add clock configuration for each ARMv7.
---
drivers/clk/imx
Hi, Arnd
> Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for
> module build
>
> On Wed, Jul 1, 2020 at 12:02 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro
> > > for module build On W
Hi, Arnd
> Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for
> module build
>
> On Wed, Jul 1, 2020 at 11:27 AM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro
> > > for module build
> >
Hi, Arnd
> Subject: RE: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> Hi, Arnd
>
> > Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock
> > driver as module
> >
> > On Wed, Jul 1, 2020 at 9:19 AM Anson Huang
Hi, Arnd
> Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> On Wed, Jul 1, 2020 at 9:19 AM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock
> > > driver as module On Tue, Ju
Hi, Arnd
> Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for
> module build
>
> On Wed, Jul 1, 2020 at 7:14 AM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro
> > > for module build On Mon, Ju
Hi, Arnd
> Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> On Tue, Jun 30, 2020 at 5:16 AM Anson Huang
> wrote:
> >
> > Hi, Arnd
> >
> >
> > > Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU
Hi, Arnd
> Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for
> module build
>
> On Mon, Jun 29, 2020 at 1:40 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro
> > > for module build
> &g
> Subject: RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as
> module
>
> > From: Arnd Bergmann
> > Sent: Monday, June 29, 2020 4:20 PM
> >
> > 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 A
Hi, Arnd
> Subject: Re: [PATCH 2/3] arm64: defconfig: Select CONFIG_RESET_IMX7 by
> default
>
> On Mon, Jun 29, 2020 at 2:09 PM Anson Huang
> wrote:
> > >
> > > It sounds like your patch 1/3 is not ready to be merged then.
> > >
> > > Please m
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
---
Changes since V1:
- use module build by default.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64
Hi, Arnd
> Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> On Mon, Jun 29, 2020 at 4:52 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock
> > > driver as module On Mon, Ju
> Subject: RE: [PATCH V3 03/10] ARM: imx: Select MXC_CLK for each SoC
>
> > From: Anson Huang
> > Sent: Monday, June 29, 2020 1:54 PM
> >
> > i.MX common clock drivers may support module build, so it is NOT
> > selected by default, for ARCH_MXC ARMv7 platf
Hi, Arnd
> Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for
> module build
>
> On Mon, Jun 29, 2020 at 8:06 AM Anson Huang
> wrote:
> >
> > Keep __setup_param() to use same parameters for both built in and
> > built as module, it can make
> Subject: Re: [PATCH 1/3] reset: imx7: Support module build
>
> On Mon, Jun 29, 2020 at 12:25 PM Anson Huang
> wrote:
> >
> > Add module device table, module license to support module build.
> >
> > Signed-off-by: Anson Huang
> > ---
> >
Hi, Arnd
> Subject: Re: [PATCH 1/3] reset: imx7: Support module build
>
> On Mon, Jun 29, 2020 at 1:32 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH 1/3] reset: imx7: Support module build
> > >
> > > On Mon, Jun 29, 2020 at 12:45 PM Anson Huang
>
Hi, Arnd
> Subject: Re: [PATCH V3 10/10] clk: imx8qxp: Support module build
>
> On Mon, Jun 29, 2020 at 8:06 AM Anson Huang
> wrote:
> >
> > Support building i.MX8QXP clock driver as module.
> >
> > Signed-off-by: Anson Huang
>
> I would just combine
Hi, Arnd
> Subject: Re: [PATCH 1/3] reset: imx7: Support module build
>
> On Mon, Jun 29, 2020 at 12:45 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH 1/3] reset: imx7: Support module build On Mon,
> > > Jun 29, 2020 at 12:25 PM Anson Huang wrote:
> >
&g
Hi, Arnd
> Subject: Re: [PATCH 3/3] ARM: imx: Select RESET_IMX7 for i.MX7D
>
> On Mon, Jun 29, 2020 at 12:25 PM Anson Huang
> wrote:
> >
> > i.MX7 reset driver now supports module build, it is no longer built in
> > by default, need to select it explicitly for
Hi, Arnd
> Subject: Re: [PATCH 2/3] arm64: defconfig: Select CONFIG_RESET_IMX7 by
> default
>
> On Mon, Jun 29, 2020 at 1:34 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH 2/3] arm64: defconfig: Select CONFIG_RESET_IMX7
> > > by default
> > >
&g
Hi, Arnd
> Subject: Re: [PATCH 2/3] arm64: defconfig: Select CONFIG_RESET_IMX7 by
> default
>
> On Mon, Jun 29, 2020 at 12:25 PM Anson Huang
> wrote:
> >
> > i.MX7 reset driver now supports module build, it is no longer built in
> > by default, need to select
Hi, Arnd
> Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> On Mon, Jun 29, 2020 at 2:53 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock
> > > driver as module
> >
Hi, Arnd
> Subject: Re: [PATCH V3 04/10] clk: imx: Support building SCU clock driver as
> module
>
> On Mon, Jun 29, 2020 at 8:06 AM Anson Huang
> wrote:
>
> > --- a/drivers/clk/imx/Makefile
> > +++ b/drivers/clk/imx/Makefile
> > @@ -21,9 +21,9 @@ obj-$(
Hi, Arnd
> Subject: Re: [PATCH 3/3] ARM: imx: Select RESET_IMX7 for i.MX7D
>
> On Mon, Jun 29, 2020 at 1:36 PM Anson Huang
> wrote:
> > > Subject: Re: [PATCH 3/3] ARM: imx: Select RESET_IMX7 for i.MX7D
> > >
> > > On Mon, Jun 29, 2020
Support building i.MX8MP clock driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mp.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 5f537c3
Keep __setup_param() to use same parameters for both built in
and built as module, it can make the drivers which call it easier
when the drivers can be built in or built as module.
Signed-off-by: Anson Huang
---
new patch.
---
include/linux/init.h | 2 +-
1 file changed, 1 insertion(+), 1
Support building i.MX8MM clock driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mm.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 678113b
Support building i.MX8QXP clock driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig| 2 +-
drivers/clk/imx/clk-imx8qxp-lpcg.c | 1 +
drivers/clk/imx/clk-imx8qxp.c | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers
Support building i.MX8MN clock driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mn.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 97d86a3
Support building i.MX8MQ clock driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mq.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 0811bed
select it to make
build pass.
Changes since V2:
- fix __setup_param() instead of handling module build inside clk
driver;
- improve makefile format to include each file in separated line;
- add linux/export.h where necessary.
Anson Huang (10):
clk: composite: Export
There are more and more requirements of building SoC specific drivers
as modules, add support for building SCU clock driver as module to meet
the requirement.
Signed-off-by: Anson Huang
---
Changes since V2:
- use separated line for each file which is included for build
i.MX common clock drivers may support module build, so it is NOT
selected by default, for ARCH_MXC ARMv7 platforms, need to select
it manually in each SoC to make build pass.
Signed-off-by: Anson Huang
---
Changes since V2:
- manually select the MXC_CLK in each SoC instead of selecting
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 V2:
- remove __setup_param() change for module build, it is already fix in
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
---
Changes since V2:
- improve the commit message.
---
drive
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 V1:
- make it default 'y
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
---
New patch.
---
drivers/pci/controller/dwc/Kconfig | 1 +
1 file changed, 1
Add module device table, module license to support module build.
Signed-off-by: Anson Huang
---
drivers/reset/Kconfig | 4 ++--
drivers/reset/reset-imx7.c | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index d9efbfd
i.MX7 reset driver now supports module build, it is no longer
built in by default, need to select it explicitly.
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
i.MX7 reset driver now supports module build, it is no longer
built in by default, need to select it explicitly for i.MX7D.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index
SCU soc driver into imx firmware folder
and initialized by i.MX SCU firmware driver.
Signed-off-by: Anson Huang
---
Changes since V2:
- remove EXPORT_SYMBOL() of imx_scu_soc_init().
---
arch/arm64/configs/defconfig | 1 -
drivers/firmware/imx/Makefile | 2 +-
drivers/firmware
Hi, Arnd
> Subject: Re: [PATCH V2] firmware: imx: Move i.MX SCU soc driver into imx
> firmware folder
>
> On Thu, Jun 25, 2020 at 2:27 AM Anson Huang
> wrote:
> >
> > The i.MX SCU soc driver depends on SCU firmware driver, so it has to
> > use platform dr
SCU soc driver into imx firmware folder
and initialized by i.MX SCU firmware driver.
Signed-off-by: Anson Huang
---
Changes since V1:
- move soc driver to imx firmware folder instead of merge it into imx
firmware driver.
---
arch/arm64/configs/defconfig | 1 -
drivers/firmware/imx
Hi, Franck/Arnd
> Subject: RE: [PATCH] firmware: imx: Move i.MX SCU soc driver into SCU
> firmware driver
>
> Hello,
>
> The move of folder is a good idea however I do not feel adding the code of
> soc-imx-scu.c to imx-scu.c is the best.
> Until now imx-scu.c was focused on exchanging the RPC a
SCU soc driver into SCU firmware driver.
Signed-off-by: Anson Huang
---
arch/arm64/configs/defconfig | 1 -
drivers/firmware/imx/imx-scu.c | 127 ++
drivers/soc/imx/Kconfig| 9 ---
drivers/soc/imx/Makefile | 1 -
drivers/soc/imx/soc-imx-scu.c | 172
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MP
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-im
Export necessary APIs to support i.MX8 SCU SoCs pinctrl driver to be
built as module.
Signed-off-by: Anson Huang
---
Changes since V5:
- keep it still built in, ONLY export APIs for SoCs pinctrl driver;
---
drivers/pinctrl/freescale/pinctrl-scu.c | 4
1 file changed, 4 insertions
Export necessary APIs to support i.MX8 SoCs pinctrl driver to be
built as module.
Signed-off-by: Anson Huang
---
Changes since V5:
- keep it still built in, ONLY export APIs for SoCs pinctrl driver;
---
drivers/pinctrl/freescale/pinctrl-imx.c | 2 ++
1 file changed, 2 insertions
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8DXL
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-imx
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8QXP
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-imx
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8QM
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-im
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MN
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-im
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MM
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-im
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MQ
pinctrl driver as module.
Signed-off-by: Anson Huang
---
No change.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pinctrl-im
pinctrl driver and i.MX
SCU common pinctrl driver as still built-in.
Compared to V5, the changes are as below:
- Keep i.MX common pinctrl libary built in, ONLY i.MX SoC pinctrl driver
support built as module.
Anson Huang (9):
pinctrl: imx: Support i.MX8 SoCs pinctrl driver built as
; > Quoting Aisheng Dong (2020-06-22 20:42:19)
> > > > > > From: Stephen Boyd
> > > > > > Sent: Saturday, June 20, 2020 11:28 AM
> > > > > > Subject: RE: [PATCH V2 3/9] clk: imx: Support building SCU
> > > > > >
> Subject: RE: [PATCH] soc: imx-scu: Support module build
>
> > From: Arnd Bergmann
> > Sent: Thursday, June 18, 2020 3:21 PM
> >
> > On Wed, Jun 17, 2020 at 11:41 AM Anson Huang
> > wrote:
> >
> > > > >
> > >
dhc'
was unexpected)
Documentation/devicetree/bindings/clock/imx8qxp-lpcg.example.dt.yaml:
mmc@5b01: compatible: ['fsl,imx8qxp-usdhc', 'fsl,imx7d-usdhc'] is too long
Signed-off-by: Anson Huang
---
New patch, to fix build error when patch #1 is added.
---
Documentation/de
Nodename should be "mmc" instead of "esdhc" in i.MX35 clock binding
to avoid below build error:
Documentation/devicetree/bindings/clock/imx35-clock.example.dt.yaml:
esdhc@53fb4000: $nodename:0: 'esdhc@53fb4000' does not match '^mmc(@.*)?$'
Signed-off-by:
Convert the i.MX ESDHC binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
No change.
---
.../devicetree/bindings/mmc/fsl-imx-esdhc.txt | 67 ---
.../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 124 +
2 files changed, 124
> -Original Message-
> From: Aisheng Dong
> Sent: 2020年6月18日 11:09
> To: Anson Huang ; li...@armlinux.org.uk;
> shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de;
> feste...@gmail.com; mturque...@baylibre.com; sb...@kernel.org;
> oleksandr.suvo..
> Subject: RE: [PATCH V5 1/9] pinctrl: imx: Support building SCU pinctrl driver
> as
> module
>
> [...]
>
> > > > > > - * @dev: a pointer back to containing device
> > > > > > - * @base: the offset to the controller in virtual memory
> > > > > > - */
> > > > > > -struct imx_pinctrl {
> > > > >
> Subject: RE: [PATCH V2 2/9] ARM: imx: Select MXC_CLK for ARCH_MXC
>
> > From: Anson Huang
> > Sent: Tuesday, June 9, 2020 3:32 PM
> >
> > i.MX common clock drivers may support module build, so it is NOT
> > selected by default, for ARCH_MXC ARMv7 platform
> Subject: RE: [PATCH V2 1/9] clk: composite: Export
> clk_hw_register_composite()
>
> > From: Anson Huang
> > Sent: Tuesday, June 9, 2020 3:32 PM
> >
> > Export clk_hw_register_composite() to support user built as module.
> >
> > ERROR: modpost:
> Subject: RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as
> module
>
> > From: Anson Huang
> > Sent: Tuesday, June 9, 2020 3:32 PM
> >
> > There are more and more requirements of building SoC specific drivers
> > as modules, add support
> Subject: RE: [PATCH] soc: imx-scu: Support module build
>
>
> > Subject: RE: [PATCH] soc: imx-scu: Support module build
> >
> > > From: Anson Huang
> > > Sent: Wednesday, June 17, 2020 12:54 PM
> > >
> > > Change the configuration t
> Subject: RE: [PATCH] soc: imx-scu: Support module build
>
> > From: Anson Huang
> > Sent: Wednesday, June 17, 2020 12:54 PM
> >
> > Change the configuration type to tristate, add module description,
> > author and license to support module build
Add a missing MODULE_DEVICE_TABLE entry to support module autoloading.
Signed-off-by: Anson Huang
---
drivers/thermal/imx8mm_thermal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c
index e6061e2..f5124f1 100644
--- a
Change the configuration type to tristate, add module description,
author and license to support module build.
Signed-off-by: Anson Huang
---
drivers/soc/imx/Kconfig | 2 +-
drivers/soc/imx/soc-imx-scu.c | 5 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/soc
> Subject: RE: [PATCH V5 1/9] pinctrl: imx: Support building SCU pinctrl driver
> as
> module
>
> > From: Anson Huang
> > Sent: Tuesday, June 16, 2020 6:44 PM
> >
> > > Subject: RE: [PATCH V5 1/9] pinctrl: imx: Support building SCU
> > > pi
> Subject: RE: [PATCH V5 1/9] pinctrl: imx: Support building SCU pinctrl driver
> as
> module
>
> > From: Anson Huang
> > Sent: Thursday, June 11, 2020 7:35 PM
> >
> > To support building i.MX SCU pinctrl driver as module, below things
> > need t
Convert the i.MX KEYPAD binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V1:
- include matrix-keymap.yaml and "linux,keymap" is unnecessary now,
remove it.
---
.../devicetree/bindings/input/imx-keypad.txt
Convert the matrix-keymap binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
New patch.
---
.../devicetree/bindings/input/matrix-keymap.txt| 28 +
.../devicetree/bindings/input/matrix-keymap.yaml | 46 ++
2 files changed, 47
Convert the MXS SPI binding to DT schema format using json-schema
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V2:
- drop "clock-frequency" property's type.
---
Documentation/devicetree/bindings/spi/mxs-spi.txt | 26 --
Documenta
Convert the i.MX CSPI binding to DT schema format using json-schema,
update compatible, remove obsolete properties "fsl,spi-num-chipselects"
and update the example based on latest DT file.
Signed-off-by: Anson Huang
---
Changes since V2:
- remove redundant "maxItems&q
l address pandy@nxp.com
is no longer valid, so I use mine.
Compared to V2, this patch series mainly removes redundant 'maxItems' in
'clocks'
and 'clock-names' property, also drop "clock-frequency" property's type.
Anson Huang (3):
dt-bindings: spi: Co
Convert the i.MX LPSPI binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- remove redundant "maxItems" in "clocks" and "clock-names".
---
.../devicetree/bindings/spi/spi-fsl-lpspi.txt | 29 ---
.../d
Convert the MXS I2C binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- remove 'clock-frequency' property's typs and use enum for it, as it
ONLY support 100KHz/400KHz.
---
Documentation/devicetree/bindings/i2c/i2
Convert the i.MX I2C binding to DT schema format using json-schema,
some improvements applied, such as update example based on latest DT
file, add more compatible for existing SoCs, and remove unnecessary
common property "pinctrl".
Signed-off-by: Anson Huang
---
Change
Hi, Rob
> Subject: Re: [PATCH V2 3/3] dt-bindings: i2c: Convert imx i2c to json-schema
>
> On Thu, Jun 04, 2020 at 09:49:18AM +0800, Anson Huang wrote:
> > Convert the i.MX I2C binding to DT schema format using json-schema,
> > some improvements applied, such as update ex
Convert the i.MX ESDHC binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- fix typo of "dealy" to "delay";
- remove unused "Several ranges could be specified." in voltage-ranges
which contradic
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8QM
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MQ
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MM
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8DXL
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
author, description and license should be added.
Signed-off-by: Anson Huang
---
Changes since V4:
- add module author and description.
---
drivers/pinctrl/freescale/Kconfig | 3 ++-
drivers/pinctrl/freescale/pinctrl-imx.c | 7 +++
2 files changed, 9 insertions(+), 1 deletion
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MP
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8QXP
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
- Add module author, description and license.
With above changes, i.MX SCU pinctrl driver can be built as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- add module author and description.
---
drivers/pinctrl/freescale/Kconfig | 2 +-
drivers/pinctrl/freescale/pi
Change configuration to "tristate", add module device table,
author, description and license to support building i.MX8MN
pinctrl driver as module.
Signed-off-by: Anson Huang
---
Changes since V4:
- remove unnecessary change of replacing arch_initcall() with
module_platf
sequence change for built-in config.
- add module author and description to each module.
Anson Huang (9):
pinctrl: imx: Support building SCU pinctrl driver as module
pinctrl: imx: Support building i.MX pinctrl driver as module
pinctrl: imx8mm: Support building as module
pinctrl: imx8mn
Hi, Daniel
> Subject: Re: [PATCH V4 4/9] pinctrl: imx8mn: Support building as module
>
> Maybe this is obvious but I would really like to see an explanation
>
> of why we are switching from arch_initcall to platform_init.
>
> Commit message act as documentation for the reviewers.
Yes, I notic
Hi, Daniel
> Subject: Re: [PATCH V4 0/9] Support i.MX8 SoCs pinctrl drivers built as module
>
> Hi Anson,
>
> Patch series mostly looks good to me. I have a comment about adding
>
> the MODULE_LICENSE. This is a pretty important change.
>
>
> Can you please add this change in a separate patch
> Subject: RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module
>
>
>
>
> > Subject: RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built
> > as module
> >
> > > From: Anson Huang
> > > Sent: Tuesday, June 9
Add "fsl,imx8mm-ocotp" as fallback compatible of i.MX8MP ocotp
to support SoC serial_number read.
Signed-off-by: Anson Huang
---
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
b/
201 - 300 of 1351 matches
Mail list logo