Home
last modified time | relevance | path

Searched refs:cs_gpio (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dpic32_spi.c63 struct gpio_desc cs_gpio; member
219 if (!dm_gpio_is_valid(&priv->cs_gpio)) in spi_cs_activate()
222 dm_gpio_set_value(&priv->cs_gpio, 1); in spi_cs_activate()
227 if (!dm_gpio_is_valid(&priv->cs_gpio)) in spi_cs_deactivate()
230 dm_gpio_set_value(&priv->cs_gpio, 0); in spi_cs_deactivate()
417 &priv->cs_gpio, GPIOD_IS_OUT); in pic32_spi_probe()
H A Ddesignware_spi.c102 struct gpio_desc cs_gpio; /* External chip-select gpio */ member
136 ret = gpio_request_by_name(bus, "cs-gpio", 0, &priv->cs_gpio, 0); in request_gpio_cs()
145 if (dm_gpio_is_valid(&priv->cs_gpio)) { in request_gpio_cs()
146 dm_gpio_set_dir_flags(&priv->cs_gpio, in request_gpio_cs()
383 if (!dm_gpio_is_valid(&priv->cs_gpio)) in external_cs_manage()
386 dm_gpio_set_value(&priv->cs_gpio, on ? 1 : 0); in external_cs_manage()
/openbmc/u-boot/arch/arc/dts/
H A Daxs10x_mb.dtsi72 cs-gpio = <&cs_gpio 0>;
80 cs_gpio: gpio@11218 { label
H A Dhsdk.dts97 cs-gpio = <&cs_gpio 0>;
105 cs_gpio: gpio@f00014b0 { label
/openbmc/u-boot/doc/device-tree-bindings/spi/
H A Dspi-bus.txt72 via the cs_gpio