[GIT PULL v2] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-05 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. v2: updated tree to include dependency patches by merging soc-fsl-fix-v4.19-2 Regards, Leo The following changes since commit 56740a7167cbbbda99ebfd3e8b4e4d51ae39bd06: Merge tag 'soc-fsl-fix-v4.19-2' into HEAD (2018-10-05

Re: [PATCH] fsl/qe: ucc: copy and paste bug in ucc_get_tdm_sync_shift()

2018-08-29 Thread Li Yang
On Wed, Aug 29, 2018 at 4:42 AM Dan Carpenter wrote: > > On Mon, Jun 04, 2018 at 02:06:45PM +0200, Mathieu Malaterre wrote: > > Where did the original go ? > > > > https://patchwork.ozlabs.org/patch/868158/ > > > > > > Btw, we still haven't pushed a patch for this bug. I will combine Zhao

[GIT PULL] fixes for soc/fsl drivers for v4.19

2018-09-24 Thread Li Yang
Hi arm-soc maintainers, Please pull soc/fsl drivers fixes for v4.19. Regards, Leo The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at:

[GIT PULL] updates for soc/fsl drivers for v4.20

2018-09-24 Thread Li Yang
Hi arm-soc maintainers, Please pull soc/fsl drivers updates for v4.20. Regards, Leo The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at:

Re: [PATCH 1/2] soc: fsl: qbman: qman_portal: defer probing when qman is not available

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 1:15 PM Li Yang wrote: > > On Wed, Sep 26, 2018 at 4:28 AM Alexandre Belloni > wrote: > > > > On 25/09/2018 21:45:56+0200, Olof Johansson wrote: > > > Hi, > > > > > > > > > On Thu, Aug 23, 2018 at 11:36 PM Alexandre

Re: [PATCH v2 08/22] soc/fsl/qbman_portals: add APIs to retrieve the probing status

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of the required > cpu bound qman and bman portals: > 'int bman_portals_probed()' and 'int qman_portals_probed()'. > They return the following values. > * 1 if qman/bman

Re: [PATCH v2 05/22] soc/fsl/qbman: add APIs to retrieve the probing status

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of qman and bman: > 'int bman_is_probed()' and 'int qman_is_probed()'. > They return the following values. > * 1 if qman/bman were probed correctly > * 0 if qman/bman

Re: [PATCH v2 06/22] soc/fsl/qman_portals: defer probe after qman's probe

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Defer probe of qman portals after qman probing. This fixes the crash > below, seen on NXP LS1043A SoCs: > > Unable to handle kernel NULL pointer dereference at virtual address > 0004 > Mem abort info: > ESR =

Re: [PATCH v2 07/22] soc/fsl/bman_portals: defer probe after bman's probe

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > A crash in bman portal probing could not be triggered (as is the case > with qman portals) but it does make calls [1] into the bman driver so > lets make sure the bman portal probing happens after bman's. > > [1]

drivers binding to device node with multiple compatible strings

2018-09-27 Thread Li Yang
Hi Rob and Grant, Various device tree specs are recommending to include all the potential compatible strings in the device node, with the order from most specific to most general. But it looks like Linux kernel doesn't provide a way to bind the device to the most specific driver, however, the

[PATCH] arm64: defconfig: Enable FSL_EDMA driver

2019-04-22 Thread Li Yang
pinctrl, bus recovery not supported . Signed-off-by: Li Yang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c39033c1a..430e1d7e5497 100644 --- a/arch/arm64/configs/defconfig +++ b/arch

Re: [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands

2019-05-01 Thread Li Yang
On Mon, Mar 11, 2019 at 12:32 PM Roy Pledge wrote: > > From: Youri Querry > > The timeout for QBMan Management Commands can falsely trigger on a > busy system. This patch doubles the timeout to avoid the > false error reports > > Signed-off-by: Youri Querry > Signed-off-by: Roy Pledge Applied

Re: [PATCH v2 2/9] soc/fsl/qbman_portals: add APIs to retrieve the probing status

2019-05-01 Thread Li Yang
On Sat, Apr 27, 2019 at 2:14 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of the required > cpu bound qman and bman portals: > 'int bman_portals_probed()' and 'int qman_portals_probed()'. > They return the following values. > * 1 if qman/bman

[GIT PULL] fixes to soc/fsl drivers for v5.1

2019-05-01 Thread Li Yang
Hi arm-soc maintainers, Please help to merge the following fix for soc/fsl drivers. Thanks, Leo The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at:

[GIT PULL] updates to soc/fsl drivers for v5.2

2019-05-01 Thread Li Yang
Hi arm-soc maintainers, Please help to merge for-next patches for the upcoming merge window. Thanks Regards, Leo The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at:

Re: [PATCH v1] mmc: dt: add DT bindings for ls1028a eSDHC host controller

2019-04-30 Thread Li Yang
On Tue, Apr 30, 2019 at 12:16 AM Yinbo Zhu wrote: > > From: Yinbo Zhu The patch title better to be "dt-bindings: mmc: ..." > > Add "fsl,ls1028a-esdhc" bindings for ls1028a eSDHC host controller > > Signed-off-by: Yinbo Zhu > --- > .../devicetree/bindings/mmc/fsl-esdhc.txt |1 + >

Re: [RESEND] i2c: imx: defer probing on dma channel request

2019-03-27 Thread Li Yang
On Wed, Mar 27, 2019 at 8:46 AM Laurentiu Tudor wrote: > > Hello, > > Just FYI, I'm still seeing issues with the dma driver compiled _out_, > trying to test i2c without dma support. I get the crash below in generic > driver code later in the boot process, debug is in progress. That probably

[GIT PULL] updates to soc/fsl drivers for v5.1 take4

2019-02-27 Thread Li Yang
Hi arm-soc maintainers, Since we are having a -rc8 for v5.0, please help to merge a few additional patches for the upcoming merge window. Thanks Regards, Leo The following changes since commit bd3bd3b36df725645036748e58a8c35c8d2cbf91: soc: fsl: dpio: fix memory leak of a struct qbman on

Re: [PATCH] soc: fsl: add DPAA2 console support

2019-04-03 Thread Li Yang
On Tue, Mar 26, 2019 at 2:17 PM Ioana Ciornei wrote: > > This patch adds DPAA2 MC and AIOP console log support. > > The platform driver probes on the "fsl,dpaa2-console" device tree node > which describes the base firmware address needed in order to infer the > start address of both firmware

Re: [PATCH v2] soc: fsl: add DPAA2 console support

2019-04-08 Thread Li Yang
On Fri, Apr 5, 2019 at 4:51 AM Ioana Ciornei wrote: > > This patch adds DPAA2 MC and AIOP console log support. > > The platform driver probes on the "fsl,dpaa2-console" device tree node > which describes the base firmware address needed in order to infer the > start address of both firmware logs:

Re: [PATCH 01/13] soc/fsl/qman: fixup liodns only on ppc targets

2019-03-29 Thread Li Yang
On Fri, Mar 29, 2019 at 9:01 AM wrote: > > From: Laurentiu Tudor > > ARM SoCs use SMMU so the liodn fixup done in the qman driver is no > longer making sense and it also breaks the ICID settings inherited > from u-boot. Do the fixups only for PPC targets. > > Signed-off-by: Laurentiu Tudor >

Re: [PATCH v2] soc: fsl: add DPAA2 console support

2019-04-15 Thread Li Yang
On Mon, Apr 8, 2019 at 3:15 PM Li Yang wrote: > > On Fri, Apr 5, 2019 at 4:51 AM Ioana Ciornei wrote: > > > > This patch adds DPAA2 MC and AIOP console log support. > > > > The platform driver probes on the "fsl,dpaa2-console" device tree node > > wh

[GIT PULL] updates to soc/fsl drivers for v5.1 take3

2019-02-19 Thread Li Yang
Hi arm-soc maintainers, Please help to look into the following changes on top of previous pull request and merge them if they look good. The following changes since commit 3c0d64e867ed78a782a8a00d3b519396d9c5a2db: soc: fsl: guts: reuse machine name from device tree (2019-01-11 16:08:43

Re: [PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-04 Thread Li Yang
On Sun, Mar 3, 2019 at 10:03 PM Alex Shi wrote: > > This a disclaimer file which will be included in Chinese files > as header. To reduce the same common contents copy. It is great for reducing the duplication. But since this is in the translation folder, probably it will be even better to

Re: [PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-04 Thread Li Yang
yourself. I guess leoyang.li is > > same > > one as mailto:l...@zh-kernel.org, is this right? :) > > Hi Alex, > > I will try to get the new email addresses for others too. Yes. But > probably I will use a private email for this instead of the company email. Here are the upd

Re: [PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-04 Thread Li Yang
On Mon, Mar 4, 2019 at 8:51 PM Alex Shi wrote: > > > > On 2019/3/5 7:31 上午, Li Yang wrote: > > Zhang Wei > The only usage of 'Zhang wei' in kernel is freescale's driver maintainer. I > am not sure the outlook.com address is better than Zhang Wei's freescale > email a

Re: [PATCH] soc: fsl: guts: make fsl_guts_get_svr() static

2019-02-26 Thread Li Yang
On Fri, Feb 22, 2019 at 2:09 AM Y.b. Lu wrote: > > > > > -Original Message- > > From: Horia Geantă > > Sent: Thursday, February 21, 2019 6:38 PM > > To: Leo Li > > Cc: Y.b. Lu ; linuxppc-...@lists.ozlabs.org; > > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org > >

Re: [PATCH 0/3] soc: fsl: dpio: enable and configure cache stashing

2019-02-26 Thread Li Yang
On Mon, Feb 25, 2019 at 1:01 AM Ioana Ciornei wrote: > > > Subject: Re: [PATCH 0/3] soc: fsl: dpio: enable and configure cache stashing > > > > From: Ioana Ciornei > > Date: Sat, 23 Feb 2019 08:48:42 + > > > > > The first two patches enable cache stashing and configure the core > > > cluster

Re: [PATCH 0/3] soc: fsl: dpio: enable and configure cache stashing

2019-02-26 Thread Li Yang
On Sat, Feb 23, 2019 at 2:49 AM Ioana Ciornei wrote: > > The first two patches enable cache stashing and configure the core cluster > destination per software portal while the third patch is the one > configuring the amount of stashing on a queue. Series applied for next. Thanks. Regards, Leo

Re: [PATCH] soc: fsl: qbman: avoid race in clearing QMan interrupt

2019-01-18 Thread Li Yang
On Fri, Dec 21, 2018 at 8:43 AM Madalin Bucur wrote: > > By clearing all interrupt sources, not only those that > already occurred, the existing code may acknowledge by > mistake interrupts that occurred after the code checks > for them. > > Signed-off-by: Madalin Bucur > Signed-off-by: Roy

[GIT PULL] fixes for soc/fsl drivers for v5.0

2019-01-18 Thread Li Yang
Hi arm-soc maintainers, Please merge the following fix for soc/fsl drivers. Regards, Leo The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at:

[GIT PULL] updates to soc/fsl drivers for v5.1

2019-01-09 Thread Li Yang
Hi arm-soc maintainers, Please help to look into the following changes and merge them if they look good. The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at:

Re: [PATCH] soc: fsl: guts: us devm_kstrdup_const() for RO data

2019-01-10 Thread Li Yang
On Sat, Dec 22, 2018 at 2:02 AM Nicholas Mc Guire wrote: > > On Fri, Dec 21, 2018 at 08:29:56PM -0600, Scott Wood wrote: > > On Fri, 2018-12-07 at 09:22 +0100, Nicholas Mc Guire wrote: > > > devm_kstrdup() may return NULL if internal allocation failed, but > > > as machine is from the device

[PATCH] soc: fsl: guts: reuse machine name from device tree

2019-01-11 Thread Li Yang
Reuse the string machine from the device tree data structure instead of duplicating the data again. This also prevents a potential memory allocation failure that was not handled previously. Also fixes an early put of root device node. Reported-by: Nicholas Mc Guire Signed-off-by: Li Yang

[GIT PULL v2] updates to soc/fsl drivers for v5.1

2019-01-11 Thread Li Yang
: keep a per dpio device MC portal soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io soc: fsl: dpio: add a device_link at dpaa2_io_service_register bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate Li Yang (1): soc: fsl: guts

Re: [PATCH 2/2] soc: fsl: dpio: use a cpumask to identify which cpus are unused

2018-12-03 Thread Li Yang
On Mon, Nov 5, 2018 at 3:31 AM Ioana Ciornei wrote: > > The current implementation of the dpio driver uses a static next_cpu > variable to keep track of the index of the next cpu available. This > approach does not handle well unbinding and binding dpio devices in a > random order. For example,

Re: [PATCH v2 1/5] arm64: dts: fsl: use a generic node name for m25p80 flashes

2018-09-09 Thread Li Yang
On Sun, Sep 9, 2018 at 10:11 PM Shawn Guo wrote: > > The series looks good to me. @Leo, what about you? Looks fine to me too. Acked-by: Li Yang > > Shawn > > On Mon, Sep 03, 2018 at 04:08:36PM +0200, Alexandre Belloni wrote: > > Use a generic node name for the

Re: [PATCH v3 0/4] staging/fsl-mc/bus: Move DPIO from staging to drivers/soc/fsl

2018-07-24 Thread Li Yang
On Tue, Jul 24, 2018 at 9:38 AM, Ioana Ciocoi Radulescu wrote: >> -Original Message- >> From: Horia Geanta >> Sent: Tuesday, July 24, 2018 5:35 PM >> To: Roy Pledge ; de...@driverdev.osuosl.org; linux- >> arm-ker...@lists.infradead.org; gre...@linuxfoundation.org; Leo Li >> >> Cc:

[GIT PULL] updates to soc/fsl drivers for v4.19

2018-07-24 Thread Li Yang
: eth: move generic FD defines to DPIO Joakim Tjernlund (1): soc: fsl: qe: gpio: Add qe_gpio_set_multiple Li Yang (1): soc: fsl: cleanup Kconfig menu Roy Pledge (3): staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl staging: fsl-mc: Remove remaining files soc

[PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 38 + arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 38 + arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 38 + arch/arm64/boot/dts/freescale/fsl

Re: [PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
On Tue, Jun 12, 2018 at 1:32 PM, Fabio Estevam wrote: > Hi Li, > > On Tue, Jun 12, 2018 at 3:28 PM, Li Yang wrote: > >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> index 7286b1e..f90c

Re: [PATCH] arm64: dts: ls208xa: add second duart

2018-09-02 Thread Li Yang
On Sun, Sep 2, 2018 at 9:34 PM Shawn Guo wrote: > > It looks good to me. @Leo, are you okay with it? It looks fine. Acked-by: Li Yang > > Shawn > > On Thu, Aug 30, 2018 at 11:00:38AM +0200, Kurt Kanzenbach wrote: > > The NXP LS208xA SoCs have two dual uarts.

Re: [PATCH 2/3] Documentation: dt: binding: fsl: update property description for RCPM

2018-09-11 Thread Li Yang
On Mon, Sep 10, 2018 at 3:46 AM Ran Wang wrote: > > Hi Scott, > > On 2018/9/8 4:23, Scott Wood wrote: > > > > On Fri, 2018-08-31 at 11:52 +0800, Ran Wang wrote: > > > +Optional properties: > > > + - big-endian : Indicate RCPM registers is big-endian. A RCPM node > > > + that doesn't have this

[GIT PULL] fixes for soc/fsl drivers for v4.19

2018-09-20 Thread Li Yang
Hi arm-soc maintainers, Please merge the following fixes for soc/fsl drivers. Regards, Leo The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at:

[GIT PULL] soc/fsl drivers updates for next(v4.20)

2018-09-20 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for soc/fsl drivers. Regards, Leo The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at:

Re: [PATCH 1/3] arm: ls1: add CPU hotplug platform support

2014-09-28 Thread Li Yang
On Fri, Sep 26, 2014 at 9:20 PM, Mark Rutland wrote: >> > This looks to be a carbon copy of the vexpress pseudo-hotplug in >> > arch/arm/mach-vexpress/hotplug.c, which is obviously broken in the way >> > you describe above. Perhaps we should go about ripping that out? >> >> The Versatile Express

Re: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-14 Thread Li Yang
thout even try to stop it. > > Thanks. > > Best Regards, > Yuan Yao > >> -Original Message----- >> From: pku@gmail.com [mailto:pku@gmail.com] On Behalf Of Li Yang >> Sent: Friday, August 14, 2015 4:58 AM >> To: Yuan Yao-B46683 >> Cc: Vinod Koul;

Re: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-17 Thread Li Yang
On Mon, Aug 17, 2015 at 2:22 AM, Yao Yuan wrote: > Hi Nigel, > > On Mon, Aug 17, 2015 at 2:49 PM, Nigel Cunningham < > ni...@nigelcunningham.com.au > wrote: >> On 17/08/15 13:59, Yao Yuan wrote: >> > On Sat, Aug 15, 2015 at 7:48 AM, pku.leo < pku@gmail.com > wrote: >> >> On Fri, Aug 14, 2015

Re: [PATCH] ahci: added a new driver for supporting Freescale AHCI sata

2015-09-09 Thread Li Yang
On Sun, Sep 6, 2015 at 12:39 AM, Yuantian Tang wrote: > Hi, > {snip} >> >> This will break booting new kernels with old dtb files, something which in >> general is considered a big non-no, I suggest adding a comment that this has >> been superseded by the new ahci_qoriq.c code, and maybe add a

Re: [PATCH 2/3] devicetree:bindings: add devicetree bindings for Freescale AHCI

2015-09-09 Thread Li Yang
On Mon, Sep 7, 2015 at 3:23 AM, wrote: > From: Tang Yuantian > > adds bindings for Freescale QorIQ AHCI SATA controller. > > Signed-off-by: Tang Yuantian > --- > .../devicetree/bindings/ata/ahci-fsl-qoriq.txt | 21 > + > 1 file changed, 21 insertions(+) > create

Re: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-13 Thread Li Yang
On Tue, Jul 21, 2015 at 3:56 AM, Yuan Yao wrote: > This add power management suspend/resume support for the fsl-edma > driver. > > eDMA acted as a basic function used by others. What it needs to do is > the two steps below to support power management. > > In fsl_edma_suspend_late: > Check whether

[PATCH v6] i2c: imx: make bus recovery through pinctrl optional

2016-09-07 Thread Li Yang
d recovery mechanism as optional. The patch makes it really optional that the probe function won't bailout but just disable the bus recovery function when pinctrl is not usable. Signed-off-by: Li Yang Cc: Gao Pan Cc: Uwe Kleine-König Acked-by: Linus Walleij --- v6: Update code comment v5: Rever

Re: [PATCH 2/2] soc/fsl/qe: get rid of immrbar_virt_to_phys()

2017-02-09 Thread Li Yang
On Tue, Feb 7, 2017 at 3:05 AM, Christophe Leroy wrote: > immrbar_virt_to_phys() is not used anymore > > Signed-off-by: Christophe Leroy Acked-by: Li Yang Regards, Leo

Re: [PATCH 1/2] net: ethernet: ucc_geth: fix MEM_PART_MURAM mode

2017-02-09 Thread Li Yang
a163 ("powerpc/QE: switch to the cpm_muram implementation) > Signed-off-by: Christophe Leroy Acked-by: Li Yang Regards, Leo

[PATCH v7] i2c: imx: make bus recovery through pinctrl optional

2016-09-12 Thread Li Yang
ialization into bus recovery init function to prevent confusion. Signed-off-by: Li Yang Cc: Gao Pan Cc: Uwe Kleine-König Acked-by: Linus Walleij --- v7: Move pinctrl init into the i2c_imx_init_recovery_info() Update commit message and code comment v6: Update code comment v5: Revert the l

[PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

2016-10-17 Thread Li Yang
Commit fefe6733e added reference to the pcie->drvdata before it is initialized which causes a kernel panic. Fix the problem by initializing the pcie->drvdata earlier before it is used. Reported-by: Stuart Yoder Signed-off-by: Li Yang --- drivers/pci/host/pci-layerscape.c | 2 +-

[PATCH v5] i2c: imx: make bus recovery through pinctrl optional

2016-08-19 Thread Li Yang
d recovery mechanism as optional. The patch makes it really optional that the probe function won't bailout but just disable the bus recovery function when pinctrl is not available. Signed-off-by: Li Yang Cc: Gao Pan Cc: Uwe Kleine-König Acked-by: Linus Walleij --- v5: Revert the last min

[PATCH v4] i2c: imx: make bus recovery through pinctrl optional

2016-08-19 Thread Li Yang
d recovery mechanism as optional. The patch make it really optional that the probe function won't bailout when pinctrl is not available and it won't try to register recovery functions if pinctrl is NULL when the PINCTRL is not enabled at all. Signed-off-by: Li Yang Cc: Gao Pan Cc: Uwe Kleine-Kö

Re: [PATCH V5 2/6] watchdog: Add support for Freescale Layerscape platforms

2015-10-27 Thread Li Yang
Hi Wim, Can you help to review the patch and pick it for the next merge window? Regards, Leo On Mon, Oct 19, 2015 at 6:56 AM, Zhiqiang Hou wrote: > From: Shaohui Xie > > Modify watchdog/Kconfig file to support Layerscape platforms. > > Signed-off-by: Shaohui Xie > Signed-off-by: Wenbin Song

[PATCH] i2c: imx: fix build issue for platforms without pinctrl

2015-11-17 Thread Li Yang
is enabled. Reported-by: Ren Xiaofeng Signed-off-by: Li Yang Cc: Gao Pan --- drivers/i2c/busses/i2c-imx.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 1e4d99d..614253a 100644 --- a/drivers/i2c/busses/i2c-imx.c

Re: [PATCH] i2c: imx: fix build issue for platforms without pinctrl

2015-11-17 Thread Li Yang
On Tue, Nov 17, 2015 at 3:11 PM, Li Yang wrote: > With commit 1c4b6c3b (i2c: imx: implement bus recovery) the driver > starts to use pinctrl to do i2c bus recovery. But this breaks build > for platforms that don't implement pinctrl, such as ls1021a and > ls1043a. > > This pat

[PATCH] i2c: imx: make bus recovery through pinctrl optional

2015-11-17 Thread Li Yang
d recovery mechanism as optional. The patch make it really optional that the probe function won't bailout when pinctrl is not available and it won't try to register recovery functions if pinctrl is NULL when the PINCTRL is not enabled at all. Signed-off-by: Li Yang Cc: Gao Pan --- drivers/i2c/busses

Re: [PATCH] i2c: imx: make bus recovery through pinctrl optional

2015-11-18 Thread Li Yang
On Wed, Nov 18, 2015 at 1:24 AM, Uwe Kleine-König wrote: > Hello, > > On Tue, Nov 17, 2015 at 06:02:59PM -0600, Li Yang wrote: >> Since commit 1c4b6c3bcf30 ("i2c: imx: implement bus recovery") the driver >> starts to use gpio/pinctrl to do i2c bus recovery. But pin

Re: [PATCH] i2c: imx: make bus recovery through pinctrl optional

2015-11-20 Thread Li Yang
On Thu, Nov 19, 2015 at 2:08 AM, Uwe Kleine-König wrote: > Hello, > > Cc += Linus Walleij, linux-gpio > > On Wed, Nov 18, 2015 at 04:59:11PM -0600, Li Yang wrote: >> On Wed, Nov 18, 2015 at 1:24 AM, Uwe Kleine-König >> wrote: >> > On Tue, Nov 17, 201

[PATCH v2] i2c: imx: make bus recovery through pinctrl optional

2015-11-20 Thread Li Yang
d recovery mechanism as optional. The patch make it really optional that the probe function won't bailout when pinctrl is not available and it won't try to register recovery functions if pinctrl is NULL when the PINCTRL is not enabled at all. Signed-off-by: Li Yang Cc: Gao Pan --- v2: bailout

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-09 Thread Li Yang
On Tue, Mar 8, 2016 at 9:40 PM, Bjorn Andersson wrote: > On Tue, Mar 8, 2016 at 11:52 AM, Li Yang wrote: >> On Wed, Mar 2, 2016 at 4:59 PM, Li Yang wrote: >>> On Mon, Feb 22, 2016 at 4:07 PM, Bjorn Andersson >>> wrote: >>>> On Mon 22 Feb 02

Re: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-15 Thread Li Yang
On Fri, Apr 22, 2016 at 1:39 AM, Yunhui Cui wrote: > From: Yunhui Cui > > With the physical sectors combination, S25FS-S family flash > requires some special operations for read/write functions. > > Signed-off-by: Yunhui Cui > --- > drivers/mtd/spi-nor/spi-nor.c | 59 >

[PATCH 1/2] arm64: dts: ls1043a: Add cache nodes for cacheinfo support

2016-06-16 Thread Li Yang
Adds the cache nodes and next-level-cache property for the cacheinfo to work. Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl

[PATCH 2/2] arm64: dts: ls2080a: Add cache nodes for cacheinfo support

2016-06-16 Thread Li Yang
Adds the cache nodes and next-level-cache property for the cacheinfo to work. Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-08 Thread Li Yang
On Wed, Mar 2, 2016 at 4:59 PM, Li Yang wrote: > On Mon, Feb 22, 2016 at 4:07 PM, Bjorn Andersson > wrote: >> On Mon 22 Feb 02:03 PST 2016, Srinivas Kandagatla wrote: >> >>> >>> >>> On 22/02/16 05:32, Bjorn Andersson wrote: >>>

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-02 Thread Li Yang
On Mon, Feb 22, 2016 at 4:07 PM, Bjorn Andersson wrote: > On Mon 22 Feb 02:03 PST 2016, Srinivas Kandagatla wrote: > >> >> >> On 22/02/16 05:32, Bjorn Andersson wrote: >> >On certain platforms (e.g. ARM64) the dma_ops needs to be explicitly set >> >to be able to do DMA allocations, so use the

[PATCH] hwmon: fix ina2xx build issue by selecting REGMAP_I2C

2015-11-05 Thread Li Yang
Since a0de56(hwmon: (ina2xx) convert driver to using regmap) the driver requires REGMAP_I2C to build. Select it by default in Kconfig. Reported-by: Guo Chunrong Cc: Marc Titinger Signed-off-by: Li Yang --- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

Re: [PATCH 13/17] net: gianfar: remove misuse of IRQF_NO_SUSPEND flag

2015-09-23 Thread Li Yang
On Mon, Sep 21, 2015 at 11:51 AM, Thomas Gleixner wrote: > On Mon, 21 Sep 2015, Manoil Claudiu wrote: >> >The device is set as wakeup capable using proper wakeup API but the >> >driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source >> >which is incorrect. >> > >> >This patch

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-09-23 Thread Li Yang
On Fri, Sep 11, 2015 at 12:53 AM, Yuan Yao wrote: > Add Freescale Queue Direct Memory Access(qDMA) controller support. > This module can be found on LS-1 and LS-2 SoCs. > > This add the legacy mode support for qDMA. > > Signed-off-by: Yuan Yao > --- >

Re: [PATCH 13/17] net: gianfar: remove misuse of IRQF_NO_SUSPEND flag

2015-09-24 Thread Li Yang
On Wed, Sep 23, 2015 at 5:03 PM, Thomas Gleixner wrote: > On Wed, 23 Sep 2015, Li Yang wrote: >> On Mon, Sep 21, 2015 at 11:51 AM, Thomas Gleixner wrote: >> > On Mon, 21 Sep 2015, Manoil Claudiu wrote: >> >> >The device is set as wakeup capable using proper

Re: License for ARM device tree file

2015-09-28 Thread Li Yang
On Mon, Sep 28, 2015 at 2:29 PM, Russell King - ARM Linux wrote: > On Mon, Sep 28, 2015 at 07:14:30PM +, Li Leo wrote: >> I saw some discussion going on last year about the permissive license >> to be used in ARM device tree files. I know a lot of files have been >> changed to use GPLv2/X11

Re: [PATCH 0/7][v5]Add OTG support for FSL socs

2016-02-11 Thread Li Yang
On Mon, Feb 8, 2016 at 3:18 AM, Ramneek Mehresh wrote: > Hi Balbi, > > A kind reminder for the below request. Please let me know if any changes are > required on my side. You are still using the obsolete email address of Balbi trying to get his attention. commit

Re: [PATCH][v2] drivers/memory: Add deep sleep support for IFC

2016-02-04 Thread Li Yang
On Fri, Jan 8, 2016 at 5:18 AM, Raghav Dogra wrote: > Add support of suspend, resume function to support deep sleep. > Also make sure of SRAM initialization during resume. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Raghav Dogra > --- > Changes for v2: Copying only the correct

Re: System suspend states and device driver suspend() callback

2013-08-26 Thread Li Yang
On Sat, Aug 17, 2013 at 7:53 AM, Rafael J. Wysocki wrote: > On Friday, August 16, 2013 05:13:42 PM Li Yang-R58472 wrote: >> >> 在 2013-8-16,下午7:22,"Rafael J. Wysocki" 写道: >> >> > On Friday, August 16, 2013 04:06:26 PM Li Yang wrote: >> &

Re: [PATCH 02/20] ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram

2020-12-08 Thread Li Yang
On Sat, Dec 5, 2020 at 1:21 PM Rasmus Villemoes wrote: > > Table 8-53 in the QUICC Engine Reference manual shows definitions of > fields up to a size of 192 bytes, not just 128. But in table 8-111, > one does find the text > > Base Address of the Global Transmitter Parameter RAM Page. [...] >

Re: [PATCH] arm64: dts: ls1028a: fix optee node

2021-03-22 Thread Li Yang
On Thu, Mar 18, 2021 at 3:36 AM Michael Walle wrote: > > Don't enable the optee node in the SoC include. It is an optional > component and actually, if enabled, breaks boards which doesn't have it. Hi Shawn, Shall we make this a general rule? I see quite a few SoC dtsi files are having the

Re: [PATCH v6] soc: fsl: enable acpi support in RCPM driver

2021-04-06 Thread Li Yang
On Fri, Mar 12, 2021 at 2:56 AM Ran Wang wrote: > > From: Peng Ma > > This patch enables ACPI support in RCPM driver. > > Signed-off-by: Peng Ma > Signed-off-by: Ran Wang > --- > Change in v6: > - Remove copyright udpate to rebase on latest mainline > > Change in v5: > - Fix panic when

Re: [PATCH v1 0/3] Remove qe_io{read,write}* IO accessors

2021-04-06 Thread Li Yang
On Sat, Mar 6, 2021 at 12:11 PM Christophe Leroy wrote: > > Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* > wrappers") added specific I/O accessors for qe because at that > time ioread/iowrite functions were sub-optimal on powerpc/32 > compared to the architecture specific

Re: [PATCH] soc/fsl: qbman: fix conflicting alignment attributes

2021-03-25 Thread Li Yang
On Tue, Mar 23, 2021 at 8:17 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > When building with W=1, gcc points out that the __packed attribute > on struct qm_eqcr_entry conflicts with the 8-byte alignment > attribute on struct qm_fd inside it: > > drivers/soc/fsl/qbman/qman.c:189:1: error:

Re: [PATCH 0/3] arm64: dts: ls: mark crypto engine dma coherent

2021-03-09 Thread Li Yang
ine dma coherent > arm64: dts: ls1043a: mark crypto engine dma coherent > arm64: dts: ls1012a: mark crypto engine dma coherent For the series Acked-by: Li Yang > > arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 + > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 + > a

Re: [PATCH v7] soc: fsl: enable acpi support in RCPM driver

2021-04-08 Thread Li Yang
On Wed, Apr 7, 2021 at 9:58 PM Ran Wang wrote: > > From: Peng Ma > > This patch enables ACPI support in RCPM driver. > > Signed-off-by: Peng Ma > Signed-off-by: Ran Wang Applied for next. Thanks. > --- > Change in v7: > - Update comment for checking RCPM node which refferred to > > Change

Re: [PATCH] arm64: dts: ls1028a-rdb: enable optee node

2021-04-19 Thread Li Yang
On Tue, Mar 30, 2021 at 9:53 AM Sahil Malhotra wrote: > > From: Sahil Malhotra > > optee node was disabled by default, enabling it for ls1028a-rdb. > > Signed-off-by: Michael Walle > Signed-off-by: Sahil Malhotra Acked-by: Li Yang > --- > arch/arm64/boot/dts/fr

[GIT PULL] soc/fsl drivers changes for next(v5.13)

2021-04-09 Thread Li Yang
Hi soc maintainers, Please merge the following new changes for soc/fsl drivers. Regards, Leo The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at:

[PATCH 11/15] ARM: dts: ls1021a: fix memory node for schema check

2021-02-05 Thread Li Yang
Fix the following error from "make dtbs_check" memory: False schema does not allow ... Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.

[PATCH 09/15] ARM: dts: ls1021a: fix ifc node to follow binding schema

2021-02-05 Thread Li Yang
Breakup long values in the ifc node. Change the node name to ifc-bus to follow the schema of simple-bus and disable the bus in the SoC dtsi file to be enabled only in board dts files. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 6 +++--- arch/arm/boot/dts/ls1021a.dtsi| 3

[PATCH 07/15] ARM: dts: ls1021a: fix board compatible to follow binding schema

2021-02-05 Thread Li Yang
Align the compatible strings with the board binding defined in schema file. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-tsn.dts | 1 + arch/arm/boot/dts/ls1021a.dtsi| 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a-tsn.dts b/arch/arm

[PATCH 04/15] ARM: dts: ls1021a: change to use SPDX identifiers

2021-02-05 Thread Li Yang
Replace the license text with SPDX identifiers. In the mean while updated copyright years for previous changes. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 46 ++- arch/arm/boot/dts/ls1021a-twr.dts | 46 ++- arch/arm

[PATCH 01/15] dt-bindings: arm: fsl: add ls1021a-tsn board

2021-02-05 Thread Li Yang
Add the missing board in the binding docuemnt. Signed-off-by: Li Yang --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 297c87f45db8

[PATCH 10/15] ARM: dts: ls1021a: remove regulators simple-bus

2021-02-05 Thread Li Yang
There is no regulator bus in hardware. So move the regulator nodes out and remove the regulators simple-bus. This also make the dts align with the simple-bus schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 19 ++- arch/arm/boot/dts/ls1021a-twr.dts | 19

[PATCH 05/15] ARM: dts: ls1021a-qds: Add node for QSPI flash

2021-02-05 Thread Li Yang
Add the missing node for qspi flash. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index 71bab93bc4cc..86d969d0ef68 100644 --- a/arch/arm

[PATCH 06/15] ARM: dts: ls1021a: update pcie nodes for dt-schema check

2021-02-05 Thread Li Yang
Break up long values to pass dt-schema checks. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 4bf6320c85d9..959a3c85b83e 100644

[PATCH 15/15] ARM: dts: ls1021a-tsn: remove undocumented property "position" from mma8452 node

2021-02-05 Thread Li Yang
Property "postion" is not documented in the mma8452 binding. Remove it to resolve the error in "make dtbs_check" Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-tsn.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a-tsn.dts b/arch/

[PATCH 03/15] dt-bindings: memory: fsl: convert ifc binding to yaml schema

2021-02-05 Thread Li Yang
Convert the txt binding to yaml format and add description. Also updated the recommended node name to ifc-bus to align with the simple-bus node name requirements. Signed-off-by: Li Yang --- .../bindings/memory-controllers/fsl/ifc.txt | 82 -- .../bindings/memory-controllers/fsl

[PATCH 13/15] ARM: dts: ls1021a: add #power-domain-cells for power-controller node

2021-02-05 Thread Li Yang
Add the #power-domain-cells for power-controller node as required by the schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index a6342d69b4ea..cf2b5ad42a65 100644

[PATCH 12/15] ARM: dts: ls1021a: add #dma-cells to qdma node

2021-02-05 Thread Li Yang
Add the #dma-cells to align with the dma schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 715932b1df58..a6342d69b4ea 100644 --- a/arch/arm/boot/dts

<    1   2   3   4   >