[PATCH 3/3] spi: spi-gpio: switch to new gpio binding

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 26 01:19:23 PDT 2024


On Thu, Sep 26, 2024 at 08:09:44AM +0200, Ahmad Fatoum wrote:
> Hello Sascha,
> 
> On 25.09.24 16:06, Sascha Hauer wrote:
> > The old deprecated device tree binding for the spi-gpio driver uses
> > "gpio-sck", "gpio-mosi" and "gpio-miso" to specify the GPIOs. Switch to
> > the new binding which uses the standard GPIO property names.
> > 
> > The old binding is still used in some device trees, but none of the SoCs
> > using them is actually supported in barebox, so do not bother to keep a
> > fallback to the old binding. The one in-tree user of the old binding is
> > converted in this patch.
> 
> There is one more user in sandbox-libftdi-example.dtsi. Please fix that as well.

Missed that, will do.

> 
> Also, while you are it, why not switch over to the GPIOD API? :-)

I'll do that for the next round.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list