[PATCH 4/6] spi: bcm2835: warn about native-chip-selects being used
Martin Sperl
kernel at martin.sperl.org
Mon Mar 30 12:20:20 PDT 2015
> On 30.03.2015, at 06:22, Mark Brown <broonie at kernel.org> wrote:
>>
>> But I do not know what is the correct call to use.
>
> I don't know what you mean by "correct call" here, sorry. If you're
> talking about working out which GPIO maps to the /CS pin then can the
> pinctrl API help?
Well - how do I change the mode of a GPIO to output (which is typically ALT0)?
something like this:
>> gpio_set_output(spi->gpio_cs);
I was hoping someone would have an explicit pointer...
Martin
More information about the linux-rpi-kernel
mailing list