AHCI and SATA PHY support for BCM63138
cover AHCI and SATA PHY support for BCM63138
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Florian Fainelli (9):
dt-bindings: phy: Document BCM63138 compatible string
phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs
phy: brcm-sata: Add BCM63138 (DSL) PHY init sequence
dt-bindings: ata: Document BCM63138 compatible string
ata: ahci_brcm: Allow optional reset controller to be used
ata: ahci_brcm: Match BCM63138 compatible strings
ata: ahci_brcm: Allow using driver or DSL SoCs
ARM: dts: BCM63xx: enable SATA PHY and AHCI controller
ARM: bcm63138: Enable SATA AHCI and PHY
.../bindings/ata/brcm,sata-brcm.txt | 1 + .../devicetree/bindings/phy/brcm-sata-phy.txt | 1 + arch/arm/boot/dts/bcm63138.dtsi | 30 ++++++++ arch/arm/boot/dts/bcm963138dvt.dts | 8 +++ drivers/ata/Kconfig | 3 +- drivers/ata/ahci_brcm.c | 10 +++ drivers/phy/broadcom/Kconfig | 3 +- drivers/phy/broadcom/phy-brcm-sata.c | 70 +++++++++++++++++++ 8 files changed, 124 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/9 dt-bindings: phy: Document BCM63138 compatible string
Document the compatible string "brcm,bcm63138-sata-phy" as a valid compatible string describing the standard Broadcom SATA PHY block.
--- Documentation/devicetree/bindings/phy/brcm-sata-phy.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/brcm-sata-phy.txt +1 -0
@@ -8,6 +8,7 @@ Required properties: "brcm,iproc-nsp-sata-phy" "brcm,phy-sata3" "brcm,iproc-sr-sata-phy" + "brcm,bcm63138-sata-phy" - address-cells: should be 1 - size-cells: should be 0 - reg: register ranges for the PHY PCB interface
Signature · 1 line
2.17.1
PATCH 2/9 phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs
In reply to Florian FainelliBroadcom ARM-based DSL SoCs (BCM63xx product line) have the same Broadcom SATA PHY that other SoCs are using, make it possible to select that driver on these platforms.
--- drivers/phy/broadcom/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/phy/broadcom/Kconfig +2 -1
@@ -60,7 +60,8 @@ config PHY_NS2_USB_DRD config PHY_BRCM_SATA tristate "Broadcom SATA PHY driver" - depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || COMPILE_TEST + depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \ + ARCH_BCM_63XX || COMPILE_TEST depends on OF select GENERIC_PHY default ARCH_BCM_IPROC
Signature · 1 line
2.17.1
PATCH 2/9 phy: broadcom: allow PHY_BRCM_SATA driver to be built for DSL SoCs
In reply to Florian FainelliBroadcom ARM-based DSL SoCs (BCM63xx product line) have the same Broadcom SATA PHY that other SoCs are using, make it possible to select that driver on these platforms.
--- drivers/phy/broadcom/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/phy/broadcom/Kconfig +2 -1
@@ -60,7 +60,8 @@ config PHY_NS2_USB_DRD config PHY_BRCM_SATA tristate "Broadcom SATA PHY driver" - depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || COMPILE_TEST + depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \ + ARCH_BCM_63XX || COMPILE_TEST depends on OF select GENERIC_PHY default ARCH_BCM_IPROC
Signature · 1 line
2.17.1
PATCH 3/9 phy: brcm-sata: Add BCM63138 (DSL) PHY init sequence
In reply to Florian FainelliThe BCM63138 SATA PHY requires a special initialization sequence in order to operate correctly, mostly tuning incorrect default values. Implement that sequence and match the documented compatible string as an entry point into that sequence.
--- drivers/phy/broadcom/phy-brcm-sata.c | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+)
drivers/phy/broadcom/phy-brcm-sata.c +70 -0
@@ -47,6 +47,7 @@ enum brcm_sata_phy_version {BRCM_SATA_PHY_IPROC_NS2 ,BRCM_SATA_PHY_IPROC_NSP ,BRCM_SATA_PHY_IPROC_SR , + BRCM_SATA_PHY_DSL_28NM, }; enum brcm_sata_phy_rxaeq_mode {
@@ -96,7 +97,10 @@ enum sata_phy_regs {PLLCONTROL_0_FREQ_DET_RESTART =BIT (13 ),PLLCONTROL_0_FREQ_MONITOR =BIT (12 ),PLLCONTROL_0_SEQ_START =BIT (15 ), +PLL_CAP_CHARGE_TIME =0x83 , +PLL_VCO_CAL_THRESH =0x84 ,PLL_CAP_CONTROL =0x85 , +PLL_FREQ_DET_TIME =0x86 ,PLL_ACTRL2 =0x8b ,PLL_ACTRL2_SELDIV_MASK =0x1f , PLL_ACTRL2_SELDIV_SHIFT = 9,
@@ -106,6 +110,9 @@ enum sata_phy_regs {PLL1_ACTRL2 =0x82 ,PLL1_ACTRL3 =0x83 ,PLL1_ACTRL4 =0x84 , +PLL1_ACTRL5 =0x85 , +PLL1_ACTRL6 =0x86 , +PLL1_ACTRL7 =0x87 ,TX_REG_BANK =0x070 , TX_ACTRL0 = 0x80,
@@ -119,6 +126,8 @@ enum sata_phy_regs {AEQ_FRC_EQ_FORCE =BIT (0 ),AEQ_FRC_EQ_FORCE_VAL =BIT (1 ),AEQRX_REG_BANK_1 =0xe0 , +AEQRX_SLCAL0_CTRL0 =0x82 , +AEQRX_SLCAL1_CTRL0 =0x86 ,OOB_REG_BANK =0x150 , OOB1_REG_BANK = 0x160,
@@ -168,6 +177,7 @@ static inline void __iomem *brcm_sata_pcb_base(struct brcm_sata_port *port)switch (priv->version) {case BRCM_SATA_PHY_STB_28NM :case BRCM_SATA_PHY_IPROC_NS2 : +case BRCM_SATA_PHY_DSL_28NM : size =SATA_PCB_REG_28NM_SPACE_SIZE ;break ;case BRCM_SATA_PHY_STB_40NM :
@@ -482,6 +492,61 @@ static int brcm_sr_sata_init(struct brcm_sata_port *port)return 0 ; } +static int brcm_dsl_sata_init (struct brcm_sata_port *port) +{ +void __iomem *base =brcm_sata_pcb_base (port); +struct device *dev = port->phy_priv->dev; +unsigned int try; +u32 tmp; + +brcm_sata_phy_wr (base,PLL1_REG_BANK ,PLL1_ACTRL7 ,0 ,0x873 ); + +brcm_sata_phy_wr (base,PLL1_REG_BANK ,PLL1_ACTRL6 ,0 ,0xc000 ); + +brcm_sata_phy_wr (base,PLL_REG_BANK_0 ,PLL_REG_BANK_0_PLLCONTROL_0 , +0 ,0x3089 ); +usleep_range (1000 ,2000 ); + +brcm_sata_phy_wr (base,PLL_REG_BANK_0 ,PLL_REG_BANK_0_PLLCONTROL_0 , +0 ,0x3088 ); +usleep_range (1000 ,2000 ); + +brcm_sata_phy_wr (base,AEQRX_REG_BANK_1 ,AEQRX_SLCAL0_CTRL0 , +0 ,0x3000 ); + +brcm_sata_phy_wr (base,AEQRX_REG_BANK_1 ,AEQRX_SLCAL1_CTRL0 , +0 ,0x3000 ); +usleep_range (1000 ,2000 ); + +brcm_sata_phy_wr (base,PLL_REG_BANK_0 ,PLL_CAP_CHARGE_TIME ,0 ,0x32 ); + +brcm_sata_phy_wr (base,PLL_REG_BANK_0 ,PLL_VCO_CAL_THRESH ,0 ,0xa ); + +brcm_sata_phy_wr (base,PLL_REG_BANK_0 ,PLL_FREQ_DET_TIME ,0 ,0x64 ); +usleep_range (1000 ,2000 ); + +/* Acquire PLL lock */ + try =50 ; +while (try) { + tmp =brcm_sata_phy_rd (base,BLOCK0_REG_BANK , +BLOCK0_XGXSSTATUS ); +if (tmp &BLOCK0_XGXSSTATUS_PLL_LOCK ) +break ; +msleep (20 ); + try--; + }; + +if (!try) { +/* PLL did not lock; give up */ +dev_err (dev,"port%d PLL did not lock\n" , port->portnum); +return -ETIMEDOUT ; + } + +dev_dbg (dev,"port%d initialized\n" , port->portnum); + +return 0 ; +} +static int brcm_sata_phy_init (struct phy *phy) {int rc;
@@ -501,6 +566,9 @@ static int brcm_sata_phy_init(struct phy *phy)case BRCM_SATA_PHY_IPROC_SR : rc =brcm_sr_sata_init (port);break ; +case BRCM_SATA_PHY_DSL_28NM : + rc =brcm_dsl_sata_init (port); +break ;default : rc = -ENODEV ; }
@@ -552,6 +620,8 @@ static const struct of_device_id brcm_sata_phy_of_match[] = { .data = (void *)BRCM_SATA_PHY_IPROC_NSP }, { .compatible = "brcm,iproc-sr-sata-phy", .data = (void *)BRCM_SATA_PHY_IPROC_SR }, + { .compatible = "brcm,bcm63138-sata-phy", + .data = (void *)BRCM_SATA_PHY_DSL_28NM }, {}, };MODULE_DEVICE_TABLE (of, brcm_sata_phy_of_match);
Signature · 1 line
2.17.1
PATCH 4/9 dt-bindings: ata: Document BCM63138 compatible string
In reply to Florian FainelliDocument the compatible string "brcm,bcm63138-ahci" as a valid compatible string for the standard Broadcom AHCI controller.
--- Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt +1 -0
@@ -9,6 +9,7 @@ Required properties: "brcm,bcm7445-ahci" "brcm,bcm-nsp-ahci" "brcm,sata3-ahci" + "brcm,bcm63138-ahci" - reg : register mappings for AHCI and SATA_TOP_CTRL - reg-names : "ahci" and "top-ctrl" - interrupts : interrupt mapping for SATA IRQ
Signature · 1 line
2.17.1
PATCH 5/9 ata: ahci_brcm: Allow optional reset controller to be used
In reply to Florian FainelliOn BCM63138, we need to reset the AHCI core prior to start utilizing it, grab the reset controller device cookie and do that.
--- drivers/ata/ahci_brcm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/ata/ahci_brcm.c +9 -0
@@ -25,6 +25,7 @@#include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> +#include <linux/reset.h> #include <linux/string.h> #include "ahci.h"
@@ -94,6 +95,7 @@ struct brcm_ahci_priv {u32 port_mask;u32 quirks;enum brcm_ahci_version version; +struct reset_control *rcdev; };static inline u32 brcm_sata_readreg (void __iomem *addr)
@@ -411,6 +413,10 @@ static int brcm_ahci_probe(struct platform_device *pdev)if (IS_ERR (priv->top_ctrl))return PTR_ERR (priv->top_ctrl); + priv->rcdev =of_reset_control_get (pdev->dev.of_node,NULL ); +if (!IS_ERR (priv->rcdev)) +reset_control_deassert (priv->rcdev); +if ((priv->version ==BRCM_SATA_BCM7425 ) || (priv->version ==BRCM_SATA_NSP )) { priv->quirks |=BRCM_AHCI_QUIRK_NO_NCQ ;
@@ -464,6 +470,9 @@ static int brcm_ahci_remove(struct platform_device *pdev)brcm_sata_phys_disable (priv); +if (!IS_ERR (priv->rcdev)) +reset_control_assert (priv->rcdev); +return 0 ; }
Signature · 1 line
2.17.1
PATCH 5/9 ata: sata_brcmstb: Allow optional reset controller to be used
In reply to Florian FainelliOn BCM63138, we need to reset the AHCI core prior to start utilizing it, grab the reset controller device cookie and do that.
--- drivers/ata/ahci_brcm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/ata/ahci_brcm.c +9 -0
@@ -25,6 +25,7 @@#include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> +#include <linux/reset.h> #include <linux/string.h> #include "ahci.h"
@@ -94,6 +95,7 @@ struct brcm_ahci_priv {u32 port_mask;u32 quirks;enum brcm_ahci_version version; +struct reset_control *rcdev; };static inline u32 brcm_sata_readreg (void __iomem *addr)
@@ -411,6 +413,10 @@ static int brcm_ahci_probe(struct platform_device *pdev)if (IS_ERR (priv->top_ctrl))return PTR_ERR (priv->top_ctrl); + priv->rcdev =of_reset_control_get (pdev->dev.of_node,NULL ); +if (!IS_ERR (priv->rcdev)) +reset_control_deassert (priv->rcdev); +if ((priv->version ==BRCM_SATA_BCM7425 ) || (priv->version ==BRCM_SATA_NSP )) { priv->quirks |=BRCM_AHCI_QUIRK_NO_NCQ ;
@@ -464,6 +470,9 @@ static int brcm_ahci_remove(struct platform_device *pdev)brcm_sata_phys_disable (priv); +if (!IS_ERR (priv->rcdev)) +reset_control_assert (priv->rcdev); +return 0 ; }
Signature · 1 line
2.17.1
PATCH 6/9 ata: ahci_brcm: Match BCM63138 compatible strings
In reply to Florian FainelliMatch the "brcm,bcm63138-ahci" compatible string in order to allow this driver to probe on such platforms.
--- drivers/ata/ahci_brcm.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/ahci_brcm.c +1 -0
@@ -383,6 +383,7 @@ static struct scsi_host_template ahci_platform_sht = {static const struct of_device_id ahci_of_match[] = { {.compatible ="brcm,bcm7425-ahci" , .data = (void *)BRCM_SATA_BCM7425 }, {.compatible ="brcm,bcm7445-ahci" , .data = (void *)BRCM_SATA_BCM7445 }, + {.compatible ="brcm,bcm63138-ahci" , .data = (void *)BRCM_SATA_BCM7445 }, {.compatible ="brcm,bcm-nsp-ahci" , .data = (void *)BRCM_SATA_NSP }, {}, };
Signature · 1 line
2.17.1
PATCH 6/9 ata: ahci_brcmstb: Match 63138 compatible strings
In reply to Florian Fainelli--- drivers/ata/ahci_brcm.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/ahci_brcm.c +1 -0
@@ -383,6 +383,7 @@ static struct scsi_host_template ahci_platform_sht = {static const struct of_device_id ahci_of_match[] = { {.compatible ="brcm,bcm7425-ahci" , .data = (void *)BRCM_SATA_BCM7425 }, {.compatible ="brcm,bcm7445-ahci" , .data = (void *)BRCM_SATA_BCM7445 }, + {.compatible ="brcm,bcm63138-ahci" , .data = (void *)BRCM_SATA_BCM7445 }, {.compatible ="brcm,bcm-nsp-ahci" , .data = (void *)BRCM_SATA_NSP }, {}, };
Signature · 1 line
2.17.1
PATCH 7/9 ata: ahci_brcm: Allow using driver or DSL SoCs
In reply to Florian FainelliThe Broadcom STB AHCI controller is the same as the one found on DSL SoCs, so we will utilize the same driver on these systems as well.
--- drivers/ata/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/ata/Kconfig +2 -1
@@ -121,7 +121,8 @@ config SATA_AHCI_PLATFORM config AHCI_BRCM tristate "Broadcom AHCI SATA support" - depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP + depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP || \ + ARCH_BCM_63XX help This option enables support for the AHCI SATA3 controller found on Broadcom SoC's.
Signature · 1 line
2.17.1
PATCH 8/9 ARM: dts: BCM63xx: enable SATA PHY and AHCI controller
In reply to Florian FainelliAdd Device Tree entries for the Broadcom AHCI and SATA PHY controller found on BCM63138 SoCs
--- arch/arm/boot/dts/bcm63138.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
arch/arm/boot/dts/bcm63138.dtsi +30 -0
@@ -143,6 +143,36 @@ reg = <0x4800e0 0x10>; #reset-cells = <2>; }; + + ahci: sata@8000 { + compatible = "brcm,bcm63138-ahci", "brcm,sata3-ahci"; + reg-names = "ahci", "top-ctrl"; + reg = <0xa000 0x9ac>, <0x8040 0x24>; + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + resets = <&pmb0 3 1>; + status = "disabled"; + + sata0: sata-port@0 { + reg = <0>; + phys = <&sata_phy0>; + }; + }; + + sata_phy: sata-phy@8100 { + compatible = "brcm,bcm63138-sata-phy", "brcm,phy-sata3"; + reg = <0x8100 0x1e00>; + reg-names = "phy"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + sata_phy0: sata-phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + }; }; /* Legacy UBUS base */
Signature · 1 line
2.17.1
PATCH 9/9 ARM: bcm63138: Enable SATA AHCI and PHY
In reply to Florian FainelliThe Broadcom BCM963138DVT board has an eSATA port which is fully functional, turn on the AHCI controller and the companion SATA PHY.
--- arch/arm/boot/dts/bcm963138dvt.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/bcm963138dvt.dts +8 -0
@@ -41,3 +41,11 @@ brcm,nand-oob-sectors-size = <16>; }; }; + +&ahci { + status = "okay"; +}; + +&sata_phy { + status = "okay"; +};
Signature · 1 line
2.17.1
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
[PATCH 2/9] phy: broadcom: allow PHY_BRCM_SATA driver to be built for DSL SoCs
[PATCH 5/9] ata: sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata: ahci_brcmstb: Match 63138 compatible strings
since they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
Quoted 22 lines
Florian Fainelli (9):
dt-bindings: phy: Document BCM63138 compatible string
phy: brcm-sata: allowPHY_BRCM_SATAdriver to be built for DSL SoCs
phy: brcm-sata: Add BCM63138 (DSL) PHY init sequence
dt-bindings: ata: Document BCM63138 compatible string
ata:ahci_brcm: Allow optional reset controller to be used
ata:ahci_brcm: Match BCM63138 compatible strings
ata:ahci_brcm: Allow using driver or DSL SoCs
ARM: dts: BCM63xx: enable SATA PHY and AHCI controller
ARM: bcm63138: Enable SATA AHCI and PHY.../bindings/ata/brcm,sata-brcm.txt | 1 + .../devicetree/bindings/phy/brcm-sata-phy.txt | 1 + arch/arm/boot/dts/bcm63138.dtsi | 30 ++++++++ arch/arm/boot/dts/bcm963138dvt.dts | 8 +++ drivers/ata/Kconfig | 3 +- drivers/ata/ahci_brcm.c | 10 +++ drivers/phy/broadcom/Kconfig | 3 +- drivers/phy/broadcom/phy-brcm-sata.c | 70 +++++++++++++++++++ 8 files changed, 124 insertions(+), 2 deletions(-)
Signature · 1 line
Florian
Quoted 15 lines · Florian Fainelli
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
Quoted 7 lines
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be built for DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata:ahci_brcmstb: Match 63138 compatible stringssince they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
merged the first 3 patches to linux-phy tree.
Thanks
Kishon
Quoted 23 lines · Kishon Vijay Abraham I
Quoted 20 lines · Florian Fainelli
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be built for DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata:ahci_brcmstb: Match 63138 compatible strings
Quoted 4 lines
Quoted 2 lines
since they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
merged the first 3 patches to linux-phy tree.
Thanks a lot Kishon!
Quoted 4 lines
Thanks
Kishon
Signature · 1 line
Florian
Quoted 24 lines · Florian Fainelli
Quoted 23 lines · Kishon Vijay Abraham I
Quoted 20 lines · Florian Fainelli
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be built for DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata:ahci_brcmstb: Match 63138 compatible strings
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
since they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
merged the first 3 patches to linux-phy tree.
Thanks a lot Kishon!
Tejun, are you good with picking up patches 4-7 and I take the last two? Can you make sure you pick up the ones that contain "ahci_brcm" in their subject, I had incorrectly formatted them initially, sorry again about that.
Thank you!
Signature · 1 line
Florian
Quoted 26 lines · Florian Fainelli
Quoted 25 lines · Florian Fainelli
Quoted 24 lines · Kishon Vijay Abraham I
Quoted 22 lines · Florian Fainelli
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be built for DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata:ahci_brcmstb: Match 63138 compatible stringssince they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
merged the first 3 patches to linux-phy tree.
Thanks a lot Kishon!
Tejun, are you good with picking up patches 4-7 and I take the last two? Can you make sure you pick up the ones that contain "
ahci_brcm" in their subject, I had incorrectly formatted them initially, sorry again about that.
Jens is running the libata tree now. Jens?
Thanks.
Signature · 1 line
tejun
Quoted 29 lines · Tejun Heo
Quoted 28 lines · Florian Fainelli
Quoted 27 lines · Florian Fainelli
Quoted 25 lines · Kishon Vijay Abraham I
Quoted 15 lines · Florian Fainelli
Quoted 10 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found on the ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through Kishon's tree, patches 4-7 through Tejun's tree, and I would be merging the last two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
Quoted 7 lines
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be built for DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller to be used [PATCH 6/9] ata:ahci_brcmstb: Match 63138 compatible stringssince they have incorrect/inconsistent titles, the other patches are fine though. Sorry about that.
merged the first 3 patches to linux-phy tree.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Thanks a lot Kishon!
Tejun, are you good with picking up patches 4-7 and I take the last two? Can you make sure you pick up the ones that contain "
ahci_brcm" in their subject, I had incorrectly formatted them initially, sorry again about that.Jens is running the libata tree now. Jens?
I looked over them, but the series seems somewhat messed up. Can you resend 4-7?
Signature · 1 line
Jens Axboe
Quoted 41 lines · Jens Axboe
Quoted 8 lines · Tejun Heo
Quoted 7 lines · Florian Fainelli
Quoted 6 lines · Florian Fainelli
Quoted 5 lines · Kishon Vijay Abraham I
Quoted 4 lines · Florian Fainelli
Quoted 3 lines · Florian Fainelli
Hi Kishon, Tejun,
This patch series adds support for the SATA AHCI and PHY found
on the
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
ARM-basd BCM63138 DSL SoCs.
It would probably make sense for patches 1-3 to go through
Kishon's
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
tree, patches 4-7 through Tejun's tree, and I would be merging
the last
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
two patches through the Broadcom ARM-SoC tree.
Let me know if this is not a workable plan, thank you very much!
Looks like I had left patches with the incorrect subject, please disregard the following patches:
[PATCH 2/9] phy: broadcom: allow
PHY_BRCM_SATAdriver to be builtfor
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
DSL SoCs
[PATCH 5/9] ata:sata_brcmstb: Allow optional reset controller tobe used
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
[PATCH 6/9] ata:
ahci_brcmstb: Match 63138 compatible stringssince they have incorrect/inconsistent titles, the other patches
are
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
fine though. Sorry about that.
merged the first 3 patches to linux-phy tree.
Thanks a lot Kishon!
Tejun, are you good with picking up patches 4-7 and I take the last
two?
Quoted 1 line
Quoted 1 line
Can you make sure you pick up the ones that contain "
ahci_brcm" in
Quoted 8 lines
their
Quoted 1 line
Quoted 1 line
subject, I had incorrectly formatted them initially, sorry again
about that.
Quoted 2 lines
Jens is running the libata tree now. Jens?
I looked over them, but the series seems somewhat messed up. Can you resend 4-7?
Certainly, I accidentally sent duplicates that I had left in the directory.
Signature · 1 line
Florian
Florian Fainelli
AppliedRe: [PATCH 8/9] ARM: dts: BCM63xx: enable SATA PHY and AHCI controller
In reply to Florian FainelliQuoted 4 lines · Florian Fainelli
Add Device Tree entries for the Broadcom AHCI and SATA PHY controller found on BCM63138 SoCs
Signed-off-by Florian Fainelli <[email protected]>
Applied to devicetree/next.
Signature · 1 line
Florian
Florian Fainelli
AppliedRe: [PATCH 9/9] ARM: bcm63138: Enable SATA AHCI and PHY
In reply to Florian FainelliQuoted 4 lines · Florian Fainelli
The Broadcom BCM963138DVT board has an eSATA port which is fully functional, turn on the AHCI controller and the companion SATA PHY.
Signed-off-by Florian Fainelli <[email protected]>
Applied to devicetree/next
Signature · 1 line
Florian