/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 …]
|
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | fixed.txt | 4 The binding is done by the property "compatible" - this is different, than for 5 binding by the node prefix (doc/device-tree-bindings/regulator/regulator.txt). 8 - compatible: "regulator-fixed" 9 - regulator-name: this is required by the regulator uclass 12 - gpio: GPIO to use for enable control 13 - startup-delay-us: startup time in microseconds 14 - u-boot,off-on-delay-us: off delay time in microseconds 15 - regulator constraints (binding info: regulator.txt) 16 - enable-active-high: Polarity of GPIO is Active high. If this property 20 Other kernel-style properties, are currently not used. [all …]
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c. 37 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function() 40 int delay; in led_activity_function() local 48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function() 49 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function() 53 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function() 75 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function() 76 * even up to 3k CPUs, while keeping divides cheap on smaller systems. in led_activity_function() 79 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function() [all …]
|
/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# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 of common properties between various SOC designs. It thus enables us to use 19 const: mmc-pwrseq-simple 21 reset-gpios: 28 They will be de-asserted right after the power has been provided to the 33 description: Handle for the entry in clock-names. [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 …]
|
/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/tools/power/pm-graph/config/ |
H A D | example.cfg | 5 # all the tool arguments so that they don't have to be given on the 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) 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 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) 54 # display: on [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/Documentation/trace/ |
H A D | ftrace.rst | 2 ftrace - Function Tracer 13 - Written for: 2.6.28-rc2 14 - Updated for: 3.10 15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt 16 - Converted to rst format - Changbin Du <changbin.du@intel.com> 19 ------------ 22 designers of systems to find what is going on inside the kernel. 24 performance issues that take place outside of user-space. 35 going on in certain parts of the kernel. 41 ---------------------- [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/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-lubancat-2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,vop2.h> 17 compatible = "embedfire,lubancat-2", "rockchip,rk3568"; 27 stdout-path = "serial2:1500000n8"; 31 compatible = "gpio-leds"; 33 user_led: user-led { [all …]
|
H A D | rk3568-bpi-r2-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Author: Frank Wunderlich <frank-w@public-files.de> 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 15 model = "Bananapi-R2 Pro (RK3568) DDR4 Board"; 16 compatible = "rockchip,rk3568-bpi-r2pro", "rockchip,rk3568"; 26 stdout-path = "serial2:1500000n8"; [all …]
|
H A D | rk3588-evb1-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 15 compatible = "rockchip,rk3588-evb1-v10", "rockchip,rk3588"; 23 stdout-path = "serial2:1500000n8"; 27 compatible = "pwm-backlight"; 28 power-supply = <&vcc12v_dcin>; 32 vcc12v_dcin: vcc12v-dcin-regulator { 33 compatible = "regulator-fixed"; [all …]
|
H A D | rk3568-evb1-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 16 compatible = "rockchip,rk3568-evb1-v10", "rockchip,rk3568"; 26 stdout-path = "serial2:1500000n8"; 29 dc_12v: dc-12v { 30 compatible = "regulator-fixed"; [all …]
|
H A D | rk3588s-rock-5a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 12 compatible = "radxa,rock-5a", "rockchip,rk3588s"; 20 analog-sound { 21 compatible = "audio-graph-card"; 22 label = "rk3588-es8316"; 35 stdout-path = "serial2:1500000n8"; [all …]
|
H A D | rk3568-roc-pc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,vop2.h> 15 compatible = "firefly,rk3568-roc-pc", "rockchip,rk3568"; 25 stdout-path = "serial2:1500000n8"; 28 dc_12v: dc-12v-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "dc_12v"; [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>; 21 * bootloader may have left it on and it's nice not to cause an 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/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/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/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 10 - Doug Anderson <dianders@chromium.org> 11 - Peter Rosin <peda@axentia.se> 18 standard I2C multi-master rules. Using GPIOs is generally useful in the case 19 where there is a device on the bus that has errata and/or bugs that makes 24 * Having two masters on a bus in general makes it relatively hard to debug [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 */ 59 /* Returns 1 if GDSC status is status, 0 if not, and < 0 on error */ 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() [all …]
|