/linux/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 177 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local 180 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd() 184 return !!(pupd & mask); in stmfx_pinconf_get_pupd() 188 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() argument 193 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd() 226 int ret, dir, type, pupd; in stmfx_pinconf_get() local 245 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get() 246 if (pupd < 0) in stmfx_pinconf_get() 247 return pupd; in stmfx_pinconf_get() 251 if ((!dir && (!type || !pupd)) || (dir && !type)) in stmfx_pinconf_get() [all …]
|
H A D | pinctrl-da850-pupd.c | 177 { .compatible = "ti,da850-pupd" }, 184 .name = "ti-da850-pupd",
|
H A D | Makefile | 23 obj-$(CONFIG_PINCTRL_DA850_PUPD) += pinctrl-da850-pupd.o
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8189-pinctrl.yaml | 107 description: mt8189 pull down PUPD/R0/R1 type define value. 114 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 127 description: mt8189 pull up PUPD/R0/R1 type define value. 134 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
H A D | mediatek,mt6795-pinctrl.yaml | 101 description: mt6795 pull down PUPD/R0/R1 type define value. 104 values; When pull down type is PUPD/R0/R1, adding R1R0 defines 111 description: mt6795 pull up PUPD/R0/R1 type define value. 114 values; When pull up type is PUPD/R0/R1, adding R1R0 defines will
|
H A D | mediatek,mt8188-pinctrl.yaml | 104 description: mt8188 pull down PUPD/R0/R1 type define value. 112 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 130 description: mt8188 pull up PUPD/R0/R1 type define value. 138 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to set
|
H A D | mediatek,mt8196-pinctrl.yaml | 124 description: mt8196 pull down PUPD/R0/R1 type define value. 130 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 143 description: mt8196 pull up PUPD/R0/R1 type define value. 149 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
H A D | mediatek,mt8186-pinctrl.yaml | 116 description: mt8186 pull down PUPD/R0/R1 type define value. 124 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 161 description: mt8186 pull up PUPD/R0/R1 type define value. 169 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
H A D | mediatek,mt8195-pinctrl.yaml | 109 description: mt8195 pull down PUPD/R0/R1 type define value. 117 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 157 description: mt8195 pull up PUPD/R0/R1 type define value. 165 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
H A D | ti,da850-pupd.txt | 8 - compatible: Must be "ti,da850-pupd" 31 compatible = "ti,da850-pupd";
|
H A D | mediatek,mt8192-pinctrl.yaml | 92 description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_ 103 description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_
|
H A D | mediatek,mt7986-pinctrl.yaml | 303 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in 312 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
|
H A D | mediatek,mt7981-pinctrl.yaml | 357 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in 366 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzv2m.c | 90 #define PUPD(n) (0x24 + (n) * 0x40) macro 492 /* PUPD uses 2-bits per pin */ in rzv2m_pinctrl_pinconf_get() 495 switch ((readl(pctrl->base + PUPD(port)) >> bit) & PUPD_MASK) { in rzv2m_pinctrl_pinconf_get() 596 /* PUPD uses 2-bits per pin */ in rzv2m_pinctrl_pinconf_set() 610 rzv2m_rmw_pin_config(pctrl, PUPD(port), bit, PUPD_MASK, val); in rzv2m_pinctrl_pinconf_set()
|
H A D | pinctrl-rzg2l.c | 142 #define PUPD(off) (0x1C00 + (off) * 8) macro 321 * @pupd: PUPD registers cache 335 u32 *pupd[2]; member 1338 arg = rzg2l_read_pin_config(pctrl, PUPD(off), bit, PUPD_MASK); in rzg2l_pinctrl_pinconf_get() 1502 rzg2l_rmw_pin_config(pctrl, PUPD(off), bit, PUPD_MASK, ret); in rzg2l_pinctrl_pinconf_set() 2735 cache->pupd[i] = devm_kcalloc(pctrl->dev, nports, sizeof(*cache->pupd[i]), in rzg2l_pinctrl_reg_cache_alloc() 2737 if (!cache->pupd[i]) in rzg2l_pinctrl_reg_cache_alloc() 3015 RZG2L_PCTRL_REG_ACCESS32(suspend, pctrl->base + PUPD(off), in rzg2l_pinctrl_pm_setup_regs() 3016 cache->pupd[0][port]); in rzg2l_pinctrl_pm_setup_regs() 3018 RZG2L_PCTRL_REG_ACCESS32(suspend, pctrl->base + PUPD(off), in rzg2l_pinctrl_pm_setup_regs() [all …]
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common-v2.c | 600 * 3. PUPD + R0 + R1 679 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_set_pupd_r1_r0() 961 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_get_pupd_r1_r0() 1164 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_set() 1192 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_get()
|
/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra234.c | 1425 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \ argument 1434 .pupd_reg = PINGROUP_REG_##pupd(r), \ 1615 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_… argument 1627 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \
|
H A D | pinctrl-tegra194.c | 1324 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \ argument 1334 .pupd_reg = PINGROUP_REG_##pupd(r), \ 1571 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_… argument 1583 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \
|
H A D | pinctrl-tegra20.c | 2045 /* name, f0, f1, f2, f3, tri r/b, mux r/b, pupd r/b */
|
/linux/arch/arm/boot/dts/ti/davinci/ |
H A D | da850.dtsi | 911 compatible = "ti,da850-pupd";
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8195-cherry.dtsi | 1203 pins-low-power-pupd {
|