Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 195fe122 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: ice40-hcd: Add pinctrl support



The bridge chip can operate in both SPI slave and master mode.
The chip select pin needs to be driven low during power-up to
use the bridge chip in SPI slave mode. The chip select pin is
controlled by the SPI controller driver. The configuration of
this pin needs to be overridden temporarily. The gpiomux
configuration has msm_gpiomux_write() API to achieve this. But
it requires accessing gpiomux_setting struct which will not
be available for 64-bit configuration. Hence remove the references
to the gpiomux. All the targets on which this driver is used are
supporting pinctrl framework. Use gpiolib API to control the
chip select pin during configuration loading.

Change-Id: I1172ff7f38461dce234e02526fb636159b22c4ad
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent c2fda30f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment