Lines Matching full:pin
13 * struct pinconf_param - pin config parameters
27 * struct pinctrl_ops - pin control operations, to be implemented by
28 * pin controller drivers.
38 * @get_pin_name: return the pin name of the pin selector,
39 * called by the core to figure out which pin it shall do
44 * called by the core to figure out which pin group it shall do
47 * in this driver. (necessary for pin-muxing)
50 * certain device to. (necessary for pin-muxing)
51 * @pinmux_set: enable a certain muxing function with a certain pin.
53 * selects a certain pin to be used. On simple controllers one of them
54 * may be ignored. (necessary for pin-muxing against a single pin)
55 * @pinmux_group_set: enable a certain muxing function with a certain pin
59 * (necessary for pin-muxing against a pin group)
61 * from device trees (necessary for pin-configuration)
63 * device trees (necessary for pin-configuration)
64 * @pinconf_set: configure an individual pin with a given parameter.
65 * (necessary for pin-configuration against a single pin)
67 * (necessary for pin-configuration against a pin group)
72 * @get_pin_muxing: display the muxing of a given pin.
138 * get_pin_muxing() - show pin muxing
140 * This allows to display the muxing of a given pin. It's useful for
141 * debug purpose to know if a pin is configured as GPIO or as an
147 * @selector: Pin selector
148 * @buf Pin's muxing description
149 * @size Pin's muxing description length
159 * Generic pin configuration paramters
161 * enum pin_config_param - possible pin configuration parameters
162 * @PIN_CONFIG_BIAS_BUS_HOLD: the pin will be set to weakly latch so that it
167 * @PIN_CONFIG_BIAS_DISABLE: disable any pin bias on the pin, a
170 * @PIN_CONFIG_BIAS_HIGH_IMPEDANCE: the pin will be set to a high impedance
172 * On output pins this effectively disconnects the pin, which is useful
173 * if for example some other pin is going to drive the signal connected
176 * @PIN_CONFIG_BIAS_PULL_DOWN: the pin will be pulled down (usually with high
178 * if it is 0, pull-down is total, i.e. the pin is connected to GROUND.
179 * @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based
187 * @PIN_CONFIG_BIAS_PULL_UP: the pin will be pulled up (usually with high
189 * if it is 0, pull-up is total, i.e. the pin is connected to VDD.
190 * @PIN_CONFIG_DRIVE_OPEN_DRAIN: the pin will be driven with open drain (open
194 * @PIN_CONFIG_DRIVE_OPEN_SOURCE: the pin will be driven with open source
197 * @PIN_CONFIG_DRIVE_PUSH_PULL: the pin will be driven actively high and
201 * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current
203 * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode,
207 * @PIN_CONFIG_INPUT_ENABLE: enable the pin's input. Note that this does not
208 * affect the pin's ability to drive output. 1 enables input, 0 disables
210 * @PIN_CONFIG_INPUT_SCHMITT: this will configure an input pin to run in
214 * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin.
217 * @PIN_CONFIG_LOW_POWER_MODE: this will configure the pin for low power
221 * @PIN_CONFIG_OUTPUT_ENABLE: this will enable the pin's output mode
223 * enable the output buffers and then let the pin controller current
227 * @PIN_CONFIG_OUTPUT: this will configure the pin as an output and drive a
231 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power
235 * @PIN_CONFIG_SLEW_RATE: if the pin can select slew rate, the argument to
238 * @PIN_CONFIG_SKEW_DELAY: if the pin has programmable skew rate (on inputs)
242 * @PIN_CONFIG_END: this is the last enumerator for pin configurations, if
243 * you need to pass in custom configurations to the pin controller, use
278 * such as "pins", "groups", "functions", and pin configuration parameters.
345 * pinctrl_decode_pin_config() - decode pin configuration flags
358 * pinctrl_decode_pin_config_dm() - decode pin configuration flags
388 * This allows to display the muxing description of the given pin for
392 * @selector Pin index within pin-controller
393 * @buf Pin's muxing description
394 * @size Pin's muxing description length
401 * pinctrl_get_pins_count() - display pin-controller pins number
403 * This allows to know the number of pins owned by a given pin-controller
411 * pinctrl_get_pin_name() - Returns the pin's name
413 * This allows to display the pin's name for debug purpose
416 * @selector Pin index within pin-controller
417 * @buf Pin's name