/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rockchip-pinconf.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /omit-if-no-ref/ 8 pcfg_pull_up: pcfg-pull-up { 9 bias-pull-up; 12 /omit-if-no-ref/ 13 pcfg_pull_down: pcfg-pull-down { 14 bias-pull-down; 17 /omit-if-no-ref/ 18 pcfg_pull_none: pcfg-pull-none { 19 bias-disable; [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | qcom-msm8960-cdp.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8960.dtsi" 8 compatible = "qcom,msm8960-cdp", "qcom,msm8960"; 15 stdout-path = "serial0:115200n8"; 19 compatible = "simple-bus"; 21 ext_l2: gpio-regulator@91 { 22 compatible = "regulator-fixed"; 23 regulator-name = "ext_l2"; 25 startup-delay-us = <10000>; [all …]
|
D | qcom-apq8064-sony-xperia-lagan-yuga.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/qcom-rpm.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 compatible = "sony,xperia-yuga", "qcom,apq8064"; 17 stdout-path = "serial0:115200n8"; 20 gpio-keys { 21 compatible = "gpio-keys"; [all …]
|
D | ste-href-ab8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include "ste-ab8500.dtsi" 14 pinctrl-names = "default"; 15 pinctrl-0 = <&gpio2_default_mode>, 41 * are muxed in as GPIO, and configured as INPUT PULL DOWN 51 input-enable; 52 bias-pull-down; 64 input-enable; 65 bias-pull-down; 77 input-enable; [all …]
|
D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 18 stdout-path = "serial0:115200n8"; 22 compatible = "simple-bus"; [all …]
|
D | qcom-apq8064-asus-nexus7-flo.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 compatible = "asus,nexus7-flo", "qcom,apq8064"; 16 stdout-path = "serial0:115200n8"; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; [all …]
|
D | qcom-mdm9615.dtsi | 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 48 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/clock/qcom,gcc-mdm9615.h> 50 #include <dt-bindings/reset/qcom,gcc-mdm9615.h> 51 #include <dt-bindings/mfd/qcom-rpm.h> 52 #include <dt-bindings/soc/qcom,gsbi.h> 55 #address-cells = <1>; 56 #size-cells = <1>; 59 interrupt-parent = <&intc>; [all …]
|
D | qcom-mdm9615-wp8548-mangoh-green.dts | 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/input/input.h> 48 #include "qcom-mdm9615-wp8548.dtsi" 49 #include <dt-bindings/interrupt-controller/irq.h> 50 #include <dt-bindings/gpio/gpio.h> 54 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615"; 65 stdout-path = "serial1:115200n8"; 71 * - 2 : GPIOEXP_INT2 72 * - 7 : IOT1_GPIO2 73 * - 8 : IOT0_GPIO4 [all …]
|
/Linux-v6.1/arch/arm/mach-s3c/ |
D | gpio-cfg-helpers.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Samsung Platform - GPIO pin configuration helper definitions 26 return (chip->config->set_config)(chip, off, config); in samsung_gpio_do_setcfg() 32 return (chip->config->get_config)(chip, off); in samsung_gpio_do_getcfg() 36 unsigned int off, samsung_gpio_pull_t pull) in samsung_gpio_do_setpull() argument 38 return (chip->config->set_pull)(chip, off, pull); in samsung_gpio_do_setpull() 44 return chip->config->get_pull(chip, off); in samsung_gpio_do_getpull() 47 /* Pull-{up,down} resistor controls. 49 * S3C2410,S3C2440 = Pull-UP, 50 * S3C2412,S3C2413 = Pull-Down [all …]
|
D | gpio-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * S3C Platform - GPIO pin configuration 13 * changing the pull-{up,down} configurations. 27 /* forward declaration if gpio-core.h hasn't been included */ 33 * @get_pull: Read the current pull configuration for the GPIO 34 * @set_pull: Set the current pull configuration for the GPIO 41 * per-bank configuration information that other systems such as the 54 samsung_gpio_pull_t pull); 73 * s3c_gpio_cfgpin() - Change the GPIO function of a pin. 85 * If a bank of GPIOs all needs to be set to special-function 2, then [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/ |
D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Naveen Krishna Chatradhi <ch.naveen@samsung.com> 10 - Linus Walleij <linus.walleij@linaro.org> 14 vary in resistance in an often non-linear way in relation to temperature. 17 temperature is non-linear, software drivers most often need to use a look 21 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 23 + e.g. 5V = pull-up voltage (puv) [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mt8186.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8186.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8186-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 31 gpio-line-names: true [all …]
|
D | pinctrl-mt8195.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8195.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8195-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 32 gpio-line-names: true [all …]
|
D | mediatek,mt8188-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hui Liu <hui.liu@mediatek.com> 17 const: mediatek,mt8188-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 25 parameters which are defined in <dt-bindings/gpio/gpio.h>. 28 gpio-ranges: [all …]
|
D | ste,nomadik.txt | 4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 "stericsson,stn8815-pinctrl" 6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips 8 - prcm: phandle to the PRCMU managing the back end of this pin controller 10 Please refer to pinctrl-bindings.txt in this directory for details of the 18 parameters, such as input, output, pull up, pull down... 23 (see pinctrl-bindings.txt): 26 - function: A string containing the name of the function to mux to the 28 - groups : An array of strings. Each string contains the name of a pin 30 set-up. [all …]
|
D | mediatek,pinctrl-mt6795.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,pinctrl-mt6795.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 11 - Sean Wang <sean.wang@kernel.org> 18 const: mediatek,mt6795-pinctrl 20 gpio-controller: true 22 '#gpio-cells': 29 gpio-ranges: [all …]
|
D | ti,da850-pupd.txt | 1 * Pin configuration for TI DA850/OMAP-L138/AM18x 3 These SoCs have a separate controller for setting bias (internal pullup/down). 8 - compatible: Must be "ti,da850-pupd" 9 - reg: Base address and length of the memory resource used by the pullup/down 17 - groups: An array of strings, each string containing the name of a pin group. 21 pinctrl-bindings.txt in this directory. The supported parameters are 22 bias-disable, bias-pull-up, bias-pull-down. 26 ------- 30 pinconf: pin-controller@22c00c { 31 compatible = "ti,da850-pupd"; [all …]
|
D | nvidia,tegra20-pinmux.txt | 4 - compatible: "nvidia,tegra20-pinmux" 5 - reg: Should contain the register physical address and length for each of 6 the tri-state, mux, pull-up/down, and pad control register sets. 8 Please refer to pinctrl-bindings.txt in this directory for details of the 16 parameters, such as pull-up, tristate, drive strength, etc. 30 Required subnode-properties: 31 - nvidia,pins : An array of strings. Each string contains the name of a pin or 34 Optional subnode-properties: 35 - nvidia,function: A string containing the name of the function to mux to the 38 - nvidia,pull: Integer, representing the pull-down/up to apply to the pin. [all …]
|
D | sprd,pinctrl.txt | 16 of them, so we can not make every Spreadtrum-special configuration 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up 40 - bias-pull-down 46 and set the pin sleep related configuration as "input-enable", which 54 "sprd,sleep-mode" property to set pin sleep mode. 58 configure drive strength, pull up/down and so on. Especially for pull [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mmc/ |
D | nvidia,tegra20-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/nvidia,tegra20-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 mmc-controller.yaml and the properties for the Tegra SDHCI controller. 23 - enum: 24 - nvidia,tegra20-sdhci 25 - nvidia,tegra30-sdhci [all …]
|
/Linux-v6.1/drivers/misc/cardreader/ |
D | rts5229.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Driver for Realtek PCI-Express card reader 4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 26 struct pci_dev *pdev = pcr->pci; in rts5229_fetch_vendor_settings() 35 pcr->aspm_en = rtsx_reg_to_aspm(reg); in rts5229_fetch_vendor_settings() 36 pcr->sd30_drive_sel_1v8 = in rts5229_fetch_vendor_settings() 38 pcr->card_drive_sel &= 0x3F; in rts5229_fetch_vendor_settings() 39 pcr->card_drive_sel |= rtsx_reg_to_card_drive_sel(reg); in rts5229_fetch_vendor_settings() 43 pcr->sd30_drive_sel_3v3 = in rts5229_fetch_vendor_settings() 69 0xFF, pcr->sd30_drive_sel_3v3); in rts5229_extra_init_hw() [all …]
|
D | rts5209.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Driver for Realtek PCI-Express card reader 4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 26 struct pci_dev *pdev = pcr->pci; in rts5209_fetch_vendor_settings() 34 pcr->flags |= PCR_MS_PMOS; in rts5209_fetch_vendor_settings() 35 pcr->aspm_en = rts5209_reg_to_aspm(reg); in rts5209_fetch_vendor_settings() 42 pcr->sd30_drive_sel_1v8 = in rts5209_fetch_vendor_settings() 44 pcr->sd30_drive_sel_3v3 = in rts5209_fetch_vendor_settings() 46 pcr->card_drive_sel = rts5209_reg_to_card_drive_sel(reg); in rts5209_fetch_vendor_settings() 69 0xFF, pcr->sd30_drive_sel_3v3); in rts5209_extra_init_hw() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | msm8916-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 8 blsp1_uart1_default: blsp1-uart1-default { 13 drive-strength = <16>; 14 bias-disable; 17 blsp1_uart1_sleep: blsp1-uart1-sleep { 21 drive-strength = <2>; 22 bias-pull-down; 25 blsp1_uart2_default: blsp1-uart2-default { 29 drive-strength = <16>; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8183-pumpkin.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 16 compatible = "mediatek,mt8183-pumpkin", "mediatek,mt8183"; 28 stdout-path = "serial0:921600n8"; 31 reserved-memory { 32 #address-cells = <2>; 33 #size-cells = <2>; 37 compatible = "shared-dma-pool"; [all …]
|
/Linux-v6.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/pinctrl/pinconf-generic.h> 14 #include "mtk-eint.h" 61 #define SET_ADDR(x, y) (x + (y->devdata->port_align)) 62 #define CLR_ADDR(x, y) (x + (y->devdata->port_align << 1)) 71 * struct mtk_drv_group_desc - Provide driving group data. 96 * struct mtk_pin_drv_grp - Provide each pin driving info. 119 * - For special pins' pull up/down setting which resides in same register 121 * @offset: The offset of special pull up/down setting register. 122 * @pupd_bit: The pull up/down bit in this register. [all …]
|