Home
last modified time | relevance | path

Searched full:pullup (Results 1 – 25 of 230) sorted by relevance

12345678910

/linux/drivers/pinctrl/mediatek/
H A 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 …]
H A Dpinctrl-mtk-common-v2.h162 * @up_rsel: the pullup rsel bias resistance value
260 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);
[all …]
H A Dpinctrl-moore.c115 int val, val2, err, pullup, reg, ret = 1; in mtk_pinconf_get() local
125 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
140 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
145 if (!pullup) in mtk_pinconf_get()
157 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get()
162 if (pullup) in mtk_pinconf_get()
230 bool pullup; in mtk_pinconf_get() local
232 pullup = param == MTK_PIN_CONFIG_PU_ADV; in mtk_pinconf_get()
233 err = hw->soc->adv_pull_get(hw, desc, pullup, &ret); in mtk_pinconf_get()
382 bool pullup; in mtk_pinconf_set() local
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-iot2050-arduino-connector.dtsi15 "d0-uart0-rxd", "d0-gpio", "d0-gpio-pullup", "d0-gpio-pulldown",
16 "d1-uart0-txd", "d1-gpio", "d1-gpio-pullup", "d1-gpio-pulldown",
17 "d2-uart0-ctsn", "d2-gpio", "d2-gpio-pullup", "d2-gpio-pulldown",
18 "d3-uart0-rtsn", "d3-gpio", "d3-gpio-pullup", "d3-gpio-pulldown",
19 "d10-spi0-cs0", "d10-gpio", "d10-gpio-pullup", "d10-gpio-pulldown",
20 "d11-spi0-d0", "d11-gpio", "d11-gpio-pullup", "d11-gpio-pulldown",
21 "d12-spi0-d1", "d12-gpio", "d12-gpio-pullup", "d12-gpio-pulldown",
22 "d13-spi0-clk", "d13-gpio", "d13-gpio-pullup", "d13-gpio-pulldown",
23 "a0-gpio", "a0-gpio-pullup", "a0-gpio-pulldown",
24 "a1-gpio", "a1-gpio-pullup", "a1-gpio-pulldown",
[all …]
/linux/arch/arm/boot/dts/
H A 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/arch/arm64/boot/dts/hisilicon/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dpoplar-pinctrl.dtsi34 pinctrl-single,bias-pullup = <
52 pinctrl-single,bias-pullup = <
70 pinctrl-single,bias-pullup = <
88 pinctrl-single,bias-pullup = <
/linux/Documentation/w1/slaves/
H A 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/arch/arm/boot/dts/hisilicon/
H A 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/arch/arm/boot/dts/microchip/
H A 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…
H A 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 …]
H A Dat91-sam9x60_curiosity.dts397 …<AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA17 CK periph A with pullup */
398 …ERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA16 CMD periph A with pullup */
400 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA18 DAT1 periph A with pullup */
401 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA19 DAT2 periph A with pullup */
402 …PH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA20 DAT3 periph A with pullup */
415 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA12 CMD periph B with pullup */
416 …RIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA11 DAT0 periph B with pullup */
417 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA2 DAT1 periph B with pullup */
418 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA3 DAT2 periph B with pullup */
419 …IPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA4 DAT3 periph B with pullup */
H A 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 …]
H A 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 …]
H A Dat91-sam9x60ek.dts493 …<AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA17 CK periph A with pullup */
494 …ERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA16 CMD periph A with pullup */
496 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA18 DAT1 periph A with pullup */
497 …RIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA19 DAT2 periph A with pullup */
498 …PH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA20 DAT3 periph A with pullup */
510 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA12 CMD periph B with pullup */
511 …RIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA11 DAT0 periph B with pullup */
512 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA2 DAT1 periph B with pullup */
513 …ERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA3 DAT2 periph B with pullup */
514 …IPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA4 DAT3 periph B with pullup */
/linux/drivers/usb/phy/
H A Dphy-gpio-vbus-usb.c25 * with internal transceivers. It can control a D+ pullup GPIO and
106 /* Peripheral controllers which manage the pullup themselves won't have in gpio_vbus_work()
107 * a pullup GPIO configured here. If it's configured here, we'll do in gpio_vbus_work()
108 * what isp1301_omap::b_peripheral() does and enable the pullup here... in gpio_vbus_work()
121 /* optionally enable D+ pullup */ in gpio_vbus_work()
129 /* optionally disable D+ pullup */ in gpio_vbus_work()
179 /* optionally disable D+ pullup */ in gpio_vbus_set_peripheral()
284 * Get the optional D+ or D- pullup GPIO. If the data line pullup is in gpio_vbus_probe()
287 gpio_vbus->pullup_gpiod = devm_gpiod_get_optional(dev, "pullup", in gpio_vbus_probe()
291 dev_err(&pdev->dev, "can't request pullup gpio, err: %d\n", in gpio_vbus_probe()
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-pocketbeagle.dts225 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
234 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
243 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
252 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
261 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
270 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
279 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
288 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
297 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
306 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-soquartz-cm4.dts59 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
60 * pin 82 - SDA0 - i2c1_sda_m0, pullup to vcc3v3_pmu
77 * pin 56 - GPIO3 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
78 * pin 58 - GPIO2 - i2c2_sda_m1, pullup to vcc_3v3
86 * pin 35 - ID_SC(GPIO28) - i2c3_scl_m0, pullup to vcc_3v3
87 * pin 36 - ID_SD(GPIO27) - i2c3_sda_m0, pullup to vcc_3v3
H A Drk3566-soquartz-blade.dts63 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
64 * 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
H A Drk3566-soquartz-model-a.dts82 * pin 80 - SCL0 - i2c1_scl_m0, pullup to vcc3v3_pmu
83 * pin 82 - SDA0 - i2c1_sda_m0, pullup to vcc3v3_pmu
100 * pin 56 - GPIO3 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
101 * pin 58 - GPIO2 - i2c2_sda_m1, pullup to vcc_3v3
109 * pin 35 - ID_SC(GPIO28) - i2c3_scl_m0, pullup to vcc_3v3
110 * pin 36 - ID_SD(GPIO27) - i2c3_sda_m0, pullup to vcc_3v3
/linux/Documentation/devicetree/bindings/hwmon/
H A Dntc-thermistor.yaml95 pullup-uv:
99 pullup-ohm:
125 - pullup-uv
126 - pullup-ohm
137 pullup-uv = <1800000>;
138 pullup-ohm = <220000>;
/linux/Documentation/devicetree/bindings/i2c/
H A 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:
/linux/Documentation/devicetree/bindings/mfd/
H A Das3722.txt18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on
19 interrupt pin. Missing this will disable internal pullup on INT pin.
20 - ams,enable-internal-i2c-pullup: Boolean property, to enable internal pullup on
21 i2c scl/sda pins. Missing this will disable internal pullup on i2c

12345678910