Lines Matching +full:external +full:- +full:control
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.
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.
65 * enum eint_type - possible external interrupt types.
66 * @EINT_TYPE_NONE: bank does not support external interrupts
67 * @EINT_TYPE_GPIO: bank supportes external gpio interrupts
68 * @EINT_TYPE_WKUP: bank supportes external wakeup interrupts
69 * @EINT_TYPE_WKUP_MUX: bank supports multiplexed external wakeup interrupts
72 * in a pin bank can support external gpio interrupts or external wakeup
74 * difference between external gpio and external wakeup interrupts is that
85 /* maximum length of a pin in pin descriptor (example: "gpa0-0") */
116 * struct samsung_pin_bank_data: represent a controller pin-bank (init data).
118 * @pctl_offset: starting offset of the pin-bank registers.
119 * @pctl_res_idx: index of base address for pin-bank registers.
122 * @eint_type: type of the external interrupt supported by the bank.
124 * @eint_offset: SoC-specific EINT register or interrupt offset of bank.
140 * struct samsung_pin_bank: represent a controller pin-bank.
142 * @pctl_base: base address of the pin-bank registers
143 * @pctl_offset: starting offset of the pin-bank registers.
145 * @eint_base: base address of the pin-bank EINT registers.
147 * @eint_type: type of the external interrupt supported by the bank.
149 * @eint_offset: SoC-specific EINT register or interrupt offset of bank.
152 * @soc_priv: per-bank private data for SoC-specific code.
158 * @irq_chip: link to irq chip for external gpio and wakeup interrupts.
188 * struct samsung_retention_data: runtime pin-bank retention control data.
189 * @regs: array of PMU registers to control pad retention.
192 * @refcnt: atomic counter if retention control affects more than one bank.
193 * @priv: retention control code private data
208 * struct samsung_retention_data: represent a pin-bank retention control data.
209 * @regs: array of PMU registers to control pad retention.
212 * @refcnt: atomic counter if retention control affects more than one bank.
213 * @init: platform specific callback to initialize retention control.
229 * @retention_data: configuration data for retention control.
230 * @eint_gpio_init: platform specific callback to setup the external gpio
232 * @eint_wkup_init: platform specific callback to setup the external wakeup
239 * External wakeup interrupts must define at least eint_wkup_init,
258 * to each bank samsung_pin_bank->pctl_base and used on legacy
272 * @retention_ctrl: retention control runtime data.