From: "Antoine Ténart" <antoine.tenart@free-electrons.com> To: sebastian.hesselbarth@gmail.com, tj@kernel.org, kishon@ti.com Cc: "Antoine Ténart" <antoine.tenart@free-electrons.com>, alexandre.belloni@free-electrons.com, thomas.petazzoni@free-electrons.com, zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 0/7] ARM: berlin: add AHCI support Date: Mon, 23 Jun 2014 15:39:36 +0200 [thread overview] Message-ID: <1403530783-17180-1-git-send-email-antoine.tenart@free-electrons.com> (raw) This series adds the support for Berlin SoC AHCI controller. The controller allows to use the SATA host interface and, for example, the eSATA port on the BG2Q. The series adds a PHY driver to control the two SATA ports available, and adds a generic compatible to use the existing ahci_platform driver. Also enable the eSATA interface on the BG2Q DMP. Changes since v6: - added the 'clocks' property and support in the PHY driver - updated the PHY compatible Changes since v5: - rebased on top of v3.16-rc1 - added the 'clocks' property in the sata node Changes since v4: - updated PHY driver as tristate - handled the case were no SATA port is enabled - updated the compatible to a generic one - cosmetic fixups Changes since v3: - moved all PHY operations to the PHY driver - removed PHY sub-nodes - removed the custom Berlin AHCI driver and switched to ahci_platform - added multiple PHYs support to the libahci_platform Changes since v2: - modeled each PHY as a sub-node - cosmetic fixups Changes since v1: - added a PHY driver, allowing to enable each port individually and removed the 'force-port-map' property - made the drivers a bit less magic :) - wrote a function to select and configure registers in the AHCI driver - removed BG2 / BG2CD nodes Antoine Ténart (7): phy: add a driver for the Berlin SATA PHY Documentation: bindings: add the Berlin SATA PHY ata: libahci: allow to use multiple PHYs ata: ahci_platform: add a generic AHCI compatible Documentation: bindings: document the sub-nodes AHCI bindings ARM: berlin: add the AHCI node for the BG2Q ARM: berlin: enable the eSATA interface on the BG2Q DMP .../devicetree/bindings/ata/ahci-platform.txt | 37 ++++ .../devicetree/bindings/phy/berlin-sata-phy.txt | 16 ++ arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 + arch/arm/boot/dts/berlin2q.dtsi | 29 +++ drivers/ata/ahci.h | 3 +- drivers/ata/ahci_platform.c | 2 + drivers/ata/libahci.c | 7 + drivers/ata/libahci_platform.c | 170 +++++++++++--- drivers/phy/Kconfig | 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c | 246 +++++++++++++++++++++ 11 files changed, 490 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/berlin-sata-phy.txt create mode 100644 drivers/phy/phy-berlin-sata.c -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: antoine.tenart@free-electrons.com (Antoine Ténart) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v7 0/7] ARM: berlin: add AHCI support Date: Mon, 23 Jun 2014 15:39:36 +0200 [thread overview] Message-ID: <1403530783-17180-1-git-send-email-antoine.tenart@free-electrons.com> (raw) This series adds the support for Berlin SoC AHCI controller. The controller allows to use the SATA host interface and, for example, the eSATA port on the BG2Q. The series adds a PHY driver to control the two SATA ports available, and adds a generic compatible to use the existing ahci_platform driver. Also enable the eSATA interface on the BG2Q DMP. Changes since v6: - added the 'clocks' property and support in the PHY driver - updated the PHY compatible Changes since v5: - rebased on top of v3.16-rc1 - added the 'clocks' property in the sata node Changes since v4: - updated PHY driver as tristate - handled the case were no SATA port is enabled - updated the compatible to a generic one - cosmetic fixups Changes since v3: - moved all PHY operations to the PHY driver - removed PHY sub-nodes - removed the custom Berlin AHCI driver and switched to ahci_platform - added multiple PHYs support to the libahci_platform Changes since v2: - modeled each PHY as a sub-node - cosmetic fixups Changes since v1: - added a PHY driver, allowing to enable each port individually and removed the 'force-port-map' property - made the drivers a bit less magic :) - wrote a function to select and configure registers in the AHCI driver - removed BG2 / BG2CD nodes Antoine T?nart (7): phy: add a driver for the Berlin SATA PHY Documentation: bindings: add the Berlin SATA PHY ata: libahci: allow to use multiple PHYs ata: ahci_platform: add a generic AHCI compatible Documentation: bindings: document the sub-nodes AHCI bindings ARM: berlin: add the AHCI node for the BG2Q ARM: berlin: enable the eSATA interface on the BG2Q DMP .../devicetree/bindings/ata/ahci-platform.txt | 37 ++++ .../devicetree/bindings/phy/berlin-sata-phy.txt | 16 ++ arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 + arch/arm/boot/dts/berlin2q.dtsi | 29 +++ drivers/ata/ahci.h | 3 +- drivers/ata/ahci_platform.c | 2 + drivers/ata/libahci.c | 7 + drivers/ata/libahci_platform.c | 170 +++++++++++--- drivers/phy/Kconfig | 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c | 246 +++++++++++++++++++++ 11 files changed, 490 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/berlin-sata-phy.txt create mode 100644 drivers/phy/phy-berlin-sata.c -- 1.9.1
next reply other threads:[~2014-06-23 13:40 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-23 13:39 Antoine Ténart [this message] 2014-06-23 13:39 ` [PATCH v7 0/7] ARM: berlin: add AHCI support Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 1/7] phy: add a driver for the Berlin SATA PHY Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-25 19:03 ` Sergei Shtylyov 2014-06-25 19:03 ` Sergei Shtylyov 2014-06-30 9:59 ` Antoine Ténart 2014-06-30 9:59 ` Antoine Ténart 2014-06-30 14:40 ` Sebastian Hesselbarth 2014-06-30 14:40 ` Sebastian Hesselbarth 2014-06-30 15:44 ` Antoine Ténart 2014-06-30 15:44 ` Antoine Ténart 2014-06-30 16:55 ` Sergei Shtylyov 2014-06-30 16:55 ` Sergei Shtylyov [not found] ` <1403530783-17180-1-git-send-email-antoine.tenart-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2014-06-23 13:39 ` [PATCH v7 2/7] Documentation: bindings: add " Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 3/7] ata: libahci: allow to use multiple PHYs Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 4/7] ata: ahci_platform: add a generic AHCI compatible Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 5/7] Documentation: bindings: document the sub-nodes AHCI bindings Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 6/7] ARM: berlin: add the AHCI node for the BG2Q Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart 2014-06-23 13:39 ` [PATCH v7 7/7] ARM: berlin: enable the eSATA interface on the BG2Q DMP Antoine Ténart 2014-06-23 13:39 ` Antoine Ténart
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1403530783-17180-1-git-send-email-antoine.tenart@free-electrons.com \ --to=antoine.tenart@free-electrons.com \ --cc=alexandre.belloni@free-electrons.com \ --cc=devicetree@vger.kernel.org \ --cc=jszhang@marvell.com \ --cc=kishon@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-ide@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=sebastian.hesselbarth@gmail.com \ --cc=thomas.petazzoni@free-electrons.com \ --cc=tj@kernel.org \ --cc=zmxu@marvell.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.