Home
last modified time | relevance | path

Searched refs:pinctrl (Results 1 – 25 of 66) sorted by relevance

123

/drivers/pinctrl/bcm/
Dpinctrl-nsp-mux.c320 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_groups_count() local
322 return pinctrl->num_groups; in nsp_get_groups_count()
328 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_group_name() local
330 return pinctrl->groups[selector].name; in nsp_get_group_name()
337 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_group_pins() local
339 *pins = pinctrl->groups[selector].pins; in nsp_get_group_pins()
340 *num_pins = pinctrl->groups[selector].num_pins; in nsp_get_group_pins()
362 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_functions_count() local
364 return pinctrl->num_functions; in nsp_get_functions_count()
370 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_function_name() local
[all …]
Dpinctrl-ns2-mux.c503 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_groups_count() local
505 return pinctrl->num_groups; in ns2_get_groups_count()
511 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_group_name() local
513 return pinctrl->groups[selector].name; in ns2_get_group_name()
520 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_group_pins() local
522 *pins = pinctrl->groups[selector].pins; in ns2_get_group_pins()
523 *num_pins = pinctrl->groups[selector].num_pins; in ns2_get_group_pins()
545 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_functions_count() local
547 return pinctrl->num_functions; in ns2_get_functions_count()
553 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_function_name() local
[all …]
Dpinctrl-cygnus-mux.c703 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_groups_count() local
705 return pinctrl->num_groups; in cygnus_get_groups_count()
711 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_group_name() local
713 return pinctrl->groups[selector].name; in cygnus_get_group_name()
720 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_group_pins() local
722 *pins = pinctrl->groups[selector].pins; in cygnus_get_group_pins()
723 *num_pins = pinctrl->groups[selector].num_pins; in cygnus_get_group_pins()
745 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_functions_count() local
747 return pinctrl->num_functions; in cygnus_get_functions_count()
753 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_function_name() local
[all …]
DMakefile3 obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o
4 obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o
5 obj-$(CONFIG_PINCTRL_IPROC_GPIO) += pinctrl-iproc-gpio.o
6 obj-$(CONFIG_PINCTRL_CYGNUS_MUX) += pinctrl-cygnus-mux.o
7 obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
8 obj-$(CONFIG_PINCTRL_NS2_MUX) += pinctrl-ns2-mux.o
9 obj-$(CONFIG_PINCTRL_NSP_MUX) += pinctrl-nsp-mux.o
/drivers/pinctrl/
DMakefile5 obj-y += core.o pinctrl-utils.o
10 obj-$(CONFIG_PINCTRL_ADI2) += pinctrl-adi2.o
11 obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o
12 obj-$(CONFIG_PINCTRL_BF54x) += pinctrl-adi2-bf54x.o
13 obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o
14 obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
15 obj-$(CONFIG_PINCTRL_AT91PIO4) += pinctrl-at91-pio4.o
16 obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd.o
17 obj-$(CONFIG_PINCTRL_DIGICOLOR) += pinctrl-digicolor.o
18 obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
[all …]
DKconfig58 bool "AT91 pinctrl driver"
67 Say Y here to enable the at91 pinctrl driver
70 bool "AT91 PIO4 pinctrl driver"
79 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
111 bool "NXP LPC18XX/43XX SCU pinctrl driver"
153 tristate "One-register-per-pin type device tree based pinctrl driver"
159 This selects the device tree based generic pinctrl driver.
257 This selects the pinctrl driver for Xilinx Zynq.
259 source "drivers/pinctrl/aspeed/Kconfig"
260 source "drivers/pinctrl/bcm/Kconfig"
[all …]
Dpinctrl-adi2.c591 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); in adi_get_groups_count() local
593 return pinctrl->soc->ngroups; in adi_get_groups_count()
599 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); in adi_get_group_name() local
601 return pinctrl->soc->groups[selector].name; in adi_get_group_name()
608 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); in adi_get_group_pins() local
610 *pins = pinctrl->soc->groups[selector].pins; in adi_get_group_pins()
611 *num_pins = pinctrl->soc->groups[selector].num; in adi_get_group_pins()
624 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); in adi_pinmux_set() local
630 mux = (unsigned short *)pinctrl->soc->groups[group_id].mux; in adi_pinmux_set()
656 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); in adi_pinmux_get_funcs_count() local
[all …]
Ddevicetree.h21 void pinctrl_dt_free_maps(struct pinctrl *p);
22 int pinctrl_dt_to_map(struct pinctrl *p);
26 static inline int pinctrl_dt_to_map(struct pinctrl *p) in pinctrl_dt_to_map()
31 static inline void pinctrl_dt_free_maps(struct pinctrl *p) in pinctrl_dt_free_maps()
/drivers/pinctrl/freescale/
DMakefile2 obj-$(CONFIG_PINCTRL_IMX) += pinctrl-imx.o
3 obj-$(CONFIG_PINCTRL_IMX1_CORE) += pinctrl-imx1-core.o
4 obj-$(CONFIG_PINCTRL_IMX1) += pinctrl-imx1.o
5 obj-$(CONFIG_PINCTRL_IMX21) += pinctrl-imx21.o
6 obj-$(CONFIG_PINCTRL_IMX27) += pinctrl-imx27.o
7 obj-$(CONFIG_PINCTRL_IMX35) += pinctrl-imx35.o
8 obj-$(CONFIG_PINCTRL_IMX50) += pinctrl-imx50.o
9 obj-$(CONFIG_PINCTRL_IMX51) += pinctrl-imx51.o
10 obj-$(CONFIG_PINCTRL_IMX53) += pinctrl-imx53.o
11 obj-$(CONFIG_PINCTRL_IMX6Q) += pinctrl-imx6q.o
[all …]
DKconfig13 bool "IMX1 pinctrl driver"
17 Say Y here to enable the imx1 pinctrl driver
20 bool "i.MX21 pinctrl driver"
24 Say Y here to enable the i.MX21 pinctrl driver
27 bool "IMX27 pinctrl driver"
31 Say Y here to enable the imx27 pinctrl driver
35 bool "IMX25 pinctrl driver"
40 Say Y here to enable the imx25 pinctrl driver
43 bool "IMX35 pinctrl driver"
47 Say Y here to enable the imx35 pinctrl driver
[all …]
/drivers/pinctrl/sunxi/
DMakefile2 obj-y += pinctrl-sunxi.o
5 obj-$(CONFIG_PINCTRL_SUN4I_A10) += pinctrl-sun4i-a10.o
6 obj-$(CONFIG_PINCTRL_SUN5I_A10S) += pinctrl-sun5i-a10s.o
7 obj-$(CONFIG_PINCTRL_SUN5I_A13) += pinctrl-sun5i-a13.o
8 obj-$(CONFIG_PINCTRL_GR8) += pinctrl-gr8.o
9 obj-$(CONFIG_PINCTRL_SUN6I_A31) += pinctrl-sun6i-a31.o
10 obj-$(CONFIG_PINCTRL_SUN6I_A31S) += pinctrl-sun6i-a31s.o
11 obj-$(CONFIG_PINCTRL_SUN6I_A31_R) += pinctrl-sun6i-a31-r.o
12 obj-$(CONFIG_PINCTRL_SUN7I_A20) += pinctrl-sun7i-a20.o
13 obj-$(CONFIG_PINCTRL_SUN8I_A23) += pinctrl-sun8i-a23.o
[all …]
/drivers/pinctrl/qcom/
DMakefile2 obj-$(CONFIG_PINCTRL_MSM) += pinctrl-msm.o
3 obj-$(CONFIG_PINCTRL_APQ8064) += pinctrl-apq8064.o
4 obj-$(CONFIG_PINCTRL_APQ8084) += pinctrl-apq8084.o
5 obj-$(CONFIG_PINCTRL_IPQ4019) += pinctrl-ipq4019.o
6 obj-$(CONFIG_PINCTRL_IPQ8064) += pinctrl-ipq8064.o
7 obj-$(CONFIG_PINCTRL_MSM8660) += pinctrl-msm8660.o
8 obj-$(CONFIG_PINCTRL_MSM8960) += pinctrl-msm8960.o
9 obj-$(CONFIG_PINCTRL_MSM8X74) += pinctrl-msm8x74.o
10 obj-$(CONFIG_PINCTRL_MSM8916) += pinctrl-msm8916.o
11 obj-$(CONFIG_PINCTRL_MSM8996) += pinctrl-msm8996.o
[all …]
DKconfig15 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
23 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
31 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
39 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
47 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
55 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
63 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
71 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
79 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
87 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
[all …]
/drivers/pinctrl/mvebu/
DMakefile1 obj-y += pinctrl-mvebu.o
2 obj-$(CONFIG_PINCTRL_DOVE) += pinctrl-dove.o
3 obj-$(CONFIG_PINCTRL_KIRKWOOD) += pinctrl-kirkwood.o
4 obj-$(CONFIG_PINCTRL_ARMADA_370) += pinctrl-armada-370.o
5 obj-$(CONFIG_PINCTRL_ARMADA_375) += pinctrl-armada-375.o
6 obj-$(CONFIG_PINCTRL_ARMADA_38X) += pinctrl-armada-38x.o
7 obj-$(CONFIG_PINCTRL_ARMADA_39X) += pinctrl-armada-39x.o
8 obj-$(CONFIG_PINCTRL_ARMADA_XP) += pinctrl-armada-xp.o
9 obj-$(CONFIG_PINCTRL_ORION) += pinctrl-orion.o
/drivers/pinctrl/nomadik/
DMakefile2 obj-$(CONFIG_PINCTRL_ABX500) += pinctrl-abx500.o
3 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o
4 obj-$(CONFIG_PINCTRL_AB8540) += pinctrl-ab8540.o
5 obj-$(CONFIG_PINCTRL_AB9540) += pinctrl-ab9540.o
6 obj-$(CONFIG_PINCTRL_AB8505) += pinctrl-ab8505.o
7 obj-$(CONFIG_PINCTRL_NOMADIK) += pinctrl-nomadik.o
8 obj-$(CONFIG_PINCTRL_STN8815) += pinctrl-nomadik-stn8815.o
9 obj-$(CONFIG_PINCTRL_DB8500) += pinctrl-nomadik-db8500.o
10 obj-$(CONFIG_PINCTRL_DB8540) += pinctrl-nomadik-db8540.o
/drivers/pinctrl/uniphier/
DMakefile1 obj-y += pinctrl-uniphier-core.o
3 obj-$(CONFIG_PINCTRL_UNIPHIER_LD4) += pinctrl-uniphier-ld4.o
4 obj-$(CONFIG_PINCTRL_UNIPHIER_PRO4) += pinctrl-uniphier-pro4.o
5 obj-$(CONFIG_PINCTRL_UNIPHIER_SLD8) += pinctrl-uniphier-sld8.o
6 obj-$(CONFIG_PINCTRL_UNIPHIER_PRO5) += pinctrl-uniphier-pro5.o
7 obj-$(CONFIG_PINCTRL_UNIPHIER_PXS2) += pinctrl-uniphier-pxs2.o
8 obj-$(CONFIG_PINCTRL_UNIPHIER_LD6B) += pinctrl-uniphier-ld6b.o
9 obj-$(CONFIG_PINCTRL_UNIPHIER_LD11) += pinctrl-uniphier-ld11.o
10 obj-$(CONFIG_PINCTRL_UNIPHIER_LD20) += pinctrl-uniphier-ld20.o
DKconfig2 bool "UniPhier SoC pinctrl drivers"
12 tristate "UniPhier PH1-LD4 SoC pinctrl driver"
16 tristate "UniPhier PH1-Pro4 SoC pinctrl driver"
20 tristate "UniPhier PH1-sLD8 SoC pinctrl driver"
24 tristate "UniPhier PH1-Pro5 SoC pinctrl driver"
28 tristate "UniPhier ProXstream2 SoC pinctrl driver"
32 tristate "UniPhier PH1-LD6b SoC pinctrl driver"
36 tristate "UniPhier PH1-LD11 SoC pinctrl driver"
40 tristate "UniPhier PH1-LD20 SoC pinctrl driver"
/drivers/pinctrl/spear/
DMakefile3 obj-$(CONFIG_PINCTRL_SPEAR_PLGPIO) += pinctrl-plgpio.o
4 obj-y += pinctrl-spear.o
5 obj-$(CONFIG_PINCTRL_SPEAR3XX) += pinctrl-spear3xx.o
6 obj-$(CONFIG_PINCTRL_SPEAR300) += pinctrl-spear300.o
7 obj-$(CONFIG_PINCTRL_SPEAR310) += pinctrl-spear310.o
8 obj-$(CONFIG_PINCTRL_SPEAR320) += pinctrl-spear320.o
9 obj-$(CONFIG_PINCTRL_SPEAR1310) += pinctrl-spear1310.o
10 obj-$(CONFIG_PINCTRL_SPEAR1340) += pinctrl-spear1340.o
/drivers/pinctrl/mediatek/
DMakefile2 obj-y += pinctrl-mtk-common.o
5 obj-$(CONFIG_PINCTRL_MT2701) += pinctrl-mt2701.o
6 obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
7 obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
8 obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
9 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
10 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
/drivers/pinctrl/tegra/
DMakefile1 obj-$(CONFIG_PINCTRL_TEGRA) += pinctrl-tegra.o
2 obj-$(CONFIG_PINCTRL_TEGRA20) += pinctrl-tegra20.o
3 obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o
4 obj-$(CONFIG_PINCTRL_TEGRA114) += pinctrl-tegra114.o
5 obj-$(CONFIG_PINCTRL_TEGRA124) += pinctrl-tegra124.o
6 obj-$(CONFIG_PINCTRL_TEGRA210) += pinctrl-tegra210.o
7 obj-$(CONFIG_PINCTRL_TEGRA_XUSB) += pinctrl-tegra-xusb.o
Dpinctrl-tegra-xusb.c92 struct pinctrl_dev *pinctrl; member
113 static int tegra_xusb_padctl_get_groups_count(struct pinctrl_dev *pinctrl) in tegra_xusb_padctl_get_groups_count() argument
115 struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl); in tegra_xusb_padctl_get_groups_count()
120 static const char *tegra_xusb_padctl_get_group_name(struct pinctrl_dev *pinctrl, in tegra_xusb_padctl_get_group_name() argument
123 struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl); in tegra_xusb_padctl_get_group_name()
128 static int tegra_xusb_padctl_get_group_pins(struct pinctrl_dev *pinctrl, in tegra_xusb_padctl_get_group_pins() argument
137 *pins = &pinctrl->desc->pins[group].number; in tegra_xusb_padctl_get_group_pins()
190 err = pinctrl_utils_add_config(padctl->pinctrl, &configs, in tegra_xusb_padctl_parse_subnode()
208 err = pinctrl_utils_reserve_map(padctl->pinctrl, maps, reserved_maps, in tegra_xusb_padctl_parse_subnode()
215 err = pinctrl_utils_add_map_mux(padctl->pinctrl, maps, in tegra_xusb_padctl_parse_subnode()
[all …]
/drivers/pinctrl/vt8500/
DMakefile3 obj-$(CONFIG_PINCTRL_WMT) += pinctrl-wmt.o
4 obj-$(CONFIG_PINCTRL_VT8500) += pinctrl-vt8500.o
5 obj-$(CONFIG_PINCTRL_WM8505) += pinctrl-wm8505.o
6 obj-$(CONFIG_PINCTRL_WM8650) += pinctrl-wm8650.o
7 obj-$(CONFIG_PINCTRL_WM8750) += pinctrl-wm8750.o
8 obj-$(CONFIG_PINCTRL_WM8850) += pinctrl-wm8850.o
/drivers/pinctrl/intel/
DMakefile3 obj-$(CONFIG_PINCTRL_BAYTRAIL) += pinctrl-baytrail.o
4 obj-$(CONFIG_PINCTRL_CHERRYVIEW) += pinctrl-cherryview.o
5 obj-$(CONFIG_PINCTRL_MERRIFIELD) += pinctrl-merrifield.o
6 obj-$(CONFIG_PINCTRL_INTEL) += pinctrl-intel.o
7 obj-$(CONFIG_PINCTRL_BROXTON) += pinctrl-broxton.o
8 obj-$(CONFIG_PINCTRL_SUNRISEPOINT) += pinctrl-sunrisepoint.o
DKconfig21 tristate "Intel Cherryview/Braswell pinctrl and GPIO driver"
29 Cherryview/Braswell pinctrl driver provides an interface that
33 tristate "Intel Merrifield pinctrl driver"
52 tristate "Intel Broxton pinctrl and GPIO driver"
56 Broxton pinctrl driver provides an interface that allows
60 tristate "Intel Sunrisepoint pinctrl and GPIO driver"
64 Sunrisepoint is the PCH of Intel Skylake. This pinctrl driver
/drivers/pinctrl/samsung/
DMakefile3 obj-$(CONFIG_PINCTRL_SAMSUNG) += pinctrl-samsung.o
4 obj-$(CONFIG_PINCTRL_EXYNOS) += pinctrl-exynos.o
5 obj-$(CONFIG_PINCTRL_EXYNOS5440) += pinctrl-exynos5440.o
6 obj-$(CONFIG_PINCTRL_S3C24XX) += pinctrl-s3c24xx.o
7 obj-$(CONFIG_PINCTRL_S3C64XX) += pinctrl-s3c64xx.o

123