[PATCH 2/3 v4] spi: s3c64xx: for DT platofrms always get the chipselect info from DT node
Doug Anderson
dianders at chromium.org
Thu Jun 12 16:26:55 PDT 2014
Naveen,
On Thu, Jun 12, 2014 at 6:13 AM, Naveen Krishna Chatradhi
<ch.naveen at samsung.com> wrote:
> Use controller_data structure only for the Non Device tree platforms.
> For Device tree platforms, always derive the chipselect info from
> DT node.
>
> Signed-off-by: Naveen Krishna Chatradhi <ch.naveen at samsung.com>
> Cc: Javier Martinez Canillas <javier.martinez at collabora.co.uk>
> Cc: Doug Anderson <dianders at chromium.org>
> Cc: Tomasz Figa <t.figa at samsung.com>
> ---
> drivers/spi/spi-s3c64xx.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
I'm not planning to do an in-depth review of this patch since it seems
that others are on top of it, but I've tested it. With it (and some
patches that haven't been sent up yet) I can talk to the EC on
exynos5420-pit (which uses device tree for specifying the cs-gpios)
Tested-by: Doug Anderson <dianders at chromium.org>
More information about the linux-arm-kernel
mailing list