[PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"
Doug Anderson
dianders at chromium.org
Tue Jun 10 12:58:09 PDT 2014
Tomasz,
On Tue, Jun 10, 2014 at 12:49 PM, Tomasz Figa <tomasz.figa at gmail.com> wrote:
> This is wrong. The "cs-gpios" property is supposed to be an array,
> indexed by chip select number of SPI devices (indicated by their "reg"
> properties).
>
> Moreover, is there a need to parse this manually in this driver? I can
> see respective parsing code in of_spi_register_master().
I noticed this too (see my response), but I was confused about the
fact that nobody else uses the array created by
of_spi_register_master(). Any idea why?
-Doug
More information about the linux-arm-kernel
mailing list