[RESEND PATCH v11] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-06-13 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v11: Fixed issues pointed by Brian Norris and Cyrille Pitchen. 1)Changed hisi_spi_nor_read_reg()/write_reg() to configure

[PATCH v11] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-05-13 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v11: Fixed issues pointed by Brian Norris and Cyrille Pitchen. 1)Changed hisi_spi_nor_read_reg()/write_reg() to configure

[PATCH v2 4/5] clk: hisilicon: add hisi_clk_unregister_* functions

2016-05-12 Thread Jiancheng Xue
Add hisi_clk_unregister_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.h | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk/hisilicon/clk.h index 2575329..4e1d1af 100644 --- a/drivers/clk/hisilicon/clk.h

[PATCH v2 3/5] clk: hisilicon: add error processing for hisi_clk_register_* functions

2016-05-12 Thread Jiancheng Xue
Add error processing for hisi_clk_register_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 60 + drivers/clk/hisilicon/clk.h | 10 2 files changed, 55 insertions(+), 15 deletions(-) diff --git a/drivers/clk

[PATCH v2 5/5] clk: hisilicon: hi3519: add driver remove path and fix some issues

2016-05-12 Thread Jiancheng Xue
1. Add driver remove path. 2. Fix some issues. -Fix the ordering issue about clock provider being published. -Add error checking upon registering clocks. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk-hi3519.c | 116 - 1 file changed, 100

[PATCH v2 1/5] reset: hisilicon: change the definition of hisi_reset_init

2016-05-12 Thread Jiancheng Xue
Change the input arguments type to struct platform_device pointer. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk-hi3519.c | 2 +- drivers/clk/hisilicon/reset.c | 19 +-- drivers/clk/hisilicon/reset.h | 5 +++-- 3 files changed, 13 insertions(+), 13

[PATCH v2 0/5] clk: hisilicon: Fix some problems of clk-hi3519

2016-05-12 Thread Jiancheng Xue
compiled successfully. Jiancheng Xue (5): reset: hisilicon: change the definition of hisi_reset_init clk: hisilicon: add hisi_clk_alloc function. clk: hisilicon: add error processing for hisi_clk_register_* functions clk: hisilicon: add hisi_clk_unregister_* functions clk: hisilicon

[PATCH v2 2/5] clk: hisilicon: add hisi_clk_alloc function.

2016-05-12 Thread Jiancheng Xue
ready. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 29 + drivers/clk/hisilicon/clk.h | 3 +++ 2 files changed, 32 insertions(+) diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c index 9b15adb..78675d1 100644 --- a/drivers/clk

[PATCH v2] usb: ehci-platform: add reset controller number in struct ehci_platform_priv

2016-05-11 Thread Jiancheng Xue
Some ehci compatible controllers have more than one reset signal lines, e.g., Synopsys DWC USB2.0 Host-AHB Controller has two resets hreset_i_n and phy_rst_i_n. Two more resets are added in this patch in order for this kind of controller to use this driver directly. Signed-off-by: Jiancheng Xue

Re: [PATCH 5/5] clk: hisilicon: hi3519: add driver remove path and fix some issues

2016-05-10 Thread Jiancheng Xue
Hi Philipp, On 2016/5/10 19:09, Philipp Zabel wrote: > Am Dienstag, den 10.05.2016, 17:19 +0800 schrieb Jiancheng Xue: >> 1. Add driver remove path. >> 2. Fix some issues. >>-Fix the ordering issue about clock provider being published. >>-Add error check

[PATCH 4/5] clk: hisilicon: add hisi_clk_unregister_* functions

2016-05-10 Thread Jiancheng Xue
Add hisi_clk_unregister_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.h | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk/hisilicon/clk.h index 2575329..4e1d1af 100644 --- a/drivers/clk/hisilicon/clk.h

[PATCH 3/5] clk: hisilicon: add error processing for hisi_clk_register_* functions

2016-05-10 Thread Jiancheng Xue
Add error processing for hisi_clk_register_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 60 + drivers/clk/hisilicon/clk.h | 10 2 files changed, 55 insertions(+), 15 deletions(-) diff --git a/drivers/clk

[PATCH 0/5] clk: hisilicon: Fix some problems of clk-hi3519

2016-05-10 Thread Jiancheng Xue
This patch is base on branch clk-hi3519 in clk tree. It mainly fixes the following issues: 1. Add driver remove path. 2. Fix the ordering issue about clock provider being published. 3. Add error checking upon registering clocks. Jiancheng Xue (5): reset: hisilicon: change the definition of

[PATCH 1/5] reset: hisilicon: change the definition of hisi_reset_init

2016-05-10 Thread Jiancheng Xue
Change the input arguments type to struct platform_device pointer. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/reset.c | 19 +-- drivers/clk/hisilicon/reset.h | 5 +++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/clk/hisilicon/reset.c b

[PATCH 5/5] clk: hisilicon: hi3519: add driver remove path and fix some issues

2016-05-10 Thread Jiancheng Xue
1. Add driver remove path. 2. Fix some issues. -Fix the ordering issue about clock provider being published. -Add error checking upon registering clocks. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk-hi3519.c | 116 - 1 file changed, 100

[PATCH 2/5] clk: hisilicon: add hisi_clk_alloc function.

2016-05-10 Thread Jiancheng Xue
ready. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 29 + drivers/clk/hisilicon/clk.h | 3 +++ 2 files changed, 32 insertions(+) diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c index 9b15adb..78675d1 100644 --- a/drivers/clk

Re: [PATCH v10] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-05-04 Thread Jiancheng Xue
Hi Cyrille, On 2016/4/27 19:55, Cyrille Pitchen wrote: > Hi Jiancheng, > > Le 19/04/2016 09:27, Jiancheng Xue a écrit : >> From: Jiancheng Xue >> >> Add hisilicon spi-nor flash controller driver > > [...] >> +enum hifmc_iftype { >> +IF_TYPE_S

[PATCH v2] usb: ehci-platform: add reset controller number in struct ehci_platform_priv

2016-05-02 Thread Jiancheng Xue
Some ehci compatible controllers have more than one reset signal lines, e.g., Synopsys DWC USB2.0 Host-AHB Controller has two resets hreset_i_n and phy_rst_i_n. Two more resets are added in this patch in order for this kind of controller to use this driver directly. Signed-off-by: Jiancheng Xue

Re: [PATCH v10] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-28 Thread Jiancheng Xue
this issue seriously and reply on that thread later. > Two other comments below. > > On Tue, Apr 19, 2016 at 03:27:19PM +0800, Jiancheng Xue wrote: >> From: Jiancheng Xue >> >> Add hisilicon spi-nor flash controller driver >> >> Signed-off-by: Binquan Peng &

Re: [PATCH] usb: ehci-platform: add reset controller number in struct ehci_platform_priv

2016-04-25 Thread Jiancheng Xue
Hi Alan, On 2016/4/25 22:43, Alan Stern wrote: > On Sat, 23 Apr 2016, Jiancheng Xue wrote: > >> Some generic-ehci compatible controllers have more than one reset signal >> lines, e.g., Synopsys DWC USB2.0 Host-AHB Controller has two resets bus_reset >> and roothub_re

[PATCH 2/3] clk: hisilicon: export some hisilicon APIs to modules

2016-04-23 Thread Jiancheng Xue
From: Jiancheng Xue Change some arguments to constant type. Export some hisilicon APIs to modules. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 23 +++ drivers/clk/hisilicon/clk.h | 14 +++--- 2 files changed, 22 insertions(+), 15 deletions

[PATCH 3/3] clk: hisilicon: add CRG driver for hi3519 soc

2016-04-23 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 drivers/clk/hisilicon/Kconfig | 8

[PATCH 1/3] reset: hisilicon: add reset controller driver for hisilicon SOCs

2016-04-23 Thread Jiancheng Xue
In most of hisilicon SOCs, reset controller and clock provider are combined together as a block named CRG (Clock and Reset Generator). This patch mainly implements the reset function. Signed-off-by: Jiancheng Xue Acked-by: Philipp Zabel --- drivers/clk/hisilicon/Kconfig | 7 +++ drivers/clk

[PATCH 0/3] clock: hisilicon: Add CRG driver for hi3519 soc

2016-04-23 Thread Jiancheng Xue
CLK_IS_ROOT. -Added some cleanup codes in error case in the probe function. -Removed module_exit(hi3519_clk_exit) The reason is that this clock driver won't be removed during the system running actually. Just like some clock drivers use builtin_platform_driver(). Jiancheng Xue (3):

[PATCH] usb: ehci-platform: add reset controller number in struct ehci_platform_priv

2016-04-22 Thread Jiancheng Xue
: Jiancheng Xue --- drivers/usb/host/ehci-platform.c | 41 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 1757ebb..a1358df 100644 --- a/drivers/usb/host/ehci-platform.c +++ b

[PATCH v2] reset: hisilicon: add reset controller driver for hisilicon SOCs

2016-04-21 Thread Jiancheng Xue
In most of hisilicon SOCs, reset controller and clock provider are combined together as a block named CRG (Clock and Reset Generator). This patch mainly implements the reset function. Signed-off-by: Jiancheng Xue Acked-by: Philipp Zabel --- Change log v2: -Changed definition of hisi_reset_init

[PATCH v10] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-19 Thread Jiancheng Xue
From: Jiancheng Xue Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v10: Fixed issues pointed by Marek Vasut. 1)Droped the underscores in the argument names of some

Re: [RESEND PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-04-19 Thread Jiancheng Xue
Hi Stephen, On 2016/4/16 8:40, Stephen Boyd wrote: > On 03/31, Jiancheng Xue wrote: >> diff --git a/drivers/clk/hisilicon/clk-hi3519.c >> b/drivers/clk/hisilicon/clk-hi3519.c >> new file mode 100644 >> index 000..ee9df82 >> --- /dev/null >> +++ b/driver

[PATCH] reset: hisilicon: add reset controller driver for hisilicon SOCs

2016-04-18 Thread Jiancheng Xue
In most of hisilicon SOCs, reset controller and clock provider are combined together as a block named CRG (Clock and Reset Generator). This patch mainly implements the reset function. Signed-off-by: Jiancheng Xue Acked-by: Philipp Zabel --- This patch is abstracted from the patch https

Re: [RESEND PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-04-17 Thread Jiancheng Xue
Hi Stephen, On 2016/4/16 8:41, Stephen Boyd wrote: > On 04/15, Jiancheng Xue wrote: >> Hi, >> >> On 2016/3/31 16:10, Jiancheng Xue wrote: >>> From: Jiancheng Xue >>> >>> The CRG(Clock and Reset Generator) block provides clock >&

Re: [RESEND PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-04-14 Thread Jiancheng Xue
Hi, On 2016/3/31 16:10, Jiancheng Xue wrote: > From: Jiancheng Xue > > The CRG(Clock and Reset Generator) block provides clock > and reset signals for other modules in hi3519 soc. > > Signed-off-by: Jiancheng Xue > Acked-by: Rob Herring > Acked-by: Philipp Zabel &g

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-13 Thread Jiancheng Xue
Hi Boris, On 2016/4/12 17:44, Boris Brezillon wrote: > +Russell > > Hi Jiancheng, > > On Tue, 12 Apr 2016 17:32:08 +0800 > Jiancheng Xue wrote: > >> Hi Marek, >> >> On 2016/4/12 3:21, Marek Vasut wrote: >>> On 04/11/2016 03:28 AM, Jiancheng

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-12 Thread Jiancheng Xue
Hi Marek, On 2016/4/12 3:21, Marek Vasut wrote: > On 04/11/2016 03:28 AM, Jiancheng Xue wrote: >> Hi, >> >> On 2016/4/8 18:04, Marek Vasut wrote: >>> On 04/08/2016 10:26 AM, Jiancheng Xue wrote: >>>> Hi, >>>> >>>> On 2016/4/7 10:

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-10 Thread Jiancheng Xue
Hi, On 2016/4/8 18:04, Marek Vasut wrote: > On 04/08/2016 10:26 AM, Jiancheng Xue wrote: >> Hi, >> >> On 2016/4/7 10:28, Marek Vasut wrote: >>> On 04/07/2016 04:10 AM, Jiancheng Xue wrote: >>>> Hi Brian, >>>>Thank you very much for your

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-08 Thread Jiancheng Xue
Hi, On 2016/4/7 10:28, Marek Vasut wrote: > On 04/07/2016 04:10 AM, Jiancheng Xue wrote: >> Hi Brian, >>Thank you very much for your comments. I'll fix these issues in next >> version. >> In addition, for easy understanding I'd like to rewrite hisi_spi_n

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-04-06 Thread Jiancheng Xue
n addition to Marek's comments, I have just a few small > comments. I'll post a small diff at the end, and a few inline comments. > > On Mon, Mar 28, 2016 at 05:15:28PM +0800, Jiancheng Xue wrote: >> Hi Marek, >> Firstly, thank you very much for your comments

[RESEND PATCH v10 6/6] ARM: dts: add dts files for Hi3519

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions

[RESEND PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Acked-by: Philipp Zabel --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 drivers/clk

[RESEND PATCH v10 1/6] clk: hisilicon: export some hisilicon APIs to modules

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Change some arguments to constant type. Export some hisilicon APIs to modules. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 23 +++ drivers/clk/hisilicon/clk.h | 14 +++--- 2 files changed, 22 insertions(+), 15 deletions

[RESEND PATCH v10 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree

[RESEND PATCH v10 4/6] ARM: debug: add hi3519 debug uart

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm

[RESEND PATCH v10 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Hello, Hi3519 soc is mainly used for ip camera and sport DV solutions. This patchset adds initial support for Hi3519 soc. It includes clock driver, arch configuration, debug uart configuration and device tree. It has been tested on hi3519 reference board. PATCH 3~6 in

[RESEND PATCH v10 3/6] ARM: hisi: add compatible string for Hi3519 soc

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-31 Thread Jiancheng Xue
Hi all, I'll highly appreciated any of your comments. On 2016/3/26 16:11, Jiancheng Xue wrote: > Add hisilicon spi-nor flash controller driver > [...] > +static int hisi_spi_nor_read(struct spi_nor *nor, loff_t from, size_t len, > + size_t *retlen,

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-28 Thread Jiancheng Xue
Hi Marek, Firstly, thank you very much for your comments. On 2016/3/27 9:47, Marek Vasut wrote: > On 03/26/2016 09:11 AM, Jiancheng Xue wrote: >> Add hisilicon spi-nor flash controller driver >> >> Signed-off-by: Binquan Peng >> Signed-off-by: Jiancheng Xu

[RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-26 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia Reviewed-by: Jagan Teki --- change log v9: Fixed issues pointed by Jagan Teki. v8: Fixed issues pointed by Ezequiel Garcia and Brian

Re: [PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-03-25 Thread Jiancheng Xue
Hi Stephen, I haven't received any comments for two weeks. Can you help me to ack this patch? Thank you very much. Regards, Jiancheng On 2016/3/8 10:20, Jiancheng Xue wrote: > The CRG(Clock and Reset Generator) block provides clock > and reset signals for other modules in

Re: [PATCH v8] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-19 Thread Jiancheng Xue
Hi Jagan, Thank you for comments. I'll modify in next version. Regards, Jiancheng On 2016/3/11 16:04, Jagan Teki wrote: > > > On Friday 11 March 2016 01:11 PM, Jiancheng Xue wrote: >> Add hisilicon spi-nor flash controller driver >> >> Signed-off-by

[PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-19 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v9: Fixed issues pointed by Jagan Teki. v8: Fixed issues pointed by Ezequiel Garcia and Brian Norris. Moved dts binding file

[PATCH v8] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-10 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v8: Fixed issues pointed by Ezequiel Garcia and Brian Norris. Moved dts binding file to mtd directory. Changed the

Re: [RESEND PATCH v7] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-08 Thread Jiancheng Xue
Hi Boris, On 2016/3/8 17:46, Boris Brezillon wrote: >> [...] +static int hisi_spi_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, + int len) +{ + struct hifmc_priv *priv = nor->priv; + struct hifmc_host *host = priv->host; + int ret; + + r

Re: [RESEND PATCH v7] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-08 Thread Jiancheng Xue
Hi Brian, Thank you very much for your comments. On 2016/3/8 6:52, Brian Norris wrote: [...] >> >> diff --git a/Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt >> b/Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt >> new file mode 100644 >> index 000..7407147 >> --- /dev/null

[PATCH v10 3/6] ARM: hisi: add compatible string for Hi3519 soc

2016-03-07 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

[PATCH v10 1/6] clk: hisilicon: export some hisilicon APIs to modules

2016-03-07 Thread Jiancheng Xue
Change some arguments to constant type. Export some hisilicon APIs to modules. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 23 +++ drivers/clk/hisilicon/clk.h | 14 +++--- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/drivers/clk

[PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-03-07 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Acked-by: Philipp Zabel --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 drivers/clk/hisilicon/Kconfig

[PATCH v10 6/6] ARM: dts: add dts files for Hi3519

2016-03-07 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm

[PATCH v10 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-03-07 Thread Jiancheng Xue
ed to v4.4-rc3 -Put dt-binding doc and header file in a separate patch. -Deleted unused clocks definitions. -Adjusted the ARCH_xxx order in Kconfig file -Renamed ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk: hisilicon: export some hisilicon APIs to modules clk: hisilicon: add CRG driver for

[PATCH v10 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-03-07 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon

[PATCH v10 4/6] ARM: debug: add hi3519 debug uart

2016-03-07 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[RESEND PATCH v7] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-02-26 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v7: Rebased to v4.5-rc3. Fixed issues pointed by Ezequiel Garcia. v6: Based on v4.5-rc2 Fixed issues pointed by Ezequiel

[PATCH v9 1/6] clk: hisilicon: export some hisilicon APIs to modules

2016-02-22 Thread Jiancheng Xue
Change some arguments to constant type. Export some hisilicon APIs to modules. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 23 +++ drivers/clk/hisilicon/clk.h | 14 +++--- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/drivers/clk

[PATCH v9 3/6] ARM: hisi: add compatible string for Hi3519 soc

2016-02-22 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

[PATCH v9 6/6] ARM: dts: add dts files for Hi3519

2016-02-22 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm

[PATCH v9 4/6] ARM: debug: add hi3519 debug uart

2016-02-22 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[PATCH v9 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-02-22 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon

[PATCH v9 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-02-22 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 This file has been acked by Rob Herring. drivers/clk/hisilicon

[PATCH v9 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-02-22 Thread Jiancheng Xue
file in a separate patch. -Deleted unused clocks definitions. -Adjusted the ARCH_xxx order in Kconfig file -Renamed ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk: hisilicon: export some hisilicon APIs to modules clk: hisilicon: add CRG driver for hi3519 soc ARM: hisi: add compatible string

[PATCH v7] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-02-14 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v7: Rebased to v4.5-rc3. Fixed issues pointed by Ezequiel Garcia. v6: Based on v4.5-rc2 Fixed issues pointed by Ezequiel

[RESEND PATCH v8 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2016-02-04 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 --- a/arch/arm/configs

[RESEND PATCH v8 4/6] ARM: debug: add hi3519 debug uart

2016-02-04 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[RESEND PATCH v8 6/6] ARM: dts: add dts files for Hi3519

2016-02-04 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm

[RESEND PATCH v8 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-02-04 Thread Jiancheng Xue
Adjust the ARCH_xxx order in Kconfig file -Rename ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk: hisilicon: add CRG driver for hi3519 soc ARM: hisi: add compatible string for Hi3519 soc ARM: config: hisi: enable CONFIG_RESET_CONTROLLER ARM: debug: add hi3519 debug uart ARM: dt-bindings:

[RESEND PATCH v8 2/6] ARM: hisi: add compatible string for Hi3519 soc

2016-02-04 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

[RESEND PATCH v8 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-02-04 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ This binding file is already acked by Rob Herring. drivers/clk

[RESEND PATCH v8 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-02-04 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon

[PATCH v6] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-02-04 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- change log v6: Based on v4.5-rc2 Fixed issues pointed by Ezequiel Garcia. v5: Fixed a compile error. v4: Rebased to v4.5-rc1 v3: Added a compatible string "hisilicon,hi3519-sfc". v2:

[PATCH v5] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-01-29 Thread Jiancheng Xue
add hisilicon spi-nor flash controller driver Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- change log v5: Fixed a compile error. v4: Rebased to v4.5-rc1 v3: Added a compatible string "hisilicon,hi3519-sfc". v2: Fixed some compiling warings. .../devicetree/bindings/sp

[PATCH v8 6/6] ARM: dts: add dts files for Hi3519

2016-01-29 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm

[PATCH v8 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-01-28 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ This binding file is already acked by Rob Herring. drivers/clk

[PATCH v8 4/6] ARM: debug: add hi3519 debug uart

2016-01-28 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[PATCH v8 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-01-28 Thread Jiancheng Xue
Adjust the ARCH_xxx order in Kconfig file -Rename ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk: hisilicon: add CRG driver for hi3519 soc ARM: hisi: add compatible string for Hi3519 soc ARM: config: hisi: enable CONFIG_RESET_CONTROLLER ARM: debug: add hi3519 debug uart ARM: dt-bindings:

[PATCH v8 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2016-01-28 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 --- a/arch/arm/configs

[PATCH v8 2/6] ARM: hisi: add compatible string for Hi3519 soc

2016-01-28 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

[PATCH v8 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-01-28 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon

[PATCH v4] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-01-24 Thread Jiancheng Xue
add hisilicon spi-nor flash controller driver Signed-off-by: Jiancheng Xue --- change log v4: Rebased to v4.5-rc1 v3: Added a compatible string "hisilicon,hi3519-sfc". v2: Fixed some compiling warings. .../devicetree/bindings/spi/spi-hisi-sfc.txt | 25 ++ drivers/mtd/spi-n

[PATCH v7 2/6] ARM: hisi: add compatible string for Hi3519 soc

2016-01-24 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

[PATCH v7 4/6] ARM: debug: add hi3519 debug uart

2016-01-24 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..b02a7c1 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[PATCH v7 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-01-24 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon

[PATCH v7 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-01-24 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ Acked-by: Rob Herring drivers/clk/hisilicon/Kconfig

[PATCH v7 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-01-24 Thread Jiancheng Xue
djust according to Arnd's comments -Remove ARCH_HI3519, using ARCH_HISI directly v2: -Rebase to v4.4-rc3 -Put dt-binding doc and header file in a separate patch. -Delete unused clocks definitions. -Adjust the ARCH_xxx order in Kconfig file -Rename ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk:

[PATCH v7 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2016-01-24 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 --- a/arch/arm/configs

[PATCH v7 6/6] ARM: dts: add dts files for Hi3519

2016-01-24 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm

[PATCH] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2015-12-29 Thread Jiancheng Xue
add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/spi/spi-hisi-sfc.txt | 24 + drivers/mtd/spi-nor/Kconfig| 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers

[PATCH v4 4/6] ARM: debug: add hi3519 debug uart

2015-12-29 Thread Jiancheng Xue
add hi3519 debug uart. Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 259c0ca..29af057 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -270,6

[PATCH v4 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2015-12-29 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ drivers/clk/hisilicon/Kconfig | 7 + drivers/clk/hisilicon

[PATCH v4 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2015-12-29 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 --- a/arch/arm/configs

[PATCH v4 6/6] ARM: dts: add dts files for Hi3519

2015-12-29 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 175 ++ 3 files changed, 219 insertions(+) create mode 100644 arch/arm

[PATCH v4 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2015-12-29 Thread Jiancheng Xue
519, using ARCH_HISI directly v2: -Rebase to v4.4-rc3 -Put dt-binding doc and header file in a separate patch. -Delete unused clocks definitions. -Adjust the ARCH_xxx order in Kconfig file -Rename ARCH_HI3xxx to ARCH_36xx Jiancheng Xue (6): clk: hisilicon: add CRG driver for hi3519 soc ARM:

[PATCH v4 5/6] mfd: dt-bindings: add device tree bindings for Hi3519 sysctrl

2015-12-29 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue --- Documentation/devicetree/bindings/mfd/hi3519.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi3519.txt diff --git a/Documentation

[PATCH v4 2/6] ARM: hisi: add compatible string for Hi3519 soc

2015-12-29 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a

<    1   2   3   >