/linux/drivers/mmc/core/ |
H A D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * mmc_ocrbitnum_to_vdd - Convert a OCR bit number to its voltage 32 return -EINVAL; in mmc_ocrbitnum_to_vdd() 40 tmp = vdd_bit - ilog2(MMC_VDD_165_195); in mmc_ocrbitnum_to_vdd() 53 * mmc_regulator_get_ocrmask - return mask of supported voltages 54 * @supply: regulator to use 61 static int mmc_regulator_get_ocrmask(struct regulator *supply) in mmc_regulator_get_ocrmask() argument 69 count = regulator_count_voltages(supply); in mmc_regulator_get_ocrmask() 74 vdd_uV = regulator_list_voltage(supply, i); in mmc_regulator_get_ocrmask() 83 vdd_uV = regulator_get_voltage(supply); in mmc_regulator_get_ocrmask() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
H A D | msm8916-pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * msm8916-pm8916.dtsi describes common properties (e.g. regulator connections) 6 * were rarely re-used for different purposes. Devices that deviate from the 8 * the necessary properties in the board-specific device tree. 15 vdda-supply = <&pm8916_l2>; 19 vdda-supply = <&pm8916_l2>; 20 vddio-supply = <&pm8916_l6>; 24 vddio-supply = <&pm8916_l6>; 28 pll-supply = <&pm8916_l7>; 32 vdd-cdc-io-supply = <&pm8916_l5>; [all …]
|
H A D | msm8939-pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * msm8939-pm8916.dtsi describes common properties (e.g. regulator connections) 6 * were rarely re-used for different purposes. Devices that deviate from the 8 * the necessary properties in the board-specific device tree. 15 vdda-supply = <&pm8916_l2>; 16 vddio-supply = <&pm8916_l6>; 20 vddio-supply = <&pm8916_l6>; 24 vdda-supply = <&pm8916_l2>; 25 vddio-supply = <&pm8916_l6>; 29 vddio-supply = <&pm8916_l6>; [all …]
|
H A D | msm8929-pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * msm8929-pm8916.dtsi describes common properties (e.g. regulator connections) 6 * were rarely re-used for different purposes. Devices that deviate from the 8 * the necessary properties in the board-specific device tree. 15 vdda-supply = <&pm8916_l2>; 16 vddio-supply = <&pm8916_l6>; 20 vddio-supply = <&pm8916_l6>; 24 vdda-supply = <&pm8916_l2>; 25 vddio-supply = <&pm8916_l6>; 29 vddio-supply = <&pm8916_l6>; [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | usdhi6rol0.txt | 5 - compatible: must be 7 - interrupts: 3 interrupts, named "card detect", "data" and "SDIO" must be 9 - clocks: a clock binding for the IMCLK input 13 - vmmc-supply: a phandle of a regulator, supplying Vcc to the card 14 - vqmmc-supply: a phandle of a regulator, supplying VccQ to the card 15 - pinctrl-names: Can contain a "default" entry and a "state_uhs" 19 - pinctrl-N: One property for each name listed in pinctrl-names, see 20 ../pinctrl/pinctrl-bindings.txt. 32 interrupt-names = "card detect", "data", "SDIO"; 33 bus-width = <4>; [all …]
|
/linux/arch/riscv/boot/dts/allwinner/ |
H A D | sun20i-d1s-mangopi-mq.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 7 /dts-v1/; 9 #include "sun20i-d1s.dtsi" 10 #include "sun20i-common-regulators.dtsi" 14 compatible = "widora,mangopi-mq", "allwinner,sun20i-d1s"; 22 stdout-path = "serial3:115200n8"; 26 compatible = "gpio-leds"; 28 led-0 { [all …]
|
H A D | sun20i-d1-mangopi-mq-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 7 /dts-v1/; 9 #include "sun20i-d1.dtsi" 10 #include "sun20i-common-regulators.dtsi" 14 compatible = "widora,mangopi-mq-pro", "allwinner,sun20i-d1"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 28 led-0 { [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm28155-ap.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 12 compatible = "brcm,bcm28155-ap", "brcm,bcm11351"; 21 clock-frequency = <400000>; 26 clock-frequency = <400000>; 31 clock-frequency = <400000>; 36 clock-frequency = <100000>; 49 non-removable; 50 max-frequency = <48000000>; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905x-nexbox-a95x.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxl-s905x.dtsi" 13 compatible = "nexbox,a95x", "amlogic,s905x", "amlogic,meson-gxl"; 22 stdout-path = "serial0:115200n8"; 30 vddio_card: gpio-regulator { 31 compatible = "regulator-gpio"; 33 regulator-name = "VDDIO_CARD"; 34 regulator-min-microvolt = <1800000>; 35 regulator-max-microvolt = <3300000>; [all …]
|
H A D | meson-gxl-s905w-jethome-jethub-j80.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-gxl.dtsi" 15 compatible = "jethome,jethub-j80", "amlogic,s905w", "amlogic,meson-gxl"; 22 reserved-memory { 37 stdout-path = "serial0:115200n8"; 40 vddio_ao18: regulator-vddio-ao18 { 41 compatible = "regulator-fixed"; 42 regulator-name = "VDDIO_AO18"; 43 regulator-min-microvolt = <1800000>; [all …]
|
H A D | meson-sm1-ac2xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 #include "meson-sm1.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/gpio/meson-g12a-gpio.h> 14 #include <dt-bindings/input/input.h> 23 stdout-path = "serial0:115200n8"; 26 emmc_pwrseq: emmc-pwrseq { 27 compatible = "mmc-pwrseq-emmc"; 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 31 cvbs-connector { [all …]
|
H A D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-leds"; 30 led-power { 31 /* red in suspend or power-off */ 35 default-state = "on"; 36 panic-indicator; [all …]
|
H A D | meson-gx-p23x-q20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs. 11 #include <dt-bindings/sound/meson-aiu.h> 19 dio2133: analog-amplifier { 20 compatible = "simple-audio-amplifier"; 21 sound-name-prefix = "AU2"; 22 VCC-supply = <&hdmi_5v>; 23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; 26 spdif_dit: audio-codec-0 { 27 #sound-dai-cells = <0>; [all …]
|
H A D | meson-gxm-rbox-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016-2017 Andreas Färber 5 * Based on nexbox-a1: 14 /dts-v1/; 16 #include "meson-gxm.dtsi" 17 #include <dt-bindings/sound/meson-aiu.h> 20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 21 model = "R-Box Pro"; 29 stdout-path = "serial0:115200n8"; 37 spdif_dit: audio-codec-0 { [all …]
|
H A D | meson-g12b-bananapi-cm4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-a311d.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 stdout-path = "serial0:115200n8"; 19 emmc_pwrseq: emmc-pwrseq { 20 compatible = "mmc-pwrseq-emmc"; 21 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 29 sdio_pwrseq: sdio-pwrseq { 30 compatible = "mmc-pwrseq-simple"; 31 reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>; [all …]
|
H A D | meson-g12b-w400.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b.dtsi" 11 #include "meson-g12b-s922x.dtsi" 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/meson-g12a-gpio.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; [all …]
|
H A D | meson-g12a-radxa-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 cvbs-connector { 31 compatible = "composite-video-connector"; 35 remote-endpoint = <&cvbs_vdac_out>; 40 hdmi-connector { [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-radxa-zero-3w.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-radxa-zero-3.dtsi" 9 compatible = "radxa,zero-3w", "rockchip,rk3566"; 17 sdio_pwrseq: sdio-pwrseq { 18 compatible = "mmc-pwrseq-simple"; 20 clock-names = "ext_clock"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&wifi_reg_on_h>; 23 post-power-on-delay-ms = <100>; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8064-cm-qs600.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 5 #include "qcom-apq8064-v2.0.dtsi" 10 model = "CompuLab CM-QS600"; 11 compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064"; 18 stdout-path = "serial0:115200n8"; 21 sdcc4_pwrseq: pwrseq-sdcc4 { 22 pinctrl-names = "default"; 23 pinctrl-0 = <&wlan_default_gpios>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-tbs2910.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "tbs,imx6q-tbs2910", "fsl,imx6q"; 16 stdout-path = &uart1; 23 /delete-property/ mmc3; 32 compatible = "gpio-fan"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pinctrl_gpio_fan>; [all …]
|
H A D | imx6ull-seeed-npi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 10 model = "Seeed NPi-iMX6ULL Dev Board"; 11 compatible = "seeed,imx6ull-seeed-npi", "fsl,imx6ull"; 13 reg_dcdc_3v3: regulator-dcdc-3v3 { 14 compatible = "regulator-fixed"; 15 regulator-name = "DCDC_3V3"; 16 regulator-min-microvolt = <3300000>; 17 regulator-max-microvolt = <3300000>; 18 regulator-always-on; [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186-p3310.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 27 stdout-path = "serial0:115200n8"; 38 phy-reset-gpios = <&gpio TEGRA186_MAIN_GPIO(M, 4) 40 phy-handle = <&phy>; 41 phy-mode = "rgmii"; 44 #address-cells = <1>; 45 #size-cells = <0>; 47 phy: ethernet-phy@0 { 48 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h3-nanopi-r1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright (C) 2020 Yu-Tung Chang <mtwget@gmail.com> 8 #include "sun8i-h3-nanopi.dtsi" 9 #include <dt-bindings/leds/common.h> 13 compatible = "friendlyarm,nanopi-r1", "allwinner,sun8i-h3"; 21 reg_gmac_3v3: gmac-3v3 { 22 compatible = "regulator-fixed"; 23 regulator-name = "gmac-3v3"; 24 regulator-min-microvolt = <3300000>; 25 regulator-max-microvolt = <3300000>; [all …]
|
H A D | sun8i-r40-oka40i-c.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 // Based on the sun8i-r40-bananapi-m2-ultra.dts, which is: 4 // Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 7 /dts-v1/; 8 #include "sun8i-r40-feta40i.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 14 model = "Forlinx OKA40i-C"; 15 compatible = "forlinx,oka40i-c", "forlinx,feta40i-c", "allwinner,sun8i-r40"; 28 stdout-path = "serial0:115200n8"; [all …]
|