[PATCH v9 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-29 Thread Bintian Wang
h speed clock on UART1 mux * Other changes based on the discussion in the mailing list: https://lkml.org/lkml/2015/2/5/147 Bintian Wang (6): arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC clk: hi6220: Docume

[PATCH v9 1/6] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

2015-05-29 Thread Bintian Wang
This patch introduces ARCH_HISI to enable Hisilicon SoC family in Kconfig and defconfig. Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Reviewed-by: Wei Xu Tested-by: Will Deacon Tested-by: Tyler Baker Tested-by: Kevin Hilman --- arch/arm64/Kconfig |5 + arch/arm64

[PATCH v9 3/6] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-05-29 Thread Bintian Wang
Document DT files bindings for Hisilicon hi6220 clock. Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Suggested-by: Arnd Bergmann Acked-by: Stephen Boyd --- .../devicetree/bindings/clock/hi6220-clock.txt | 34 1 file changed, 34 insertions(+) create mode

[PATCH v9 4/6] Documentation: DT: PL011: hi6220: add compatible string for Hisilicon designed UART

2015-05-29 Thread Bintian Wang
Hisilicon does some performance enhancements based on PL011(e.g. larger FIFO length), so add one compatible string "hisilicon,hi6220-uart" for future optimisations or workarounds works. Signed-off-by: Bintian Wang Suggested-by: Mark Rutland --- Documentation/devicetree/bindings/se

[PATCH v9 6/6] dt-bindings: Add header file of hi6220 clock driver

2015-05-29 Thread Bintian Wang
Add the header file "hi6220-clock.h" used by both hi6220 clock driver and hi6220 device tree file. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang Tested-by: Will Deacon Tested-by: Tyler Baker Tested-by: Kevin Hilman --- include/dt-bindings/clock/hi6220-cloc

[PATCH v9 5/6] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-05-29 Thread Bintian Wang
Add initial dtsi file to support Hisilicon Hi6220 SoC with support of Octal core CPUs in two clusters and each cluster has quard Cortex-A53. Also add dts file to support HiKey development board which based on Hi6220 SoC. Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Reviewed-by: Yiping

[PATCH v9 2/6] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-29 Thread Bintian Wang
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang Suggested-by: Arnd Bergmann Acked-by: Haojian Zhuang Acked-by: Stephen Boyd --- .../bindings/arm/hisilicon/hisilicon.txt | 87

[PATCH v8 5/7] dt-bindings: Add header file of hi6220 clock driver

2015-05-28 Thread Bintian Wang
Add the header file "hi6220-clock.h" used by both hi6220 clock driver and hi6220 device tree file. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang Tested-by: Will Deacon Tested-by: Tyler Baker Tested-by: Kevin Hilman --- include/dt-bindings/clock/hi6220-clo

[PATCH v8 6/7] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-28 Thread Bintian Wang
we can not get index of the mask bit by left shift fixed bits (e.g. 16 bits), so we add this divider clock to handle it. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Reviewed-by: Zhangfei Gao Tested-by: Will Deacon Tested-by: Tyler Baker Tested

[PATCH v8 7/7] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-05-28 Thread Bintian Wang
Add initial dtsi file to support Hisilicon Hi6220 SoC with support of Octal core CPUs in two clusters and each cluster has quard Cortex-A53. Also add dts file to support HiKey development board which based on Hi6220 SoC. Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Reviewed-by: Yiping

[PATCH v8 0/7] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-28 Thread Bintian Wang
From: Bintian Wang Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC and HiKey development board, which supports octal ARM Cortex A53 cores. Initial support is minimal and includes just the arch configuration, clock driver, device tree

[PATCH v8 2/7] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-05-28 Thread Bintian Wang
Document DT files bindings for Hisilicon hi6220 clock. Signed-off-by: Bintian Wang Acked-by: Haojian Zhuang Suggested-by: Arnd Bergmann Acked-by: Stephen Boyd --- .../devicetree/bindings/clock/hi6220-clock.txt | 34 ++ 1 file changed, 34 insertions(+) create mode

[PATCH v8 4/7] clk: hisilicon: Remove __init for marking function prototypes

2015-05-28 Thread Bintian Wang
__init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang Tested-by: Will Deacon Tested-by: Tyler Baker Tested-by: Kevin Hilman --- drivers/clk/hisilicon/clk.h | 22 +++--- 1 file changed, 11 insertions(+), 11

[PATCH v8 3/7] Documentation: DT: PL011: hi6220: add compatible string for Hisilicon designed UART

2015-05-28 Thread Bintian Wang
Hisilicon does some performance enhancements based on PL011(e.g. larger FIFO length), so add one compatible string "hisilicon,hi6220-uart" for future optimisations or workarounds works. Signed-off-by: Bintian Wang Suggested-by: Mark Rutland --- Documentation/devicetree/bindings/se

[PATCH v8 1/7] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-28 Thread Bintian Wang
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang Suggested-by: Arnd Bergmann Acked-by: Haojian Zhuang Acked-by: Stephen Boyd --- .../bindings/arm/hisilicon/hisilicon.txt | 87

[PATCH v2 3/6] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-04-13 Thread Bintian Wang
Document DT files bindings for Hisilicon hi6220 clock. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang --- .../devicetree/bindings/clock/hi6220-clock.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/hi6220

[PATCH v2 6/6] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-04-13 Thread Bintian Wang
Add initial dtsi file to support Hisilicon Hi6220 SoC with support of Octal core CPUs in two clusters and each cluster has quard Cortex-A53. Also add dts file to support HiKey development board which based on Hi6220 SoC. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by

[PATCH v2 4/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-04-13 Thread Bintian Wang
we can not get index of the mask bit by left shift fixed bits (e.g. 16 bits), so we add this divider clock to handle it. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by: Zhangfei Gao --- drivers/clk/Kconfig | 2 + d

[PATCH v2 5/6] arm64: Kconfig: Add clock support to ARCH_HISI

2015-04-13 Thread Bintian Wang
Select hi6220 clock driver for ARCH_HISI. Signed-off-by: Bintian Wang --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 64d4d6d..75c55fe 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -230,6 +230,7 @@ config

[PATCH v2 2/6] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-04-13 Thread Bintian Wang
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang --- .../bindings/arm/hisilicon/hisilicon.txt | 73 ++ 1 file changed, 73 insertions(+) diff --git a/Documentation

[PATCH v2 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-04-13 Thread Bintian Wang
k on UART1 mux * Other changes based on the discussion in the mailing list: https://lkml.org/lkml/2015/2/5/147 Bintian Wang (6): arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC clk: hi6220: Document

[PATCH v2 1/6] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

2015-04-13 Thread Bintian Wang
This patch introduces ARCH_HISI to enable Hisilicon SoC family in Kconfig and defconfig. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by: Wei Xu --- arch/arm64/Kconfig | 5 + arch/arm64/configs/defconfig | 1 + 2 files changed, 6 insertions(+) diff --git a

[PATCH 0/3] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-02-05 Thread Bintian Wang
peripheral drivers will be submitted later. Any comments will be appreciated! Thanks, Bintian Wang (3): arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig clk: hi6220: Clock driver support for Hisilicon hi6220 SoC arm64: dts: Add dts files for Hisilicon Hi6220 SoC

[PATCH 1/3] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

2015-02-05 Thread Bintian Wang
This patch introduces ARCH_HISI to enable Hisilicon SoC family in Kconfig and defconfig. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by: Wei Xu --- arch/arm64/Kconfig |5 + arch/arm64/configs/defconfig |1 + 2 files changed, 6 insertions(+) diff

[PATCH 2/3] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-02-05 Thread Bintian Wang
we can not get index of the mask bit by left shift fixed bits (e.g. 16 bits), so we add this divider clock to handle it. This patch also enables this clock driver for ARCH_HISI and document devicetree bindings. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by: Zh

[PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-05 Thread Bintian Wang
h based on Hi6220 SoC and document the devicetree bindings. These dts files will be changed later and more nodes will be added to describe other devices. Signed-off-by: Bintian Wang Reviewed-by: Haojian Zhuang Reviewed-by: Yiping Xu --- .../bindings/arm/hisilicon/hisilicon.txt | 33

[PATCH] arm64: dts: create an include directory for DT bindings

2014-11-11 Thread Bintian Wang
/xxx/xxx.h: No such file or directory In order to fix the compile error, create an include directory and symlink dt-bindings from there to the actual location of include/dt-bindings/: arch/arm64/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings Signed-off-by: Bintian Wang --- a