Re: [PATCH v2 4/9] ARM: dts: add dts files for hi3519-demb board

2015-12-07 Thread zhangfei
On 12/07/2015 02:37 PM, xuejiancheng wrote: As this seems to be a standard part, we can also think about making a high-level driver for in in drivers/soc rather than relying on the syscon driver which we tend to use more for one-off devices with random register layouts. Sorry. I didn't

[PATCH] arm64: dts: add hi6220 usb node

2015-11-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 33 +++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 0f11e2a..a

Re: [PATCH] usb: dwc2: add support of hi6220

2015-11-22 Thread zhangfei
On 11/20/2015 11:34 PM, Felipe Balbi wrote: John Youn writes: That's weird. I just sync'd to your testing/next and it seems to apply fine. Same with the series from Gregory Herrero. Any chance it's something to do with your local repo? odd. Seems like it works

[PATCH v2] phy: add phy-hi6220-usb

2015-11-22 Thread Zhangfei Gao
Support hi6220 use phy for HiKey board Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> --- Rebase to Linux 4.4-rc1 .../devicetree/bindings/phy/phy-hi6220-usb.txt | 16 ++ drivers/phy/Kconfig| 9

[PATCH] usb: dwc2: add support of hi6220

2015-11-17 Thread Zhangfei Gao
Support hisilicon,hi6220-usb for HiKey board Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + drivers/usb/dwc2/platform.c| 32 ++ 2 files changed, 33 insertions(+) diff

[PATCH] phy: add phy-hi6220-usb

2015-11-17 Thread Zhangfei Gao
Support hi6220 use phy for HiKey board Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> --- .../devicetree/bindings/phy/phy-hi6220-usb.txt | 16 ++ drivers/phy/Kconfig| 9 ++ drivers/phy/Makefile | 1 + drivers/p

Re: [PATCH v2 02/32] devicetree: bindings: scsi: HiSi SAS

2015-10-27 Thread zhangfei
On 10/27/2015 10:39 PM, Mark Rutland wrote: On Tue, Oct 27, 2015 at 01:09:15PM +, John Garry wrote: On 26/10/2015 14:45, Mark Rutland wrote: On Mon, Oct 26, 2015 at 10:14:33PM +0800, John Garry wrote: Add devicetree bindings for HiSilicon SAS driver. Signed-off-by: John Garry

Re: [PATCH 02/25] devicetree: bindings: scsi: HiSi SAS

2015-10-19 Thread zhangfei
On 10/19/2015 06:48 PM, John Garry wrote: On 16/10/2015 14:47, Rob Herring wrote: + - reg : Address and length of the register sets for the device + - SAS controller registers + - SAS controller control registers + + - reset-reg : offset to reset, status, and clock registers in

Re: [PATCH 03/25] scsi: hisi_sas: add initial bare driver

2015-10-15 Thread zhangfei
On 10/15/2015 05:23 PM, John Garry wrote: On 15/10/2015 09:49, Xinwei Kong wrote: +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2015 Linaro Ltd. + * Copyright (c) 2015 Hisilicon Limited. + * + * This program is free software; you can redistribute it and/or

Re: [PATCH 09/25] scsi: hisi_sas: add phy SAS ADDR initialization

2015-10-14 Thread zhangfei
On 10/14/2015 11:18 PM, Arnd Bergmann wrote: On Wednesday 14 October 2015 16:05:21 John Garry wrote: OK, we can look at adding the ability to read the SAS HBA address from a FW image or EFI variables. The easiest way is usually to have a DT property that gets updated by the firmware.

Re: [PATCH 05/25] scsi: hisi_sas: allocate memories and create pools

2015-10-13 Thread zhangfei
Hi, Arnd On 10/12/2015 11:15 PM, Arnd Bergmann wrote: On Monday 12 October 2015 23:20:17 John Garry wrote: + interrupt_count = of_property_count_u32_elems(np, "interrupts"); + if (interrupt_count < 0) + goto err_out; + + if (of_property_read_u32(np,

Re: [PATCH 07/25] scsi: hisi_sas: add ioremap for device HW

2015-10-13 Thread zhangfei
On 10/12/2015 11:21 PM, Arnd Bergmann wrote: On Monday 12 October 2015 23:20:19 John Garry wrote: +int hisi_sas_ioremap(struct hisi_hba *hisi_hba) +{ + struct platform_device *pdev = hisi_hba->pdev; + struct device *dev = >dev; + struct resource *res; + + res =

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-26 Thread zhangfei
Hi, Roger On 02/24/2015 06:13 PM, Roger Quadros wrote: On Sat, Feb 21, 2015 at 11:03:05PM +0800, zhangfei wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ +struct usb_otg *otg = priv-phy.otg; + +if (!otg-gadget) +return

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-25 Thread zhangfei
On 02/23/2015 11:36 PM, Felipe Balbi wrote: Hi, On Sun, Feb 22, 2015 at 11:10:36AM +0800, zhangfei wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-21 Thread zhangfei
Hi, Balbi On 02/22/2015 12:21 AM, Felipe Balbi wrote: Hi, On Sat, Feb 21, 2015 at 11:03:05PM +0800, zhangfei wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-21 Thread zhangfei
Hi, Balbi On 02/21/2015 12:06 AM, Felipe Balbi wrote: Hi, On Fri, Feb 20, 2015 at 11:44:37PM +0800, zhangfei wrote: Hi, Balbi On 02/20/2015 10:41 PM, Felipe Balbi wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread zhangfei
On 02/20/2015 12:38 PM, Felipe Balbi wrote: On Fri, Feb 20, 2015 at 11:07:21AM +0800, zhangfei wrote: Hi, Balbi On 02/18/2015 10:35 PM, Felipe Balbi wrote: On Wed, Feb 18, 2015 at 01:44:21PM +0800, zhangfei wrote: Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread zhangfei
Hi, Balbi On 02/20/2015 10:41 PM, Felipe Balbi wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return; + + if (on) + usb_gadget_connect(otg-gadget); +

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-19 Thread zhangfei
Hi, Balbi On 02/18/2015 10:35 PM, Felipe Balbi wrote: On Wed, Feb 18, 2015 at 01:44:21PM +0800, zhangfei wrote: Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-17 Thread zhangfei
Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile

Re: [resend PATCH v3 4/4] usb: phy: add phy-hi6220-usb

2015-02-11 Thread zhangfei
On 02/10/2015 10:48 PM, Felipe Balbi wrote: diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index c6d0c8e..405a3d0 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig @@ -173,6 +173,15 @@ config USB_MXS_PHY MXS Phy is used by some of the i.MX SoCs, for

[PATCH v4 2/4] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-11 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git a/Documentation/devicetree/bindings/usb

[PATCH v4 3/4] usb: dwc2: platform: add hi6220 support

2015-02-11 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/dwc2/platform.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index ae095f0..f7c67db 100644 --- a/drivers/usb/dwc2/platform.c +++ b

[PATCH v4 1/4] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-11 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree

[PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-11 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hi6220-usb.c | 306 +++ 3 files changed, 316 insertions

[PATCH v4 0/4] add usb support for hi6220

2015-02-11 Thread Zhangfei Gao
: hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (4): Documentation: dt-bindings: add dt binding info for hi6220 dwc2 Documentation: dt-bindings: add dt binding info for hi6220 usb: dwc2: platform: add hi6220 support phy: add phy-hi6220

Re: [PATCH v3 4/5] usb: phy: load usb phy earlier

2015-02-10 Thread zhangfei
-To: 1423554627-694-5-git-send-email-zhangfei@linaro.org On Tue, Feb 10, 2015 at 03:50:26PM +0800, Zhangfei Gao wrote: Since phy is definitely used in usb controller, load the phy earlier to make boot time shorter. Signed-off-by: Zhangfei Gao zhangfei@linaro.org Acked-by: Peter Chen peter.c

Re: [resend PATCH v3 4/4] usb: phy: add phy-hi6220-usb

2015-02-10 Thread zhangfei
On 02/10/2015 10:48 PM, Felipe Balbi wrote: On Tue, Feb 10, 2015 at 05:10:04PM +0800, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1

Re: [PATCH v3 4/5] usb: phy: load usb phy earlier

2015-02-10 Thread zhangfei
On 02/10/2015 03:04 PM, Peter Chen wrote: This patch does not belong to phy, so, doesn't need to add phy in subject, meanwhile, please add GregKH as TO list, he is the right one to queue this patch. Reply-To: In-Reply-To: 1423554627-694-5-git-send-email-zhangfei@linaro.org OK, thanks

[resend PATCH v3 3/4] usb: dwc2: platform: add hi6220 support

2015-02-10 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/dwc2/platform.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index ae095f0..f7c67db 100644 --- a/drivers/usb/dwc2/platform.c +++ b

[resend PATCH v3 2/4] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-10 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git a/Documentation/devicetree/bindings/usb

[resend PATCH v3 4/4] usb: phy: add phy-hi6220-usb

2015-02-10 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-hi6220-usb.c | 306 +++ 3 files changed, 316 insertions

[resend PATCH v3 1/4] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-10 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree

[resend PATCH v3 0/4] add usb support for hi6220

2015-02-10 Thread Zhangfei Gao
v3: fix typo and add -EPROBE_DEFER of regulator, pointed by Peter v2: address comments from Sergei and Peter add hi6220_phy_setup(false) code v1: hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (4): Documentation: dt-bindings: add dt

Re: [PATCH v2 4/4] usb: phy: add phy-hi6220-usb

2015-02-09 Thread Zhangfei Gao
On 9 February 2015 at 22:26, zhangfei zhangfei@linaro.org wrote: On 02/09/2015 10:11 AM, Peter Chen wrote: +static void hi6220_detect_work(struct work_struct *work) +{ + struct hi6220_priv *priv = + container_of(work, struct hi6220_priv, work.work); + int

[PATCH v3 2/5] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-09 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git a/Documentation/devicetree/bindings/usb

[PATCH v3 1/5] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-09 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree

[PATCH v3 0/5] add usb support for hi6220

2015-02-09 Thread Zhangfei Gao
v3: fix typo and add -EPROBE_DEFER of regulator, pointed by Peter v2: address comments from Sergei and Peter add hi6220_phy_setup(false) code v1: hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (5): Documentation: dt-bindings: add dt

[PATCH v3 5/5] usb: phy: add phy-hi6220-usb

2015-02-09 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-hi6220-usb.c | 308 +++ 3 files changed, 318 insertions

[PATCH v3 4/5] usb: phy: load usb phy earlier

2015-02-09 Thread Zhangfei Gao
Since phy is definitely used in usb controller, load the phy earlier to make boot time shorter. Signed-off-by: Zhangfei Gao zhangfei@linaro.org Acked-by: Peter Chen peter.c...@freescale.com --- drivers/usb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [PATCH v2 4/4] usb: phy: add phy-hi6220-usb

2015-02-09 Thread zhangfei
On 02/09/2015 10:11 AM, Peter Chen wrote: +static void hi6220_detect_work(struct work_struct *work) +{ + struct hi6220_priv *priv = + container_of(work, struct hi6220_priv, work.work); + int gpio_id, gpio_vubs; %s/gpio_vubs/gpio_vbus Yes, typo +static void

Re: [PATCH 4/4] usb: phy: add phy-hi6220

2015-02-08 Thread Zhangfei Gao
On 9 February 2015 at 09:57, Peter Chen peter.c...@freescale.com wrote: +static int hi6220_phy_probe(struct platform_device *pdev) +{ + struct hi6220_priv *priv; + struct usb_otg *otg; + struct device_node *np = pdev-dev.of_node; + int ret, irq; + + priv =

[PATCH v2 4/4] usb: phy: add phy-hi6220-usb

2015-02-06 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-hi6220-usb.c | 297 +++ 3 files changed, 307 insertions

[PATCH v2 2/4] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-06 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git a/Documentation/devicetree/bindings/usb

[PATCH v2 3/4] usb: dwc2: platform: add hi6220 support

2015-02-06 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/dwc2/platform.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index ae095f0..f7c67db 100644 --- a/drivers/usb/dwc2/platform.c +++ b

[PATCH v2 0/4] add usb support for hi6220

2015-02-06 Thread Zhangfei Gao
v2: address comments from Sergei and Peter add hi6220_phy_setup(false) code v1: hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (4): Documentation: dt-bindings: add dt binding info for hi6220 dwc2 Documentation: dt-bindings: add dt

[PATCH v2 1/4] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-06 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree

Re: [PATCH 4/4] usb: phy: add phy-hi6220

2015-02-06 Thread Zhangfei Gao
On 6 February 2015 at 16:41, Peter Chen peter.c...@freescale.com wrote: On Thu, Feb 05, 2015 at 10:47:00PM +0800, Zhangfei Gao wrote: @@ -18,6 +18,7 @@ obj-$(CONFIG_SAMSUNG_USBPHY)+= phy-samsung-usb.o obj-$(CONFIG_TWL6030_USB)+= phy-twl6030-usb.o obj

Re: [PATCH 2/4] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-05 Thread Zhangfei Gao
On 6 February 2015 at 02:24, Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: diff --git a/Documentation/devicetree/bindings/usb/hi6220-usb.txt b/Documentation/devicetree/bindings/usb/hi6220-usb.txt new file mode 100644 index 000..e926364 --- /dev/null +++

[PATCH 3/4] usb: dwc2: platform: add hi6220 support

2015-02-05 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/dwc2/platform.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index ae095f0..ceee385 100644 --- a/drivers/usb/dwc2/platform.c +++ b

[PATCH 1/4] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-05 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree

[PATCH 2/4] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-05 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git a/Documentation/devicetree/bindings/usb

[PATCH 4/4] usb: phy: add phy-hi6220

2015-02-05 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-hi6220.c | 290 +++ 3 files changed, 300 insertions

[PATCH 0/4] add usb support for hi6220

2015-02-05 Thread Zhangfei Gao
hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (4): Documentation: dt-bindings: add dt binding info for hi6220 dwc2 Documentation: dt-bindings: add dt binding info for hi6220 usb: dwc2: platform: add hi6220 support usb: phy: add phy

[PATCH v4 01/10] ARM: dts: hix5hd2: add gmac node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2-dkb.dts | 28 arch/arm/boot/dts/hisi-x5hd2.dtsi| 16 2 files changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts

[PATCH v4 07/10] ARM: dts: hix5hd2: add ir node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d07589b..576d8c2 100644 --- a/arch/arm/boot/dts

[PATCH v4 05/10] ARM: dts: hix5hd2: add gpio node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 234 + 1 file changed, 234 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi

[PATCH v4 00/10] hix5hd2 add some nodes

2014-10-29 Thread Zhangfei Gao
, suggested by Mark Zhangfei Gao (10): ARM: dts: hix5hd2: add gmac node ARM: dts: hix5hd2: add mmc node ARM: dts: hix5hd2: add usb node ARM: dts: hix5hd2: add sata node ARM: dts: hix5hd2: add gpio node ARM: dts: hix5hd2: add wdg node ARM: dts: hix5hd2: add ir node ARM: dts: hix5hd2: add i2c

[PATCH v4 08/10] ARM: dts: hix5hd2: add i2c node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 576d8c2..b8deb6c 100644 --- a/arch

[PATCH v4 03/10] ARM: dts: hix5hd2: add usb node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org Signed-off-by: Jiancheng Xue xuejianch...@huawei.com --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index fea5d5c

[PATCH v4 04/10] ARM: dts: hix5hd2: add sata node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2-dkb.dts |5 + arch/arm/boot/dts/hisi-x5hd2.dtsi| 20 2 files changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/hisi

[PATCH v4 02/10] ARM: dts: hix5hd2: add mmc node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 012525c..fea5d5c 100644 --- a/arch/arm/boot/dts/hisi

[PATCH v4 06/10] ARM: dts: hix5hd2: add wdg node

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 7f1a3e0

[PATCH v4 10/10] ARM: hisi_defconfig: add driver support for hix5hd2

2014-10-29 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/configs/hisi_defconfig | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index 1772505..1fe3621f 100644 --- a/arch/arm/configs/hisi_defconfig

[PATCH v4 09/10] ARM: dts: hix5hd2: add reboot node

2014-10-29 Thread Zhangfei Gao
Reuse syscon-reboot, drivers/power/reset/syscon-reboot.c Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi

Re: [PATCH v5 3/3] ARM: dts: hix5hd2: add i2c node

2014-10-07 Thread zhangfei
On 10/08/2014 01:14 AM, Wolfram Sang wrote: On Tue, Oct 07, 2014 at 09:04:13AM +0800, Zhangfei Gao wrote: Signed-off-by: Zhangfei Gao zhangfei@linaro.org This one should go via arm-soc. Thanks Wolfram for the help. Will send the dts serious after rc1 come out with clock define

Re: [PATCH v4 2/3] i2c: hix5hd2: add i2c controller driver

2014-10-06 Thread zhangfei
On 10/07/2014 01:56 AM, Wolfram Sang wrote: On Fri, Oct 03, 2014 at 11:35:48PM +0800, Zhangfei Gao wrote: From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off

[PATCH v5 0/3] i2c: hix5hd2: add i2c controller driver

2014-10-06 Thread Zhangfei Gao
: hix5hd2: add devicetree documentation i2c: hix5hd2: add i2c controller driver Zhangfei Gao (1): ARM: dts: hix5hd2: add i2c node .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 24 + arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 +++ drivers/i2c/busses/Kconfig

[PATCH v5 1/3] i2c: hix5hd2: add devicetree documentation

2014-10-06 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 24 1 file changed, 24 insertions(+) create mode 100644 Documentation

[PATCH v5 3/3] ARM: dts: hix5hd2: add i2c node

2014-10-06 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d3d99fb..17d0637 100644 --- a/arch

[PATCH v5 2/3] i2c: hix5hd2: add i2c controller driver

2014-10-06 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/i2c/busses

Re: [PATCH v3 2/3] i2c: hix5hd2: add i2c controller driver

2014-10-03 Thread zhangfei
On 10/03/2014 08:09 PM, Wolfram Sang wrote: Hi, On Tue, Sep 30, 2014 at 08:20:27PM +0800, Zhangfei Gao wrote: From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off

[PATCH v4 0/3] i2c: hix5hd2: add i2c controller driver

2014-10-03 Thread Zhangfei Gao
test Remove specific mach info in dts binding to solve the confusion. v2: Modify according to Wolfram's comments including change vector name, coding style, return value etc. Wei Yan (2): i2c: hix5hd2: add devicetree documentation i2c: hix5hd2: add i2c controller driver Zhangfei Gao (1

[PATCH v4 1/3] i2c: hix5hd2: add devicetree documentation

2014-10-03 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 25 1 file changed, 25 insertions(+) create mode 100644 Documentation

[PATCH v4 2/3] i2c: hix5hd2: add i2c controller driver

2014-10-03 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/i2c/busses

[PATCH v4 3/3] ARM: dts: hix5hd2: add i2c node

2014-10-03 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d3d99fb..17d0637 100644 --- a/arch

Re: [PATCH v3 2/3] i2c: hix5hd2: add i2c controller driver

2014-10-03 Thread zhangfei
On 10/04/2014 12:48 AM, Wolfram Sang wrote: Currently Wei help do the test via I2C device interface, on a specific board with i2c device. We do the test after the board is up, also no i2c activity during probe. Huh, so the driver has not been tested with a real i2c slave so far? Or am I

Re: [PATCH v2 3/3] ARM: dts: hix5hd2: add i2c node

2014-09-30 Thread zhangfei
On 09/30/2014 05:02 PM, Arnd Bergmann wrote: On Sunday 28 September 2014 12:22:09 Zhangfei Gao wrote: + + i2c0: i2c@b1 { + compatible = hisilicon,hix5hd2-i2c; + reg = 0xb1 0x1000; + interrupts = 0 38 4

Re: [PATCH v2 1/3] i2c: hix5hd2: add devicetree documentation

2014-09-30 Thread zhangfei
On 09/30/2014 05:01 PM, Arnd Bergmann wrote: On Sunday 28 September 2014 12:22:07 Zhangfei Gao wrote: + +Required properties: +- compatible: Must be hisilicon,hix5hd2-i2c + Specifically, the following versions of the chipset are supported: + Hi3716CV200 (support six I2C module

[PATCH v3 3/3] ARM: dts: hix5hd2: add i2c node

2014-09-30 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d3d99fb..17d0637 100644 --- a/arch

[PATCH v3 2/3] i2c: hix5hd2: add i2c controller driver

2014-09-30 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/i2c/busses

[PATCH v3 0/3] i2c: hix5hd2: add i2c controller driver

2014-09-30 Thread Zhangfei Gao
: hix5hd2: add i2c controller driver Zhangfei Gao (1): ARM: dts: hix5hd2: add i2c node .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 25 + arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 +++ drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses

Re: [PATCH v2 2/3] i2c: hix5hd2: add i2c controller driver

2014-09-29 Thread zhangfei
On 09/28/2014 12:22 PM, Zhangfei Gao wrote: From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao

[PATCH v2 1/3] i2c: hix5hd2: add devicetree documentation

2014-09-27 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 31 1 file changed, 31 insertions(+) create mode 100644 Documentation

[PATCH v2 0/3] i2c: hix5hd2: add i2c controller driver

2014-09-27 Thread Zhangfei Gao
v2: Modify according to Wolfram's comments including change vector name, coding style, return value etc. Wei Yan (2): i2c: hix5hd2: add devicetree documentation i2c: hix5hd2: add i2c controller driver Zhangfei Gao (1): ARM: dts: hix5hd2: add i2c node .../devicetree/bindings/i2c/i2c

[PATCH v2 3/3] ARM: dts: hix5hd2: add i2c node

2014-09-27 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index d3d99fb..17d0637 100644 --- a/arch

[PATCH v2 2/3] i2c: hix5hd2: add i2c controller driver

2014-09-27 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/i2c/busses

[PATCH v5 0/4] clk: hix5hd2: clocks update

2014-09-21 Thread Zhangfei Gao
Jiancheng Xue (1): clk: hix5hd2: add sd clk Wei Yan (1): clk: hix5hd2: add I2C clocks Zhangfei Gao (1): clk: hix5hd2: add complex clk drivers/clk/hisilicon/clk-hix5hd2.c | 236 - include/dt-bindings/clock/hix5hd2-clock.h | 27 2 files changed, 257

[PATCH v5 2/4] clk: hix5hd2: add sd clk

2014-09-21 Thread Zhangfei Gao
From: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/clk/hisilicon/clk-hix5hd2.c | 21 +++-- include/dt-bindings/clock/hix5hd2-clock.h |4 2 files changed

[PATCH v5 4/4] clk: hix5hd2: add I2C clocks

2014-09-21 Thread Zhangfei Gao
From: Wei Yan sledge.yan...@huawei.com hix5hd2 add I2C clocks (I2C0~i2C5) Signed-off-by: Wei Yan sledge.yan...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/clk/hisilicon/clk-hix5hd2.c | 25 + include/dt-bindings/clock/hix5hd2-clock.h

[PATCH v5 1/4] clk: hix5hd2: add complex clk

2014-09-21 Thread Zhangfei Gao
Support clk of sata, usb and ethernet Signed-off-by: Jiancheng Xue xuejianch...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/clk/hisilicon/clk-hix5hd2.c | 181 + include/dt-bindings/clock/hix5hd2-clock.h |9 ++ 2 files changed

[PATCH v5 3/4] clk: hix5hd2: add watchdog0 clocks

2014-09-21 Thread Zhangfei Gao
From: Guoxiong Yan yanguoxi...@huawei.com hix5hd2 add watchdog0 clocks Signed-off-by: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/clk/hisilicon/clk-hix5hd2.c |5 + include/dt-bindings/clock/hix5hd2-clock.h |2 ++ 2 files

Re: [PATCH resend 1/4] clk: hix5hd2: add complex clk

2014-09-15 Thread Zhangfei Gao
Hi, Mike Thanks for the comments. Sorry for the delay, since the trip. On 11 September 2014 00:52, Mike Turquette mturque...@linaro.org wrote: +static int clk_ether_enable(struct clk_hw *hw) +{ + struct hix5hd2_clk_complex *clk = to_complex_clk(hw); + u32 val;

Re: [PATCH resend 0/2] i2c: hix5hd2: add i2c controller driver

2014-09-15 Thread Zhangfei Gao
On 26 August 2014 13:25, Zhangfei Gao zhangfei@linaro.org wrote: Resend: verified on 3.17-rc1 Wei Yan (2): i2c: hix5hd2: add devicetree documentation i2c: hix5hd2: add i2c controller driver .../devicetree/bindings/i2c/i2c-hix5hd2.txt| 31 ++ drivers/i2c/busses/Kconfig

Re: [PATCH v4 1/2] rc: Add DT bindings for hix5hd2

2014-08-31 Thread zhangfei
On 09/01/2014 11:49 AM, Varka Bhadram wrote: On 08/31/2014 08:09 AM, Zhangfei Gao wrote: From: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/media/hix5hd2-ir.txt

Re: [PATCH v3 2/3] rc: Introduce hix5hd2 IR transmitter driver

2014-08-30 Thread zhangfei
Hi, Sean On 08/29/2014 12:22 AM, Sean Young wrote: On Thu, Aug 28, 2014 at 11:16:16PM +0800, Zhangfei Gao wrote: From: Guoxiong Yan yanguoxi...@huawei.com IR transmitter driver for Hisilicon hix5hd2 soc By default all protocols are disabled. For example nec decoder can be enabled by either 1

Re: [PATCH v3 2/3] rc: Introduce hix5hd2 IR transmitter driver

2014-08-30 Thread zhangfei
On 08/29/2014 11:41 AM, Varka Bhadram wrote: On 08/28/2014 08:46 PM, Zhangfei Gao wrote: From: Guoxiong Yan yanguoxi...@huawei.com IR transmitter driver for Hisilicon hix5hd2 soc By default all protocols are disabled. For example nec decoder can be enabled by either 1. ir-keytable -p nec 2

[PATCH v4 1/2] rc: Add DT bindings for hix5hd2

2014-08-30 Thread Zhangfei Gao
From: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/media/hix5hd2-ir.txt | 25 1 file changed, 25 insertions(+) create mode 100644 Documentation

[PATCH v4 0/3] Introduce hix5hd2 IR transmitter driver

2014-08-30 Thread Zhangfei Gao
-nec-decoder can not be used. Guoxiong Yan (2): rc: Add DT bindings for hix5hd2 rc: Introduce hix5hd2 IR transmitter driver Zhangfei Gao (1): ARM: dts: hix5hd2: add ir node .../devicetree/bindings/media/hix5hd2-ir.txt | 25 ++ arch/arm/boot/dts/hisi-x5hd2.dtsi | 10

[PATCH v4 2/2] rc: Introduce hix5hd2 IR transmitter driver

2014-08-30 Thread Zhangfei Gao
Signed-off-by: Guoxiong Yan yanguoxi...@huawei.com Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/media/rc/Kconfig | 10 ++ drivers/media/rc/Makefile |1 + drivers/media/rc/ir-hix5hd2.c | 343 + 3 files changed, 354 insertions

  1   2   3   4   >