| /kernel/linux/linux-4.19/arch/arm/plat-samsung/include/plat/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | msm8998-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 bias-disable; /* NO pull */ 9 drive-strength = <16>; /* 16 mA */ 16 bias-disable; /* NO pull */ 17 drive-strength = <2>; /* 2 mA */ 24 bias-pull-up; /* pull up */ 25 drive-strength = <10>; /* 10 mA */ 32 bias-pull-up; /* pull up */ 33 drive-strength = <2>; /* 2 mA */ 40 bias-pull-up; /* pull up */ [all …]
|
| D | msm8996-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 17 drive-strength = <2>; /* 2 mA */ 18 bias-pull-down; /* pull down */ 19 input-enable; 32 drive-strength = <16>; 33 bias-disable; 34 output-low; 44 drive-strength = <16>; 45 bias-pull-down; [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| D | nvidia,tegra20-sdhci.txt | 7 by mmc.txt and the properties used by the sdhci-tegra driver. 10 - compatible : should be one of: 11 - "nvidia,tegra20-sdhci": for Tegra20 12 - "nvidia,tegra30-sdhci": for Tegra30 13 - "nvidia,tegra114-sdhci": for Tegra114 14 - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132 15 - "nvidia,tegra210-sdhci": for Tegra210 16 - "nvidia,tegra186-sdhci": for Tegra186 17 - "nvidia,tegra194-sdhci": for Tegra194 18 - clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries. [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | imx28.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx28-pinfunc.h" 9 #address-cells = <1>; 10 #size-cells = <1>; 12 interrupt-parent = <&icoll>; 15 * pre-existing /chosen node to be available to insert the 17 * Also for U-Boot there must be a pre-existing /memory node. 44 #address-cells = <1>; 45 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx28.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx28-pinfunc.h" 9 #address-cells = <1>; 10 #size-cells = <1>; 12 interrupt-parent = <&icoll>; 15 * pre-existing /chosen node to be available to insert the 42 #address-cells = <1>; 43 #size-cells = <0>; 46 compatible = "arm,arm926ej-s"; [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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| 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 | fsl,mxs-pinctrl.txt | 6 voltage and pull-up. 9 - compatible: "fsl,imx23-pinctrl" or "fsl,imx28-pinctrl" 10 - reg: Should contain the register physical address and length for the 13 Please refer to pinctrl-bindings.txt in this directory for details of the 20 information about pull-up. For this reason, even seemingly boolean values are 26 One is to set up a group of pins for a function, both mux selection and pin 34 particular function, like SSP0 functioning as mmc0-8bit. That said, the 37 "pinctrl-*" phandle in client device node should only have one group node 41 Required subnode-properties: 42 - fsl,pinmux-ids: An integer array. Each integer in the array specify a pin [all …]
|
| D | sprd,sc9860-pinctrl.txt | 7 - compatible: Must be "sprd,sc9860-pinctrl". 8 - reg: The register address of pin controller device. 9 - pins : An array of strings, each string containing the name of a pin. 12 - function: A string containing the name of the function, values must be 14 - drive-strength: Drive strength in mA. Supported values: 2, 4, 6, 8, 10, 16 - input-schmitt-disable: Enable schmitt-trigger mode. 17 - input-schmitt-enable: Disable schmitt-trigger mode. 18 - bias-disable: Disable pin bias. 19 - bias-pull-down: Pull down on pin. 20 - bias-pull-up: Pull up on pin. Supported values: 20000 for pull-up resistor [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| 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 | fsl,mxs-pinctrl.txt | 6 voltage and pull-up. 9 - compatible: "fsl,imx23-pinctrl" or "fsl,imx28-pinctrl" 10 - reg: Should contain the register physical address and length for the 13 Please refer to pinctrl-bindings.txt in this directory for details of the 20 information about pull-up. For this reason, even seemingly boolean values are 26 One is to set up a group of pins for a function, both mux selection and pin 34 particular function, like SSP0 functioning as mmc0-8bit. That said, the 37 "pinctrl-*" phandle in client device node should only have one group node 41 Required subnode-properties: 42 - fsl,pinmux-ids: An integer array. Each integer in the array specify a pin [all …]
|
| D | sprd,sc9860-pinctrl.txt | 7 - compatible: Must be "sprd,sc9860-pinctrl". 8 - reg: The register address of pin controller device. 9 - pins : An array of strings, each string containing the name of a pin. 12 - function: A string containing the name of the function, values must be 14 - drive-strength: Drive strength in mA. Supported values: 2, 4, 6, 8, 10, 16 - input-schmitt-disable: Enable schmitt-trigger mode. 17 - input-schmitt-enable: Disable schmitt-trigger mode. 18 - bias-disable: Disable pin bias. 19 - bias-pull-down: Pull down on pin. 20 - bias-pull-up: Pull up on pin. Supported values: 20000 for pull-up resistor [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/toshiba/ |
| D | tmpv7708_pins.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 spi0_pins: spi0-pins { 8 spi1_pins: spi1-pins { 12 spi2_pins: spi2-pins { 16 spi3_pins: spi3-pins { 20 spi4_pins: spi4-pins { 24 spi5_pins: spi5-pins { 28 spi6_pins: spi6-pins { 32 uart0_pins: uart0-pins { 36 uart1_pins: uart1-pins { [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/qcom/ |
| D | msm8996-pins.dtsi | 2 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 27 drive-strength = <12>; 28 bias-disable; 32 drive-strength = <16>; 33 bias-disable; 34 output-high; 45 drive-strength = <2>; 46 bias-pull-down; 57 drive-strength = <16>; 58 bias-disable = <0>; [all …]
|
| D | msm8992-pins.dtsi | 2 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 22 drive-strength = <16>; 23 bias-disable; 34 drive-strength = <2>; 35 bias-pull-down; 39 /* 0-3 for sdc1 4-6 for sdc2 */ 41 /* SDC1: CLK -> 0, CMD -> 1, DATA -> 2, RCLK -> 3 */ 42 /* SDC2: CLK -> 4, CMD -> 5, DATA -> 6 */ 43 sdc1_clk_on: clk-on { 46 bias-disable = <0>; /* No pull */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/ |
| D | mt8183-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 14 compatible = "mediatek,mt8183-evb", "mediatek,mt8183"; 26 stdout-path = "serial0:921600n8"; 29 reserved-memory { 30 #address-cells = <2>; 31 #size-cells = <2>; 34 compatible = "shared-dma-pool"; 36 no-map; 46 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/misc/cardreader/ |
| D | rts5229.c | 1 /* Driver for Realtek PCI-Express card reader 3 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 46 pcr->aspm_en = rtsx_reg_to_aspm(reg); in rts5229_fetch_vendor_settings() 47 pcr->sd30_drive_sel_1v8 = in rts5229_fetch_vendor_settings() 49 pcr->card_drive_sel &= 0x3F; in rts5229_fetch_vendor_settings() 50 pcr->card_drive_sel |= rtsx_reg_to_card_drive_sel(reg); in rts5229_fetch_vendor_settings() 54 pcr->sd30_drive_sel_3v3 = in rts5229_fetch_vendor_settings() 80 0xFF, pcr->sd30_drive_sel_3v3); in rts5229_extra_init_hw() 124 /* To avoid too large in-rush current */ in rts5229_card_power_on() 152 SD30_DRIVE_SEL, 0x07, pcr->sd30_drive_sel_3v3); in rts5229_switch_output_voltage() [all …]
|
| D | rts5209.c | 1 /* Driver for Realtek PCI-Express card reader 3 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 45 pcr->flags |= PCR_MS_PMOS; in rts5209_fetch_vendor_settings() 46 pcr->aspm_en = rts5209_reg_to_aspm(reg); in rts5209_fetch_vendor_settings() 53 pcr->sd30_drive_sel_1v8 = in rts5209_fetch_vendor_settings() 55 pcr->sd30_drive_sel_3v3 = in rts5209_fetch_vendor_settings() 57 pcr->card_drive_sel = rts5209_reg_to_card_drive_sel(reg); in rts5209_fetch_vendor_settings() 80 0xFF, pcr->sd30_drive_sel_3v3); in rts5209_extra_init_hw() 119 if ((pcr->flags & PCR_MS_PMOS) && (card == RTSX_MS_CARD)) { in rts5209_card_power_on() 134 /* To avoid too large in-rush current */ in rts5209_card_power_on() [all …]
|