public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peng Ma <peng.ma@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] scsi: ceva: add ls2080a soc support
Date: Mon, 22 Oct 2018 10:43:20 +0800	[thread overview]
Message-ID: <20181022024322.9849-1-peng.ma@nxp.com> (raw)

Add ahci compatible support for ls2080a soc.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
depend on:
	- https://patchwork.ozlabs.org/patch/987497/
 drivers/ata/sata_ceva.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/sata_ceva.c b/drivers/ata/sata_ceva.c
index fa86797..7d4c3ce 100644
--- a/drivers/ata/sata_ceva.c
+++ b/drivers/ata/sata_ceva.c
@@ -105,6 +105,7 @@ enum ceva_soc {
 	CEVA_LS1043A,
 	CEVA_LS1046A,
 	CEVA_LS1088A,
+	CEVA_LS2080A,
 };
 
 struct ceva_sata_priv {
@@ -146,6 +147,7 @@ static int ceva_init_sata(struct ceva_sata_priv *priv)
 	case CEVA_LS1043A:
 	case CEVA_LS1046A:
 		writel(ECC_DIS_VAL_CH2, ECC_DIS_ADDR_CH2);
+	case CEVA_LS2080A:
 		writel(CEVA_PHY1_CFG, base + AHCI_VEND_PPCFG);
 		writel(CEVA_TRANS_CFG, base + AHCI_VEND_PTC);
 		if (priv->flag & FLAG_COHERENT)
@@ -187,6 +189,7 @@ static const struct udevice_id sata_ceva_ids[] = {
 	{ .compatible = "fsl,ls1043a-ahci", .data = CEVA_LS1043A },
 	{ .compatible = "fsl,ls1046a-ahci", .data = CEVA_LS1046A },
 	{ .compatible = "fsl,ls1088a-ahci", .data = CEVA_LS1088A },
+	{ .compatible = "fsl,ls2080a-ahci", .data = CEVA_LS2080A },
 	{ }
 };
 
-- 
1.7.1

             reply	other threads:[~2018-10-22  2:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-22  2:43 Peng Ma [this message]
2018-10-22  2:43 ` [U-Boot] [PATCH 2/3] armv8: dts: fsl-ls2080a: add sata node support Peng Ma
2018-11-03  6:07   ` Simon Glass
2018-10-22  2:43 ` [U-Boot] [PATCH 3/3] arm64: ls2080a: enable DM support for sata Peng Ma
2018-11-03  6:07   ` Simon Glass
2018-10-26  7:41 ` [U-Boot] [PATCH 1/3] scsi: ceva: add ls2080a soc support Michal Simek
2018-12-10 21:11 ` York Sun

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=20181022024322.9849-1-peng.ma@nxp.com \
    --to=peng.ma@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox