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

2015-12-29 Thread Bintian
clocks = <&sys_ctrl HI6220_I2C2_CLK>; + interrupts = <0 46 4>; + i2c-sda-hold-time-ns = <300>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pmx_func &i2c2_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] 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 bee

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

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

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 commit mess

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
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 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") f

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'

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

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 in

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

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
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-19 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 v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-19 Thread Bintian
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

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 th

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

2015-05-16 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 --- d

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 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 v5 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-13 Thread Bintian
d's suggestion? 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 Corte

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 of

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

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

2015-05-07 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 v5 2/6] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-07 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 --- .../bindings/arm/hisilicon/hisilicon.txt | 87 1 file

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

2015-05-07 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 --- arch/arm64/Kconfig |5 + arch/arm64/configs/defconfig |1

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

2015-05-07 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 --- d

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

2015-05-07 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 v5 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-07 Thread Bintian Wang
x * 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 devicetree bindings fo

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

2015-05-06 Thread Bintian
Thank you Tyler for testing this patch set. On 2015/5/6 7:46, Tyler Baker wrote: On 5 May 2015 at 05: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

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

2015-05-05 Thread Bintian Wang
gs document * Enable high 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 (5): arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig arm64: hi6220: Document devicetree bindings for Hisilicon hi62

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

2015-05-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 --git a

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

2015-05-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. 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 v4 2/5] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-05 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 | 87 ++ 1 file changed, 87 insertions(+) diff --git a/Documentation

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

2015-05-05 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 v4 3/5] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-05-05 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 v3 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-05-04 Thread Bintian Wang
iling list: https://lkml.org/lkml/2015/2/5/147 Bintian Wang (5): 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 clk: hi6220: Clock driver support for

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

2015-05-04 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 v3 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-04 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 v3 1/5] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

2015-05-04 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 v3 3/5] clk: hi6220: Document devicetree bindings for hi6220 clock

2015-05-04 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 v3 2/5] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC

2015-05-04 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 | 87 ++ 1 file changed, 87 insertions(+) diff --git a/Documentation

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

2015-04-20 Thread Bintian
Hello Kevin, On 2015/4/21 5:10, Kevin Hilman wrote: Bintian Wang writes: 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 [...] diff --git a/arch/arm64/configs

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

2015-04-14 Thread Bintian
Hello Arnd, On 2015/4/14 18:19, Arnd Bergmann wrote: On Tuesday 14 April 2015 11:35:26 Bintian wrote: Hello Arnd, On 2015/4/13 23:32, Arnd Bergmann wrote: On Monday 13 April 2015 17:17:37 Bintian Wang wrote: +- compatible: the compatible should be one of the following strings to

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

2015-04-13 Thread Bintian
Hello Arnd, On 2015/4/13 23:32, Arnd Bergmann wrote: On Monday 13 April 2015 17:17:37 Bintian Wang wrote: +- compatible: the compatible should be one of the following strings to + indicate the clock controller functionality. + + - "hisilicon,aoctrl" + - "hi

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

2015-04-13 Thread Bintian
Hello Arnd, Thanks for your code review. On 2015/4/13 21:30, Arnd Bergmann wrote: On Monday 13 April 2015 17:17:38 Bintian Wang wrote: +#define HI6220_CFG_CSI2PHY 8 +#define HI6220_ISP_SCLK_GATE 9 +#define HI6220_ISP_SCLK_GATE1 10 +#define HI6220_ADE_CORE_GATE 11 +#define

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

2015-04-13 Thread Bintian
Hello Paul, Thank you very much for code review and testing on arm! On 2015/4/13 19:56, Paul Bolle wrote: On Mon, 2015-04-13 at 17:17 +0800, Bintian Wang wrote: --- /dev/null +++ b/drivers/clk/hisilicon/Kconfig @@ -0,0 +1,5 @@ +config COMMON_CLK_HI6220 + tristate "Hi6220 Clock D

[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 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 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 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 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 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 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 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 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] regmap.h: correct the description of structure element in reg_field

2015-01-27 Thread Bintian Wang
Fix incorrect description of structure element "msb", which is described as "reg". Signed-off-by: Bintian Wang --- include/linux/regmap.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 4419b99..

[PATCH] clk: hi3620: Move const initdata into correct code section

2014-11-10 Thread Bintian Wang
Use __initconst instead of __initdata for constant init data. Signed-off-by: Bintian Wang --- drivers/clk/hisilicon/clk-hi3620.c | 70 +++--- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/drivers/clk/hisilicon/clk-hi3620.c b/drivers/clk

[PATCH] staging/android: Remove ram_console.h

2014-04-22 Thread Bintian Wang
ram_console is replaced by pstore and pstore_ram drivers, and there is no code to use this head file, so remove it. Signed-off-by: Bintian Wang --- drivers/staging/android/ram_console.h | 22 -- 1 file changed, 22 deletions(-) delete mode 100644 drivers/staging/android

[PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-07-02 Thread bintian . wang
ultz Cc: Sean McNeil Signed-off-by: Bintian Wang --- fs/fat/fat.h |1 + fs/fat/file.c |8 fs/fat/inode.c| 12 include/uapi/linux/msdos_fs.h | 10 ++ 4 files changed, 31 insertions(+) diff --git a/fs/fat/

[PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-07-01 Thread bintian . wang
es above bug by adding a parameter to ioctl to get the correct volume ID. Cc: dmitry pervushin Cc: Mike Lockwood Cc: Colin Cross Cc: Android Kernel Team Cc: OGAWA Hirofumi Cc: Andrew Morton Cc: John Stultz Signed-off-by: Bintian Wang --- fs/fat/fat.h |1 + fs/fat/file.

[PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-06-30 Thread bintian . wang
et the correct volume ID. Cc: dmitry pervushin Cc: Mike Lockwood Cc: Colin Cross Cc: Android Kernel Team Cc: OGAWA Hirofumi Cc: Andrew Morton Cc: John Stultz Signed-off-by: Bintian Wang --- fs/fat/dir.c | 14 ++ fs/fat/fat.h |1 +