> Subject: Re: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional
>
> On Wed, Aug 19, 2020 at 12:51:27AM +0000, Peng Fan wrote:
> > > Subject: Re: [PATCH 04/10] remoteproc: imx_rproc: make syscon
> > > optional
> > >
> > > Hi Peng,
> > >
> Subject: Re: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional
>
> Hi Peng,
>
> On Fri, Jul 24, 2020 at 04:08:07PM +0800, Peng Fan wrote:
> > Make syscon optional, since i.MX8QM/QXP/7ULP not have SRC to control
> M4.
> > But currently i.MX8QM/QXP/7ULP no
In the function parse_nodes_opt(), the statement "return 0;" is dead
code, remove it.
Signed-off-by: Peng Fan
---
tools/perf/bench/numa.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index 5797253..70c8c2c 100644
--- a/tools/
From: Peng Fan
Add the cm4 reset used by the remoteproc driver
Signed-off-by: Peng Fan
---
drivers/reset/reset-imx7.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c
index d170fe663210..87b6e2d46fb6 100644
--- a/drivers/reset
From: Peng Fan
Add the m4 reset used by the remoteproc driver
Signed-off-by: Peng Fan
---
include/dt-bindings/reset/imx8mq-reset.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/reset/imx8mq-reset.h
b/include/dt-bindings/reset/imx8mq-reset.h
index
Hi Mathieu,
> Subject: Re: [PATCH] remoteproc: virtio: support sharing vdev buffer
>
> Hi Peng,
>
> On Wed, Jul 22, 2020 at 09:15:43PM +0800, Peng Fan wrote:
> > Support sharing vdev buffer between multiple vdevs by using name
> > "vdevbuffer".
> >
&
> Subject: Re: [PATCH 1/2] clk: imx: imx8m: avoid memory leak
>
> Quoting peng@nxp.com (2020-07-27 19:54:48)
> > From: Peng Fan
> >
> > Use devm_kzalloc to avoid memory leak when probe fail.
>
> Please add () to functions in commit text.
V2 is just out,
> Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early
> boot
>
> On Tue, Jul 28, 2020 at 07:50:04AM +0000, Peng Fan wrote:
> > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and
> > > early boot
> > >
> > >
From: Peng Fan
Please not apply 2/2 for now, this 2/2 has not gone through
test on all i.MX8 platforms.
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
From: Peng Fan
To arm64, "dc zva, dst" is used in memset.
Per ARM DDI 0487A.j, chapter C5.3.8 DC ZVA, Data Cache Zero by VA,
"If the memory region being zeroed is any type of Device memory,
this instruction can give an alignment fault which is prioritized
in the same way as
From: Peng Fan
To arm64, "dc zva, dst" is used in memset.
Per ARM DDI 0487A.j, chapter C5.3.8 DC ZVA, Data Cache Zero by VA,
"If the memory region being zeroed is any type of Device memory,
this instruction can give an alignment fault which is prioritized
in the same way as
From: Peng Fan
Please not apply 2/2 for now, this 2/2 has not gone through
test on all i.MX8 platforms.
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
From: Peng Fan
Use devm_of_clk_add_hw_provider() to simplify code.
To i.MX8MP, also add err handling.
Signed-off-by: Peng Fan
---
V2:
Add () to functions in commit log
drivers/clk/imx/clk-imx8mm.c | 9 ++---
drivers/clk/imx/clk-imx8mn.c | 9 ++---
drivers/clk/imx/clk-imx8mp.c | 8
From: Peng Fan
Use devm_kzalloc() to avoid memory leak when probe fail.
Signed-off-by: Peng Fan
---
V2:
Add () to functions in commit log
drivers/clk/imx/clk-imx8mm.c | 3 +--
drivers/clk/imx/clk-imx8mn.c | 15 +--
drivers/clk/imx/clk-imx8mp.c | 2 +-
drivers/clk/imx/clk
From: Peng Fan
i.MX8MN/P/Q is built with AArch64 hardware, this is to support
it could run in AArch32 mode with clock and pinctrl driver enabled.
Signed-off-by: Peng Fan
---
arch/arm/configs/imx_v6_v7_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/configs
> Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early
> boot
>
> On Mon, Jul 27, 2020 at 09:18:31AM +0000, Peng Fan wrote:
> > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and
> > > early boot
> > >
> > >
From: Peng Fan
Use devm_kzalloc to avoid memory leak when probe fail.
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mm.c | 3 +--
drivers/clk/imx/clk-imx8mn.c | 15 +--
drivers/clk/imx/clk-imx8mp.c | 2 +-
drivers/clk/imx/clk-imx8mq.c | 3 +--
4 files changed, 8
From: Peng Fan
Use devm_of_clk_add_hw_provider to simplify code.
To i.MX8MP, also add err handling.
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mm.c | 9 ++---
drivers/clk/imx/clk-imx8mn.c | 9 ++---
drivers/clk/imx/clk-imx8mp.c | 8 ++--
drivers/clk/imx/clk-imx8mq.c | 9
> Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early
> boot
>
> On Mon, Jul 27, 2020 at 06:44:32AM +0000, Peng Fan wrote:
> > Hi Oleksij,
> >
> > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and
> > > early bo
> Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap
>
> On Mon, Jul 27, 2020 at 06:51:00AM +0000, Peng Fan wrote:
> > > Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap
> > >
> > > On Mon, Jul 27, 2020 at 06:28:20AM +
> Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap
>
> On Mon, Jul 27, 2020 at 06:28:20AM +0000, Peng Fan wrote:
> > Hi Oleksij,
> >
> > > Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap
> > >
> > > On Fri, Jul 24, 2020
Hi Oleksij,
> Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early
> boot
>
> Hi,
>
> On Fri, Jul 24, 2020 at 04:08:03PM +0800, Peng Fan wrote:
> > This patchset is to support i.MX8MQ/M coproc booted before linux.
> > Since i.MX8MQ/M was
Hi Oleksij,
> Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap
>
> On Fri, Jul 24, 2020 at 04:08:06PM +0800, Peng Fan wrote:
> > We might need to map an region multiple times, becaue the region might
> > be shared between remote processors, such i.MX8QM with dual
Detect Coproc booted or not and Parse resource table
Set remoteproc state to RPROC_DETACHED when M4 is booted early
Add attach hook
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 75 --
1 file changed, 73 insertions(+), 2 deletions(-)
diff
Add i.MX8MQ dev/sys addr map and configuration data structure
i.MX8MM share i.MX8MQ settings.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/remoteproc
The hook is used to parse memory-regions and load resource table
from the address the remote processor published.
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 99 +-
1 file changed, 98 insertions(+), 1 deletion(-)
diff --git a/drivers
Use virtio/mailbox to build connection between Remote Proccessors
and Linux. Add delayed work to handle incoming messages.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 102 +++--
1 file changed, 99 insertions(+), 3
Make syscon optional, since i.MX8QM/QXP/7ULP not have SRC to control M4.
But currently i.MX8QM/QXP/7ULP not added, so still check regmap
when start/stop to avoid unhappy things.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 11 +--
1 file changed
/syscon optional patch for
i.MX8QM/QXP was still kept here to avoid rebase error.
Peng Fan (10):
dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M
remoteproc: imx_rproc: correct err message
remoteproc: imx: use devm_ioremap
remoteproc: imx_rproc: make syscon optional
remoteproc: imx_rproc
To i.MX7ULP Dual Boot, M4 is the master to control everything,
so it not need clk from A7.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc
, dst" will trigger abort.
So add i.MX specific loader to address the TCM write issue.
The change not impact i.MX6/7 function.
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 76 ++
1 file changed, 76 insertions(+)
diff --git a/drivers/re
It is using devm_ioremap, so not devm_ioremap_resource. Correct
the error message and print out sa/size.
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
Add i.MX8MQ/M compatible string
Signed-off-by: Peng Fan
---
Documentation/devicetree/bindings/remoteproc/imx-rproc.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
b/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
We might need to map an region multiple times, becaue the region might
be shared between remote processors, such i.MX8QM with dual M4 cores.
So use devm_ioremap, not devm_ioremap_resource.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/imx_rproc.c | 5 +++--
1 file
> Subject: [PATCH v6 0/9] remoteproc: Add support for attaching with rproc
For the series,
Tested-by: Peng Fan
Regards,
Peng.
>
> This set provides functionality allowing the remoteproc core to attach to a
> remote processor that was started by another entity.
>
> New
In the function trace_uprobe_register(), the statement "return 0;"
out of switch case is dead code, remove it.
Signed-off-by: Peng Fan
---
kernel/trace/trace_uprobe.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
ind
Support sharing vdev buffer between multiple vdevs by using name
"vdevbuffer".
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
---
drivers/remoteproc/remoteproc_virtio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/remoteproc/remoteproc_virtio.c
b/drivers/
> Subject: [PATCH 2/7] firmware: imx: scu: Support reception of messages of
> any size
Could fast_ipc be used for your case? I am not fans to use the legacy method
which is error prone.
Thanks,
Peng.
>
> From: Franck LENORMAND
>
> The word of a message can arrive in any order and the current
Hi Franck,
> Subject: [PATCH 1/7] firmware: imx: scu-rm: Add Resource Management APIs
Are you using an old base? This was already in tree.
Regards,
Peng.
>
> From: Franck LENORMAND
>
> This patch adds the imx_sc_rm_is_resource_owned indicating if a specific
> resource is owned by the
Close "fd" before the return of map_vdso() and close "out_file"
in main().
Signed-off-by: Peng Fan
---
v2:
- add one missing fclose()
---
arch/mips/vdso/genvdso.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/mips/vdso/genvdso.c b/arch/mips/
Close "fd" before the return of map_vdso() and close "out_file"
in main().
Signed-off-by: Peng Fan
---
arch/mips/vdso/genvdso.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/mips/vdso/genvdso.c b/arch/mips/vdso/genvdso.c
index be57b832..f459c7a 100644
> Subject: Re: [PATCH] xen: introduce xen_vring_use_dma
>
> Sorry for the late reply -- a couple of conferences kept me busy.
>
>
> On Wed, 1 Jul 2020, Michael S. Tsirkin wrote:
> > On Wed, Jul 01, 2020 at 10:34:53AM -0700, Stefano Stabellini wrote:
> > > Would you be in favor of a more
From: Peng Fan
i.MX8MM is built with AArch64 hardware, this is to support
it could run in Aarch32 mode with clock and pinctrl driver enabled.
Signed-off-by: Peng Fan
---
To make kernel boot, needs the GIC_V3 select patch:
https://patchwork.kernel.org/patch/11655383/
arch/arm/configs
From: Peng Fan
Select ARM_GIC_V3, then it is able to use gic v3 driver in aarch32
mode linux on aarch64 hardware. For aarch64 mode, it not hurts
to select ARM_GIC_V3.
Acked-by: Arnd Bergmann
Signed-off-by: Peng Fan
---
V2:
Select GIC V3 when ARCH_MXC is selected to avoid compile test error
Hi, Browm, Stephen
Firstly, feel sorry for the problem introduced by me. I think I must modify
my bad,but should I send another patch to delete the label "out_free" or
re-send patch of v2(which maybe need to go back)?
Could you give me some advices? Sorry again.
Thanks
Pen
Very sorry for that, I will re-send v2 later.
Stephen Rothwell s...@canb.auug.org.auwrote:
> Hi all,
>
> After merging the spi tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/spi/spi-atmel.c: In function 'atmel_spi_probe':
>
There is no need to call spi_master_put() if spi_alloc_master()
failed, it should return -ENOMEM directly.
Signed-off-by: Peng Fan
---
drivers/spi/spi-atmel.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 57ee8c3
> Subject: Re: [PATCH V3 0/3] ARM: imx: move cpu code to drivers/soc/imx
>
> On 5/20/2020 9:01 AM, Peng Fan wrote:
> > From: Peng Fan
> >
> > V3:
> > Rebased to latest next tree
> > Resolved the conflicts with vf610 soc patch
> >
> > V2:
>
In the function rt5033_battery_probe(), it should return -ENOMEM
instead of -EINVAL when call function devm_kzalloc() failed.
Signed-off-by: Peng Fan
---
drivers/power/supply/rt5033_battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply
> Subject: RE: [PATCH] xen: introduce xen_vring_use_dma
>
> On Mon, 29 Jun 2020, Peng Fan wrote:
> > > > If that is the case, how is it possible that virtio breaks on ARM
> > > > using the default dma_ops? The breakage is not Xen related (except
> > >
> Subject: Re: [PATCH] xen: introduce xen_vring_use_dma
>
> On Mon, Jun 29, 2020 at 06:25:41AM +0000, Peng Fan wrote:
> > > > > > Anyway, re-reading the last messages of the original thread
> > > > > > [1], it looks like Peng had a clear idea
> Subject: Re: [PATCH] xen: introduce xen_vring_use_dma
>
> On Mon, Jun 29, 2020 at 03:05:19AM +0000, Peng Fan wrote:
> > > Subject: Re: [PATCH] xen: introduce xen_vring_use_dma
> > >
> > > On Thu, Jun 25, 2020 at 10:31:27AM -0700, Stefano Stabellini wrote:
&g
> On Wed, 24 Jun 2020, Michael S. Tsirkin wrote:
> > > > > On Wed, Jun 24, 2020 at 10:59:47AM -0700, Stefano Stabellini wrote:
> > > > > > On Wed, 24 Jun 2020, Michael S. Tsirkin wrote:
> > > > > > > On Wed, Jun 24, 2020 at 05:17:32PM +08
4, 2020 at 10:59:47AM -0700, Stefano Stabellini wrote:
> > > > > On Wed, 24 Jun 2020, Michael S. Tsirkin wrote:
> > > > > > On Wed, Jun 24, 2020 at 05:17:32PM +0800, Peng Fan wrote:
> > > > > > > Export xen_swiotlb for all platforms using xen swiot
Export xen_swiotlb for all platforms using xen swiotlb
Use xen_swiotlb to determine when vring should use dma APIs to map the
ring: when xen_swiotlb is enabled the dma API is required. When it is
disabled, it is not required.
Signed-off-by: Peng Fan
---
V2:
This is a modified version from
sful, then the
block of memory will not be released, because it is necessary to
determine whether they are equal. So we need to change the order.
Signed-off-by: Peng Fan
---
fs/read_write.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/read_write.c b/fs/read_write.c
index b
Hi Shawn,
> Subject: Re: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases
>
> On Mon, Jun 01, 2020 at 10:06:19AM +0800, peng@nxp.com wrote:
> > From: Peng Fan
> >
> > The devices could be enumerated properly with aliases.
> >
> > Signed-off-by: Pen
From: Peng Fan
V2:
Fix order in patch 2/3, no other changes
Minor patchset to fix and update alias for i.MX8QXP
Peng Fan (3):
arm64: dts: imx8qxp: add alias for lsio MU
arm64: dts: imx8qxp: add i2c aliases
arm64: dts: imx8qxp: Add ethernet alias
arch/arm64/boot/dts/freescale
From: Peng Fan
Add lsio mu alias for all lsio MUs that could communicate with SCU,
imx_scu_enable_general_irq_channel will parse the alias to get
the mu resource id, if using other MU, not MU1, the `mu_resource_id`
is not what we expect, so add alias to fix this issue.
Signed-off-by: Peng Fan
From: Peng Fan
The devices could be enumerated properly with aliases.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index
From: Peng Fan
Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale
We should free "test" before the return of run_test.
Signed-off-by: Peng Fan
---
tools/pci/pcitest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c
index 0a1344c..7c20332 100644
--- a/tools/pci/pcitest.c
+++ b/tools/pci/pcitest.c
@@ -
From: Peng Fan
V3:
Fix comments
Add R-b tag
V2:
Add R-b tag
Drop patch 3/4 from V1
Add comments and update Copyright for patch 2/3
keep code consistency in Patch 3/3
V1:
https://patchwork.kernel.org/cover/11505045/
Fix cm40 power domain, update to add more cm4 resources
Add resource
From: Peng Fan
Add more cm4 resources, then linux could use cm4's i2c/lpuart and
could kick cm4 core.
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
drivers/firmware/imx/scu-pd.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/imx
From: Peng Fan
The postfix needs to be false. Alought compiler use 0 for postfix now,
and take start_from as 0, it is better we add explicit false to postfix.
Fixes: 705dcca91d0a("firmware: imx: scu-pd: add power domain for I2C and INTMUX
in CM40 SS")
Signed-off-by: Peng Fan
Reviewe
From: Peng Fan
Add resource management API, when we have multiple
partition running together, resources not owned to current
partition should not be used.
Reviewed-by: Leonard Crestez
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
drivers/firmware/imx/Makefile | 2 +-
drivers
> Subject: RE: [PATCH V2 2/3] firmware: imx: add resource management api
>
[...]
> > +/*
> > + * Copyright (C) 2016 Freescale Semiconductor, Inc.
> > + * Copyright 2017-2020 NXP
> > + *
> > + * Header file containing the public API for the System Controller
> > +(SC)
> > + * Power Management
From: Peng Fan
Use devm_kasprintf to simplify code
Signed-off-by: Peng Fan
---
drivers/soc/imx/soc-imx-scu.c | 37 +++--
1 file changed, 11 insertions(+), 26 deletions(-)
diff --git a/drivers/soc/imx/soc-imx-scu.c b/drivers/soc/imx/soc-imx-scu.c
index
From: Peng Fan
Add mu node to let A53 could communicate with M Core.
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8
From: Peng Fan
Add mu root clk for mu mailbox usage.
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index b4d9db9d5bf1..ca747712400f 100644
From: Peng Fan
V4:
Drop patch 1/3, since https://lkml.org/lkml/2020/6/1/370 already
has the yaml changes
V3:
Add R-b tag
Remove undocumented property
V2:
Add dt-bindings
Merge dts changes into one patch, since all is to add mu node
Add mu dt bindings
Add mu node
Add i.MX8MP mu root clk
From: Peng Fan
The postfix needs to be false. Alought compiler use 0 for postfix now,
and take start_from as 0, it is better we add explicit false to postfix.
Fixes: 705dcca91d0a("firmware: imx: scu-pd: add power domain for I2C and INTMUX
in CM40 SS")
Signed-off-by: Peng Fan
Reviewe
From: Peng Fan
Add resource management API, when we have multiple
partition running together, resources not owned to current
partition should not be used.
Reviewed-by: Leonard Crestez
Signed-off-by: Peng Fan
---
drivers/firmware/imx/Makefile | 2 +-
drivers/firmware/imx/rm.c
From: Peng Fan
Add more cm4 resources, then linux could use cm4's i2c/lpuart and
could kick cm4 core.
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
drivers/firmware/imx/scu-pd.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/imx
From: Peng Fan
V2:
Add R-b tag
Drop patch 3/4 from V1
Add comments and update Copyright for patch 2/3
keep code consistency in Patch 3/3
V1:
https://patchwork.kernel.org/cover/11505045/
Fix cm40 power domain, update to add more cm4 resources
Add resource owner check, to not register
> Subject: [PATCH V3 1/3] dt-bindings: mailbox: imx-mu: support i.MX8M
I'll drop this patch for yaml update, since https://lkml.org/lkml/2020/6/1/370
includes imx8mq/mm/n/p.
Thanks,
Peng.
>
> From: Peng Fan
>
> Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs
>
&
> Subject: RE: [PATCH 2/4] firmware: imx: add resource management api
>
> > From: Peng Fan
> > Sent: Tuesday, June 2, 2020 12:51 PM
> > >
> > > > From: Peng Fan
> > > > Sent: Monday, June 1, 2020 8:40 PM
> > > > >
> >
Hi Oleksij,
> Subject: Re: [PATCH V3 1/3] dt-bindings: mailbox: imx-mu: support i.MX8M
>
> On Mon, Jun 01, 2020 at 04:20:00PM +0800, peng@nxp.com wrote:
> > From: Peng Fan
> >
> > Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs
> >
> > Re
> Subject: RE: [PATCH 2/4] firmware: imx: add resource management api
>
> > From: Peng Fan
> > Sent: Thursday, April 23, 2020 3:00 PM
> >
> > Add resource management API, when we have multiple partition running
> > together, resources not owned to
> Subject: RE: [PATCH 2/4] firmware: imx: add resource management api
>
> > From: Peng Fan
> > Sent: Monday, June 1, 2020 8:40 PM
> > >
> > > > From: Peng Fan
> > > > Sent: Friday, April 24, 2020 9:12 AM
> > > > >
> > &g
> Subject: RE: [PATCH 2/4] firmware: imx: add resource management api
>
> > From: Peng Fan
> > Sent: Friday, April 24, 2020 9:12 AM
> > >
> > > > From: Peng Fan
> > > > Sent: Thursday, April 23, 2020 6:57 PM
> > > > > &g
From: Peng Fan
V3:
Add R-b tag
Remove undocumented property
V2:
Add dt-bindings
Merge dts changes into one patch, since all is to add mu node
Add mu dt bindings
Add mu node
Add i.MX8MP mu root clk
Peng Fan (3):
dt-bindings: mailbox: imx-mu: support i.MX8M
arm64: dts: imx8m: add mu
From: Peng Fan
Add mu node to let A53 could communicate with M Core.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8
arch/arm64/boot/dts
From: Peng Fan
Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mailbox
From: Peng Fan
Add mu root clk for mu mailbox usage.
Reviewed-by: Dong Aisheng
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index b4d9db9d5bf1..ca747712400f 100644
> Subject: RE: [PATCH V2 2/3] arm64: dts: imx8m: add mu node
>
> > From: Peng Fan
> > Sent: Monday, June 1, 2020 11:43 AM
> >
> > Add mu node to let A53 could communicate with M Core.
> >
> > Signed-off-by: Peng Fan
> > ---
> > arch/arm64
From: Peng Fan
Add mu root clk for mu mailbox usage.
Signed-off-by: Peng Fan
Reviewed-by: Dong Aisheng
---
drivers/clk/imx/clk-imx8mp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index b4d9db9d5bf1..ca747712400f 100644
From: Peng Fan
Add mu node to let A53 could communicate with M Core.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 9 +
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 9 +
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 9 +
arch/arm64/boot/dts
From: Peng Fan
Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs
Signed-off-by: Peng Fan
---
Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt
b
From: Peng Fan
V2:
Add dt-bindings
Merge dts changes into one patch, since all is to add mu node
Add mu dt bindings
Add mu node
Add i.MX8MP mu root clk
Peng Fan (3):
dt-bindings: mailbox: imx-mu: support i.MX8M
arm64: dts: imx8m: add mu node
clk: imx8mp: add mu root clk
Documentation
From: Peng Fan
Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale
From: Peng Fan
The devices could be enumerated properly with aliases.
Signed-off-by: Peng Fan
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index
From: Peng Fan
Add lsio mu alias for all lsio MUs that could communicate with SCU,
imx_scu_enable_general_irq_channel will parse the alias to get
the mu resource id, if using other MU, not MU1, the `mu_resource_id`
is not what we expect, so add alias to fix this issue.
Signed-off-by: Peng Fan
From: Peng Fan
Minor patchset to fix and update alias for i.MX8QXP
Peng Fan (3):
arm64: dts: imx8qxp: add alias for lsio MU
arm64: dts: imx8qxp: add i2c aliases
arm64: dts: imx8qxp: Add ethernet alias
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 10 ++
1 file changed, 10
> Subject: [PATCH v1 2/2] arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2
> voltage range
>
> Correct ldo1 voltage range from wrong high group(3.0v~3.3v) to low group
> (1.6v~1.9v) because the ldo1 should be 1.8v. Actually, two voltage groups
> have been supported at bd718x7-regulator driver,
Hi Shawn,
> Subject: Re: [PATCH V2 0/3] ARM: imx: move cpu code to drivers/soc/imx
>
> On Wed, May 20, 2020 at 8:57 AM Shawn Guo
> wrote:
> >
> > On Wed, Apr 29, 2020 at 05:17:20PM +0800, peng@nxp.com wrote:
> > > From: Peng Fan
> > >
From: Peng Fan
V3:
Rebased to latest next tree
Resolved the conflicts with vf610 soc patch
V2:
Keep i.MX1/2/3/5 cpu type for completness
Correct return value in patch 1/3
use CONFIG_ARM to guard compile soc-imx.c in patch 3/3
V1:
https://patchwork.kernel.org/cover/11433689/
RFC version
From: Peng Fan
The soc device register code will be moved to drivers/soc/imx/,
the code needs the cpu type definitions. So let's move the cpu
type definitions to a header.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/mxc.h | 28 +---
include/soc/imx/cpu.h | 36
From: Peng Fan
This is preparation to move imx_soc_device_init to drivers/soc/imx/
There is no reason to must put dt devices under /sys/devices/soc0,
they could also be under /sys/devices/platform, so we could
pass NULL as parent when calling of_platform_default_populate.
Following soc-imx8.c
From: Peng Fan
Move the soc device register code to drivers/soc/imx to align with
i.MX8.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cpu.c | 182 ---
drivers/soc/imx/Makefile | 3 +
drivers/soc/imx/soc-imx.c | 192
301 - 400 of 917 matches
Mail list logo