Lines Matching +full:read +full:- +full:write +full:- +full:gpios
4 * SPDX-License-Identifier: Apache-2.0
41 * @brief Maximum number of GPIOs supported by AXP192 PMIC.
51 * The 6 GPIOS are mapped as follows:
74 * @retval -EINVAL if an invalid GPIO number is passed
75 * @retval -ENOTSUP if the requested function is not supported by the given
76 * @retval -errno in case of any bus error
82 * @brief Read out current configuration of a specific GPIO pin.
85 * @param gpio GPIO to read configuration from
88 * @retval -EINVAL if an invalid GPIO number is passed
89 * @retval -errno in case of any bus error
94 * @brief Enable pull-down on specified GPIO pin. AXP192 only supports
95 * pull-down on GPIO3..5. Pull-ups are not supported.
98 * @param gpio GPIO to control pull-downs
99 * @param enable true to enable, false to disable pull-down
101 * @retval -EINVAL if an invalid argument is given (e.g. invalid GPIO number)
102 * @retval -ENOTSUP if pull-down is not supported by the givenn GPIO
103 * @retval -errno in case of any bus error
108 * @brief Read out the current pull-down configuration of a specific GPIO.
111 * @param gpio GPIO to control pull-downs
112 * @param enabled Pointer to current pull-down configuration (true: pull-down
113 * enabled/ false: pull-down disabled)
114 * @retval -EINVAL if an invalid argument is given (e.g. invalid GPIO number)
115 * @retval -ENOTSUP if pull-down is not supported by the givenn GPIO
116 * @retval -errno in case of any bus error
121 * @brief Read GPIO port.
126 * @retval -errno in case of any bus error
131 * @brief Write GPIO port.
137 * @retval -errno in case of any bus error