Re: [PATCH v4] arm64: dts: add all hi6220 i2c nodes

2015-12-29 Thread Bintian
interrupts = <0 46 4>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <_pmx_func _cfg_func>; + status = "disabled"; + };

Re: [PATCH v4] arm64: dts: add all hi6220 i2c nodes

2015-12-29 Thread Bintian
clocks = <_ctrl HI6220_I2C2_CLK>; + interrupts = <0 46 4>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <_pmx_func _cfg_func>; +

Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

2015-12-07 Thread Bintian
n Yan " :) BR, Bintian --- .../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt ind

Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

2015-12-07 Thread Bintian
figure as "Kejian Yan <yankej...@huawei.com>" :) BR, Bintian --- .../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/d

Re: [PATCH] amba: Support clk parents and rates assigned in DT

2015-07-07 Thread Bintian
On 2015/7/7 17:33, Russell King - ARM Linux wrote: On Tue, Jul 07, 2015 at 04:47:33PM +0800, Bintian wrote: Hi Russell, Could you spend several minutes to review Stephen's patch? Sorry, I'm busy this week, I need to sort out my git tree, get some fixes out which should've been pushed during

Re: [PATCH] amba: Support clk parents and rates assigned in DT

2015-07-07 Thread Bintian
Hi Russell, Could you spend several minutes to review Stephen's patch? Thanks, Bintian On 2015/7/7 7:57, Stephen Boyd wrote: On 05/28/2015 01:52 PM, Stephen Boyd wrote: Add the call to of_clk_set_defaults() into the amba probe path so that devices on the amba bus can use the assigned rates

Re: [PATCH] amba: Support clk parents and rates assigned in DT

2015-07-07 Thread Bintian
Hi Russell, Could you spend several minutes to review Stephen's patch? Thanks, Bintian On 2015/7/7 7:57, Stephen Boyd wrote: On 05/28/2015 01:52 PM, Stephen Boyd wrote: Add the call to of_clk_set_defaults() into the amba probe path so that devices on the amba bus can use the assigned rates

Re: [PATCH] amba: Support clk parents and rates assigned in DT

2015-07-07 Thread Bintian
On 2015/7/7 17:33, Russell King - ARM Linux wrote: On Tue, Jul 07, 2015 at 04:47:33PM +0800, Bintian wrote: Hi Russell, Could you spend several minutes to review Stephen's patch? Sorry, I'm busy this week, I need to sort out my git tree, get some fixes out which should've been pushed during

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

2015-06-08 Thread Bintian
changes for 4.2 Thanks for your time. BR, Bintian On 2015/6/9 9:39, Bintian wrote: Hello Shawn, On 2015/6/9 8:55, Shawn Guo wrote: A minor random comment below. On Sat, May 30, 2015 at 09:51:00AM +0800, Bintian Wang wrote: +ao_ctrl: ao_ctrl { +compatible = "hisilicon,h

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

2015-06-08 Thread Bintian
Hello Shawn, On 2015/6/9 8:55, Shawn Guo wrote: A minor random comment below. On Sat, May 30, 2015 at 09:51:00AM +0800, Bintian Wang wrote: + ao_ctrl: ao_ctrl { + compatible = "hisilicon,hi6220-aoctrl", "syscon"; +

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

2015-06-08 Thread Bintian
changes for 4.2 Thanks for your time. BR, Bintian On 2015/6/9 9:39, Bintian wrote: Hello Shawn, On 2015/6/9 8:55, Shawn Guo wrote: A minor random comment below. On Sat, May 30, 2015 at 09:51:00AM +0800, Bintian Wang wrote: +ao_ctrl: ao_ctrl { +compatible = hisilicon,hi6220

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

2015-06-08 Thread Bintian
Hello Shawn, On 2015/6/9 8:55, Shawn Guo wrote: A minor random comment below. On Sat, May 30, 2015 at 09:51:00AM +0800, Bintian Wang wrote: + ao_ctrl: ao_ctrl { + compatible = hisilicon,hi6220-aoctrl, syscon; + reg = 0x0 0xf780 0x0

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

2015-06-04 Thread Bintian
On 2015/6/4 12:36, Rob Herring wrote: On Fri, May 29, 2015 at 8:50 PM, Bintian Wang wrote: 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

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

2015-06-04 Thread Bintian
On 2015/6/4 12:36, Rob Herring wrote: On Fri, May 29, 2015 at 8:50 PM, Bintian Wang bintian.w...@huawei.com wrote: This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang bintian.w...@huawei.com

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

2015-06-03 Thread Bintian
On 2015/6/4 6:39, Michael Turquette wrote: Quoting Bintian Wang (2015-05-28 19:08:38) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220 also has

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

2015-06-03 Thread Bintian
On 2015/6/4 6:39, Michael Turquette wrote: Quoting Bintian Wang (2015-05-28 19:08:38) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220 also has

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

2015-06-02 Thread Bintian
Hello Mark, Rob and other ARM64 DT maintainers, Could you help to ack this patch? Thanks for your time. Bintian On 2015/5/30 9:51, Bintian Wang wrote: 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

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

2015-06-02 Thread Bintian
Hello Russell, On 2015/6/2 19:24, Russell King - ARM Linux wrote: On Tue, Jun 02, 2015 at 06:55:20PM +0800, Bintian wrote: On 2015/6/2 16:59, Linus Walleij wrote: On Sat, May 30, 2015 at 3:50 AM, Bintian Wang wrote: Hisilicon does some performance enhancements based on PL011(e.g. larger

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

2015-06-02 Thread Bintian
On 2015/6/2 16:59, Linus Walleij wrote: On Sat, May 30, 2015 at 3:50 AM, Bintian Wang wrote: Hisilicon does some performance enhancements based on PL011(e.g. larger FIFO length), so add one compatible string "hisilicon,hi6220-uart" for That compatible string in the comm

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

2015-06-02 Thread Bintian
Hello Mark, Rob and other ARM64 DT maintainers, Could you help to ack this patch? Thanks for your time. Bintian On 2015/5/30 9:51, Bintian Wang wrote: 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

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

2015-06-02 Thread Bintian
On 2015/6/2 16:59, Linus Walleij wrote: On Sat, May 30, 2015 at 3:50 AM, Bintian Wang bintian.w...@huawei.com wrote: Hisilicon does some performance enhancements based on PL011(e.g. larger FIFO length), so add one compatible string hisilicon,hi6220-uart for That compatible string

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

2015-06-02 Thread Bintian
Hello Russell, On 2015/6/2 19:24, Russell King - ARM Linux wrote: On Tue, Jun 02, 2015 at 06:55:20PM +0800, Bintian wrote: On 2015/6/2 16:59, Linus Walleij wrote: On Sat, May 30, 2015 at 3:50 AM, Bintian Wang bintian.w...@huawei.com wrote: Hisilicon does some performance enhancements based

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

2015-06-01 Thread Bintian
error. Thanks, Bintian On 2015/5/30 9:50, Bintian Wang wrote: 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

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

2015-06-01 Thread Bintian
error. Thanks, Bintian On 2015/5/30 9:50, Bintian Wang wrote: 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

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

2015-05-29 Thread Bintian Wang
igh 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: Document de

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

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

2015-05-29 Thread Bintian
Hello Kevin, On 2015/5/30 7:00, Kevin Hilman wrote: Hi Bintian, Bintian Wang writes: 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

Re: linux-next: manual merge of the clk tree with the imx-mxs tree

2015-05-29 Thread Bintian
Hello Stephen, Thank you very much for this fix. BR, Bintian On 2015/5/29 18:45, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the clk tree got a conflict in drivers/clk/Makefile between commit 33156149fc4a ("ARM: imx: move clock drivers into drivers/clk") from t

Re: linux-next: manual merge of the clk tree with the imx-mxs tree

2015-05-29 Thread Bintian
Hello Stephen, Thank you very much for this fix. BR, Bintian On 2015/5/29 18:45, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the clk tree got a conflict in drivers/clk/Makefile between commit 33156149fc4a (ARM: imx: move clock drivers into drivers/clk) from the imx-mxs tree

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

2015-05-29 Thread Bintian
Hello Kevin, On 2015/5/30 7:00, Kevin Hilman wrote: Hi Bintian, Bintian Wang bintian.w...@huawei.com writes: From: Bintian Wang wangbint...@gmail.com Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC and HiKey development board, which supports

[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 bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Wei Xu xuw...@hisilicon.com Tested-by: Will Deacon will.dea...@arm.com Tested-by: Tyler

[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 bintian.w...@huawei.com Suggested-by: Mark Rutland mark.rutl...@arm.com

[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 sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Tested-by: Will Deacon will.dea...@arm.com Tested-by: Tyler Baker tyler.ba...@linaro.org Tested

[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 bintian.w...@huawei.com Acked-by: Haojian

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

2015-05-29 Thread Bintian Wang
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 devicetree bindings for hi6220 clock Documentation: DT: PL011

[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 bintian.w...@huawei.com Suggested-by: Arnd Bergmann a...@arndb.de Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Acked-by: Stephen Boyd sb

[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 bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Suggested-by: Arnd Bergmann a...@arndb.de Acked-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/hi6220-clock.txt

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

2015-05-28 Thread Bintian
Hello Mike, On 2015/5/29 9:07, Michael Turquette wrote: Quoting Kevin Hilman (2015-05-28 10:32:05) Bintian writes: Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver controls the SoC registers

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

2015-05-28 Thread Bintian
Hello Kevin, On 2015/5/29 0:50, Kevin Hilman wrote: Bintian Wang writes: __init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang Can you repost the whole series please? The number of patches has increased and it's

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

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

2015-05-28 Thread Bintian
Hello Kevin, On 2015/5/29 1:32, Kevin Hilman wrote: Bintian writes: Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs

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

2015-05-28 Thread Bintian
Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider

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

2015-05-28 Thread Bintian
Hello Kevin, On 2015/5/29 1:32, Kevin Hilman wrote: Bintian bintian.w...@huawei.com writes: Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different

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

2015-05-28 Thread Bintian
Hello Kevin, On 2015/5/29 0:50, Kevin Hilman wrote: Bintian Wang bintian.w...@huawei.com writes: __init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Can you repost the whole

[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 bintian.w...@huawei.com Suggested-by: Mark Rutland mark.rutl...@arm.com

[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 sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Tested-by: Will Deacon will.dea...@arm.com Tested-by: Tyler Baker tyler.ba...@linaro.org Tested-by: Kevin Hilman khil

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

2015-05-28 Thread Bintian Wang
From: Bintian Wang wangbint...@gmail.com 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

[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 sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Tested-by: Will Deacon will.dea...@arm.com Tested-by: Tyler Baker tyler.ba...@linaro.org Tested

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

2015-05-28 Thread Bintian Wang
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 jorge.ramirez-or...@linaro.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Zhangfei

[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 bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Suggested-by: Arnd Bergmann a...@arndb.de Acked-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/hi6220-clock.txt

[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 bintian.w...@huawei.com Acked-by: Haojian

[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 bintian.w...@huawei.com Suggested-by: Arnd Bergmann a...@arndb.de Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Acked-by: Stephen Boyd sb

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

2015-05-28 Thread Bintian
Hello Mike, On 2015/5/29 9:07, Michael Turquette wrote: Quoting Kevin Hilman (2015-05-28 10:32:05) Bintian bintian.w...@huawei.com writes: Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver

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

2015-05-28 Thread Bintian
Hello Mike, On 2015/5/28 13:26, Michael Turquette wrote: Quoting Bintian Wang (2015-05-23 21:11:11) Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider

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

2015-05-23 Thread Bintian Wang
__init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang --- drivers/clk/hisilicon/clk.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk

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

2015-05-23 Thread Bintian Wang
t;, 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 --- d

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

2015-05-23 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 --- include/dt-bindings/clock/hi6220-clock.h | 173 +++ 1 file changed, 173 insertions(+) create m

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

2015-05-23 Thread Bintian Wang
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 jorge.ramirez-or...@linaro.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Zhangfei

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

2015-05-23 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 sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com --- include/dt-bindings/clock/hi6220-clock.h | 173 +++ 1 file changed

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

2015-05-23 Thread Bintian Wang
__init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com --- drivers/clk/hisilicon/clk.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

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

2015-05-21 Thread Bintian
Hello Stephen, On 2015/5/22 2:00, Stephen Boyd wrote: On 05/20/15 20:57, Bintian wrote: + +static void __init hi6220_clk_sys_init(struct device_node *np) +{ +struct hisi_clock_data *clk_data; + +clk_data = hisi_clk_init(np, HI6220_SYS_NR_CLKS); +if (!clk_data) +return

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

2015-05-21 Thread Bintian
Hello Stephen, On 2015/5/22 2:00, Stephen Boyd wrote: On 05/20/15 20:57, Bintian wrote: + +static void __init hi6220_clk_sys_init(struct device_node *np) +{ +struct hisi_clock_data *clk_data; + +clk_data = hisi_clk_init(np, HI6220_SYS_NR_CLKS); +if (!clk_data) +return

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

2015-05-20 Thread Bintian
Hello Stephen, Arnd, On 2015/5/21 6:25, Stephen Boyd wrote: On 05/20/15 03:29, Bintian Wang wrote: Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220

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

2015-05-20 Thread Bintian Wang
t;, 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 --- d

[PATCH v7 5/7] clk: hisilicon: Remove __init for marking function prototypes

2015-05-20 Thread Bintian Wang
__init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd Signed-off-by: Bintian Wang --- drivers/clk/hisilicon/clk.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk

Re: [PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-20 Thread Bintian
Hello Stephen, I will fix in version 7 based on all comments. Thanks, Bintian On 2015/5/20 9:39, Stephen Boyd wrote: On 05/16, Bintian Wang wrote: @@ -94,18 +106,23 @@ struct clk *hisi_register_clkgate_sep(struct device *, const char *, const char

Re: [PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-20 Thread Bintian
Hello Stephen, I will fix in version 7 based on all comments. Thanks, Bintian On 2015/5/20 9:39, Stephen Boyd wrote: On 05/16, Bintian Wang wrote: @@ -94,18 +106,23 @@ struct clk *hisi_register_clkgate_sep(struct device *, const char *, const char

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

2015-05-20 Thread Bintian Wang
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 jorge.ramirez-or...@linaro.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Zhangfei

[PATCH v7 5/7] clk: hisilicon: Remove __init for marking function prototypes

2015-05-20 Thread Bintian Wang
__init markings on function prototypes are useless, so remove them. Suggested-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Bintian Wang bintian.w...@huawei.com --- drivers/clk/hisilicon/clk.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

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

2015-05-20 Thread Bintian
Hello Stephen, Arnd, On 2015/5/21 6:25, Stephen Boyd wrote: On 05/20/15 03:29, Bintian Wang wrote: Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220

Re: [PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-19 Thread Bintian
for your suggestion, I will talk about this with Hisilicon SoC maintainer XuWei. I have updated this patch based on your suggestion, could you help review patch "[PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC"? Thanks, Bintian -- To unsubscribe from this

Re: [PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-19 Thread Bintian
Hello Mike, Stephen, I updated this patch based on Stephen's suggestion, could you spend several minutes to help review? If there is no problem, please help to ack. Thanks, Bintian On 2015/5/16 15:40, Bintian Wang wrote: Add clock drivers for hi6220 SoC, this driver controls the SoC

Re: [PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-19 Thread Bintian
for your suggestion, I will talk about this with Hisilicon SoC maintainer XuWei. I have updated this patch based on your suggestion, could you help review patch [PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC? Thanks, Bintian -- To unsubscribe from this list: send the line

Re: [PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-19 Thread Bintian
Hello Mike, Stephen, I updated this patch based on Stephen's suggestion, could you spend several minutes to help review? If there is no problem, please help to ack. Thanks, Bintian On 2015/5/16 15:40, Bintian Wang wrote: Add clock drivers for hi6220 SoC, this driver controls the SoC

[PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-16 Thread Bintian Wang
t;, 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 --- d

[PATCH v6 5/6] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-16 Thread Bintian Wang
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 jorge.ramirez-or...@linaro.org Signed-off-by: Bintian Wang bintian.w...@huawei.com Acked-by: Haojian Zhuang haojian.zhu...@linaro.org Reviewed-by: Zhangfei

Re: [PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-15 Thread Bintian
Hello Stephen, On 2015/5/15 8:25, Stephen Boyd wrote: On 05/05, Bintian Wang wrote: diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 9897f35..935c44b 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -152,6 +152,8 @@ config COMMON_CLK_CDCE706 source "drivers/clk

Re: [PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-15 Thread Bintian
Hello Stephen, On 2015/5/15 8:25, Stephen Boyd wrote: On 05/05, Bintian Wang wrote: diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 9897f35..935c44b 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -152,6 +152,8 @@ config COMMON_CLK_CDCE706 source drivers/clk/qcom

Re: [PATCH v4 2/5] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-14 Thread Bintian
Hello Stephen, On 2015/5/15 8:27, Stephen Boyd wrote: On 05/05, Bintian Wang wrote: This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang Acked-by: Stephen Boyd Thanks for your ACK! Bintian

Re: [PATCH v4 2/5] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-14 Thread Bintian
Hello Stephen, On 2015/5/15 8:27, Stephen Boyd wrote: On 05/05, Bintian Wang wrote: This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon hi6220 SoC mobile platform. Signed-off-by: Bintian Wang bintian.w...@huawei.com Acked-by: Stephen Boyd sb

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

2015-05-13 Thread Bintian
uggestion? Thanks, Also thanks to all engineers who help review/test this patch set. Bintian On 2015/5/7 22:00, Bintian Wang wrote: 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 core

Re: [PATCH v4 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-13 Thread Bintian
Hello Mark, Will, Any other suggestions for this patch set? Thanks, Bintian On 2015/5/5 20:06, Bintian Wang wrote: 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

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

2015-05-13 Thread Bintian
thanks to all engineers who help review/test this patch set. Bintian On 2015/5/7 22:00, Bintian Wang wrote: 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

Re: [PATCH v4 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-13 Thread Bintian
Hello Mark, Will, Any other suggestions for this patch set? Thanks, Bintian On 2015/5/5 20:06, Bintian Wang wrote: 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

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

2015-05-11 Thread Bintian
Hello Kevin, On 2015/5/12 11:05, Leo Yan wrote: hi Kevin, On Mon, May 11, 2015 at 05:20:54PM -0700, Kevin Hilman wrote: On Thu, May 7, 2015 at 4:11 PM, Brent Wang wrote: Hello Kevin, 2015-05-08 4:30 GMT+08:00 Kevin Hilman : Bintian Wang writes: Hi6220 is one mobile solution

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

2015-05-11 Thread Bintian
Hello Kevin, On 2015/5/12 11:05, Leo Yan wrote: hi Kevin, On Mon, May 11, 2015 at 05:20:54PM -0700, Kevin Hilman wrote: On Thu, May 7, 2015 at 4:11 PM, Brent Wang wangbint...@gmail.com wrote: Hello Kevin, 2015-05-08 4:30 GMT+08:00 Kevin Hilman khil...@linaro.org: Bintian Wang bintian.w

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

2015-05-07 Thread Bintian
Hello Mike, Could you help to review the patch set especially the clock drivers? if there is no problem, please help ack the clock parts :) Thanks, Bintian On 2015/5/7 22:00, Bintian Wang wrote: Hi6220 is one mobile solution of Hisilicon, this patchset contains initial support for Hi6220 SoC

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

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

  1   2   >