/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 22 stdout-path = "serial0:115200n8"; 30 hdmi_5v: regulator-hdmi-5v { 31 compatible = "regulator-fixed"; 33 regulator-name = "HDMI_5V"; 34 regulator-min-microvolt = <5000000>; [all …]
|
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-gxbb-p20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 17 stdout-path = "serial0:115200n8"; 25 usb_pwr: regulator-usb-pwrs { 26 compatible = "regulator-fixed"; 28 regulator-name = "USB_PWR"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; 35 enable-active-high; 38 vddio_card: gpio-regulator { [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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 23 stdout-path = "serial0:115200n8"; 31 hdmi_5v: regulator-hdmi-5v { 32 compatible = "regulator-fixed"; 34 regulator-name = "HDMI_5V"; 35 regulator-min-microvolt = <5000000>; [all …]
|
H A D | r8a77990-ebisu-u-boot.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source extras for U-Boot for the Ebisu board 8 #include "r8a77990-ebisu.dts" 9 #include "r8a77990-u-boot.dtsi" 13 compatible = "regulator-fixed"; 14 regulator-name = "fixed-1.8V"; 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <1800000>; 17 regulator-boot-on; 18 regulator-always-on; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 …]
|
/openbmc/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h6-tanix.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-h6.dtsi" 7 #include "sun50i-h6-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 17 stdout-path = "serial0:115200n8"; 21 compatible = "hdmi-connector"; 22 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ 27 remote-endpoint = <&hdmi_out_con>; 34 compatible = "i2c-gpio"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8064-cm-qs600.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/pinctrl/qcom,pmic-gpio.h> 7 model = "CompuLab CM-QS600"; 8 compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064"; 15 stdout-path = "serial0:115200n8"; 18 sdcc4_pwrseq: pwrseq-sdcc4 { 19 pinctrl-names = "default"; 20 pinctrl-0 = <&wlan_default_gpios>; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|