lkml.org 
[lkml]   [2019]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 14/20] spi: tegra114: add support for gpio based cs
On Thu, Apr 04, 2019 at 05:14:13PM -0700, Sowjanya Komatineni wrote:

> + if (cstate->cs_gpio_valid) {
> + int val = (spi->mode & SPI_CS_HIGH) ? 1 : 0;
> +
> + gpio_set_value(spi->cs_gpio, val);
> + }

This is adding new usage of the numbered GPIO interface but we're in the
process of trying to transition to GPIO descriptors. Please update this
patch to use descriptors instead.

Please also investigate if it's possible to use the core GPIO chip
select support more.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-04-08 08:38    [W:0.170 / U:11.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site