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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
&
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
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
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
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
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):
: 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
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
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
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
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
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
>&
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
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
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:
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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:
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
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
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
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
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:
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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:
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
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
101 - 200 of 224 matches
Mail list logo