From: Mason <slash.tmp@free.fr>
To: Mans Rullgard <mans@mansr.com>
Cc: linux-ide@vger.kernel.org, Tejun Heo <tj@kernel.org>,
Hans de Goede <hdegoede@redhat.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Christian Lamparter <chunkeey@gmail.com>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Andy Gross <andy.gross@linaro.org>,
Kishon Vijay Abraham <kishon@ti.com>,
Sebastian Frias <sf84@laposte.net>
Subject: Re: sata_dwc_460ex driver
Date: Fri, 27 May 2016 18:56:19 +0200 [thread overview]
Message-ID: <57487C33.4020306@free.fr> (raw)
In-Reply-To: <yw1xeg8n5v74.fsf@unicorn.mansr.com>
On 27/05/2016 18:20, Måns Rullgård wrote:
> Mason wrote:
>
>> I'm working on a SoC which embeds an IP block from Synopsys labeled
>> Synopsys DesignWare Cores Serial ATA AHCI Core, aka DWC_ahsata
>> (DWC SATA AHCI Host 6Gb/s AXI Interface).
>>
>> Would the sata_dwc_460ex driver support this DWC_ahsata hardware?
>>
>> I suppose I would also need to enable AHCI support, right?
>>
>> What is the difference between SATA_AHCI and SATA_AHCI_PLATFORM ?
>>
>> SATA_AHCI = 971db06e09231
>> SATA_AHCI_PLATFORM = 1c2a49f61785e
>>
>> If I understand correctly, SATA_AHCI is for platforms with a PCI bus,
>> while SATA_AHCI_PLATFORM is for other platforms. I probably want the
>> latter then?
>>
>> On the analog side, the SATA PHY is also made by Synopsys.
>> Do I need to enable a specific driver?
>> I didn't see anything relevant in drivers/phy
>>
>> (The documentation mentions 11 registers for tweaking the controller,
>> but maybe it's the boot-loader's job to set this up correctly?)
>
> The sata_dwc_460ex driver can be made to work with the tango3/4 chips.
I'm talking about tango5. It's not the same controller as tango3/4.
(They use different Synopsys DesignWare controllers.)
> You need a dmaengine driver (I've written one for tango3, needs slight
> tweaking for tango4) and some additions to the SATA driver to handle the
> DMA glue logic (I have unpublished code for this as well). There are a
> bunch of fixes for the SATA driver currently in linux-next, and I was
> planning to take another look at supporting tango3/4 once these hit
> mainline (4.7-rc1 most likely).
FWIW, it seems like tango4 is low-priority internally ATM.
> A driver for the PHY is probably a good idea, even if the boot loader
> does some configuration, since this allows it to be powered down when
> not in use.
How come there are so few phy drivers in drivers/phy if most devices
would typically require one?
Regards.
next prev parent reply other threads:[~2016-05-27 16:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 14:54 sata_dwc_460ex driver Mason
2016-05-27 16:20 ` Måns Rullgård
2016-05-27 16:56 ` Mason [this message]
2016-05-27 18:15 ` Andy Gross
2016-05-27 18:41 ` Mason
2016-05-27 18:46 ` Måns Rullgård
[not found] ` <CAAd0S9BQoLsz1226seRW697rzNC9=SJDRC=JR2s4242tyg1+4g@mail.gmail.com>
2016-05-27 17:33 ` Mason
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=57487C33.4020306@free.fr \
--to=slash.tmp@free.fr \
--cc=andriy.shevchenko@linux.intel.com \
--cc=andy.gross@linaro.org \
--cc=chunkeey@gmail.com \
--cc=hdegoede@redhat.com \
--cc=kishon@ti.com \
--cc=linux-ide@vger.kernel.org \
--cc=mans@mansr.com \
--cc=sf84@laposte.net \
--cc=srinivas.kandagatla@linaro.org \
--cc=tj@kernel.org \
/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