From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Peter Mamonov <pmamonov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ata: new driver to support the internal sata controller on Armada-XP
Date: Tue, 14 Feb 2017 09:49:11 +0100 [thread overview]
Message-ID: <20170214084911.7uhr6t7qrghjoomp@pengutronix.de> (raw)
In-Reply-To: <20170126143027.GB21086@berta>
Hallo Peter,
On Thu, Jan 26, 2017 at 05:30:27PM +0300, Peter Mamonov wrote:
> Our approach for the same problem was to put SATA PHY initialization into the
> board specific code (I guess in your case it is
> arch/arm/boards/marvell-armada-xp-gp/board.c) and bind the generic ATA driver
> (drivers/ata/intf_platform_ide.c) via the device tree.
I copied the PHY initialisation from U-Boot generic code, so I think
there is nothing board-specific here and having that code in a driver is
fine. Also this approach works with the dt that is imported from the
kernel. (Not sure if that is applicable to your solution?)
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2017-02-14 8:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-26 10:01 Uwe Kleine-König
2017-01-26 14:30 ` Peter Mamonov
2017-02-14 8:49 ` Uwe Kleine-König [this message]
2017-02-24 7:20 ` Sascha Hauer
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=20170214084911.7uhr6t7qrghjoomp@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=pmamonov@gmail.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: 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