/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-pwrseq-simple.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple MMC power sequence provider 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 The purpose of the simple MMC power sequence provider is to supports a set 14 of common properties between various SOC designs. It thus enables us to use 19 const: mmc-pwrseq-simple 21 reset-gpios: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | fixed-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 16 expected to have the regulator-min-microvolt and regulator-max-microvolt 20 - $ref: regulator.yaml# 21 - if: 25 const: regulator-fixed-clock [all …]
|
/openbmc/linux/include/ufs/ |
H A D | ufs_quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 22 * ufs_dev_quirk - ufs device quirk info 42 * - As soon as SW sees the DL NAC error, it should schedule the error handler 43 * - Error handler would sleep for 50ms to see if there are any fatal errors 45 * - If there are fatal errors then SW does normal error recovery. 46 * - If there are no fatal errors then SW sends the NOP command to device 48 * - If NOP command times out, SW does normal error recovery 49 * - If NOP command succeed, skip the error handling. 59 * 600us which may not be enough for reliable hibern8 exit hardware sequence [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 17 stdout-path = "serial0:115200n8"; 26 vdd-supply = <&vdd_gpu>; 31 /delete-property/ dmas; 32 /delete-property/ dma-names; 45 vcc-supply = <&vdd_1v8>; 46 address-width = <8>; 49 read-only; 55 clock-frequency = <400000>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a7796-salvator-x-u-boot.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source extras for U-Boot for the Salvator-X board 8 #include "r8a7796-salvator-x.dts" 9 #include "r8a7796-u-boot.dtsi" 12 u-boot,off-on-delay-us = <20000>; 16 u-boot,off-on-delay-us = <20000>; 21 power-source = <1800>; 29 sd-uhs-sdr12; 30 sd-uhs-sdr25; 31 sd-uhs-sdr104; [all …]
|
H A D | r8a7795-salvator-x-u-boot.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source extras for U-Boot for the Salvator-X board 8 #include "r8a7795-salvator-x.dts" 9 #include "r8a7795-u-boot.dtsi" 12 u-boot,off-on-delay-us = <20000>; 16 u-boot,off-on-delay-us = <20000>; 21 power-source = <1800>; 29 sd-uhs-sdr12; 30 sd-uhs-sdr25; 31 sd-uhs-sdr104; [all …]
|
H A D | r8a77965-salvator-x-u-boot.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source extras for U-Boot for the M3N Salvator-XS board 8 #include "r8a77965-salvator-x.dts" 9 #include "r8a77965-u-boot.dtsi" 12 u-boot,off-on-delay-us = <20000>; 16 u-boot,off-on-delay-us = <20000>; 21 power-source = <1800>; 29 sd-uhs-sdr12; 30 sd-uhs-sdr25; 31 sd-uhs-sdr104; [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 …]
|
H A D | armada-xp-synology-ds414.dts | 13 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 16 * were delivered with an older version of u-boot that left internal 21 * installing it from u-boot prompt) or adjust the Devive Tree 25 /dts-v1/; 27 #include <dt-bindings/input/input.h> 28 #include <dt-bindings/gpio/gpio.h> 29 #include "armada-xp-mv78230.dtsi" 33 compatible = "synology,ds414", "marvell,armadaxp-mv78230", 34 "marvell,armadaxp", "marvell,armada-370-xp"; 38 stdout-path = &uart0; [all …]
|
H A D | omap3-evm-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/input/input.h> 7 #include "omap-gpmc-smsc911x.dtsi" 12 cpu0-supply = <&vcc>; 16 /* HS USB Port 2 Power */ 18 compatible = "regulator-fixed"; 19 regulator-name = "hsusb2_vbus"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; 23 startup-delay-us = <70000>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-parade-ps8640.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 11 pp3300_brij_ps8640: pp3300-brij-ps8640-regulator { 12 compatible = "regulator-fixed"; 14 regulator-name = "pp3300_brij_ps8640"; 16 regulator-min-microvolt = <3300000>; 17 regulator-max-microvolt = <3300000>; 20 enable-active-high; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&en_pp3300_edp_brij_ps8640>; [all …]
|
H A D | sc7180-trogdor-ti-sn65dsi86.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 17 off-on-delay-us = <500000>; 22 * extra power cycle of the touchscreen and eDP panel at bootup. 23 * This should help speed bootup because we have off-on-delay-us. 25 regulator-boot-on; 32 clock-frequency = <400000>; 37 pinctrl-names = "default"; 38 pinctrl-0 = <&edp_brij_en>, <&edp_brij_irq>; 39 gpio-controller; [all …]
|
/openbmc/linux/drivers/phy/intel/ |
H A D | phy-intel-keembay-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/delay.h> 66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power() 69 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power() 73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power() 76 dev_err(&phy->dev, "turn off the dll failed: %d\n", ret); in keembay_emmc_phy_power() 80 /* Already finish power off above */ in keembay_emmc_phy_power() 84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000); in keembay_emmc_phy_power() 100 dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz); in keembay_emmc_phy_power() 104 * cycle takes more than 2us without the minimal recommended in keembay_emmc_phy_power() [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | gdsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015, 2017-2018, 2022, The Linux Foundation. All rights reserved. 7 #include <linux/delay.h> 16 #include <linux/reset-controller.h> 41 /* Transition delay shifts */ 66 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status() 67 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status() 68 else if (sc->gds_hw_ctrl) in gdsc_check_status() 69 reg = sc->gds_hw_ctrl; in gdsc_check_status() 71 reg = sc->gdscr; in gdsc_check_status() [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | sleepgraph.8 | 3 sleepgraph \- Suspend/Resume timing analysis 21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS 27 \fB-h\fR 30 \fB-v\fR 33 \fB-verbose\fR 36 \fB-config \fIfile\fR 39 \fB-m \fImode\fR 42 \fB-o \fIname\fR 46 e.g. suspend-{hostname}-{date}-{time} 48 \fB-rtcwake \fIt\fR | off [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array 35 from the header include/dt-bindings/leds/common.h. If there is no 42 the header include/dt-bindings/leds/common.h. If there is no matching 48 function-enumerator: [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-mamoj.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 compatible = "bticino,imx6dl-mamoj", "fsl,imx6dl"; 22 backlight_lcd: backlight-lcd { 23 compatible = "pwm-backlight"; 24 pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */ 25 brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>; 26 default-brightness-level = <7>; 30 compatible = "fsl,imx-parallel-display"; [all …]
|
H A D | imx6qdl-apf6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 9 reg_1p8v: regulator-1p8v { 10 compatible = "regulator-fixed"; 11 regulator-name = "1P8V"; 12 regulator-min-microvolt = <1800000>; 13 regulator-max-microvolt = <1800000>; 14 regulator-always-on; 15 vin-supply = <®_3p3v>; [all …]
|
H A D | imx6ull-colibri-iris-v2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2018-2022 Toradex 6 #include "imx6ull-colibri-iris.dtsi" 9 reg_3v3_vmmc: regulator-3v3-vmmc { 10 compatible = "regulator-fixed"; 11 regulator-name = "3v3_vmmc"; 12 regulator-min-microvolt = <3300000>; 13 regulator-max-microvolt = <3300000>; 15 startup-delay-us = <100>; 16 enable-active-high; [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | fixed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <power/pmic.h> 14 #include <power/regulator.h> 33 return -ENXIO; in fixed_regulator_ofdata_to_platdata() 36 uc_pdata->type = REGULATOR_TYPE_FIXED; in fixed_regulator_ofdata_to_platdata() 38 if (dev_read_bool(dev, "enable-active-high")) in fixed_regulator_ofdata_to_platdata() 42 gpio = &dev_pdata->gpio; in fixed_regulator_ofdata_to_platdata() 45 debug("Fixed regulator optional enable GPIO - not found! Error: %d\n", in fixed_regulator_ofdata_to_platdata() 47 if (ret != -ENOENT) in fixed_regulator_ofdata_to_platdata() 51 /* Get optional ramp up delay */ in fixed_regulator_ofdata_to_platdata() [all …]
|
/openbmc/linux/tools/power/pm-graph/config/ |
H A D | example.cfg | 9 # sudo ./sleepgraph.py -config config/example.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time} 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action) 52 # Turn display on/off for test 53 # Switch the display on/off for the test using xset (default: no-action) 57 # Print the status of the test run in the given file (default: no-action) 64 # ---- Advanced Options ---- 67 # command: echo mem > /sys/power/state [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-xp-synology-ds414.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-xp-mv78230.dtsi" 29 compatible = "synology,ds414", "marvell,armadaxp-mv78230", 30 "marvell,armadaxp", "marvell,armada-370-xp"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-evm-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/input/input.h> 7 #include "omap-gpmc-smsc911x.dtsi" 12 cpu0-supply = <&vcc>; 16 /* HS USB Port 2 Power */ 18 compatible = "regulator-fixed"; 19 regulator-name = "hsusb2_vbus"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; 23 startup-delay-us = <70000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 20 from simple wfi to power gating) according to OS PM policies. The CPU states [all …]
|