[PATCH 3/3] ARM: dts: add dedicated dtsi for hi6421

2013-06-04 Thread Guodong Xu
: ... pmic: pmic@fcc0 { reg = 0xfcc0 0x0180; /* 0x60 2 */ }; ... /include/ hi6421.dtsi ... Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi6421.dtsi | 489 + 1 files changed, 489 insertions

[PATCH 2/3] regulator: add driver for hi6421 voltage regulator

2013-06-04 Thread Guodong Xu
Add driver support for HiSilicon Hi6421 voltage regulators. Signed-off-by: Guodong Xu guodong...@linaro.org --- .../bindings/regulator/hi6421-regulator.txt| 82 +++ drivers/regulator/Kconfig |8 +- drivers/regulator/Makefile |2

[PATCH 1/3] mfd: Add hi6421 PMIC core driver

2013-06-04 Thread Guodong Xu
and files. Memory-mapped I/O is the way to communicate with Hi6421. Signed-off-by: Guodong Xu guodong...@linaro.org Signed-off-by: Haojian Zhuang haojian.zhu...@linaro.org --- drivers/mfd/Kconfig | 11 +++ drivers/mfd/Makefile|1 + drivers/mfd/hi6421-pmic-core.c | 171

[PATCH 0/3] regulator: add driver for Hi6421 PMIC SoC

2013-06-04 Thread Guodong Xu
is the way used by application processor to communicate with Hi6421. Guodong Xu (3): mfd: Add hi6421 PMIC core driver regulator: add driver for hi6421 voltage regulator ARM: dts: add dedicated dtsi for hi6421 .../bindings/regulator/hi6421-regulator.txt| 82 +++ arch/arm/boot/dts

Re: [PATCH v6 4/6] mfd: Add hi6421 PMIC core driver

2014-08-25 Thread Guodong Xu
Hi, Lee Thanks. I added for most of your comments. Some items, I have a different understanding. I added in below. On 08/20/2014 04:09 PM, Lee Jones wrote: On Mon, 18 Aug 2014, Guodong Xu wrote: This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- functions

[PATCH 0/2] Hi6421 MFD driver

2014-08-25 Thread Guodong Xu
patchset for Hi6421 MFD regulator Guodong Xu (3): Documentation: mfd: add docs for hi6421 dt mfd: Add hi6421 PMIC core driver ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes Documentation/devicetree/bindings/mfd/hi6421.txt | 38 arch/arm/boot/dts/hi3620-hi4511.dts

[PATCH 1/3] Documentation: mfd: add docs for hi6421 dt

2014-08-25 Thread Guodong Xu
Add documentation for HiSilicon Hi6421 PMIC dt binding. Signed-off-by: Guodong Xu guodong...@linaro.org --- Documentation/devicetree/bindings/mfd/hi6421.txt | 38 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi6421.txt diff

[PATCH 2/3] mfd: Add hi6421 PMIC core driver

2014-08-25 Thread Guodong Xu
and files. Registers in Hi6421 are memory mapped, so using regmap-mmio API. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile| 1 + drivers/mfd/hi6421-pmic-core.c | 112 include

[PATCH 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

2014-08-25 Thread Guodong Xu
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620

[PATCH v5 0/7] Add MFD and regulator drivers for Hi6421 PMIC SoC

2014-08-13 Thread Guodong Xu
-mmio for register access * use only generic regulator device tree property * rewrite regulator driver using helper APIs from both regulator and regmap v1: first drop Guodong Xu (7): regulator: core: add const qualifier to ops in struct regulator_desc regulator: core: factor out delay function

[PATCH v5 1/7] regulator: core: add const qualifier to ops in struct regulator_desc

2014-08-13 Thread Guodong Xu
that. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 24 include/linux/regulator/driver.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 4c1f999..eb6f172

[PATCH v5 2/7] regulator: core: factor out delay function from _regulator_do_enable

2014-08-13 Thread Guodong Xu
A common delay function can be helpful when implementing new features. Factor it out to maximize code reusability. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 74 ++-- 1 file changed, 40 insertions(+), 34 deletions

[PATCH v5 3/7] regulator: core: add guard delay between calling regulator_disable and _enable

2014-08-13 Thread Guodong Xu
time. Add @last_off_jiffy to struct regulator_dev. When @off_on_delay is set by driver, regulator core can store its last off (disable) time into this field. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 31 +++ include/linux

[PATCH v5 6/7] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

2014-08-13 Thread Guodong Xu
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620

[PATCH v5 5/7] regulator: add driver for hi6421 voltage regulator

2014-08-13 Thread Guodong Xu
can be enabled at the same time. Use mutex in hi6421_regulator_pdata to ensure this. A protection gap of 100us is added into each LDO/BUCK's .enable_time. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile

[PATCH v5 4/7] mfd: Add hi6421 PMIC core driver

2014-08-13 Thread Guodong Xu
and files. Registers in Hi6421 are memory mapped, so using regmap-mmio API. Signed-off-by: Guodong Xu guodong...@linaro.org --- Documentation/devicetree/bindings/mfd/hi6421.txt | 37 +++ drivers/mfd/Kconfig | 13 +++ drivers/mfd/Makefile

[PATCH v5 7/7] ARM: hi3xxx_defconfig: Enable HI6421 MFD and Regulators

2014-08-13 Thread Guodong Xu
Enable HiSilicon Hi6421 MFD and regulator drivers in hi3xxx_defconfig Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/configs/hi3xxx_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/hi3xxx_defconfig b/arch/arm/configs/hi3xxx_defconfig index f186bdf

Re: [PATCH] regulator: core: Fix build error due to const qualifier for ops

2014-08-18 Thread Guodong Xu
I'm sending a patch to fix the build error on mc13892-regulator.c -Guodong On 08/18/2014 10:34 AM, Axel Lin wrote: Drop const qualifier for ops of struct regulator_desc. Allow regulator drivers to update ops before registering regulator. Fix below build error: CC [M]

[PATCH v6 2/6] regulator: core: factor out delay function from _regulator_do_enable

2014-08-18 Thread Guodong Xu
A common delay function can be helpful when implementing new features. Factor it out to maximize code reusability. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 74 ++-- 1 file changed, 40 insertions(+), 34 deletions

[PATCH v6 0/6] Add MFD and regulator drivers for Hi6421 PMIC SoC

2014-08-18 Thread Guodong Xu
regmap-mmio for register access * use only generic regulator device tree property * rewrite regulator driver using helper APIs from both regulator and regmap v1: first drop Guodong Xu (6): regulator: core: add const qualifier to ops in struct regulator_desc regulator: core: factor out delay

[PATCH v6 3/6] regulator: core: add guard delay between calling regulator_disable and _enable

2014-08-18 Thread Guodong Xu
time. Add @last_off_jiffy to struct regulator_dev. When @off_on_delay is set by driver, regulator core can store its last off (disable) time into this field. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 31 +++ include/linux

[PATCH v6 5/6] regulator: add driver for hi6421 voltage regulator

2014-08-18 Thread Guodong Xu
can be enabled at the same time. Use mutex in hi6421_regulator_pdata to ensure this. A protection gap of 100us is added into each LDO/BUCK's .enable_time. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile

[PATCH v6 1/6] regulator: core: add const qualifier to ops in struct regulator_desc

2014-08-18 Thread Guodong Xu
that. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 32 drivers/regulator/mc13892-regulator.c | 11 +++ include/linux/regulator/driver.h | 2 +- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git

[PATCH v6 4/6] mfd: Add hi6421 PMIC core driver

2014-08-18 Thread Guodong Xu
and files. Registers in Hi6421 are memory mapped, so using regmap-mmio API. Signed-off-by: Guodong Xu guodong...@linaro.org --- Documentation/devicetree/bindings/mfd/hi6421.txt | 37 +++ drivers/mfd/Kconfig | 13 +++ drivers/mfd/Makefile

[PATCH v6 6/6] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

2014-08-18 Thread Guodong Xu
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620

Re: [PATCH] regulator: hi6421: Fix misleading comment

2014-09-05 Thread Guodong Xu
*/ #define HI6421_LDO_LINEAR_RANGE(_id, n_volt, volt_ranges, vreg, vmask, \ ereg, emask, odelay, ecomask, ecoamp) \ Thanks. Best regards, Guodong Xu On 09/05/2014 09:14 AM, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/hi6421

[PATCH] regulator: mc13xxx: add missing of_node_get()

2014-09-09 Thread Guodong Xu
mc13xxx_parse_regulators_dt() goes through dt tree to search for regulator sub-nodes. For each matched node, later on it will be used and registered into a regulator_dev. of_node_get() should be called to increase its refcount. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers

Re: [PATCH 2/3] mfd: Add hi6421 PMIC core driver

2014-09-01 Thread Guodong Xu
, are implemented in corresponding driver directories and files. Registers in Hi6421 are memory mapped, so using regmap-mmio API. Signed-off-by: Guodong Xu guodong...@linaro.org --- The patch is missing version information normally indicated to in the £SUBJECT line with a full description added here

[PATCH 0/3] Add MFD and regulator drivers for Hi6421 PMIC SoC

2014-09-01 Thread Guodong Xu
* use only generic regulator device tree property * rewrite regulator driver using helper APIs from both regulator and regmap v1: first drop Guodong Xu (3): Documentation: mfd: add docs for hi6421 dt mfd: Add hi6421 PMIC core driver ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

[PATCH v8 1/3] Documentation: mfd: add docs for hi6421 dt

2014-09-01 Thread Guodong Xu
Add documentation for HiSilicon Hi6421 PMIC dt binding. Signed-off-by: Guodong Xu guodong...@linaro.org --- Documentation/devicetree/bindings/mfd/hi6421.txt | 38 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi6421.txt diff

[PATCH v8 2/3] mfd: Add hi6421 PMIC core driver

2014-09-01 Thread Guodong Xu
and files. Registers in Hi6421 are memory mapped, so using regmap-mmio API. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile| 1 + drivers/mfd/hi6421-pmic-core.c | 113 include

[PATCH v8 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

2014-09-01 Thread Guodong Xu
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620

[PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Guodong Xu
. So, need to remove these unnecessary of_node_get() calls. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/88pm8607.c | 2 +- drivers/regulator/da9052-regulator.c | 4 ++-- drivers/regulator/max8907-regulator.c | 2 +- drivers/regulator/max8925-regulator.c | 2

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-10 Thread Guodong Xu
On 09/10/2014 12:23 PM, Axel Lin wrote: 2014-09-10 12:20 GMT+08:00 Axel Lin axel@ingics.com: 2014-09-10 11:50 GMT+08:00 Guodong Xu guodong...@linaro.org: These of_node_get() were added to balance refcount decrements inside of of_find_node_by_name(). See: commit c92f5dd2c42f (regulator

[PATCH] wlcore: align reg_ch_conf_last[] to 64bit

2015-09-18 Thread Guodong Xu
000 [ 10.720239] PC is at set_bit+0x14/0x30 [ 10.724002] LR is at wlcore_set_pending_regdomain_ch+0x40/0x4c Signed-off-by: Guodong Xu <guodong...@linaro.org> --- drivers/net/wireless/ti/wlcore/wlcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/

Re: [RFC][PATCH 2/2] arm64: dts: hi6220: Add pl031 RTC support

2016-06-01 Thread Guodong Xu
gt; Cc: Rob Herring <robh...@kernel.org> > Cc: Pawel Moll <pawel.m...@arm.com> > Cc: Wei Xu <xuw...@hisilicon.com> > Cc: Guodong Xu <guodong...@linaro.org> > Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> > [jstultz: Forward ported and tweaked com

[PATCH 1/2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-06-22 Thread Guodong Xu
Two LED triggers are defined: tx_led and rx_led. Upon frames available in HCI core layer, for tx or for rx, the combined LED can blink. Verified on HiKey, 96boards. It uses hi6220 SoC and TI WL1835 combo chip. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- include/net/blu

[PATCH 2/2] arm64: dts: hikey: set bluetooth led trigger

2016-06-22 Thread Guodong Xu
Set bluetooth led trigger to hci0-rx, and so LED blinks on hci frame receiving. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hik

[PATCH 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz

2016-06-28 Thread Guodong Xu
4.4MHz) for 1280x720p@60Hz HDMI (74.25MHz required by standards). Closer pixel clock means better compatibility to HDMI monitors. Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinliang Liu <xinliang@linaro.org> --- drivers/clk/hisilicon/clk-hi6220.c | 4 ++-- 1 file cha

[PATCH 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-28 Thread Guodong Xu
amirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Guodong Xu <guodong...@linaro.org> --- drivers/clk/hisilicon/clk-hi6220.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi62

[PATCH v2 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-29 Thread Guodong Xu
2: use clk_set_rate() to propergate clock settings. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Guodong Xu <guodong...@linaro.org> --- drivers/clk/hisilicon/clk-hi6220.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/hisilicon/clk-h

[PATCH v2 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz

2016-06-29 Thread Guodong Xu
4.4MHz) for 1280x720p@60Hz HDMI (74.25MHz required by standards). Closer pixel clock means better compatibility to HDMI monitors. Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinliang Liu <xinliang@linaro.org> --- drivers/clk/hisilicon/clk-hi6220.c | 4 ++-- 1 file cha

Re: [PATCH 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-29 Thread Guodong Xu
On 28 June 2016 at 19:56, Jorge Ramirez <jorge.ramirez-or...@linaro.org> wrote: > On 06/28/2016 12:31 PM, Guodong Xu wrote: >> >> From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> >> >> Early at boot, during the sys_clk initialization, make sure U

[PATCH 1/5] arm64: dts: hi6220: add pinctrl for uarts and enable them

2016-02-18 Thread Guodong Xu
Add pinctrl for uart2 uart3 and uart4. Enable uart1 uart2 and uart3. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 12 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 + 2 files changed, 21 insertions(+)

[PATCH 0/5] add DTS for hi6220 and HiKey

2016-02-18 Thread Guodong Xu
which pending on review: [PATCH v8 5/5] arm64: dts: hisilicon: Add hi655x pmic dts node http://thread.gmane.org/gmane.linux.kernel/2151688 Patch 4 adds resets property into dwmmc nodes. Patch 5 adds wifi device nodes (TI's wl1835) for HiKey board. Guodong Xu (4): arm64: dts: hi6220: add pinctrl

[PATCH 5/5] arm64: dts: add wifi nodes support for hi6220-hikey

2016-02-18 Thread Guodong Xu
Add wifi nodes support for hi6220-hikey Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 28 ++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/bo

[PATCH 4/5] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-02-18 Thread Guodong Xu
Add resets property into dwmmc_0, dwmmc_1 and dwmmc_2 for hi6220 Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/his

[PATCH 2/5] arm64: dts: add LED nodes for hi6220-hikey

2016-02-18 Thread Guodong Xu
Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index c

[PATCH 3/5] arm64: dts: add dwmmc nodes for hi6220

2016-02-18 Thread Guodong Xu
From: Xinwei Kong <kong.kongxin...@hisilicon.com> Add all three dwmmc nodes description for hi6220 Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinwei Kong <kong.kongxin...@hisilicon.com> --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 53

[PATCH V5 1/3] arm64: dts: Add Hi6220 gpio configuration nodes

2016-02-19 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 gpio configuration nodes Signed-off-by: Zhong Kaihua Signed-off-by: Kong Xinwei Acked-by: Rob Herring Signed-off-by: Wei Xu ---

[PATCH V5 0/3] add gpio/pinctrl/spi DTS for hi6220 and hikey

2016-02-19 Thread Guodong Xu
As of V4, this patchset has been ack'ed by Rob Herring. V5, added pmx0 pmx1 pmx2 nodes description into hi6220.dtsi. Zhong Kaihua (3): arm64: dts: Add Hi6220 gpio configuration nodes arm64: dts: add Hi6220 pinctrl configuration nodes arm64: dts: add Hi6220 spi configuration nodes

[PATCH V5 3/3] arm64: dts: add Hi6220 spi configuration nodes

2016-02-19 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 spi configuration nodes Signed-off-by: Zhong Kaihua Signed-off-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 15

[PATCH V5 2/3] arm64: dts: add Hi6220 pinctrl configuration nodes

2016-02-19 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 pinctrl configuration nodes Signed-off-by: Zhong Kaihua --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 77 +++

[PATCH] arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey

2016-02-29 Thread Guodong Xu
-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/configs/defconfig | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 86581f7..83ef419 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/c

[PATCH v2 1/3] arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey

2016-03-10 Thread Guodong Xu
in. - set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module Signed-off-by: Guodong Xu <guodong...@linaro.org> Reviewed-by: Arnd Bergmann <a...@arndb.de> --- arch/arm64/configs/defconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/configs/defconfig

[PATCH v2 2/3] arm64: defconfig: add CONFIG_SPI_SPIDEV as module

2016-03-10 Thread Guodong Xu
add CONFIG_SPI_SPIDEV as module, for arm64. Signed-off-by: Guodong Xu <guodong...@linaro.org> Reviewed-by: Arnd Bergmann <a...@arndb.de> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig i

[PATCH v2 0/3] Enable configs for 96boards HiKey and general arm64

2016-03-10 Thread Guodong Xu
network adapters v2: - rebase to next-20160310, CONFIG_MMC_BLOCK_MINORS=16 is already in. - set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module - Add general features for arm64 Akira Tsukamoto (1): ARM64: defconfig: enable several common USB network adapters Guodong Xu (2): arm64: defconfig

[PATCH v2 3/3] ARM64: defconfig: enable several common USB network adapters

2016-03-10 Thread Guodong Xu
ed-off-by: Akira Tsukamoto <akira.tsukam...@linaro.org> Signed-off-by: Guodong Xu <guodong...@linaro.org> Reviewed-by: Arnd Bergmann <a...@arndb.de> --- arch/arm64/configs/defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch

[PATCH v3 05/16] arm64: dts: add Hi6220 pinctrl configuration nodes

2016-04-05 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 pinctrl configuration nodes Signed-off-by: Zhong Kaihua Acked-by: Linus Walleij Acked-by: Haojian Zhuang --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts |

[PATCH v3 06/16] arm64: dts: add Hi6220 spi configuration nodes

2016-04-05 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 spi configuration nodes Signed-off-by: Zhong Kaihua Signed-off-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 15

[PATCH v3 07/16] arm64: dts: add all hi6220 i2c nodes

2016-04-05 Thread Guodong Xu
From: Xinwei Kong This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc use this I2C IP of Synopsys Designware for HiKey board. Signed-off-by: Xinwei Kong Signed-off-by: Chen Feng Signed-off-by:

[PATCH v3 11/16] arm64: dts: add Hi6220's stub clock node

2016-04-05 Thread Guodong Xu
From: Leo Yan Enable SRAM node and stub clock node for Hi6220, which uses mailbox channel 1 for CPU's frequency change. Furthermore, add the CPU clock phandle in CPU's node and using operating-points-v2 to register operating points. So can be used by cpufreq-dt driver.

[PATCH v3 01/16] arm64: dts: Reserve memory regions for hi6220

2016-04-05 Thread Guodong Xu
From: Leo Yan On Hi6220, below memory regions in DDR have specific purpose: 0x05e0, - 0x05ef,: For MCU firmware using at runtime; 0x06df,f000 - 0x06df,: For mailbox message data; 0x0740,f000 - 0x0740,: For MCU firmware's section; 0x3e00, -

[PATCH v3 02/16] arm64: dts: add sp804 timer node for Hi6220

2016-04-05 Thread Guodong Xu
From: Leo Yan Add sp804 timer for hi6220, so it can be used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v3 00/16] DTS for hi6220 and HiKey

2016-04-05 Thread Guodong Xu
le' into dw_mmc2 for wifi Chen Feng (1): arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu (4): arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards arm64: dts: hi6220: add pinctrl for uarts and enable them arm64: dts: add LED nodes for hi6220-hikey

[PATCH v3 15/16] arm64: dts: add dwmmc nodes for hi6220

2016-04-05 Thread Guodong Xu
From: Xinwei Kong <kong.kongxin...@hisilicon.com> Add all three dwmmc nodes description for hi6220 Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinwei Kong <kong.kongxin...@hisilicon.com> --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 53

[PATCH v3 04/16] arm64: dts: Add Hi6220 gpio configuration nodes

2016-04-05 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 gpio configuration nodes Signed-off-by: Zhong Kaihua Signed-off-by: Kong Xinwei Acked-by: Rob Herring Signed-off-by: Wei Xu ---

[PATCH v3 14/16] arm64: dts: hikey: Add hi655x pmic dts node

2016-04-05 Thread Guodong Xu
iewed-by: Haojian Zhuang <haojian.zhu...@linaro.org> Reviewed-by: Guodong Xu <guodong...@linaro.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 87 ++ 1 file changed, 87 insertions(+) diff --git a/arch/ar

[PATCH v3 16/16] arm64: dts: add wifi nodes support for hi6220-hikey

2016-04-05 Thread Guodong Xu
Add wifi nodes support for hi6220-hikey Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/bo

[PATCH v3 12/16] arm64: dts: hi6220: add pinctrl for uarts and enable them

2016-04-05 Thread Guodong Xu
Add pinctrl for uart2 uart3 and uart4. Enable uart1 uart2 and uart3. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 12 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 + 2 files changed, 21 insertions(+)

[PATCH v3 10/16] arm64: dts: add mailbox node for Hi6220

2016-04-05 Thread Guodong Xu
From: Leo Yan This patch add device mailbox node for Hi6220 in DT. Signed-off-by: Leo Yan Acked-by: Jassi Brar Acked-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 1 file changed,

[PATCH v3 13/16] arm64: dts: add LED nodes for hi6220-hikey

2016-04-05 Thread Guodong Xu
Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index c

[PATCH v3 09/16] arm64: dts: add hi6220 usb node

2016-04-05 Thread Guodong Xu
From: Zhangfei Gao Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 32 +++ 1 file changed, 32

[PATCH v3 03/16] arm64: dts: enable idle states for Hi6220

2016-04-05 Thread Guodong Xu
From: Leo Yan Add cpu and cluster level's low power state for Hi6220. Acked-by: Sudeep Holla Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 31 +++ 1 file changed, 31

[PATCH v3 08/16] arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards

2016-04-05 Thread Guodong Xu
Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 5c9ee31..e00e9ec

[PATCH v4 02/16] arm64: dts: add sp804 timer node for Hi6220

2016-04-12 Thread Guodong Xu
From: Leo Yan Add sp804 timer for hi6220, so it can be used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v4 00/16] DTS for hi6220 and HiKey

2016-04-12 Thread Guodong Xu
d-by into commits where applies. v2: - picked hi655x pmic dts node. - removed dw_mmc resets property, as it is still under review. - add 'non-removable' into dw_mmc2 for wifi Chen Feng (1): arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu (4): arm64: dts: hikey: enable i2c0 and i2c1 for worki

[PATCH v4 01/16] arm64: dts: Reserve memory regions for hi6220

2016-04-12 Thread Guodong Xu
From: Leo Yan On Hi6220, below memory regions in DDR have specific purpose: 0x05e0, - 0x05ef,: For MCU firmware using at runtime; 0x06df,f000 - 0x06df,: For mailbox message data; 0x0740,f000 - 0x0740,: For MCU firmware's section; 0x3e00, -

[PATCH v4 16/16] arm64: dts: add wifi nodes support for hi6220-hikey

2016-04-12 Thread Guodong Xu
Add wifi nodes support for hi6220-hikey Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 29 ++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/bo

[PATCH v4 15/16] arm64: dts: add dwmmc nodes for hi6220

2016-04-12 Thread Guodong Xu
From: Xinwei Kong <kong.kongxin...@hisilicon.com> Add all three dwmmc nodes description for hi6220 Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinwei Kong <kong.kongxin...@hisilicon.com> --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 52

[PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node

2016-04-12 Thread Guodong Xu
From: Chen Feng <puck.c...@hisilicon.com> Add the mfd hi655x dts node and regulator support on hi6220 platform. Signed-off-by: Chen Feng <puck.c...@hisilicon.com> Signed-off-by: Fei Wang <w...@huawei.com> Signed-off-by: Xinwei Kong <kong.kongxin...@hisilicon.com> S

[PATCH v4 13/16] arm64: dts: add LED nodes for hi6220-hikey

2016-04-12 Thread Guodong Xu
Add LED nodes for hi6220-hikey. There are total 6 LEDs on HiKey. Four general purposed, one for WiFi activity, and one for Bluetooth activity. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 41 ++ 1 file chang

[PATCH v4 12/16] arm64: dts: hi6220: add pinctrl for uarts and enable them

2016-04-12 Thread Guodong Xu
Add pinctrl for uart2 uart3 and uart4. Enable uart1 uart2 and uart3. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 12 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 + 2 files changed, 21 insertions(+)

[PATCH v4 10/16] arm64: dts: add mailbox node for Hi6220

2016-04-12 Thread Guodong Xu
From: Leo Yan This patch add device mailbox node for Hi6220 in DT. Signed-off-by: Leo Yan Acked-by: Jassi Brar Acked-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 1 file changed,

[PATCH v4 09/16] arm64: dts: Add hi6220 usb node

2016-04-12 Thread Guodong Xu
From: Zhangfei Gao Add USB nodes for Hi6220 Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 32 +++ 1

[PATCH v4 11/16] arm64: dts: add Hi6220's stub clock node

2016-04-12 Thread Guodong Xu
From: Leo Yan Enable SRAM node and stub clock node for Hi6220, which uses mailbox channel 1 for CPU's frequency change. Furthermore, add the CPU clock phandle in CPU's node and using operating-points-v2 to register operating points. So can be used by cpufreq-dt driver.

Re: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node

2016-04-12 Thread Guodong Xu
On 13 April 2016 at 08:11, Rob Herring <robh...@kernel.org> wrote: > On Tue, Apr 12, 2016 at 6:55 PM, Guodong Xu <guodong...@linaro.org> wrote: >> From: Chen Feng <puck.c...@hisilicon.com> >> >> Add the mfd hi655x dts node and regulator support on hi6220 p

[PATCH v4 03/16] arm64: dts: enable idle states for Hi6220

2016-04-12 Thread Guodong Xu
From: Leo Yan Add cpu and cluster level's low power state for Hi6220. Acked-by: Sudeep Holla Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 31 +++ 1 file changed, 31

[PATCH v4 04/16] arm64: dts: Add Hi6220 gpio configuration nodes

2016-04-12 Thread Guodong Xu
From: Zhong Kaihua <zhongkai...@huawei.com> Add Hi6220 gpio configuration nodes Signed-off-by: Zhong Kaihua <zhongkai...@huawei.com> Signed-off-by: Kong Xinwei <kong.kongxin...@hisilicon.com> Signed-off-by: Wei Xu <xuw...@hisilicon.com> Signed-off-by: Guodong Xu <guod

[PATCH v4 05/16] arm64: dts: add Hi6220 pinctrl configuration nodes

2016-04-12 Thread Guodong Xu
From: Zhong Kaihua Add Hi6220 pinctrl configuration nodes Signed-off-by: Zhong Kaihua Acked-by: Linus Walleij Acked-by: Haojian Zhuang Acked-by: Tony Lindgren ---

[PATCH v4 06/16] arm64: dts: add Hi6220 spi configuration nodes

2016-04-12 Thread Guodong Xu
From: Zhong Kaihua <zhongkai...@huawei.com> Add Hi6220 spi configuration nodes. Disable by default in hi6220.dtsi and enable it in board dts for usage of 96boards LS mezzanine board. Signed-off-by: Zhong Kaihua <zhongkai...@huawei.com> Signed-off-by: Guodong Xu <guodong...@linaro.

[PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes

2016-04-12 Thread Guodong Xu
From: Xinwei Kong This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc use this I2C IP of Synopsys Designware for HiKey board. Signed-off-by: Xinwei Kong Signed-off-by: Chen Feng Signed-off-by:

[PATCH v4 08/16] arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards

2016-04-12 Thread Guodong Xu
In HiKey board dts file, enable i2c0 and i2c1 for working with 96boards' LS mezzanine. Signed-off-by: Guodong Xu <guodong...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hik

Re: [PATCH v2 04/16] arm64: dts: Add Hi6220 gpio configuration nodes

2016-04-12 Thread Guodong Xu
On 4 April 2016 at 03:28, Linus Walleij <linus.wall...@linaro.org> wrote: > On Sat, Apr 2, 2016 at 11:29 AM, Guodong Xu <guodong...@linaro.org> wrote: > >> From: Zhong Kaihua <zhongkai...@huawei.com> >> >> Add Hi6220 gpio configuration nodes &

Re: [PATCH v2 06/16] arm64: dts: add Hi6220 spi configuration nodes

2016-04-12 Thread Guodong Xu
On 4 April 2016 at 13:16, Rob Herring <r...@kernel.org> wrote: > On Sat, Apr 02, 2016 at 05:29:33PM +0800, Guodong Xu wrote: >> From: Zhong Kaihua <zhongkai...@huawei.com> >> >> Add Hi6220 spi configuration nodes >> >> Signed-off-by: Zhong Kaihua <

Re: [PATCH v3 04/16] arm64: dts: Add Hi6220 gpio configuration nodes

2016-04-12 Thread Guodong Xu
On 8 April 2016 at 20:19, Linus Walleij <linus.wall...@linaro.org> wrote: > On Tue, Apr 5, 2016 at 3:27 PM, Guodong Xu <guodong...@linaro.org> wrote: > >> From: Zhong Kaihua <zhongkai...@huawei.com> >> >> Add Hi6220 gpio configuration nodes >> >&g

Re: [PATCH v2 14/16] arm64: dts: hikey: Add hi655x pmic dts node

2016-04-12 Thread Guodong Xu
On 4 April 2016 at 13:16, Rob Herring <r...@kernel.org> wrote: > On Sat, Apr 02, 2016 at 05:29:41PM +0800, Guodong Xu wrote: >> From: Chen Feng <puck.c...@hisilicon.com> >> >> Add the mfd hi655x dts node and regulator support on >> hi6220 platform.

[PATCH 2/2] mmc: dw_mmc: add resets support to dw_mmc

2016-03-06 Thread Guodong Xu
and probe, it calls reset API to deassert the 'reset' of dw_mmc host controller. When probe error or remove, it calls reset API to assert it. Please also refer to Documentation/devicetree/bindings/reset/reset.txt Signed-off-by: Guodong Xu <guodong...@linaro.org> Signed-off-by: Xinwei Kong <kon

[PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-03-06 Thread Guodong Xu
Add resets property to synopsys-dw-mshc bindings. It is intended to represent the hardware reset signal present internally in some host controller IC designs. See Documentation/devicetree/bindings/reset/reset.txt for details. Signed-off-by: Guodong Xu <guodong...@linaro.org> Acked-b

[PATCH 2/2] mmc: dw_mmc: add resets support to dw_mci_parse_dt()

2016-03-02 Thread Guodong Xu
With this, user can add a 'resets' property into dw_mmc dts node, and when driver probe and parse_dt, it will call reset APIs to reset dw_mmc host controller. Please also refer to Documentation/devicetree/bindings/reset/reset.txt Signed-off-by: Guodong Xu <guodong...@linaro.org> Sign

  1   2   3   4   5   6   7   8   >