Lines Matching +full:chip +full:- +full:select
9 * SPDX-License-Identifier: Apache-2.0
20 * @defgroup devicetree-spi Devicetree SPI API
26 * @brief Does a SPI controller node have chip select GPIOs configured?
28 * SPI bus controllers use the "cs-gpios" property for configuring
29 * chip select GPIOs. Its value is a phandle-array which specifies the
30 * chip select lines.
36 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
50 * @return 1 if "spi" has a cs-gpios property, 0 otherwise
55 * @brief Number of chip select GPIOs in a SPI controller's cs-gpios property
61 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
75 * @return Logical length of spi's cs-gpios property, or 0 if "spi" doesn't
76 * have a cs-gpios property
83 * @brief Does a SPI device have a chip select line configured?
88 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
91 * a: spi-dev-a@0 {
95 * b: spi-dev-b@1 {
102 * c: spi-dev-c@0 {
114 * @return 1 if spi_dev's bus node DT_BUS(spi_dev) has a chip select
120 * @brief Get a SPI device's chip select GPIO controller's node identifier
130 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
133 * a: spi-dev-a@0 {
137 * b: spi-dev-b@1 {
148 * @return node identifier for spi_dev's chip select GPIO controller
154 * @brief Get a SPI device's chip select GPIO pin number
157 * bus node's cs-gpios property has no pin cell.
163 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
166 * a: spi-dev-a@0 {
170 * b: spi-dev-b@1 {
181 * @return pin number of spi_dev's chip select GPIO
187 * @brief Get a SPI device's chip select GPIO flags
193 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
195 * a: spi-dev-a@0 {
205 * cs-gpios property has no flags cell, this expands to zero.
208 * @return flags value of spi_dev's chip select GPIO specifier, or
228 * @return node identifier for instance's chip select GPIO controller
237 * @return pin number of the instance's chip select GPIO
246 * @return flags value of the instance's chip select GPIO specifier,