Lines Matching +full:pin +full:- +full:controller
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's.
25 * enum pincfg_type - possible pin configuration types supported.
27 * @PINCFG_TYPE_DAT: Pin value configuration.
30 * @PINCFG_TYPE_CON_PDN: Pin function in power down mode.
45 * pin configuration (pull up/down and drive strength) type and its value are
46 * packed together into a 16-bits. The upper 8-bits represent the configuration
47 * type and the lower 8-bits hold the value of the configuration type.
57 * enum eint_type - possible external interrupt types.
63 * Samsung GPIO controller groups all the available pins into banks. The pins
64 * in a pin bank can support external gpio interrupts or external wakeup
77 /* maximum length of a pin in pin descriptor (example: "gpa0-0") */
98 * struct samsung_pin_bank_type: pin bank type description
108 * struct samsung_pin_bank_data: represent a controller pin-bank (init data).
110 * @pctl_offset: starting offset of the pin-bank registers.
111 * @pctl_res_idx: index of base address for pin-bank registers.
113 * @eint_func: function to set in CON register to configure pin as EINT.
116 * @eint_offset: SoC-specific EINT register or interrupt offset of bank.
117 * @name: name to be prefixed for each pin in this pin bank.
132 * struct samsung_pin_bank: represent a controller pin-bank.
134 * @pctl_base: base address of the pin-bank registers
135 * @pctl_offset: starting offset of the pin-bank registers.
137 * @eint_base: base address of the pin-bank EINT registers.
138 * @eint_func: function to set in CON register to configure pin as EINT.
141 * @eint_offset: SoC-specific EINT register or interrupt offset of bank.
142 * @name: name to be prefixed for each pin in this pin bank.
143 * @pin_base: starting pin number of the bank.
144 * @soc_priv: per-bank private data for SoC-specific code.
146 * @drvdata: link to controller driver data
149 * @grange: linux gpio pin range supported by this bank.
180 * struct samsung_retention_data: runtime pin-bank retention control data.
200 * struct samsung_retention_data: represent a pin-bank retention control data.
217 * struct samsung_pin_ctrl: represent a pin controller.
218 * @pin_banks: list of pin banks included in this controller.
219 * @nr_banks: number of pin banks.
220 * @nr_ext_resources: number of the extra base address for pin banks.
223 * interrupts for the controller.
225 * interrupts for the controller.
226 * @suspend: platform specific suspend callback, executed during pin controller
228 * @resume: platform specific resume callback, executed during pin controller
249 * @virt_base: register base address of the controller; this will be equal
250 * to each bank samsung_pin_bank->pctl_base and used on legacy
253 * @dev: device instance representing the controller.
254 * @irq: interrpt number used by the controller to notify gpio interrupts.
255 * @ctrl: pin controller instance managed by the driver.
256 * @pctl: pin controller descriptor registered with the pinctrl subsystem.
258 * @pin_groups: list of pin groups available to the driver.
259 * @nr_groups: number of such pin groups.
260 * @pmx_functions: list of pin functions available to the driver.
261 * @nr_function: number of such pin functions.
262 * @pin_base: starting system wide pin number.
263 * @nr_pins: number of pins supported by the controller.
265 * @suspend: platform specific suspend callback, executed during pin controller
267 * @resume: platform specific resume callback, executed during pin controller
297 * @ctrl: array of pin controller data.
307 * @name: name of the pin group, used to lookup the group.
320 * struct samsung_pmx_func: represent a pin function.
321 * @name: name of the pin function, used to lookup the function.
322 * @groups: one or more names of pin groups that provide this function.