[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, 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, 2/3] powerpc/mpc85xx: 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/powerpc/boot/dts/fsl/qoriq-fman-0.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq-fman-1.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq-fman3-0.dtsi |1

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

2018-07-30 Thread Yangbo Lu
This patch is to add clocks property for fman ptp timer node. Signed-off-by: Yangbo Lu --- 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.dtsi b/arch/arm64/boot/dts/freescale

[PATCH 2/3] powerpc/mpc85xx: add clocks property for fman ptp timer node

2018-07-30 Thread Yangbo Lu
This patch is to add clocks property for fman ptp timer node. Signed-off-by: Yangbo Lu --- arch/powerpc/boot/dts/fsl/qoriq-fman-0.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq-fman-1.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq-fman3-0.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq

[PATCH 3/3] ptp_qoriq: convert to use module parameters for initialization

2018-07-30 Thread Yangbo Lu
to the new method gradually in case of breaking any function. Signed-off-by: Yangbo Lu --- drivers/ptp/ptp_qoriq.c | 117 +++- include/linux/fsl/ptp_qoriq.h |1 + 2 files changed, 115 insertions(+), 3 deletions(-) diff --git a/drivers/ptp/ptp_qoriq.c b/d

[v4, 10/10] dpaa_eth: add the get_ts_info interface for ethtool

2018-06-25 Thread Yangbo Lu
Added the get_ts_info interface for ethtool to check the timestamping capability. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - Removed ifdef for hw timestamp. Changes for v3: - None. Changes for v4: - Added ACKs

[v4, 09/10] dpaa_eth: add support for hardware timestamping

2018-06-25 Thread Yangbo Lu
This patch is to add hardware timestamping support for dpaa_eth. 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: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes

[v4, 08/10] fsl/fman: define frame description command UPD

2018-06-25 Thread Yangbo Lu
Defined frame description command FM_FD_CMD_UPD for prepended data updating. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - None. Changes for v4: - Added ACKs. --- drivers/net/ethernet/freescale

[v4, 07/10] fsl/fman_port: support getting timestamp

2018-06-25 Thread Yangbo Lu
This patch is to add fman_port_get_tstamp() interface to get timestamp. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - Moved endianness conversion from dpaa to fman API. Changes for v4: - Fixed

[v4, 06/10] fsl/fman: add set_tstamp interface

2018-06-25 Thread Yangbo Lu
This patch is to add set_tstamp interface for memac, dtsec, and 10GEC controllers to configure HW timestamping. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - None. Changes for v4: - Added ACKs

[v4, 05/10] arm64: dts: fsl: move ptp timer out of fman

2018-06-25 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - Fixed address

[v4, 04/10] powerpc/mpc85xx: move ptp timer out of fman in dts

2018-06-25 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes

[v4, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support

2018-06-25 Thread Yangbo Lu
This patch is to add bindings description for DPAA FMan 1588 timer, and also remove its description in fsl-fman dt-bindings document. Signed-off-by: Yangbo Lu Reviewed-by: Rob Herring Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3

[v4, 02/10] ptp: support DPAA FMan 1588 timer in ptp_qoriq

2018-06-25 Thread Yangbo Lu
This patch is to support DPAA (Data Path Acceleration Architecture) 1588 timer by adding "fsl,fman-ptp-timer" compatible, sharing interrupt with FMan, adding FSL_DPAA_ETH dependency, and fixing up register offset. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Mad

[v4, 01/10] fsl/fman: share the event interrupt

2018-06-25 Thread Yangbo Lu
This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - None. Changes for v4: - Added ACKs

[v4, 00/10] Support DPAA PTP clock and timestamping

2018-06-25 Thread Yangbo Lu
driver. Yangbo Lu (10): fsl/fman: share the event interrupt ptp: support DPAA FMan 1588 timer in ptp_qoriq dt-binding: ptp_qoriq: add DPAA FMan support powerpc/mpc85xx: move ptp timer out of fman in dts arm64: dts: fsl: move ptp timer out of fman fsl/fman: add set_tstamp interface fsl

[v3, 10/10] dpaa_eth: add the get_ts_info interface for ethtool

2018-06-07 Thread Yangbo Lu
Added the get_ts_info interface for ethtool to check the timestamping capability. Signed-off-by: Yangbo Lu --- Changes for v2: - Removed ifdef for hw timestamp. Changes for v3: - None. --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 39 1 files

[v3, 09/10] dpaa_eth: add support for hardware timestamping

2018-06-07 Thread Yangbo Lu
This patch is to add hardware timestamping support for dpaa_eth. 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: Yangbo Lu --- Changes for v2: - Removed ifdef for timestamp code

[v3, 08/10] fsl/fman: define frame description command UPD

2018-06-07 Thread Yangbo Lu
Defined frame description command FM_FD_CMD_UPD for prepended data updating. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - None. --- drivers/net/ethernet/freescale/fman/fman.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[v3, 07/10] fsl/fman_port: support getting timestamp

2018-06-07 Thread Yangbo Lu
This patch is to add fman_port_get_tstamp() interface to get timestamp. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - Moved endianness conversion from dpaa to fman API. --- drivers/net/ethernet/freescale/fman/fman_port.c | 12 drivers/net

[v3, 06/10] fsl/fman: add set_tstamp interface

2018-06-07 Thread Yangbo Lu
This patch is to add set_tstamp interface for memac, dtsec, and 10GEC controllers to configure HW timestamping. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - None. --- drivers/net/ethernet/freescale/fman/fman_dtsec.c | 27

[v3, 05/10] arm64: dts: fsl: move ptp timer out of fman

2018-06-07 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- Changes for v2: - Fixed address-cells for ptp-timer. Changes for v3: - None

[v3, 04/10] powerpc/mpc85xx: move ptp timer out of fman in dts

2018-06-07 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - None. --- arch/powerpc/boot/dts

[v3, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support

2018-06-07 Thread Yangbo Lu
This patch is to add bindings description for DPAA FMan 1588 timer, and also remove its description in fsl-fman dt-bindings document. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - None. --- Documentation/devicetree/bindings/net/fsl-fman.txt | 25

[v3, 02/10] ptp: support DPAA FMan 1588 timer in ptp_qoriq

2018-06-07 Thread Yangbo Lu
This patch is to support DPAA (Data Path Acceleration Architecture) 1588 timer by adding "fsl,fman-ptp-timer" compatible, sharing interrupt with FMan, adding FSL_DPAA_ETH dependency, and fixing up register offset. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Chan

[v3, 01/10] fsl/fman: share the event interrupt

2018-06-07 Thread Yangbo Lu
This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu --- Changes for v2: - None. Changes for v3: - None. --- drivers/net/ethernet/freescale/fman/fman.c |3 ++- 1 files changed, 2 insertions(+), 1

[v3, 00/10] Support DPAA PTP clock and timestamping

2018-06-07 Thread Yangbo Lu
driver. Yangbo Lu (10): fsl/fman: share the event interrupt ptp: support DPAA FMan 1588 timer in ptp_qoriq dt-binding: ptp_qoriq: add DPAA FMan support powerpc/mpc85xx: move ptp timer out of fman in dts arm64: dts: fsl: move ptp timer out of fman fsl/fman: add set_tstamp interface fsl

[v2, 10/10] dpaa_eth: add the get_ts_info interface for ethtool

2018-06-06 Thread Yangbo Lu
Added the get_ts_info interface for ethtool to check the timestamping capability. Signed-off-by: Yangbo Lu --- Changes for v2: - Removed ifdef for hw timestamp. --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 39 1 files changed, 39 insertions(+), 0

[v2, 09/10] dpaa_eth: add support for hardware timestamping

2018-06-06 Thread Yangbo Lu
This patch is to add hardware timestamping support for dpaa_eth. 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: Yangbo Lu --- Changes for v2: - Removed ifdef for timestamp code

[v2, 08/10] fsl/fman: define frame description command UPD

2018-06-06 Thread Yangbo Lu
Defined frame description command FM_FD_CMD_UPD for prepended data updating. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/fman/fman.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman

[v2, 07/10] fsl/fman_port: support getting timestamp field

2018-06-06 Thread Yangbo Lu
This patch is to add fman_port_get_tstamp_field() interface to get timestamp field data. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/fman/fman_port.c | 12 drivers/net/ethernet/freescale/fman/fman_port.h |3 +++ 2 files

[v2, 06/10] fsl/fman: add set_tstamp interface

2018-06-06 Thread Yangbo Lu
This patch is to add set_tstamp interface for memac, dtsec, and 10GEC controllers to configure HW timestamping. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/fman/fman_dtsec.c | 27 ++ drivers/net/ethernet/freescale/fman

[v2, 05/10] arm64: dts: fsl: move ptp timer out of fman

2018-06-06 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- Changes for v2: - Fixed address-cells for ptp-timer. --- arch/arm64/boot/dts

[v2, 04/10] powerpc/mpc85xx: move ptp timer out of fman in dts

2018-06-06 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- arch/powerpc/boot/dts/fsl/qoriq-fman-0.dtsi | 14

[v2, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support

2018-06-06 Thread Yangbo Lu
This patch is to add bindings description for DPAA FMan 1588 timer, and also remove its description in fsl-fman dt-bindings document. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- Documentation/devicetree/bindings/net/fsl-fman.txt | 25 +--- .../devicetree

[v2, 02/10] ptp: support DPAA FMan 1588 timer in ptp_qoriq

2018-06-06 Thread Yangbo Lu
This patch is to support DPAA (Data Path Acceleration Architecture) 1588 timer by adding "fsl,fman-ptp-timer" compatible, sharing interrupt with FMan, adding FSL_DPAA_ETH dependency, and fixing up register offset. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- d

[v2, 01/10] fsl/fman: share the event interrupt

2018-06-06 Thread Yangbo Lu
This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/fman/fman.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers

[v2, 00/10] Support DPAA PTP clock and timestamping

2018-06-06 Thread Yangbo Lu
This patchset is to support DPAA FMAN PTP clock and HW timestamping. - The patch #1 to patch #5 are to support DPAA FMAN 1588 timer in ptp_qoriq driver. - The patch #6 to patch #10 are to add HW timestamping support in DPAA ethernet driver. Yangbo Lu (10): fsl/fman: share the event

[PATCH 02/10] ptp: support DPAA FMan 1588 timer in ptp_qoriq

2018-06-04 Thread Yangbo Lu
This patch is to support DPAA (Data Path Acceleration Architecture) 1588 timer by adding "fsl,fman-ptp-timer" compatible, sharing interrupt with FMan, adding FSL_DPAA_ETH dependency, and fixing up register offset. Signed-off-by: Yangbo Lu --- drivers/ptp/Kconfig |2 +- d

[PATCH 09/10] dpaa_eth: add support for hardware timestamping

2018-06-04 Thread Yangbo Lu
This patch is to add hardware timestamping support for dpaa_eth. 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: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa/Kconfig| 12

[PATCH 05/10] arm64: dts: fsl: move ptp timer out of fman

2018-06-04 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 14 -- 1 files changed, 8

[PATCH 10/10] dpaa_eth: add the get_ts_info interface for ethtool

2018-06-04 Thread Yangbo Lu
Added the get_ts_info interface for ethtool to check the timestamping capability. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 44 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa

[PATCH 07/10] fsl/fman_port: support getting timestamp field

2018-06-04 Thread Yangbo Lu
This patch is to add fman_port_get_tstamp_field() interface to get timestamp field data. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/fman/fman_port.c | 12 drivers/net/ethernet/freescale/fman/fman_port.h |3 +++ 2 files changed, 15 insertions(+), 0 deletions

[PATCH 08/10] fsl/fman: define frame description command UPD

2018-06-04 Thread Yangbo Lu
Defined frame description command FM_FD_CMD_UPD for prepended data updating. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/fman/fman.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.h b/drivers/net/ethernet

[PATCH 03/10] dt-binding: ptp_qoriq: add DPAA FMan support

2018-06-04 Thread Yangbo Lu
This patch is to add bindings description for DPAA FMan 1588 timer, and also remove its description in fsl-fman dt-bindings document. Signed-off-by: Yangbo Lu --- Documentation/devicetree/bindings/net/fsl-fman.txt | 25 +--- .../devicetree/bindings/ptp/ptp-qoriq.txt

[PATCH 06/10] fsl/fman: add set_tstamp interface

2018-06-04 Thread Yangbo Lu
This patch is to add set_tstamp interface for memac, dtsec, and 10GEC controllers to configure HW timestamping. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/fman/fman_dtsec.c | 27 ++ drivers/net/ethernet/freescale/fman/fman_dtsec.h |1 + drivers/net

[PATCH 04/10] powerpc/mpc85xx: move ptp timer out of fman in dts

2018-06-04 Thread Yangbo Lu
This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- arch/powerpc/boot/dts/fsl/qoriq-fman-0.dtsi | 14 -- arch/powerpc/boot/dts

[PATCH 00/10] Support DPAA PTP clock and timestamping

2018-06-04 Thread Yangbo Lu
This patchset is to support DPAA FMAN PTP clock and HW timestamping. - The patch #1 to patch #5 are to support DPAA FMAN 1588 timer in ptp_qoriq driver. - The patch #6 to patch #10 are to add HW timestamping support in DPAA ethernet driver. Yangbo Lu (10): fsl/fman: share the event

[PATCH 01/10] fsl/fman: share the event interrupt

2018-06-04 Thread Yangbo Lu
This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/fman/fman.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c

[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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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

[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, 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, 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, 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

[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, 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, 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, 1/8] dt: bindings: update Freescale DCFG compatible

2016-10-28 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Scott Wood <o...@buserror.net>

[v14, 0/8] Fix eSDHC host version register bug

2016-10-27 Thread Yangbo Lu
. This is used to register a soc device which contain soc version and revision information. The other two patches introduce the soc_device_match method in soc driver and apply it on esdhc driver to fix this bug. Arnd Bergmann (1): base: soc: introduce soc_device_match() interface Yangbo Lu (7

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

2016-10-27 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

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

2016-10-27 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

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

2016-10-27 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

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

2016-10-27 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

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

2016-10-27 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:

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

2016-10-27 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

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

2016-10-27 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

[v13, 0/8] Fix eSDHC host version register bug

2016-10-27 Thread Yangbo Lu
. This is used to register a soc device which contain soc version and revision information. The other two patches introduce the soc_device_match method in soc driver and apply it on esdhc driver to fix this bug. Arnd Bergmann (1): base: soc: introduce soc_device_match() interface Yangbo Lu (7

[v13, 1/8] dt: bindings: update Freescale DCFG compatible

2016-10-27 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Scott Wood <o...@buserror.net>

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

2016-09-21 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

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

2016-09-21 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> --- Changes for v11: - Added this patch for soc match Changes for v12: - Corrected the author - Rewrited soc_devic

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

2016-09-21 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

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

2016-09-21 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

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

2016-09-21 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:

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

2016-09-21 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

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

2016-09-21 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

[v12, 1/8] dt: bindings: update Freescale DCFG compatible

2016-09-21 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu <yangbo...@nxp.com> Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Scott Wood <o...@buserror.net>

[v12, 0/8] Fix eSDHC host version register bug

2016-09-21 Thread Yangbo Lu
. This is used to register a soc device which contain soc version and revision information. The other two patches introduce the soc_device_match method in soc driver and apply it on esdhc driver to fix this bug. Arnd Bergmann (1): base: soc: introduce soc_device_match() interface Yangbo Lu (7

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

2016-09-06 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

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

2016-09-06 Thread Yangbo Lu
wildcards in strings. Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yangbo Lu <yangbo...@nxp.com> --- Changes for v11: - Added this patch for soc match --- drivers/base/Kconfig| 1 + drivers/base/soc.c | 61 + i

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

2016-09-06 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

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

2016-09-06 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> Signed-off-by: Scott Wood <o...@buserror.net> --- Changes for v4: - Added this patch Ch

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

2016-09-06 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:

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

2016-09-06 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

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

2016-09-06 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

  1   2   >