Naveen, On Thu, Jun 12, 2014 at 6:13 AM, Naveen Krishna Chatradhi <ch.nav...@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.nav...@samsung.com> > Cc: Javier Martinez Canillas <javier.marti...@collabora.co.uk> > Cc: Doug Anderson <diand...@chromium.org> > Cc: Tomasz Figa <t.f...@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 <diand...@chromium.org> ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general