Home
last modified time | relevance | path

Searched refs:pullup (Results 1 – 25 of 161) sorted by relevance

1234567

/linux-6.6.21/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.c457 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set() argument
461 arg = pullup ? 1 : 2; in mtk_pinconf_bias_set()
477 const struct mtk_pin_desc *desc, bool pullup, int *res) in mtk_pinconf_bias_get() argument
481 reg = pullup ? PINCTRL_PIN_REG_PU : PINCTRL_PIN_REG_PD; in mtk_pinconf_bias_get()
524 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set_rev1() argument
528 arg = pullup ? MTK_PULLUP : MTK_PULLDOWN; in mtk_pinconf_bias_set_rev1()
544 const struct mtk_pin_desc *desc, bool pullup, in mtk_pinconf_bias_get_rev1() argument
560 if (pullup ^ (v == MTK_PULLUP)) in mtk_pinconf_bias_get_rev1()
576 u32 pullup, u32 arg) in mtk_pinconf_bias_set_pu_pd() argument
583 } else if ((arg == MTK_ENABLE) && pullup) { in mtk_pinconf_bias_set_pu_pd()
[all …]
Dpinctrl-mtk-common-v2.h260 const struct mtk_pin_desc *desc, bool pullup);
262 const struct mtk_pin_desc *desc, bool pullup, int *res);
265 const struct mtk_pin_desc *desc, u32 pullup, u32 arg);
267 const struct mtk_pin_desc *desc, u32 *pullup, u32 *arg);
275 const struct mtk_pin_desc *desc, bool pullup,
278 const struct mtk_pin_desc *desc, bool pullup,
319 const struct mtk_pin_desc *desc, bool pullup);
321 const struct mtk_pin_desc *desc, bool pullup,
330 const struct mtk_pin_desc *desc, bool pullup);
332 const struct mtk_pin_desc *desc, bool pullup,
[all …]
Dpinctrl-moore.c112 int val, val2, err, pullup, reg, ret = 1; in mtk_pinconf_get() local
122 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
137 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
142 if (!pullup) in mtk_pinconf_get()
154 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
159 if (pullup) in mtk_pinconf_get()
227 bool pullup; in mtk_pinconf_get() local
229 pullup = param == MTK_PIN_CONFIG_PU_ADV; in mtk_pinconf_get()
230 err = hw->soc->adv_pull_get(hw, desc, pullup, &ret); in mtk_pinconf_get()
379 bool pullup; in mtk_pinconf_set() local
[all …]
/linux-6.6.21/arch/arm/boot/dts/
Dcros-adc-thermistors.dtsi15 pullup-uv = <1800000>;
16 pullup-ohm = <47000>;
22 pullup-uv = <1800000>;
23 pullup-ohm = <47000>;
29 pullup-uv = <1800000>;
30 pullup-ohm = <47000>;
36 pullup-uv = <1800000>;
37 pullup-ohm = <47000>;
/linux-6.6.21/arch/arm64/boot/dts/hisilicon/
Dhikey-pinctrl.dtsi252 pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
261 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
270 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
287 pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
296 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
305 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
313 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
326 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
338 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
347 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
[all …]
Dhikey970-pinctrl.dtsi230 pinctrl-single,bias-pullup = <
254 pinctrl-single,bias-pullup = <
278 pinctrl-single,bias-pullup = <
302 pinctrl-single,bias-pullup = <
324 pinctrl-single,bias-pullup = <
346 pinctrl-single,bias-pullup = <
368 pinctrl-single,bias-pullup = <
389 pinctrl-single,bias-pullup = <
410 pinctrl-single,bias-pullup = <
431 pinctrl-single,bias-pullup = <
[all …]
Dhikey960-pinctrl.dtsi339 pinctrl-single,bias-pullup = <
361 pinctrl-single,bias-pullup = <
382 pinctrl-single,bias-pullup = <
403 pinctrl-single,bias-pullup = <
426 pinctrl-single,bias-pullup = <
448 pinctrl-single,bias-pullup = <
469 pinctrl-single,bias-pullup = <
493 pinctrl-single,bias-pullup = <
517 pinctrl-single,bias-pullup = <
541 pinctrl-single,bias-pullup = <
[all …]
Dpoplar-pinctrl.dtsi34 pinctrl-single,bias-pullup = <
52 pinctrl-single,bias-pullup = <
70 pinctrl-single,bias-pullup = <
88 pinctrl-single,bias-pullup = <
/linux-6.6.21/arch/arm/boot/dts/hisilicon/
Dhi3620-hi4511.dts325 pinctrl-single,bias-pullup = <1 1 0 1>;
334 pinctrl-single,bias-pullup = <0 1 0 1>;
342 pinctrl-single,bias-pullup = <0 1 0 1>;
350 pinctrl-single,bias-pullup = <0 1 0 1>;
365 pinctrl-single,bias-pullup = <0 1 0 1>;
373 pinctrl-single,bias-pullup = <0 1 0 1>;
383 pinctrl-single,bias-pullup = <0 1 0 1>;
393 pinctrl-single,bias-pullup = <0 1 0 1>;
403 pinctrl-single,bias-pullup = <0 1 0 1>;
413 pinctrl-single,bias-pullup = <0 1 0 1>;
[all …]
/linux-6.6.21/arch/arm/boot/dts/microchip/
Dsama5d3_mci2.dtsi21 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC10 periph A MCI2_CDA with pullup */
22 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC11 periph A MCI2_DA0 with pullup */
26 …<AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC12 periph A MCI2_DA1 with pullup, conflicts …
27 …AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC13 periph A MCI2_DA2 with pullup, conflicts w…
28 …AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC14 periph A MCI2_DA3 with pullup, conflicts…
Dat91sam9263.dtsi293 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
294 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA0 periph A with pullup */
299 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
300 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
301 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
306 <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
307 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA17 periph A with pullup */
312 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
313 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
314 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
[all …]
Dat91-sam9x60_curiosity.dts396 …<AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA17 CK periph A with pullup */
397 …ERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA16 CMD periph A with pullup */
399 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA18 DAT1 periph A with pullup */
400 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA19 DAT2 periph A with pullup */
401 …PH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA20 DAT3 periph A with pullup */
414 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA12 CMD periph B with pullup */
415 …RIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA11 DAT0 periph B with pullup */
416 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA2 DAT1 periph B with pullup */
417 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA3 DAT2 periph B with pullup */
418 …IPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA4 DAT3 periph B with pullup */
Dat91sam9g45.dtsi415 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
416 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
421 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
422 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
423 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
428 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
429 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
430 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
431 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
439 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
[all …]
Dat91sam9n12.dtsi295 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
313 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
321 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
339 <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC23 periph B with pullup */
357 <AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC9 periph C with pullup */
386 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
387 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
392 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
393 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
394 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
[all …]
Dat91-sam9x60ek.dts494 …<AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA17 CK periph A with pullup */
495 …ERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA16 CMD periph A with pullup */
497 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA18 DAT1 periph A with pullup */
498 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA19 DAT2 periph A with pullup */
499 …PH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA20 DAT3 periph A with pullup */
511 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA12 CMD periph B with pullup */
512 …RIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA11 DAT0 periph B with pullup */
513 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA2 DAT1 periph B with pullup */
514 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA3 DAT2 periph B with pullup */
515 …IPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA4 DAT3 periph B with pullup */
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Dam335x-pocketbeagle.dts221 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
230 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
239 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
248 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
257 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
266 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
275 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
284 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
293 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
302 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
[all …]
/linux-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3566-soquartz-cm4.dts55 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
56 * pin 82 - SDA0 - i2c1_sda_m0, pullup to vcc3v3_pmu
73 * pin 56 - GPIO3 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
74 * pin 58 - GPIO2 - i2c2_sda_m1, pullup to vcc_3v3
82 * pin 35 - ID_SC(GPIO28) - i2c3_scl_m0, pullup to vcc_3v3
83 * pin 36 - ID_SD(GPIO27) - i2c3_sda_m0, pullup to vcc_3v3
Drk3566-soquartz-blade.dts59 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
60 * pin 82 - SDA0 - i2c1_sda_m0, pullup to vcc3v3_pmu
69 * pin 56 - GPIO3 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
70 * pin 58 - GPIO2 - i2c2_sda_m1, pullup to vcc_3v3
78 * pin 35 - ID_SC(GPIO28) - i2c3_scl_m0, pullup to vcc_3v3
79 * pin 36 - ID_SD(GPIO27) - i2c3_sda_m0, pullup to vcc_3v3
Drk3566-soquartz-model-a.dts78 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
79 * pin 82 - SDA0 - i2c1_sda_m0, pullup to vcc3v3_pmu
96 * pin 56 - GPIO3 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
97 * pin 58 - GPIO2 - i2c2_sda_m1, pullup to vcc_3v3
105 * pin 35 - ID_SC(GPIO28) - i2c3_scl_m0, pullup to vcc_3v3
106 * pin 36 - ID_SD(GPIO27) - i2c3_sda_m0, pullup to vcc_3v3
Drk3399-gru-kevin.dts70 pullup-uv = <1800000>;
71 pullup-ohm = <25500>;
79 pullup-uv = <1800000>;
80 pullup-ohm = <25500>;
306 /* Has external pullup */
311 /* Has external pullup */
/linux-6.6.21/Documentation/w1/slaves/
Dw1_therm.rst45 powered devices are detected on the bus (and strong pullup is enabled
57 A strong pullup will be applied during the conversion if required.
100 strong pullup, 1 to enable autodetection or 2 to force strong pullup.
103 If so, it will activate the master's strong pullup.
105 (seems to be the case with some DS18S20) the strong pullup can
108 If the strong pullup is enabled, the master's strong pullup will be
110 does support the strong pullup (or it falls back to a pullup
112 maximum current draw of 1.5mA and that a 5k pullup resistor is not
113 sufficient. The strong pullup is designed to provide the additional
/linux-6.6.21/Documentation/devicetree/bindings/hwmon/
Dntc-thermistor.yaml95 pullup-uv:
99 pullup-ohm:
125 - pullup-uv
126 - pullup-ohm
137 pullup-uv = <1800000>;
138 pullup-ohm = <220000>;
/linux-6.6.21/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c170 unsigned int pullup; member
410 if (pad->pullup != PMIC_GPIO_PULL_DOWN) in pmic_gpio_config_get()
415 if (pad->pullup != PMIC_GPIO_PULL_DISABLE) in pmic_gpio_config_get()
420 if (pad->pullup != PMIC_GPIO_PULL_UP_30) in pmic_gpio_config_get()
444 arg = pad->pullup; in pmic_gpio_config_get()
507 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set()
510 pad->pullup = PMIC_GPIO_PULL_UP_30; in pmic_gpio_config_set()
514 pad->pullup = PMIC_GPIO_PULL_DOWN; in pmic_gpio_config_set()
516 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set()
539 pad->pullup = arg; in pmic_gpio_config_set()
[all …]
Dpinctrl-spmi-mpp.c135 unsigned int pullup; member
340 if (pad->pullup != PMIC_MPP_PULL_UP_OPEN) in pmic_mpp_config_get()
345 switch (pad->pullup) { in pmic_mpp_config_get()
421 pad->pullup = PMIC_MPP_PULL_UP_OPEN; in pmic_mpp_config_set()
426 pad->pullup = PMIC_MPP_PULL_UP_0P6KOHM; in pmic_mpp_config_set()
429 pad->pullup = PMIC_MPP_PULL_UP_10KOHM; in pmic_mpp_config_set()
432 pad->pullup = PMIC_MPP_PULL_UP_30KOHM; in pmic_mpp_config_set()
482 val = pad->pullup << PMIC_MPP_REG_PULL_SHIFT; in pmic_mpp_config_set()
546 seq_printf(s, " %-8s", biases[pad->pullup]); in pmic_mpp_config_dbg_show()
755 pad->pullup = val >> PMIC_MPP_REG_PULL_SHIFT; in pmic_mpp_populate()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/i2c/
Di2c-gpio.yaml70 i2c-gpio,sda-has-no-pullup:
76 i2c-gpio,scl-has-no-pullup:
83 i2c-gpio,sda-has-no-pullup:
87 i2c-gpio,scl-has-no-pullup:

1234567