Re: [PATCH v18 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-04-28 Thread Loc Ho
Hi Kishon/Felipe, > >> This patch adds support for the APM X-Gene SoC AHCI SATA host controller > >> driver. It requires the corresponding APM X-Gene SoC PHY driver. This > >> initial version only supports Gen3 speed. > > > > This version seems workable, thanks for the quick follow-up. > > > > The

[PATCH] ata: Fix compiler warning with APM X-Gene host controller driver

2014-03-18 Thread Loc Ho
This patch fixes an compiler warning with APM X-Gene host controller driver when compiled with DEBUG enabled. Signed-off-by: Loc Ho --- drivers/ata/ahci_xgene.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index

Re: [PATCH v18 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-15 Thread Loc Ho
Hi, >> This patch adds support for the APM X-Gene SoC AHCI SATA host controller >> driver. It requires the corresponding APM X-Gene SoC PHY driver. This >> initial version only supports Gen3 speed. > > This version seems workable, thanks for the quick follow-up. > > The comment about Gen3 speed ab

[PATCH v18 4/4] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-14 Thread Loc Ho
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 80 1 files changed, 80 insertions(+), 0 deletions(-) diff --git

[PATCH v18 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-14 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. This initial version only supports Gen3 speed. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig

[PATCH v18 0/4] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-03-14 Thread Loc Ho
erdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries Documentation: Add documentation for the APM

[PATCH v18 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding

2014-03-14 Thread Loc Ho
This patch adds documentation for the APM X-Gene SoC SATA host controller DTS binding. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 76 1 files changed, 76 insertions(+), 0

[PATCH v18 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-14 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 72

Re: [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-14 Thread Loc Ho
Hi >> >> > gets called. Can you clarify what this register access does? >> >> > If it's just setting a index into a mux output, would it make >> >> > sense to have an optional DT property containing an integer with >> >> > the mux setting you want to set? That way you wouldn't even >> >> > have to

Re: [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-14 Thread Loc Ho
Hi, >> > gets called. Can you clarify what this register access does? >> > If it's just setting a index into a mux output, would it make >> > sense to have an optional DT property containing an integer with >> > the mux setting you want to set? That way you wouldn't even >> > have to have two comp

Re: [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-14 Thread Loc Ho
Hi, > On Wednesday 12 March 2014, Loc Ho wrote: > > This patch adds support for the APM X-Gene SoC AHCI SATA host controller > > driver. It requires the corresponding APM X-Gene SoC PHY driver. This > > initial version only supports Gen3 speed. > > > > Signed-

[PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-12 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. This initial version only supports Gen3 speed. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig

[PATCH v17 4/4] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-12 Thread Loc Ho
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git

[PATCH v17 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding

2014-03-12 Thread Loc Ho
This patch adds documentation for the APM X-Gene SoC SATA host controller DTS binding. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0

[PATCH v17 0/4] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-03-12 Thread Loc Ho
of CONFIG_ARCH_MSLIM * Clean up chip revision code v2: * Clean up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tri

[PATCH v17 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-12 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

Re: [PATCH v16 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-12 Thread Loc Ho
Hi, >> +MODULE_DEVICE_TABLE(of, xgene_ahci_of_match); >> + >> +static struct platform_driver xgene_ahci_driver = { >> + .probe = xgene_ahci_probe, >> + .remove = ata_platform_remove_one, > > It is good to use ata_platform_remove_one() here but some code still needs > to callback ahci_platf

Re: [PATCH v15 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-12 Thread Loc Ho
Hi, >> Kishon didn't applied the PHY DTS patch. Did you first apply the PHY >> DTS patch? We agreed that you will first pull in the PHY DTS as well >> as the host controller patches. I don't see any reason why it wouldn't >> apply if both DTS is applied. I will pull libata/for-3.15 and check >> ou

[PATCH v16 4/4] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-11 Thread Loc Ho
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git

[PATCH v16 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding

2014-03-11 Thread Loc Ho
This patch adds documentation for the APM X-Gene SoC SATA host controller DTS binding. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0

[PATCH v16 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-11 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v16 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-11 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. This initial version only supports Gen3 speed. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig

[PATCH v16 0/4] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-03-11 Thread Loc Ho
patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding ata: Add APM X-Gen

Re: [PATCH v15 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-11 Thread Loc Ho
Hi Tejun, >> This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. > > I pulled the phy branch into libata/for-3.15 but this patch fails to > apply. Can you please regenerate the patches which need to be applied > on top of libata/for-3.15. > Kishon didn't applied the PHY DTS pat

[PATCH v15 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-07 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v15 1/3] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-03-07 Thread Loc Ho
This patch adds the APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0

[PATCH v15 0/3] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-03-07 Thread Loc Ho
th more descriptive name * Add override PHY parameter for per controller, per port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (3): Documentation: Add APM X-Gen

[PATCH v14 0/3] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-03-06 Thread Loc Ho
er port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (3): Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

[PATCH v14 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-06 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v14 1/3] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-03-06 Thread Loc Ho
This patch adds the APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0

[PATCH v15 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-05 Thread Loc Ho
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git

[PATCH v15 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-05 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. This initial version only supports Gen3 speed. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig

[PATCH v13 1/3] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-03-05 Thread Loc Ho
This patch adds the APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0

[PATCH v15 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-03-05 Thread Loc Ho
_ARCH_MSLIM * Clean up chip revision code v2: * Clean up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tri

[PATCH v13 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-05 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v15 1/3] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding

2014-03-05 Thread Loc Ho
This patch adds documentation for the APM X-Gene SoC SATA host controller DTS binding. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0

[PATCH v13 0/3] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-03-05 Thread Loc Ho
ID completely * Make resource requirement based on compatible type * Rename override PHY parameters with more descriptive name * Add override PHY parameter for per controller, per port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Signed-off-b

Re: [PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-03-05 Thread Loc Ho
Hi, >> >> This patch adds function set_speed to the generic PHY framework >> >> operation >> >> structure. This function can be called to instruct the PHY >> >> underlying layer >> >> at specified lane to configure for specified speed in hertz. >> > >> > why ?

Re: [PATCH v14 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-05 Thread Loc Ho
Hi, >> +#define pdata_to_ctx(x) container_of(x, struct xgene_ahci_context, >> plat_data) >> + >> +struct xgene_ahci_context { >> + struct ahci_platform_data plat_data; > > plat_data is used only to get to struct xgene_ahci_context instance > so it can be removed (especially since we want to r

Re: [PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-03-02 Thread Loc Ho
Hi Felipe and Kishon, >>> >> >> This patch adds function set_speed to the generic PHY framework >>> >> >> operation >>> >> >> structure. This function can be called to instruct the PHY underlying >>> >> >> layer >>> >> >> at specified lane to configure for specified speed in hertz. >>> >> > >>>

Re: [PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-27 Thread Loc Ho
HI, >> >> >> This patch adds function set_speed to the generic PHY framework >> >> >> operation >> >> >> structure. This function can be called to instruct the PHY underlying >> >> >> layer >> >> >> at specified lane to configure for specified speed in hertz. >> >> > >> >> > why ? looks like clk

Re: [PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-27 Thread Loc Ho
Hi, >> >> This patch adds function set_speed to the generic PHY framework operation >> >> structure. This function can be called to instruct the PHY underlying >> >> layer >> >> at specified lane to configure for specified speed in hertz. >> > >> > why ? looks like clk_set_rate() is your friend h

Re: [PATCH v12 3/4] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-02-27 Thread Loc Ho
Hi Balbi, >> +/* >> + * This function is used to configure the PHY to operation as either SATA >> Gen1 >> + * or Gen2 speed. >> + */ >> +static void xgene_phy_sata_force_gen(struct xgene_phy_ctx *ctx, >> + int lane, int gen) > > why do you need to *force* the gene

Re: [PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-27 Thread Loc Ho
Hi Balbi, > On Thu, Feb 27, 2014 at 11:14:05AM -0700, Loc Ho wrote: >> This patch adds function set_speed to the generic PHY framework operation >> structure. This function can be called to instruct the PHY underlying layer >> at specified lane to configure for specified sp

[PATCH v12 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-02-27 Thread Loc Ho
This patch adds APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0

[PATCH v12 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-02-27 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v12 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-27 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 30

[PATCH v12 0/4] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-02-27 Thread Loc Ho
th more descriptive name * Add override PHY parameter for per controller, per port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): PHY: Add function set_

[PATCH v11 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-02-25 Thread Loc Ho
This patch adds APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0

[PATCH v11 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-25 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 30

[PATCH v11 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-02-25 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v11 0/4] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-02-25 Thread Loc Ho
v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): PHY: Add function set_speed to generic PHY framework Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation PHY: add APM X-Gene SoC 1

Re: [PATCH v13 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-24 Thread Loc Ho
Hi Kishon/Tejun, >> > Signed-off-by: Loc Ho mailto:l...@apm.com>> >> > Signed-off-by: Tuan Phan mailto:tp...@apm.com>> >> > Signed-off-by: Suman Tripathi > <mailto:stripa...@apm.com>> >> >> This doesn't

[PATCH v14 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-02-24 Thread Loc Ho
p function xgene_ahci_probe * Remove all reference of CONFIG_ARCH_MSLIM * Clean up chip revision code v2: * Clean up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho

[PATCH v14 1/3] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-02-24 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v14 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-24 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v14 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-24 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1

[PATCH v13 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-02-23 Thread Loc Ho
an up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (3): Documentation: Add documentation for APM X-Gene SoC

[PATCH v13 1/3] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-02-23 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v13 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-23 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v13 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-23 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1

[PATCH v12 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-21 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v12 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-21 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1

[PATCH v12 1/3] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-02-21 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v10 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-02-21 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH v12 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-02-21 Thread Loc Ho
an up chip revision code v2: * Clean up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (3): Document

[PATCH v10 0/4] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-02-21 Thread Loc Ho
ameter for per controller, per port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): PHY: Add function set_speed to generic PHY framework Documentat

[PATCH v10 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-02-21 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/apm-xgene-phy.txt diff

[PATCH v10 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-21 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 21

[PATCH v11 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-02-16 Thread Loc Ho
xgene_ahci_probe * Remove all reference of CONFIG_ARCH_MSLIM * Clean up chip revision code v2: * Clean up file sata_xgene.c with Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan

[PATCH v11 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-16 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1

[PATCH v11 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v11 1/3] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-02-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v9 0/4] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-02-16 Thread Loc Ho
static * Remove ID completely * Make resource requirement based on compatible type * Rename override PHY parameters with more descriptive name * Add override PHY parameter for per controller, per port, and per speed * Patch the generic PHY frame to expose set_speed operation v1 * Initial version Sig

[PATCH v9 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-16 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 21

[PATCH v9 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-02-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/apm-xgene-phy.txt diff

[PATCH v9 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-02-16 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

Re: [PATCH v10 0/4] ata: Add APM X-Gene SoC SATA host controller support

2014-02-14 Thread Loc Ho
Hi Tejun, > > On Thu, Feb 13, 2014 at 03:28:01PM -0800, Loc Ho wrote: >> 1. There are a number of errata that require workaround. Some can be >> fixed by adding broken flags while others are better to just wrap >> around the existent libahci library routines and not

Re: [PATCH v10 0/4] ata: Add APM X-Gene SoC SATA host controller support

2014-02-13 Thread Loc Ho
ledge of the SATA code which I don't want. Also, the DTS processing/scanning in ARCH64 is NULL for platform data and would have make X-Gene to have its own version which I also don't want. -Loc > On Thu, Jan 16, 2014 at 8:11 AM, Loc Ho wrote: >> This patch adds support for the

Re: [PATCH v10 0/4] ata: Add APM X-Gene SoC SATA host controller support

2014-01-30 Thread Loc Ho
Hi Tejun, As it had being awhile, any issue with this version of the SATA drivers before I post the follow on errata patches? -Loc On Thu, Jan 16, 2014 at 8:11 AM, Loc Ho wrote: > This patch adds support for the APM X-Gene SoC SATA host controller. In > order for the host controller t

[PATCH v8 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-01-16 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[no subject]

2014-01-16 Thread Loc Ho
Lindent and etc * Clean up file sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): ata: Export required functions by APM X-Gene SATA driver Documentation: Add

[PATCH v10 4/4] arm64: Add APM X-Gene SoC SATA host controller DTS entries

2014-01-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v10 1/4] ata: Export required functions by APM X-Gene SATA driver

2014-01-16 Thread Loc Ho
This patch exports functions required by APM X-Gene SoC SATA host controller driver to avoid duplication of code. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h|9 + drivers/ata/libahci.c | 16 ++-- 2 files

[PATCH v8 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-01-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/apm-xgene-phy.txt diff

[PATCH v8 1/4] PHY: Add function set_speed to generic PHY framework

2014-01-16 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 21

[PATCH v10 3/4] ata: Add APM X-Gene SoC SATA host controller driver

2014-01-16 Thread Loc Ho
This patch adds support for the APM X-Gene SoC SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1 + drivers

[PATCH v10 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-16 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[no subject]

2014-01-16 Thread Loc Ho
to expose set_speed operation v1 * Initial version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): PHY: Add function set_speed to generic PHY framework Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, >>> >> >> +- clocks : Reference to the clock entry. >>> >> >> +- phys : PHY reference with parameter 0. >>> >> > >>> >> > The specific value of the phy-specifier shouldn't matter to this >>> >> > binding. What should matter is what it logically corresponds to.

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, >> >> >> +- clocks : Reference to the clock entry. >> >> >> +- phys : PHY reference with parameter 0. >> >> > >> >> > The specific value of the phy-specifier shouldn't matter to this >> >> > binding. What should matter is what it logically corresponds to. >> >

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, >> >> >> +- clocks : Reference to the clock entry. >> >> +- phys : PHY reference with parameter 0. >> > >> > The specific value of the phy-specifier shouldn't matter to this >> > binding. What should matter is what it logically corresponds to. >> >> I not quit

Re: [PATCH v7 3/4] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-01-15 Thread Loc Ho
Hi, > [...] > >> + * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. >> + * The first PLL clock macro is used for internal reference clock. The >> second >> + * PLL clock macro is used to generate the clock for the PHY. This driver >> + * configures the first PLL CMU, the se

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, >> +- clocks : Reference to the clock entry. >> +- phys : PHY reference with parameter 0. > > The specific value of the phy-specifier shouldn't matter to this > binding. What should matter is what it logically corresponds to. I not quite following this. Are y

[PATCH v9 4/4] arm64: Add APM X-Gene SoC SATA host controller DTS entries

2014-01-14 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm

[PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-14 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 68 1 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v9 1/4] ata: Export required functions by APM X-Gene SATA driver

2014-01-14 Thread Loc Ho
This patch exports functions required by APM X-Gene SoC SATA host controller driver to avoid duplication of code. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h|9 + drivers/ata/libahci.c | 16 ++-- 2 files

[PATCH v9 3/4] ata: Add APM X-Gene SoC SATA host controller driver

2014-01-14 Thread Loc Ho
This patch adds support for the APM X-Gene SoC SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1 + drivers

[PATCH v9 0/4] ata: Add APM X-Gene SoC SATA host controller support

2014-01-14 Thread Loc Ho
sata_xgene_serdes.c with Lindent and etc * Add description to each patch v1: * inital version Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- Loc Ho (4): ata: Export required functions by APM X-Gene SATA driver Documentation: Add documentation for APM X-Gene SoC SATA

[PATCH v7 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-01-14 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 76

  1   2   3   >