Skip to contentSkip to conversation

dt-bindings: ahci-fsl-qoriq: add ls1028a chip name to the list

PATCH Applied Peng Ma 3 participants 7 messages Mar 11, 2019 – Apr 12, 2019

Subsystems (3)
lore
Share & tools
lore

Peng Ma

author
#0 lore raw

PATCH 1/3 dt-bindings: ahci-fsl-qoriq: add ls1028a chip name to the list

Add ls1028a compatible to bindings documentation.

---
depends on:
- http://patchwork.ozlabs.org/patch/1045217/

 .../devicetree/bindings/ata/ahci-fsl-qoriq.txt     |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt +2 -1
index 9ecc019..72fdeef 100644
@@ -3,7 +3,8 @@ Binding for Freescale QorIQ AHCI SATA Controller
 Required properties:
   - reg: Physical base address and size of the controller's register area.
   - compatible: Compatibility string. Must be 'fsl,<chip>-ahci', where
-    chip could be ls1021a, ls1043a, ls1046a, ls1088a, ls2080a, lx2160a, etc.
+    chip could be ls1021a, ls1028a, ls1043a, ls1046a, ls1088a, ls2080a,
+    lx2160a, etc.
   - clocks: Input clock specifier. Refer to common clock bindings.
   - interrupts: Interrupt specifier. Refer to interrupt binding.
 
Signature · 1 line
1.7.1
author
#1 lore raw

PATCH 2/3 arm64: dts: ls1028a: Corrected the SATA ecc address.

Ls1028a SATA ecc address with more than 32 bit, so we should corrrect the address.

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +1 -1
index a8cf92a..3fcbd0a 100644
@@ -277,7 +277,7 @@
 		sata: sata@3200000 {
 			compatible = "fsl,ls1028a-ahci";
 			reg = <0x0 0x3200000 0x0 0x10000>,
-				<0x0 0x20140520 0x0 0x4>;
+				<0x7 0x100520 0x0 0x4>;
 			reg-names = "ahci", "sata-ecc";
 			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen 4 1>;
Signature · 1 line
1.7.1
Applied
#2 lore raw

Re: [PATCH 2/3] arm64: dts: ls1028a: Corrected the SATA ecc address.

Quoted 4 lines · Peng Ma

Ls1028a SATA ecc address with more than 32 bit, so we should corrrect the address.

Applied, thanks.

author
#3 lore raw

PATCH 3/3 ahci: qoriq: add ls1028a platforms support

In reply to Peng Ma

Ls1028a is a new introduced soc which supports ATA3.0

---
depends on:
- http://patchwork.ozlabs.org/patch/1045218/

 drivers/ata/ahci_qoriq.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/ata/ahci_qoriq.c +3 -0
index 08dbb86..ea1175f 100644
@@ -53,6 +53,7 @@
 
 enum ahci_qoriq_type {
 	AHCI_LS1021A,
+	AHCI_LS1028A,
 	AHCI_LS1043A,
 	AHCI_LS2080A,
 	AHCI_LS1046A,
@@ -72,6 +73,7 @@ struct ahci_qoriq_priv {
 
 static const struct of_device_id ahci_qoriq_of_match[] = {
 	{ .compatible = "fsl,ls1021a-ahci", .data = (void *)AHCI_LS1021A},
+	{ .compatible = "fsl,ls1028a-ahci", .data = (void *)AHCI_LS1028A},
 	{ .compatible = "fsl,ls1043a-ahci", .data = (void *)AHCI_LS1043A},
 	{ .compatible = "fsl,ls2080a-ahci", .data = (void *)AHCI_LS2080A},
 	{ .compatible = "fsl,ls1046a-ahci", .data = (void *)AHCI_LS1046A},
@@ -223,6 +225,7 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv)
 			writel(AHCI_PORT_AXICC_CFG, reg_base + PORT_AXICC);
 		break;
 
+	case AHCI_LS1028A:
 	case AHCI_LS1088A:
 	case AHCI_LX2160A:
 		if (!(qpriv->ecc_addr || ecc_initialized))
Signature · 1 line
1.7.1
author
#6 lore raw

Hi Shawn,

OK, thanks.

Best Regards,
Peng

Quoted 25 lines

-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年4月11日 9:37
To: Peng Ma <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Leo Li <[email protected]>; [email protected]; [email protected]; Andy Tang <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: [PATCH 1/3] dt-bindings: ahci-fsl-qoriq: add ls1028a chip name to the list

WARNING: This email was created outside of NXP. DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.

Quoted 3 lines · Peng Ma

Add ls1028a compatible to bindings documentation.

I assume that the bindings will be picked up by Axboe. Otherwise, please let me know.

Shawn