[PATCH] libata, dt: Add clocks to sata_rcar bindings

2014-01-16 Thread Valentine Barshak
Now that the clocks are available in the R-Car Gen2 DT, add clocks property description to the sata_rcar bindings. The clocks have been tested on r8a7791 so we use that as an example of the R-Car SATA node. The patch is against for-next branch of the libata git repo. Signed-off-by: Valentine

Re: [PATCH V3 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-12-02 Thread Valentine
On 12/02/2013 04:02 AM, Simon Horman wrote: On Fri, Nov 29, 2013 at 03:42:31PM -0500, Tejun Heo wrote: On Sat, Nov 30, 2013 at 12:35:52AM +0400, Valentine wrote: On 11/30/2013 12:14 AM, Tejun Heo wrote: Hello, On Wed, Nov 27, 2013 at 02:06:05AM +0400, Valentine wrote: On 11/08/2013 04:09 PM

Re: [PATCH V3 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-11-29 Thread Valentine
On 11/30/2013 12:14 AM, Tejun Heo wrote: Hello, On Wed, Nov 27, 2013 at 02:06:05AM +0400, Valentine wrote: On 11/08/2013 04:09 PM, Valentine Barshak wrote: Tejun, are you OK with taking this? Yeah, the stat part looks okay to me. How the two should be routed? Both through libata or should

Re: [PATCH V3 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-11-26 Thread Valentine
On 11/08/2013 04:09 PM, Valentine Barshak wrote: Tejun, are you OK with taking this? R-Car Gen2 SoCs have a different PHY which is not compatible with the older R-Car H1 (R8A7779) version. This adds OF/platform device id tables and PHY initialization callbacks for the following Gen2 SoCs

Re: [PATCH V3 2/2] dt: Document sata_rcar bindings

2013-11-08 Thread Valentine
On 11/08/2013 06:30 PM, Laurent Pinchart wrote: Hi Kumar, On Friday 08 November 2013 08:26:47 Kumar Gala wrote: On Nov 8, 2013, at 6:09 AM, Valentine Barshak wrote: These bindings can be used to register SATA devices found on R-Car SoC. Signed-off-by: Valentine Barshak --- Documentation

[PATCH V3 0/2] sata_rcar: Add Gen2 PHY support and document existing DT bindings

2013-11-08 Thread Valentine Barshak
RQ_TYPE_LEVEL_HIGH" instead of "0x4" in DT bindings documentation Valentine Barshak (2): sata_rcar: Add R-Car Gen2 SATA PHY support dt: Document sata_rcar bindings .../devicetree/bindings/ata/sata_rcar.txt | 18 drivers/ata/sata_rcar.c

[PATCH V3 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-11-08 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. While at it, this also adds "sata-r8a7779" compatibility string for R8A7779 SATA, while keeping the old one for compatibility. Signed-off-by: Valentine Barshak --- drivers/ata/s

[PATCH V3 2/2] dt: Document sata_rcar bindings

2013-11-08 Thread Valentine Barshak
These bindings can be used to register SATA devices found on R-Car SoC. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/sata_rcar.txt

Re: [PATCH V2 2/2] dt: Document sata_rcar bindings

2013-11-08 Thread Valentine
On 11/08/2013 03:26 PM, Valentine wrote: On 11/08/2013 05:02 AM, Laurent Pinchart wrote: Hi Valentine, Hi Laurent, Thank you for the patch. Two small comments below. On Friday 08 November 2013 00:04:02 Valentine Barshak wrote: These bindings can be used to register SATA devices found on

Re: [PATCH V2 2/2] dt: Document sata_rcar bindings

2013-11-08 Thread Valentine
On 11/08/2013 05:02 AM, Laurent Pinchart wrote: Hi Valentine, Hi Laurent, Thank you for the patch. Two small comments below. On Friday 08 November 2013 00:04:02 Valentine Barshak wrote: These bindings can be used to register SATA devices found on R-Car SoC. Signed-off-by: Valentine

Re: [PATCH V2 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-11-07 Thread Valentine
On 11/08/2013 12:04 AM, Valentine Barshak wrote: R-Car Gen2 SoCs have a different PHY which is not compatible with the older R-Car H1 (R8A7779) version. This adds OF/platform device id tables and PHY initialization callbacks for the following Gen2 SoCs: * R-Car H2: R8A7790; * R-Car M2

[PATCH V2 2/2] dt: Document sata_rcar bindings

2013-11-07 Thread Valentine Barshak
These bindings can be used to register SATA devices found on R-Car SoC. Signed-off-by: Valentine Barshak Acked-by: Kumar Gala --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH V2 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-11-07 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. While at it, this also adds "sata-r8a7779" compatibility string for R8A7779 SATA, while keeping the old one for compatibility. Signed-off-by: Valentine Barshak --- drivers/ata/s

[PATCH V2 0/2] sata_rcar: Add Gen2 PHY support and document existing DT bindings

2013-11-07 Thread Valentine Barshak
This adds SATA R-Car Gen2 PHY support and documents existing DT bindings. Changes from the previous version: * Minor whitespace clean-up to make both array terminators "{ },". Valentine Barshak (2): sata_rcar: Add R-Car Gen2 SATA PHY support dt: Document sata_rcar bindings .../

[PATCH 1/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-31 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. While at it, this also adds "sata-r8a7779" compatibility string for R8A7779 SATA, while keeping the old one for compatibility. Signed-off-by: Valentine Barshak --- drivers/ata/s

[PATCH 2/2] dt: Document sata_rcar bindings

2013-10-31 Thread Valentine Barshak
These bindings can be used to register SATA devices found on R-Car SoC. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/sata_rcar.txt

[PATCH 0/2] sata_rcar: Add Gen2 PHY support and document existing DT bindings

2013-10-31 Thread Valentine Barshak
This adds SATA R-Car Gen2 PHY support and documents existing DT bindings. Valentine Barshak (2): sata_rcar: Add R-Car Gen2 SATA PHY support dt: Document sata_rcar bindings .../devicetree/bindings/ata/sata_rcar.txt | 18 drivers/ata/sata_rcar.c| 118

Re: [PATCH V4] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-31 Thread Valentine
On 10/31/2013 10:01 AM, Simon Horman wrote: On Wed, Oct 30, 2013 at 09:14:21PM +0400, Valentine Barshak wrote: R-Car Gen2 SoCs have a different PHY which is not compatible with the older R-Car H1 (R8A7779) version. This adds OF/platform device id tables and PHY initialization callbacks for the

[PATCH V4] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-30 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. While at it, this also adds "sata-r8a7779" compatibility string for R-Car H1 SATA, while keeping the old one for compatibility. Signed-off-by: Valentine Barshak --- drivers/ata/s

Re: [PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-30 Thread Valentine
PM, Simon Horman wrote: On Wed, Oct 16, 2013 at 04:06:01PM +0400, Valentine Barshak wrote: R-Car Gen2 SoCs have a different PHY which is not compatible with the older R-Car H1 (R8A7779) version. This adds OF/platform device id tables and PHY initialization callbacks for the following Gen2 SoCs

[PATCH 1/2] sata_rcar: Adjust and document device tree bindings

2013-10-16 Thread Valentine Barshak
This deprecates the "rcar-sata" compatibility string and adds the "sata-r8a7779" which complies to the preferred - format for SH-Mobile devices. The DT bindings are documented. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 15

[PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-16 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. The R8A7779 platform code is modified to use "sata-r8a7779" device name. Signed-off-by: Valentine Barshak --- .../devicetree/bindings/ata/sata_rcar.txt | 5 +- arc

[PATCH 0/2] sata_rcar: Adjust DT bindings and add R-Car Gen2 PHY support (take 3)

2013-10-16 Thread Valentine Barshak
y format. R-Car Gen2 SATA PHY support is added. PHY initialization method is chosen, based on the device id. Changes from version 1: * Kept old DT bindings for compatibility * Amended DT bindings documentation Changes from version 2: * Dropped r8a7779.dtsi changes Valentine Barshak (2): sata_rcar: A

[PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA PHY support

2013-10-15 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. The R8A7779 platform code is modified to use "sata-r8a7779" device name. Signed-off-by: Valentine Barshak --- .../devicetree/bindings/ata/sata_rcar.txt | 5 +- arc

[PATCH 0/2] sata_rcar: Adjust DT bindings and add R-Car Gen2 PHY support (take 2)

2013-10-15 Thread Valentine Barshak
y format. R-Car Gen2 SATA PHY support is added. PHY initialization method is chosen, based on the device id. Changes from the previous version: * Kept old DT bindings for compatibility * Amended DT bindings documentation Valentine Barshak (2): sata_rcar: Adjust and document device tree bindings

[PATCH 1/2] sata_rcar: Adjust and document device tree bindings

2013-10-15 Thread Valentine Barshak
This deprecates the "rcar-sata" compatibility string and adds the "sata-r8a7779" which complies to the preferred - format for SH-Mobile devices. The DT bindings are documented. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 15 +

Re: [PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA support

2013-10-14 Thread Valentine
On 10/14/2013 10:15 PM, Laurent Pinchart wrote: Hi Valentine, Hi Laurent, On Monday 14 October 2013 21:58:50 Valentine wrote: On 10/14/2013 08:26 PM, Mark Rutland wrote: On Mon, Oct 14, 2013 at 04:42:34PM +0100, Valentine Barshak wrote: R-Car Gen2 SoCs have a different PHY which is not

Re: [PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA support

2013-10-14 Thread Valentine
On 10/14/2013 08:26 PM, Mark Rutland wrote: On Mon, Oct 14, 2013 at 04:42:34PM +0100, Valentine Barshak wrote: R-Car Gen2 SoCs have a different PHY which is not compatible with the older R-Car H1 (R8A7779) version. This adds OF/platform device id tables and PHY initialization callbacks for the

Re: [PATCH 1/2] sata_rcar: Adjust and document device tree bindings

2013-10-14 Thread Valentine
Hi Mark, thanks for looking at this. On 10/14/2013 08:13 PM, Mark Rutland wrote: On Mon, Oct 14, 2013 at 04:42:33PM +0100, Valentine Barshak wrote: This converts the R-Car SATA DT compatibility string to the - format which is the preferred one for all SH-Mobile devices. The DT bindings are

[PATCH 1/2] sata_rcar: Adjust and document device tree bindings

2013-10-14 Thread Valentine Barshak
This converts the R-Car SATA DT compatibility string to the - format which is the preferred one for all SH-Mobile devices. The DT bindings are documented. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 16 arch/arm/boot/dts/r8a7779

[PATCH 0/2] sata_rcar: Adjust DT bindings and add R-Car Gen2 PHY support

2013-10-14 Thread Valentine Barshak
y format. R-Car Gen2 SATA PHY support is added. PHY initialization method is chosen, based on the device id. Valentine Barshak (2): sata_rcar: Adjust and document device tree bindings sata_rcar: Add R-Car Gen2 SATA support .../devicetree/bindings/ata/sata_rcar.txt | 19

[PATCH 2/2] sata_rcar: Add R-Car Gen2 SATA support

2013-10-14 Thread Valentine Barshak
the device id. Default PHY settings are applied for Gen2 SoCs, which should suit the Gen2 boards available. The R8A7779 platform code is modified to use "sata-r8a7779" device id. Signed-off-by: Valentine Barshak --- .../devicetree/bindings/ata/sata_rcar.txt | 5 +- arc

Re: [PATCH] ata: sata_rcar: Add RCAR Gen2 SATA PHY support

2013-10-11 Thread Valentine
On 10/11/2013 06:47 PM, Mark Rutland wrote: On Fri, Oct 11, 2013 at 11:54:52AM +0100, Valentine wrote: On 10/11/2013 01:41 PM, Mark Rutland wrote: On Fri, Oct 11, 2013 at 02:00:35AM +0100, Simon Horman wrote: [ CCed devicetree@vger.kernel.org as this involves DT compatibility strings

Re: [PATCH] ata: sata_rcar: Add RCAR Gen2 SATA PHY support

2013-10-11 Thread Valentine
On 10/11/2013 01:41 PM, Mark Rutland wrote: On Fri, Oct 11, 2013 at 02:00:35AM +0100, Simon Horman wrote: [ CCed devicetree@vger.kernel.org as this involves DT compatibility strings ] Cheers! Hi Mark, On Thu, Oct 10, 2013 at 11:08:03PM +0400, Valentine Barshak wrote: RCAR Gen2 SoC has

Re: [PATCH] ata: sata_rcar: Add RCAR Gen2 SATA PHY support

2013-10-11 Thread Valentine
On 10/11/2013 05:00 AM, Simon Horman wrote: [ CCed devicetree@vger.kernel.org as this involves DT compatibility strings ] On Thu, Oct 10, 2013 at 11:08:03PM +0400, Valentine Barshak wrote: RCAR Gen2 SoC has a different phy which is not compatible with the older H1/M1 versions. This adds OF