[net-next 3/3] net: mscc: ocelot: support PTP Sync one-step timestamping

2021-04-16 Thread Yangbo Lu
configuration could be done during transmitting. Non-onestep-Sync packet with one-step timestamp request should fall back to use two-step timestamp. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/mscc/ocelot.c | 57 ++ drivers/net/ethernet/mscc/ocelot_net.c | 5

[net-next 2/3] net: mscc: ocelot: convert to ocelot_port_txtstamp_request()

2021-04-16 Thread Yangbo Lu
Convert to a common ocelot_port_txtstamp_request() for TX timestamp request handling. Signed-off-by: Yangbo Lu --- drivers/net/dsa/ocelot/felix.c | 14 +- drivers/net/ethernet/mscc/ocelot.c | 24 +--- drivers/net/ethernet/mscc/ocelot_net.c | 18

[net-next 1/3] net: dsa: optimize tx timestamp request handling

2021-04-16 Thread Yangbo Lu
put skb cloning into port_txtstamp where it really needs. Signed-off-by: Yangbo Lu --- Documentation/networking/timestamping.rst | 7 +-- .../net/dsa/hirschmann/hellcreek_hwtstamp.c | 20 -- .../net/dsa/hirschmann/hellcreek_hwtstamp.h | 2 +- drivers/net/dsa/mv88e6xxx

[net-next 0/3] Support ocelot PTP Sync one-step timestamping

2021-04-16 Thread Yangbo Lu
This patch-set is to support ocelot PTP Sync one-step timestamping. Actually before that, this patch-set cleans up and optimizes the DSA slave tx timestamp request handling process. Yangbo Lu (3): net: dsa: optimize tx timestamp request handling net: mscc: ocelot: convert

[PATCH] ptp: add stub function for ptp_get_msgtype()

2020-09-27 Thread Yangbo Lu
Added the missing stub function for ptp_get_msgtype(). Reported-by: Randy Dunlap Fixes: 036c508ba95e ("ptp: Add generic ptp message type function") Signed-off-by: Yangbo Lu --- include/linux/ptp_classify.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/ptp_

[v2, 1/6] ptp: add QorIQ PTP support for DPAA2

2019-06-14 Thread Yangbo Lu
. Also allow to compile ptp_qoriq with COMPILE_TEST. Signed-off-by: Yangbo Lu --- Changes for v2: - Allowed to compile with COMPILE_TEST. --- drivers/ptp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 9b8fee5..960961f

[v2, 2/6] dpaa2-ptp: reuse ptp_qoriq driver

2019-06-14 Thread Yangbo Lu
by MC which fires MSIs to ARM cores. So the interrupt enabling and handling still rely on MC APIs. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/dpaa2/Kconfig | 3 +- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 160

[v2, 4/6] arm64: dts: fsl: add ptp timer node for dpaa2 platforms

2019-06-14 Thread Yangbo Lu
This patch is to add ptp timer device tree node for dpaa2 platforms(ls1088a/ls208xa/lx2160a). Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 8 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 arch/arm64

[v2, 3/6] dt-binding: ptp_qoriq: support DPAA2 PTP compatible

2019-06-14 Thread Yangbo Lu
Add a new compatible for DPAA2 PTP. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- Documentation/devicetree/bindings/ptp/ptp-qoriq.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt b/Documentation

[v2, 5/6] dpaa2-ptp: add interrupt support

2019-06-14 Thread Yangbo Lu
This patch is to add interrupt support for dpaa2 ptp clock, including MC APIs and PPS interrupt support. Other events haven't been supported in MC by now. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 110

[v2, 0/6] Reuse ptp_qoriq driver for dpaa2-ptp

2019-06-14 Thread Yangbo Lu
be handled by MC which fires MSIs to ARM cores. So the interrupt enabling and handling still rely on MC APIs. MC APIs for interrupt and PPS event support are also added by this patch-set. --- Changes for v2: - Allowed to compile with COMPILE_TEST. Yangbo Lu (6): ptp: add QorIQ PTP support

[v2, 6/6] MAINTAINERS: maintain DPAA2 PTP driver in QorIQ PTP entry

2019-06-14 Thread Yangbo Lu
Maintain DPAA2 PTP driver in QorIQ PTP entry. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- MAINTAINERS | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index b70d5d5..b1f2207 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH 2/6] dpaa2-ptp: reuse ptp_qoriq driver

2019-06-09 Thread Yangbo Lu
by MC which fires MSIs to ARM cores. So the interrupt enabling and handling still rely on MC APIs. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa2/Kconfig | 3 +- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 160 +-- drivers/net/ethernet

[PATCH 0/6] Reuse ptp_qoriq driver for dpaa2-ptp

2019-06-09 Thread Yangbo Lu
be handled by MC which fires MSIs to ARM cores. So the interrupt enabling and handling still rely on MC APIs. MC APIs for interrupt and PPS event support are also added by this patch-set. Yangbo Lu (6): ptp: add QorIQ PTP support for DPAA2 dpaa2-ptp: reuse ptp_qoriq driver dt-binding: ptp_qoriq

[PATCH 1/6] ptp: add QorIQ PTP support for DPAA2

2019-06-09 Thread Yangbo Lu
. Signed-off-by: Yangbo Lu --- drivers/ptp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 9b8fee5..b1b454f 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -44,7 +44,7 @@ config PTP_1588_CLOCK_DTE config

[PATCH 5/6] dpaa2-ptp: add interrupt support

2019-06-09 Thread Yangbo Lu
This patch is to add interrupt support for dpaa2 ptp clock, including MC APIs and PPS interrupt support. Other events haven't been supported in MC by now. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 110 +++- drivers/net/ethernet/freescale/dpaa2/dprtc

[PATCH 4/6] arm64: dts: fsl: add ptp timer node for dpaa2 platforms

2019-06-09 Thread Yangbo Lu
This patch is to add ptp timer device tree node for dpaa2 platforms(ls1088a/ls208xa/lx2160a). Signed-off-by: Yangbo Lu --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 8 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8

[PATCH 3/6] dt-binding: ptp_qoriq: support DPAA2 PTP compatible

2019-06-09 Thread Yangbo Lu
Add a new compatible for DPAA2 PTP. Signed-off-by: Yangbo Lu --- Documentation/devicetree/bindings/ptp/ptp-qoriq.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt b/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt

[PATCH 6/6] MAINTAINERS: maintain DPAA2 PTP driver in QorIQ PTP entry

2019-06-09 Thread Yangbo Lu
Maintain DPAA2 PTP driver in QorIQ PTP entry. Signed-off-by: Yangbo Lu --- MAINTAINERS | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fcbd648..81762bb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4910,13 +4910,6 @@ L: linux

[v2, 1/3] arm64: dts: fsl: add clocks property for fman ptp timer node

2018-08-01 Thread Yangbo Lu
This patch is to add clocks property for fman ptp timer node. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0

[v2, 1/3] arm64: dts: fsl: add clocks property for fman ptp timer node

2018-08-01 Thread Yangbo Lu
This patch is to add clocks property for fman ptp timer node. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0

[v2, 3/3] ptp_qoriq: support automatic configuration for ptp timer

2018-08-01 Thread Yangbo Lu
in current kernel. Also the users could set dts properties by themselves according to their requirement. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped module_param. --- drivers/ptp/ptp_qoriq.c | 111 +++- include/linux/fsl/ptp_qoriq.h

[v2, 3/3] ptp_qoriq: support automatic configuration for ptp timer

2018-08-01 Thread Yangbo Lu
in current kernel. Also the users could set dts properties by themselves according to their requirement. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped module_param. --- drivers/ptp/ptp_qoriq.c | 111 +++- include/linux/fsl/ptp_qoriq.h

[v2] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped dpaa2/rtc part. --- MAINTAINERS | 10 -- 1 files changed, 8 insertions

[v2] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped dpaa2/rtc part. --- MAINTAINERS | 10 -- 1 files changed, 8 insertions

[PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata

2018-05-24 Thread Yangbo Lu
index through ptp_qoriq drvdata. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/net/ethernet/freescale/gianfar.h |3 -- drivers/net/ethernet/freescale/gianfar_ethtool.c | 23 + 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata

2018-05-24 Thread Yangbo Lu
index through ptp_qoriq drvdata. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/gianfar.h |3 -- drivers/net/ethernet/freescale/gianfar_ethtool.c | 23 + 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/freescale

[PATCH 1/5] ptp: rework gianfar_ptp as QorIQ common PTP driver

2018-05-24 Thread Yangbo Lu
as QorIQ common PTP driver to support both DPAA and eTSEC. Moved gianfar_ptp.c to drivers/ptp/, renamed it as ptp_qoriq.c, and renamed many variables. There were not any function changes. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/net/ethernet/freescale/Makefile

[PATCH 1/5] ptp: rework gianfar_ptp as QorIQ common PTP driver

2018-05-24 Thread Yangbo Lu
as QorIQ common PTP driver to support both DPAA and eTSEC. Moved gianfar_ptp.c to drivers/ptp/, renamed it as ptp_qoriq.c, and renamed many variables. There were not any function changes. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/Makefile|1 - drivers/ptp/Kconfig

[PATCH 2/5] ptp_qoriq: move some definitions to header file

2018-05-24 Thread Yangbo Lu
This patch is to move some definitions in ptp_qoriq.c to the header file. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/ptp/ptp_qoriq.c | 132 +-- include/linux/fsl/ptp_qoriq.h | 141 + 2 files c

[PATCH 2/5] ptp_qoriq: move some definitions to header file

2018-05-24 Thread Yangbo Lu
This patch is to move some definitions in ptp_qoriq.c to the header file. Signed-off-by: Yangbo Lu --- drivers/ptp/ptp_qoriq.c | 132 +-- include/linux/fsl/ptp_qoriq.h | 141 + 2 files changed, 142 insertions

[PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-24 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's also maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- MAINTAINERS | 17 + 1 files changed, 9 insertions(+), 8 del

[PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-24 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's also maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu --- MAINTAINERS | 17 + 1 files changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH 4/5] dt-bindings: ptp: add ptp-qoriq.txt

2018-05-24 Thread Yangbo Lu
This patch is to add a documentation for ptp_qoriq dt-bindings. The description for ptp_qoriq dt-bindings was actually moved from Documentation/devicetree/bindings/net/fsl-tsec-phy.txt, since gianfar_ptp driver was moved to ptp_qoriq driver. Signed-off-by: Yangbo Lu <yangbo...@nxp.

[PATCH 4/5] dt-bindings: ptp: add ptp-qoriq.txt

2018-05-24 Thread Yangbo Lu
This patch is to add a documentation for ptp_qoriq dt-bindings. The description for ptp_qoriq dt-bindings was actually moved from Documentation/devicetree/bindings/net/fsl-tsec-phy.txt, since gianfar_ptp driver was moved to ptp_qoriq driver. Signed-off-by: Yangbo Lu --- .../devicetree/bindings

[v2, 2/3] staging: fsl-dpaa2/eth: add the get_ts_info interface for ethtool

2018-04-26 Thread Yangbo Lu
Since hardware timestmaping has been supported in driver, this patch is to add the get_ts_info interface for ethtool to show timestamping capability. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v2: - Added this patch. --- drivers/staging/fsl-dpaa2/ethernet/dpaa2

[v2, 2/3] staging: fsl-dpaa2/eth: add the get_ts_info interface for ethtool

2018-04-26 Thread Yangbo Lu
Since hardware timestmaping has been supported in driver, this patch is to add the get_ts_info interface for ethtool to show timestamping capability. Signed-off-by: Yangbo Lu --- Changes for v2: - Added this patch. --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h |1 + drivers

[v2, 1/3] staging: fsl-dpaa2/eth: Add support for hardware timestamping

2018-04-26 Thread Yangbo Lu
ulescu <ruxandra.radule...@nxp.com> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v2: - Addressed sparse issues. - Used tx_tstamp/rx_tstamp instead of ts_tx_en/ts_rx_en. - Used DPAA2_PTP_CLK_PERIOD_NS instead. --- drivers/staging/fsl-dpaa2/ethernet/

[v2, 1/3] staging: fsl-dpaa2/eth: Add support for hardware timestamping

2018-04-26 Thread Yangbo Lu
From: Ioana Radulescu Hardware timestamping is supported both on Rx and Tx paths. On Rx, timestamping is enabled for all frames. On Tx, we only instruct the hardware to timestamp the frames marked accordingly by the stack. Signed-off-by: Ioana Radulescu Signed-off-by: Yangbo Lu --- Changes

[v2, 3/3] staging: fsl-dpaa2/rtc: support phc_index of ethtool_ts_info

2018-04-26 Thread Yangbo Lu
This patch is to support phc_index of ethtool_ts_info. Also make the rtc drvier depend on FSL_DPAA2_ETH because this driver is only useful when PTP programs are getting hardware time stamps on the PTP Ethernet packets using the SO_TIMESTAMPING API. Signed-off-by: Yangbo Lu <yangbo...@nxp.

[v2, 3/3] staging: fsl-dpaa2/rtc: support phc_index of ethtool_ts_info

2018-04-26 Thread Yangbo Lu
This patch is to support phc_index of ethtool_ts_info. Also make the rtc drvier depend on FSL_DPAA2_ETH because this driver is only useful when PTP programs are getting hardware time stamps on the PTP Ethernet packets using the SO_TIMESTAMPING API. Signed-off-by: Yangbo Lu --- Changes for v2

[v2] net: gianfar_ptp: move set_fipers() to spinlock protecting area

2018-01-08 Thread Yangbo Lu
set_fipers() calling should be protected by spinlock in case that any interrupt breaks related registers setting and the function we expect. This patch is to move set_fipers() to spinlock protecting area in ptp_gianfar_adjtime(). Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes

[v2] net: gianfar_ptp: move set_fipers() to spinlock protecting area

2018-01-08 Thread Yangbo Lu
set_fipers() calling should be protected by spinlock in case that any interrupt breaks related registers setting and the function we expect. This patch is to move set_fipers() to spinlock protecting area in ptp_gianfar_adjtime(). Signed-off-by: Yangbo Lu --- Changes for v2: - explained

[PATCH] net: gianfar_ptp: move set_fipers() to spinlock protecting area

2018-01-08 Thread Yangbo Lu
set_fipers() calling should be protected by spinlock. This patch is to move set_fipers() to spinlock protecting area in ptp_gianfar_adjtime() function. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/net/ethernet/freescale/gianfar_ptp.c |3 +-- 1 files changed, 1 insertions

[PATCH] net: gianfar_ptp: move set_fipers() to spinlock protecting area

2018-01-08 Thread Yangbo Lu
set_fipers() calling should be protected by spinlock. This patch is to move set_fipers() to spinlock protecting area in ptp_gianfar_adjtime() function. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/gianfar_ptp.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

[PATCH] soc: fsl: support GUTS driver for ls1012a/ls1046a

2017-12-07 Thread Yangbo Lu
This patch is to add compatible strings "fsl,ls1021a-dcfg" and "fsl,ls1043a-dcfg" into device match table of GUTS driver. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/soc/fsl/guts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/guts.

[PATCH] soc: fsl: support GUTS driver for ls1012a/ls1046a

2017-12-07 Thread Yangbo Lu
This patch is to add compatible strings "fsl,ls1021a-dcfg" and "fsl,ls1043a-dcfg" into device match table of GUTS driver. Signed-off-by: Yangbo Lu --- drivers/soc/fsl/guts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.

[v2] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-28 Thread Yangbo Lu
is 5. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v2: - Added Shawn into cc list. --- 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.dtsi index 642497

[v2] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-28 Thread Yangbo Lu
is 5. Signed-off-by: Yangbo Lu --- Changes for v2: - Added Shawn into cc list. --- 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.dtsi index 64249726b3cb..a861a4b9e319 100644

[PATCH] net: gianfar: add ethtool eee support

2017-11-27 Thread Yangbo Lu
t loss if an application's traffic rate is low. This patch provides .get_eee and .set_eee so that to disable the EEE advertisement via ethtool if needed, other EEE features are not supported. Signed-off-by: Shaohui Xie <shaohui@nxp.com> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- drivers/net/

[PATCH] net: gianfar: add ethtool eee support

2017-11-27 Thread Yangbo Lu
is low. This patch provides .get_eee and .set_eee so that to disable the EEE advertisement via ethtool if needed, other EEE features are not supported. Signed-off-by: Shaohui Xie Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/gianfar_ethtool.c | 28 1 file

[PATCH] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-09 Thread Yangbo Lu
is 5. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- 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.dtsi index 9319e1f0f1d8..10e536f338f7 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi

[PATCH] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-09 Thread Yangbo Lu
is 5. Signed-off-by: Yangbo Lu --- 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.dtsi index 9319e1f0f1d8..10e536f338f7 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts

[v2] ARM: multi_v7_defconfig: make eSDHC driver built-in

2017-08-24 Thread Yangbo Lu
Sometimes root file system is deployed on SD card. It's proper to build eSDHC driver into kernel. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v2: - Added more reviewers (by get_maintainer.pl). --- arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 ins

[v2] ARM: multi_v7_defconfig: make eSDHC driver built-in

2017-08-24 Thread Yangbo Lu
Sometimes root file system is deployed on SD card. It's proper to build eSDHC driver into kernel. Signed-off-by: Yangbo Lu --- Changes for v2: - Added more reviewers (by get_maintainer.pl). --- arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[v16, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-11-08 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Ulf Hansson <ulf.hans...@linaro.org> Acked-by: Scott Wood <o...@buserror.net> Acked-by: Arnd Bergmann <a...@arndb.de> --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3

[v16, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-11-08 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu Acked-by: Ulf Hansson Acked-by: Scott Wood Acked-by: Arnd Bergmann --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3: - Managed GUTS through syscon instead of iomap in eSDHC driver Changes for v4: - Got SVR

[v16, 6/7] base: soc: Check for NULL SoC device attributes

2016-11-08 Thread Yangbo Lu
From: Geert Uytterhoeven If soc_device_match() is used to check the value of a specific attribute that is not present for the current SoC, the kernel crashes with a NULL pointer dereference. Fix this by explicitly checking for the absence of a needed property, and

[v16, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-11-08 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: S

[v16, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-11-08 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood Acked-by: Arnd Bergmann --- Changes for v4

[v16, 6/7] base: soc: Check for NULL SoC device attributes

2016-11-08 Thread Yangbo Lu
From: Geert Uytterhoeven If soc_device_match() is used to check the value of a specific attribute that is not present for the current SoC, the kernel crashes with a NULL pointer dereference. Fix this by explicitly checking for the absence of a needed property, and considering this a non-match.

[v16, 4/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-11-08 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> Acked-by: Qiang Zhao <qiang.z...@nxp.com> Acked

[v16, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-11-08 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> Acked-by: Arnd Bergmann <a...@arndb.de> --- Changes for v5:

[v16, 3/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-11-08 Thread Yangbo Lu
and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Arnd Bergmann <a...@arndb.de> --- Changes for v4: - Added this patch Changes for v5:

[v16, 4/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-11-08 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao Acked-by: Arnd Bergmann --- Changes for v8: - Added this patch Changes for v9

[v16, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-11-08 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Arnd Bergmann --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7

[v16, 3/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-11-08 Thread Yangbo Lu
and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu Acked-by: Arnd Bergmann --- Changes for v4: - Added this patch Changes for v5: - Modified copyright info - Changed

[v16, 5/7] base: soc: introduce soc_device_match() interface

2016-11-08 Thread Yangbo Lu
ompare but instead use glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- Changes for v11: - Added this patch for soc match Changes for

[v16, 5/7] base: soc: introduce soc_device_match() interface

2016-11-08 Thread Yangbo Lu
glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann Signed-off-by: Yangbo Lu Acked-by: Greg Kroah-Hartman --- Changes for v11: - Added this patch for soc match Changes for v12: - Corrected the author - Rewrited soc_device_match with while loop Changes for v13

[v16, 0/7] Fix eSDHC host version register bug

2016-11-08 Thread Yangbo Lu
mpc85xx.h to include/linux/fsl' - Added a bug-fix patch from Geert --- Arnd Bergmann (1): base: soc: introduce soc_device_match() interface Geert Uytterhoeven (1): base: soc: Check for NULL SoC device attributes Yangbo Lu (5): ARM64: dts: ls2080a: add device configuration node dt

[v16, 0/7] Fix eSDHC host version register bug

2016-11-08 Thread Yangbo Lu
mpc85xx.h to include/linux/fsl' - Added a bug-fix patch from Geert --- Arnd Bergmann (1): base: soc: introduce soc_device_match() interface Geert Uytterhoeven (1): base: soc: Check for NULL SoC device attributes Yangbo Lu (5): ARM64: dts: ls2080a: add device configuration node dt

[v15, 4/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-28 Thread Yangbo Lu
and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v4: - Added this patch Changes for v5: - Modified copyright info - C

[v15, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-28 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Ulf Hansson <ulf.hans...@linaro.org> Acked-by: Scott Wood <o...@buserror.net> --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3: - Managed GUTS through syscon instead

[v15, 4/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-28 Thread Yangbo Lu
and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu --- Changes for v4: - Added this patch Changes for v5: - Modified copyright info - Changed MODULE_LICENSE to GPL

[v15, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-28 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu Acked-by: Ulf Hansson Acked-by: Scott Wood --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3: - Managed GUTS through syscon instead of iomap in eSDHC driver Changes for v4: - Got SVR by GUTS driver instead

[v15, 6/7] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Yangbo Lu
ompare but instead use glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- Changes for v11: - Added this patch for soc match Changes for

[v15, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-28 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: S

[v15, 5/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-28 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> Acked-by: Qiang Zhao <qiang.z...@nxp.com> --- Changes for v

[v15, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-28 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood --- Changes for v4: - Added this patch

[v15, 5/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-28 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail

[v15, 6/7] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Yangbo Lu
glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann Signed-off-by: Yangbo Lu Acked-by: Greg Kroah-Hartman --- Changes for v11: - Added this patch for soc match Changes for v12: - Corrected the author - Rewrited soc_device_match with while loop Changes for v13

[v15, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-10-28 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> --- Changes for v5: - Added this patch Changes for v6: - None Ch

[v15, 0/7] Fix eSDHC host version register bug

2016-10-28 Thread Yangbo Lu
() interface Yangbo Lu (6): ARM64: dts: ls2080a: add device configuration node dt: bindings: move guts devicetree doc out of powerpc directory powerpc/fsl: move mpc85xx.h to include/linux/fsl soc: fsl: add GUTS driver for QorIQ platforms MAINTAINERS: add entry for Freescale SoC drivers mmc

[v15, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-10-28 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8

[v15, 0/7] Fix eSDHC host version register bug

2016-10-28 Thread Yangbo Lu
() interface Yangbo Lu (6): ARM64: dts: ls2080a: add device configuration node dt: bindings: move guts devicetree doc out of powerpc directory powerpc/fsl: move mpc85xx.h to include/linux/fsl soc: fsl: add GUTS driver for QorIQ platforms MAINTAINERS: add entry for Freescale SoC drivers mmc

[v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Yangbo Lu
-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Wolfram Sang <w...@the-dreams.de> Acked-by: Stephen Boyd <sb...@codeaurora.org> Acked-by: Joerg Roedel <jroe...@suse.de> [scottwood: update description] Signed-off-by: Scott Wood <o...@buserror.net> --- Changes for v2:

[v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Yangbo Lu
-off-by: Yangbo Lu Acked-by: Wolfram Sang Acked-by: Stephen Boyd Acked-by: Joerg Roedel [scottwood: update description] Signed-off-by: Scott Wood --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - Changed to Move mpc85xx.h

[v14, 3/8] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-28 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: S

[v14, 3/8] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-28 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood --- Changes for v4: - Added this patch

[v14, 2/8] ARM64: dts: ls2080a: add device configuration node

2016-10-28 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> --- Changes for v5: - Added this patch Changes for v6: - None Ch

[v14, 6/8] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-28 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Scott Wood <o...@buserror.net> Acked-by: Qiang Zhao <qiang.z...@nxp.com> --- Changes for v

[v14, 7/8] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Yangbo Lu
ompare but instead use glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- Changes for v11: - Added this patch for soc match Changes for

[v14, 8/8] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-28 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Ulf Hansson <ulf.hans...@linaro.org> Acked-by: Scott Wood <o...@buserror.net> --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3: - Managed GUTS through syscon instead

[v14, 6/8] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-28 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail

[v14, 7/8] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Yangbo Lu
glob_match() to allow wildcards in strings. Signed-off-by: Arnd Bergmann Signed-off-by: Yangbo Lu Acked-by: Greg Kroah-Hartman --- Changes for v11: - Added this patch for soc match Changes for v12: - Corrected the author - Rewrited soc_device_match with while loop Changes for v13

[v14, 2/8] ARM64: dts: ls2080a: add device configuration node

2016-10-28 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8

[v14, 8/8] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-28 Thread Yangbo Lu
data transfer. Signed-off-by: Yangbo Lu Acked-by: Ulf Hansson Acked-by: Scott Wood --- Changes for v2: - Got SVR through iomap instead of dts Changes for v3: - Managed GUTS through syscon instead of iomap in eSDHC driver Changes for v4: - Got SVR by GUTS driver instead

[v14, 4/8] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Yangbo Lu
-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Wolfram Sang <w...@the-dreams.de> Acked-by: Stephen Boyd <sb...@codeaurora.org> Acked-by: Joerg Roedel <jroe...@suse.de> [scottwood: update description] Signed-off-by: Scott Wood <o...@buserror.net> --- Changes for v2:

[v14, 4/8] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Yangbo Lu
-off-by: Yangbo Lu Acked-by: Wolfram Sang Acked-by: Stephen Boyd Acked-by: Joerg Roedel [scottwood: update description] Signed-off-by: Scott Wood --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - Changed to Move mpc85xx.h

[v14, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-28 Thread Yangbo Lu
and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v4: - Added this patch Changes for v5: - Modified copyright info - C

  1   2   3   >