| /OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mtk-common-v2.c | 452 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set() argument 456 arg = pullup ? 1 : 2; in mtk_pinconf_bias_set() 472 const struct mtk_pin_desc *desc, bool pullup, int *res) in mtk_pinconf_bias_get() argument 476 reg = pullup ? PINCTRL_PIN_REG_PU : PINCTRL_PIN_REG_PD; in mtk_pinconf_bias_get() 525 const struct mtk_pin_desc *desc, bool pullup) in mtk_pinconf_bias_set_rev1() argument 529 arg = pullup ? MTK_PULLUP : MTK_PULLDOWN; in mtk_pinconf_bias_set_rev1() 545 const struct mtk_pin_desc *desc, bool pullup, in mtk_pinconf_bias_get_rev1() argument 561 if (pullup ^ (v == MTK_PULLUP)) in mtk_pinconf_bias_get_rev1() 577 u32 pullup, u32 arg) in mtk_pinconf_bias_set_pu_pd() argument 584 } else if ((arg == MTK_ENABLE) && pullup) { in mtk_pinconf_bias_set_pu_pd() [all …]
|
| H A D | pinctrl-mtk-common-v2.h | 215 const struct mtk_pin_desc *desc, bool pullup); 217 const struct mtk_pin_desc *desc, bool pullup, int *res); 220 const struct mtk_pin_desc *desc, u32 pullup, u32 arg); 222 const struct mtk_pin_desc *desc, u32 *pullup, u32 *arg); 230 const struct mtk_pin_desc *desc, bool pullup, 233 const struct mtk_pin_desc *desc, bool pullup, 270 const struct mtk_pin_desc *desc, bool pullup); 272 const struct mtk_pin_desc *desc, bool pullup, 281 const struct mtk_pin_desc *desc, bool pullup); 283 const struct mtk_pin_desc *desc, bool pullup, [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | cros-adc-thermistors.dtsi | 15 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>;
|
| H A D | hi3620-hi4511.dts | 325 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 …]
|
| H A D | sama5d3_mci2.dtsi | 21 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 D | am335x-pocketbeagle.dts | 220 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 229 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 238 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 247 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 256 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 265 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 274 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 283 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 292 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 301 pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; [all …]
|
| H A D | at91sam9263.dtsi | 292 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 293 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA0 periph A with pullup */ 298 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */ 299 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */ 300 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */ 305 <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ 306 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA17 periph A with pullup */ 311 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */ 312 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */ 313 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */ [all …]
|
| H A D | at91sam9g45.dtsi | 414 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 415 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */ 420 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */ 421 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */ 422 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */ 427 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */ 428 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */ 429 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */ 430 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */ 438 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */ [all …]
|
| H A D | at91sam9n12.dtsi | 311 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 329 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */ 337 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */ 355 <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC23 periph B with pullup */ 373 <AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC9 periph C with pullup */ 402 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ 403 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */ 408 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */ 409 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */ 410 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/ |
| H A D | hikey-pinctrl.dtsi | 252 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 D | hikey960-pinctrl.dtsi | 339 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 D | hikey970-pinctrl.dtsi | 83 pinctrl-single,bias-pullup = < 107 pinctrl-single,bias-pullup = < 131 pinctrl-single,bias-pullup = < 155 pinctrl-single,bias-pullup = < 177 pinctrl-single,bias-pullup = < 227 pinctrl-single,bias-pullup = < 252 pinctrl-single,bias-pullup = < 302 pinctrl-single,bias-pullup = < 328 pinctrl-single,bias-pullup = <
|
| H A D | poplar-pinctrl.dtsi | 34 pinctrl-single,bias-pullup = < 52 pinctrl-single,bias-pullup = < 70 pinctrl-single,bias-pullup = < 88 pinctrl-single,bias-pullup = <
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | sama5d3_mci2.dtsi | 22 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC10 periph A MCI2_CDA with pullup */ 23 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC11 periph A MCI2_DA0 with pullup */ 27 …<AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC12 periph A MCI2_DA1 with pullup, conflicts … 28 …AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC13 periph A MCI2_DA2 with pullup, conflicts w… 29 …AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC14 periph A MCI2_DA3 with pullup, conflicts…
|
| H A D | at91sam9263.dtsi | 438 <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA26 periph A with pullup */ 456 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A with pullup */ 474 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A with pullup */ 533 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 534 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA0 periph A with pullup */ 539 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */ 540 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */ 541 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */ 546 <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ 547 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA17 periph A with pullup */ [all …]
|
| H A D | at91sam9g45.dtsi | 546 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */ 564 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */ 582 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */ 600 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */ 655 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 656 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */ 661 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */ 662 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */ 663 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */ 668 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */ [all …]
|
| H A D | at91sam9260.dtsi | 467 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB15 periph with pullup */ 508 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */ 526 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB8 periph A with pullup */ 544 <AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB10 periph A with pullup */ 562 <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA31 periph B with pullup */ 570 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB12 periph A with pullup */ 631 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */ 632 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA6 periph A with pullup */ 637 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA9 periph A with pullup */ 638 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA10 periph A with pullup */ [all …]
|
| H A D | at91sam9n12.dtsi | 569 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 587 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */ 595 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */ 613 <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC23 periph B with pullup */ 631 <AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC9 periph C with pullup */ 639 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC17 periph C with pullup */ 656 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ 657 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */ 662 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */ 663 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | pinctrl-single.txt | 34 - pinctrl-single,bias-pullup : array of value that are used to configure the 35 input bias pullup in the pinmux register. 37 /* input, enabled pullup bits, disabled pullup bits, mask */ 38 pinctrl-single,bias-pullup = <0 1 0 1>; 46 * Two bits to control input bias pullup and pulldown: User should use 47 pinctrl-single,bias-pullup & pinctrl-single,bias-pulldown. One bit means 48 pullup, and the other one bit means pulldown. 49 * Three bits to control input bias enable, pullup and pulldown. User should 50 use pinctrl-single,bias-pullup & pinctrl-single,bias-pulldown. Input bias 51 enable bit should be included in pullup or pulldown bits. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/w1/slaves/ |
| H A D | w1_therm.rst | 44 powered devices are detected on the bus (and strong pullup is enabled 56 A strong pullup will be applied during the conversion if required. 99 strong pullup, 1 to enable autodetection or 2 to force strong pullup. 102 If so, it will activate the master's strong pullup. 104 (seems to be the case with some DS18S20) the strong pullup can 107 If the strong pullup is enabled, the master's strong pullup will be 109 does support the strong pullup (or it falls back to a pullup 111 maximum current draw of 1.5mA and that a 5k pullup resistor is not 112 sufficient. The strong pullup is designed to provide the additional
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/ |
| H A D | ntc_thermistor.txt | 23 - "pullup-uv" Pull up voltage in micro volts 24 - "pullup-ohm" Pull up resistor value in ohms 40 pullup-uv = <1800000>; 41 pullup-ohm = <47000>;
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/qcom/ |
| H A D | pinctrl-spmi-gpio.c | 161 unsigned int pullup; member 400 if (pad->pullup != PMIC_GPIO_PULL_DOWN) in pmic_gpio_config_get() 405 if (pad->pullup != PMIC_GPIO_PULL_DISABLE) in pmic_gpio_config_get() 410 if (pad->pullup != PMIC_GPIO_PULL_UP_30) in pmic_gpio_config_get() 431 arg = pad->pullup; in pmic_gpio_config_get() 484 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set() 487 pad->pullup = PMIC_GPIO_PULL_UP_30; in pmic_gpio_config_set() 491 pad->pullup = PMIC_GPIO_PULL_DOWN; in pmic_gpio_config_set() 493 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set() 513 pad->pullup = arg; in pmic_gpio_config_set() [all …]
|
| H A D | pinctrl-spmi-mpp.c | 135 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() 766 pad->pullup = val >> PMIC_MPP_REG_PULL_SHIFT; in pmic_mpp_populate() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru-kevin.dts | 69 pullup-uv = <1800000>; 70 pullup-ohm = <25500>; 78 pullup-uv = <1800000>; 79 pullup-ohm = <25500>; 305 /* Has external pullup */ 310 /* Has external pullup */
|
| /OK3568_Linux_fs/u-boot/include/linux/usb/ |
| H A D | gadget.h | 466 int (*pullup) (struct usb_gadget *, int is_on); member 738 if (!gadget->ops->pullup) in usb_gadget_connect() 740 return gadget->ops->pullup(gadget, 1); in usb_gadget_connect() 760 if (!gadget->ops->pullup) in usb_gadget_disconnect() 762 return gadget->ops->pullup(gadget, 0); in usb_gadget_disconnect()
|