[PATCH] arm64: dts: ls1088a: add DT node of watchdog

2017-12-14 Thread ying.zhang22455
From: Zhang Ying-22455 There are eight cores in ls1088a and each core has an watchdog, ls1088a can use sp805-wdt driver, so we just add DT node for it. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 56 1 files changed, 56 insert

[PATCH] i2c: pca954x: Add option to skip disabling PCA954x Mux device

2017-05-09 Thread ying.zhang22455
From: Priyanka Jain On some Layerscape boards like LS2085ARDB/LS2080ARDB, input pull-up resistors on PCA954x Mux device are missing on board. So, if mux are disabled after powered-on, input lines will float leading to incorrect functionality. Hence, PCA954x Mux device should never be turned-off

[PATCH 1/3] arm64: ls1046a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 4a164b8..1a8f1f4 100644 --

[PATCH 3/3] arm64: ls2080a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index e5935f2..e32e477 100644 ---

[PATCH 2/3] arm64: ls1012a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index cffebb4..3b65d67 100644 --

[PATCH 1/5 v2] soc: fsl: add support for arm64/Layerscape SOC specific drivers

2017-04-25 Thread ying.zhang22455
From: Stuart Yoder Signed-off-by: Zhang Ying-22455 --- Change from V1: - remove FSL_SOC_DRIVERS drivers/soc/fsl/Kconfig | 3 +++ drivers/soc/fsl/Kconfig.arm | 16 drivers/soc/fsl/Makefile| 1 + 3 files changed, 20 insertions(+) create mode 100644 drivers/soc/fsl/Kco

[PATCH 2/5 v2] soc: fsl: add flextimer module alarm driver for Layerscape

2017-04-25 Thread ying.zhang22455
From: Wang Dongsheng Signed-off-by: Zhang Ying-22455 --- Change from V1: - ftm_clean_alarm: FTM_MOD is 32bit width, modify ~0UL to ~0U. drivers/soc/fsl/layerscape/Kconfig | 10 ++ drivers/soc/fsl/layerscape/Makefile| 1 + drivers/soc/fsl/layerscape/ftm_alarm.c | 274

[PATCH 2/5] soc: fsl: add flextimer module alarm driver for Layerscape

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Signed-off-by: Zhang Ying-22455 --- drivers/soc/fsl/layerscape/Kconfig | 10 ++ drivers/soc/fsl/layerscape/Makefile| 1 + drivers/soc/fsl/layerscape/ftm_alarm.c | 274 + 3 files changed, 285 insertions(+) create mode 100644 driver

[PATCH 3/5] arm64: ls1021a: dts: add ftm0 nodes

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Add rcpm and ftm0 nodes. The Power Management related features need these nodes. Signed-off-by: Zhang Ying-22455 --- arch/arm/boot/dts/ls1021a.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi

[PATCH 1/5] soc: fsl: add support for arm64/Layerscape SOC specific drivers

2017-04-21 Thread ying.zhang22455
From: Stuart Yoder Signed-off-by: Zhang Ying-22455 --- drivers/soc/Kconfig | 13 + drivers/soc/fsl/Kconfig | 3 +++ drivers/soc/fsl/Kconfig.arm | 16 drivers/soc/fsl/Makefile| 1 + 4 files changed, 33 insertions(+) create mode 100644 drivers/soc/f

[PATCH 4/5] arm64: ls1043a: dts: add rcpm and ftm0 nodes

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Add rcpm and ftm0 nodes. The Power Management related features need these nodes. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.

[PATCH 5/5] Fix errata A-007728 for flextimer

2017-04-21 Thread ying.zhang22455
From: Meng Yi If the FTM counter reaches the FTM_MOD value between the reading of the TOF bit and the writing of 0 to the TOF bit, the process of clearing the TOF bit does not work as expected when FTMx_CONF[NUMTOF] != 0 and the current TOF count is less than FTMx_CONF[NUMTOF]. If the above condi