/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: 24 - reg : LED pin number (only LEDs 0 to 31 are valid). [all …]
|
H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 17 as spi-gpio. See 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 29 explained later in brcm,link-signal-sources). Even if a LED is hardware 34 Each LED is represented as a sub-node of the brcm,bcm6328-leds device. 38 const: brcm,bcm6328-leds [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max8903.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 19 dok-gpios: 21 description: Valid DC power has been detected (active low, input) 23 uok-gpios: 25 description: Valid USB power has been detected (active low, input) [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 26 non-dedicated pin can be configured as a GPIO; and most chips have at least 28 provide GPIOs; multifunction chips like power managers, and audio codecs 31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 36 - Output values are writable (high=1, low=0). Some chips also have 38 value might be driven, supporting "wire-OR" and similar schemes for the 41 - Input values are likewise readable (1, 0). Some chips support readback 42 of pins configured as "output", which is very useful in such "wire-OR" 44 input de-glitch/debounce logic, sometimes with software controls. [all …]
|
H A D | board.rst | 14 ----------- 20 <function>-gpios, where <function> is the function the driver will request 26 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */ 30 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 33 Properties named <function>-gpio are also considered valid and old bindings use 38 "led" function, and GPIO 1 as the "power" GPIO:: 40 struct gpio_desc *red, *green, *blue, *power; 46 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH); 48 The led GPIOs will be active high, while the power GPIO will be active low (i.e. 49 gpiod_is_active_low(power) will be true). [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | pxa-usb.txt | 6 - compatible: Should be "marvell,pxa-ohci" for USB controllers 10 - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" 12 - "marvell,port-mode" selects the mode of the ports: 16 - "marvell,power-sense-low" - power sense pin is low-active. 17 - "marvell,power-control-low" - power control pin is low-active. 18 - "marvell,no-oc-protection" - disable over-current protection. 19 - "marvell,oc-mode-perport" - enable per-port over-current protection. 20 - "marvell,power_on_delay" Power On to Power Good time - in ms. 25 compatible = "marvell,pxa-ohci"; 28 marvell,enable-port1; [all …]
|
/linux/drivers/regulator/ |
H A D | mcp16502.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Inspired from tps65086-regulator.c 29 * The PMIC has four sets of registers corresponding to four power modes: 30 * Performance, Active, Low-power, Hibernate. 33 * Each regulator has a register for each power mode. To access a register 41 * a low-power state while the PMIC is in Active mode. They are supposed to be 42 * configured at startup and then simply transition to/from a global low-power 43 * state by setting the GPIO lpm pin high/low. 45 * This driver keeps the PMIC in Active mode, Low-power state is set for the 48 * The PMIC's Low-power and Hibernate modes are used during standby/suspend. [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | strategies.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Power Management Strategies 13 The Linux kernel supports two major high-level power management strategies. 15 One of them is based on using global low-power states of the whole system in 17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The 23 :doc:`system-wide power management <system-wide>`. 25 The other strategy, referred to as the :doc:`working-state power management 26 <working-state>`, is based on adjusting the power states of individual hardware 30 a metastate covering a range of different power states of the system in which 31 the individual components of it can be either ``active`` (in use) or [all …]
|
/linux/include/soc/at91/ |
H A D | at91sam9_ddrsdr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 46 #define AT91_DDRSDRC_OCD (1 << 12) /* Off-Chip Driver [SAM9 Only] */ 48 #define AT91_DDRSDRC_ACTBST (1 << 18) /* Active Bank X to Burst Stop Read Access Bank Y [SAM9 Onl… 51 #define AT91_DDRSDRC_TRAS (0xf << 0) /* Active to Precharge delay */ 56 #define AT91_DDRSDRC_TRRD (0xf << 20) /* Active BankA to BankB */ 59 #define AT91_DDRSDRC_TMRD (0xf << 28) /* Load mode to active/refresh delay */ 63 #define AT91_DDRSDRC_TXSNR (0xff << 8) /* Exit self-refresh to non-read */ 64 #define AT91_DDRSDRC_TXSRD (0xff << 16) /* Exit self-refresh to read */ 65 #define AT91_DDRSDRC_TXP (0xf << 24) /* Exit power-down delay */ 68 #define AT91_DDRSDRC_TXARD (0xf << 0) /* Exit active power down delay to read command in mode "F… [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | dove-sbc-a510.dts | 2 * Device Tree file for Compulab SBC-A510 Single Board Computer 6 * This file is dual-licensed: you can use it either under the terms 46 * SBC-A510 comprises a PCA9555 I2C GPIO expander its GPIO lines connected to 48 * 0.0 USB0 VBUS_EN (active high) 51 * 0.3 DVI transmitter TI TFP410 PD# (active low power down) 52 * 0.4 LVDS transmitter DS90C365 PD# (active low power down) 53 * 0.5 LCD nRST (active low reset) 54 * 0.6 PCIe0 nRST (active low reset) 55 * 0.7 mini-PCIe slot W_DISABLE# 60 * 1.3 MMC VCC_EN (active high) and P21.7 [all …]
|
/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Device Power Management Basics 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 17 Most of the code in Linux is device drivers, so most of the Linux power 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 23 power management goals, emphasizing the models and interfaces that are 25 background for the domain-specific work you'd do with any specific driver. 28 Two Models for Device Power Management 31 Drivers will use one or both of these models to put devices into low-power [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max77620.txt | 1 MAX77620 Power management IC from Maxim Semiconductor. 4 ------------------- 5 - compatible: Must be one of 9 - reg: I2C device address. 12 ------------------- 13 - interrupts: The interrupt on the parent the controller is 15 - interrupt-controller: Marks the device node as an interrupt controller. 16 - #interrupt-cells: is <2> and their usage is compliant to the 2 cells 17 variant of <../interrupt-controller/interrupts.txt> 19 are defined at dt-bindings/mfd/max77620.h. [all …]
|
/linux/Documentation/driver-api/ |
H A D | slimbus.rst | 9 ---------------- 10 SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by 12 configuration, and is a 2-wire multi-drop implementation (clock, and data). 15 (System-on-Chip) and peripheral components (typically codec). SLIMbus uses 16 Time-Division-Multiplexing to accommodate multiple data channels, and 24 A data channel is used for data-transfer between 2 SLIMbus devices. Data 28 --------------------- 32 channel allocation. Every bus has 1 active manager. 36 Framer device is responsible for clocking the bus, and transmitting frame-sync 49 responsible to select the active-framer for clocking the bus. [all …]
|
/linux/Documentation/power/ |
H A D | runtime_pm.rst | 2 Runtime Power Management Framework for I/O Devices 5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 14 Support for runtime power management (runtime PM) of I/O devices is provided 15 at the power management core (PM core) level by means of: 17 * The power management workqueue pm_wq in which bus types and device drivers can 18 put their PM-related work items. It is strongly recommended that pm_wq be 20 them to be synchronized with system-wide power transitions (suspend to RAM, 22 include/linux/pm_runtime.h and defined in kernel/power/main.c. 24 * A number of runtime PM fields in the 'power' member of 'struct device' (which 31 * A set of helper functions defined in drivers/base/power/runtime.c that can be [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,max31827.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch 10 - Daniel Matyas <daniel.matyas@analog.com> 13 Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with 15 https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf 20 - const: adi,max31827 21 - items: 22 - enum: [all …]
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm63268-comtrend-vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 17 stdout-path = &uart0; 23 brcm,serial-leds; 24 brcm,serial-dat-low; 25 brcm,serial-shift-inv; 29 brcm,hardware-controlled; 30 brcm,link-signal-sources = <0>; [all …]
|
/linux/drivers/power/supply/ |
H A D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 28 struct gpio_desc *dok; /* DC (Adapter) Power OK output */ 29 struct gpio_desc *uok; /* USB Power OK output */ 32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 41 POWER_SUPPLY_PROP_ONLINE, /* External power source */ 53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 54 if (data->chg) { in max8903_get_property() 55 if (gpiod_get_value(data->chg)) in max8903_get_property() 57 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property() [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi 31 - const: cypress,cyttsp-i2c [all …]
|
/linux/Documentation/devicetree/bindings/leds/irled/ |
H A D | ir-spi-led.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/irled/ir-spi-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Young <sean@mess.org> 17 - $ref: /schemas/spi/spi-peripheral-props.yaml# 21 const: ir-spi-led 26 duty-cycle: 30 Percentage of one period in which the signal is active. 32 led-active-low: [all …]
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-controller.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "pxa300-raumfeld-common.dtsi" 9 compatible = "raumfeld,raumfeld-controller-pxa303", "marvell,pxa300"; 11 reg_vbatt: regulator-vbatt { 12 compatible = "regulator-fixed"; 13 regulator-name = "vbatt-fixed-supply"; 14 regulator-min-microvolt = <3700000>; 15 regulator-max-microvolt = <3700000>; 16 regulator-always-on; [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | ps8640.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nicolas Boichat <drinkcat@chromium.org> 13 The PS8640 is a low power MIPI-to-eDP video format converter supporting 28 powerdown-gpios: 30 description: GPIO connected to active low powerdown. 32 reset-gpios: 34 description: GPIO connected to active low reset. 36 vdd12-supply: [all …]
|
/linux/include/linux/ |
H A D | lcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2003,2004 Hewlett-Packard Company 23 * lcd_device->ops_lock is an internal backlight lock protecting the ops 39 /* The maximum value for contrast (read-only) */ 44 /* Get the LCD panel power status (0: full on, 1..3: controller 45 power on, flat panel power off, 4: full off), see FB_BLANK_XXX */ 47 /* Enable or disable power to the LCD (0: on; 4: off, see FB_BLANK_XXX) */ 48 int (*set_power)(struct lcd_device *, int power); 49 /* Get the current contrast setting (0-max_contrast) */ 92 lcd power off and 1, lcd power on. */ [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 /* machine-specific gpios */ 60 …CARD_RESET (H3XXX_EGPIO_BASE + 1) /* reset the attached pcmcia/compactflash card. active high. */ 61 #define H3XXX_EGPIO_OPT_RESET (H3XXX_EGPIO_BASE + 2) /* reset the attached option pack. active hi… 62 #define H3XXX_EGPIO_CODEC_NRESET (H3XXX_EGPIO_BASE + 3) /* reset the onboard UDA1341. active low. … 63 #define H3XXX_EGPIO_OPT_NVRAM_ON (H3XXX_EGPIO_BASE + 4) /* apply power to optionpack nvram, active … 64 #define H3XXX_EGPIO_OPT_ON (H3XXX_EGPIO_BASE + 5) /* full power to option pack. active high. */ 65 #define H3XXX_EGPIO_LCD_ON (H3XXX_EGPIO_BASE + 6) /* enable 3.3V to LCD. active high. */ 66 #define H3XXX_EGPIO_RS232_ON (H3XXX_EGPIO_BASE + 7) /* UART3 transceiver force on. Active high. */ 69 #define H3600_EGPIO_LCD_PCI (H3XXX_EGPIO_BASE + 8) /* LCD control IC enable. active high. */ [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | rohm,bd28623.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Katsuhiro Suzuki <katsuhiro@katsuster.net> 18 - $ref: dai-common.yaml# 24 "#sound-dai-cells": 27 VCCA-supply: 29 regulator phandle for the VCCA (for analog) power supply 31 VCCP1-supply: 33 regulator phandle for the VCCP1 (for ch1) power supply [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 21 is configured as an output, and driven active, triggering a level triggered reset condition. 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by [all …]
|