[PATCH 1/1] ARM: dts: imx6sx: fix the pad QSPI1B_SCLK mux mode for uart3

2020-09-03 Thread fugang . duan
From: Fugang Duan The pad QSPI1B_SCLK mux mode 0x1 is for function UART3_DTE_TX, correct the mux mode. Fixes: 743636f25f1d ("ARM: dts: imx: add pin function header for imx6sx") Signed-off-by: Fugang Duan --- arch/arm/boot/dts/imx6sx-pinfunc.h | 2 +- 1 file changed, 1 insertion(+),

[PATCH 1/1] arm64: dts: imx8mp: add "fsl,imx6sx-fec" compatible string

2020-04-29 Thread fugang . duan
From: Fugang Duan Add "fsl,imx6sx-fec" compatible string for fec node, then i.MX8MP EVK ethernet function can work now. Signed-off-by: Fugang Duan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts

[PATCH nvmem v2 0/2] nvmem: imx: add i.MX8QM platform support

2019-08-06 Thread fugang . duan
From: Fugang Duan The patch set is to add i.MX8QM platform support for i.MX8 SCU OCOTP driver due to i.MX8QM efuse table has some difference with i.MX8QXP platform. V2: - Add dt-bindings for the new compatible string support. Fugang Duan (2): nvmem: imx: add i.MX8QM platform support dt

[PATCH nvmem v2 1/2] nvmem: imx: add i.MX8QM platform support

2019-08-06 Thread fugang . duan
From: Fugang Duan i.MX8QM efuse table has some difference with i.MX8QXP platform, so add i.MX8QM platform support. Signed-off-by: Fugang Duan --- drivers/nvmem/imx-ocotp-scu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/nvmem/imx-ocotp-scu.c b/drivers/nvmem/imx-ocotp

[PATCH nvmem v2 2/2] dt-bindings: fsl: scu: add new compatible string for ocotp

2019-08-06 Thread fugang . duan
From: Fugang Duan Add new compatible string "fsl,imx8qm-scu-ocotp" into binding doc for i.MX8 SCU OCOTP driver. Signed-off-by: Fugang Duan --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc

[PATCH nvmem 1/1] nvmem: imx: add i.MX8QM platform support

2019-07-04 Thread fugang . duan
From: Fugang Duan i.MX8QM efuse table has some difference with i.MX8QXP platform, so add i.MX8QM platform support. Signed-off-by: Fugang Duan --- drivers/nvmem/imx-ocotp-scu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/nvmem/imx-ocotp-scu.c b/drivers/nvmem/imx-ocotp

[PATCH nvmem 1/1] nvmem: imx: correct the fuse word index

2019-07-04 Thread fugang . duan
From: Fugang Duan iMX8 fuse word index represent as one 4-bytes word, it should not be divided by 4. Exp: - MAC0 address layout in fuse: offset 708: MAC[3] MAC[2] MAC[1] MAC[0] offset 709: XX xx MAC[5] MAC[4] Signed-off-by: Fugang Duan --- drivers/nvmem/imx-ocotp-scu.c | 6 +++--- 1

[PATCH RESEND 1/1] dt-bindings: serial: lpuart: add the clock requirement for imx8qxp

2019-07-04 Thread fugang . duan
From: Fugang Duan Add the baud clock requirement for imx8qxp. Signed-off-by: Fugang Duan --- Documentation/devicetree/bindings/serial/fsl-lpuart.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt b/Documentation

[PATCH RESEND tty/serial 1/1] tty: serial: fsl_lpuart: add imx8qxp support

2019-07-04 Thread fugang . duan
From: Fugang Duan The lpuart of imx8ulp is basically the same as imx7ulp, but it has new feature support based on imx7ulp, like it can assert a DMA request on EOP(end-of-packet). imx8ulp lpuart use two clocks, one is ipg bus clock that is used to access registers, the other is baud clock

RE: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline

2016-06-06 Thread Fugang Duan
From: Colin King <colin.k...@canonical.com> Sent: Monday, June 06, 2016 4:22 PM > To: Fugang Duan <fugang.d...@nxp.com>; net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline > > Fr

RE: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline

2016-06-06 Thread Fugang Duan
From: Colin King Sent: Monday, June 06, 2016 4:22 PM > To: Fugang Duan ; net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline > > From: Colin Ian King > > trivial fix to spelling mis

RE: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced"

2016-06-05 Thread Fugang Duan
From: Colin King <colin.k...@canonical.com> Sent: Sunday, June 05, 2016 3:01 AM > To: Fugang Duan <fugang.d...@nxp.com>; net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coales

RE: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced"

2016-06-05 Thread Fugang Duan
From: Colin King Sent: Sunday, June 05, 2016 3:01 AM > To: Fugang Duan ; net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced" > > From: Colin Ian King > > trivi

RE: [PATCH v2 0/3] net: ethtool: add ethtool_op_{get|set}_link_ksettings

2016-05-08 Thread Fugang Duan
Fom: Philippe Reynes <trem...@gmail.com> Sent: Monday, May 09, 2016 5:45 AM > To: Fugang Duan <fugang.d...@nxp.com>; da...@davemloft.net; > b...@decadent.org.uk; kan.li...@intel.com; de...@googlers.com; > adu...@mirantis.com; j...@mellanox.com; jacob.e.kel...@intel.com; &

RE: [PATCH v2 0/3] net: ethtool: add ethtool_op_{get|set}_link_ksettings

2016-05-08 Thread Fugang Duan
Fom: Philippe Reynes Sent: Monday, May 09, 2016 5:45 AM > To: Fugang Duan ; da...@davemloft.net; > b...@decadent.org.uk; kan.li...@intel.com; de...@googlers.com; > adu...@mirantis.com; j...@mellanox.com; jacob.e.kel...@intel.com; > t...@herbertland.com; and...@lunn.ch > Cc: net...@

RE: [PATCH 3/3] fec: move to new ethtool api {get|set}_link_ksettings

2016-04-14 Thread Fugang Duan
From: Philippe Reynes <trem...@gmail.com> Sent: Friday, April 15, 2016 6:35 AM > To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang > Duan <fugang.d...@nxp.com> > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org; Philippe Reynes > <t

RE: [PATCH 3/3] fec: move to new ethtool api {get|set}_link_ksettings

2016-04-14 Thread Fugang Duan
From: Philippe Reynes Sent: Friday, April 15, 2016 6:35 AM > To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang > Duan > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org; Philippe Reynes > > Subject: [PATCH 3/3] fec: move to new ethto

RE: [PATCH 2/3] phy: add generic function to support ksetting support

2016-04-14 Thread Fugang Duan
From: Philippe Reynes <trem...@gmail.com> Sent: Friday, April 15, 2016 6:35 AM > To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang > Duan <fugang.d...@nxp.com> > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org; Philippe Reynes > <t

RE: [PATCH 2/3] phy: add generic function to support ksetting support

2016-04-14 Thread Fugang Duan
From: Philippe Reynes Sent: Friday, April 15, 2016 6:35 AM > To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang > Duan > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org; Philippe Reynes > > Subject: [PATCH 2/3] phy: add generic function to s

RE: [PATCH RESEND] net:fec:Fix error checking in the function fec_enet_init

2016-03-06 Thread Fugang Duan
From: nick <xerofo...@gmail.com> Sent: Sunday, March 06, 2016 11:50 AM > To: Fugang Duan <fugang.d...@nxp.com>; da...@davemloft.net > Cc: b38...@freescale.com; and...@lunn.ch; fabio.este...@freescale.com; > l.st...@pengutronix.de; rmk+ker...@arm.linux.org.uk; trem.

RE: [PATCH RESEND] net:fec:Fix error checking in the function fec_enet_init

2016-03-06 Thread Fugang Duan
From: nick Sent: Sunday, March 06, 2016 11:50 AM > To: Fugang Duan ; da...@davemloft.net > Cc: b38...@freescale.com; and...@lunn.ch; fabio.este...@freescale.com; > l.st...@pengutronix.de; rmk+ker...@arm.linux.org.uk; trem...@gmail.com; > johan...@sipsolutions.net; u.kleine-koe...@pe

RE: [PATCH RESEND] net:fec:Fix error checking in the function fec_enet_init

2016-03-05 Thread Fugang Duan
gt; @@ -3132,7 +3133,9 @@ static int fec_enet_init(struct net_device *ndev) > fep->tx_align = 0x3; > #endif > > - fec_enet_alloc_queue(ndev); > + ret = fec_enet_alloc_queue(ndev); > + if (ret) > + return ret; > > if (fep->bufdesc_ex) > fep->bufdesc_size = sizeof(struct bufdesc_ex); > -- > 2.1.4 Thanks. Acked-by: Fugang Duan <fugang.d...@nxp.com>

RE: [PATCH RESEND] net:fec:Fix error checking in the function fec_enet_init

2016-03-05 Thread Fugang Duan
evice *ndev) > fep->tx_align = 0x3; > #endif > > - fec_enet_alloc_queue(ndev); > + ret = fec_enet_alloc_queue(ndev); > + if (ret) > + return ret; > > if (fep->bufdesc_ex) > fep->bufdesc_size = sizeof(struct bufdesc_ex); > -- > 2.1.4 Thanks. Acked-by: Fugang Duan

RE: [PATCH] net: fec: Rename "phy-reset-active-low" property

2016-03-03 Thread Fugang Duan
if (err) { > dev_err(>dev, "failed to get phy-reset-gpios: %d\n", > err); > return; > } > msleep(msec); > - gpio_set_value_cansleep(phy_reset, !active_low); > + gpio_set_value_cansleep(phy_reset, !active_high); > } > #else /* CONFIG_OF */ > static void fec_reset_phy(struct platform_device *pdev) > -- > 2.7.2 Rename "phy-reset-active-low" to "phy-reset-active-high" is more reasonable, not confuse us. Thanks. Acked-by: Fugang Duan <fugang.d...@nxp.com>

RE: [PATCH] net: fec: Rename "phy-reset-active-low" property

2016-03-03 Thread Fugang Duan
t phy-reset-gpios: %d\n", > err); > return; > } > msleep(msec); > - gpio_set_value_cansleep(phy_reset, !active_low); > + gpio_set_value_cansleep(phy_reset, !active_high); > } > #else /* CONFIG_OF */ > static void fec_reset_phy(struct platform_device *pdev) > -- > 2.7.2 Rename "phy-reset-active-low" to "phy-reset-active-high" is more reasonable, not confuse us. Thanks. Acked-by: Fugang Duan