| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 23 description: disable any pin bias 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: [all …]
|
| H A D | pinctrl-single.txt | 1 One-register-per-pin type device tree based pinctrl driver 4 - compatible : "pinctrl-single" or "pinconf-single". 5 "pinctrl-single" means that pinconf isn't supported. 6 "pinconf-single" means that generic pinconf is supported. 8 - reg : offset and length of the register set for the mux registers 10 - #pinctrl-cells : number of cells in addition to the index, set to 1 11 for pinctrl-single,pins and 2 for pinctrl-single,bits 13 - pinctrl-single,register-width : pinmux register access width in bits 15 - pinctrl-single,function-mask : mask of allowed pinmux function bits 19 - pinctrl-single,function-off : function off mode for disabled state if [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/pinctrl/ |
| H A D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 47 pinctrl-0: List of phandles, each pointing at a pin configuration 65 pinctrl-1: List of phandles, each pointing at a pin configuration 68 pinctrl-n: List of phandles, each pointing at a pin configuration 70 pinctrl-names: The list of names to assign states. List entry 0 defines the 78 pinctrl-names = "active", "idle"; 79 pinctrl-0 = <&state_0_node_a>; 80 pinctrl-1 = <&state_1_node_a &state_1_node_b>; 85 pinctrl-0 = <&state_0_node_a>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dram/ |
| H A D | rk3399_dram_timing.txt | 4 - compatible : Should be "rockchip,ddr-timing" 6 - ddr3_speed_bin : Value is defined at include/dt-bindings/clock/ddr.h. 7 It select DDR3 cl-trp-trcd type, default value "DDR3_DEFAULT".it must selected 11 - pd_idle : Defines the power-down mode auto entry controller clocks. 14 power-down low power state. 16 - sr_idle : Defines the Self-Refresh or Self-Refresh with Memory Clock Gating 19 before the controller will automatically issue an entry into the Self-Refresh 20 or Self-Refresh with Memory Clock Gating low power state. 22 - sr_mc_gate_idle : Defined the Self-Refresh with Memory and Controller Clock Gating 25 the controller will automatically issue an entry into the Self-Refresh with [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | sff,sfp.txt | 1 Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 6 - compatible : must be one of 10 - i2c-bus : phandle of an I2C bus controller for the SFP two wire serial 15 - mod-def0-gpios : GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) 19 - los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal 22 - tx-fault-gpios : GPIO phandle and a specifier of the Module Transmitter 25 - tx-disable-gpios : GPIO phandle and a specifier of the Transmitter Disable 26 output gpio signal, active (Tx disable) high 28 - rate-select0-gpios : GPIO phandle and a specifier of the Rx Signaling Rate 29 Select (AKA RS0) output gpio signal, low: low Rx rate, high: high Rx rate [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/tegra/ |
| H A D | nvidia,tegra186-pmc.txt | 1 NVIDIA Tegra Power Management Controller (PMC) 4 - compatible: Should contain one of the following: 5 - "nvidia,tegra186-pmc": for Tegra186 6 - "nvidia,tegra194-pmc": for Tegra194 7 - "nvidia,tegra234-pmc": for Tegra234 8 - reg: Must contain an (offset, length) pair of the register set for each 9 entry in reg-names. 10 - reg-names: Must include the following entries: 11 - "pmc" 12 - "wake" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/ |
| H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 With Intel(R) SST, one server can be configured for power and performance for a 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 25 how these commands change the power and performance profile of the system under 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/clock/ |
| H A D | rockchip,rk3288-dmc.txt | 3 - compatible: "rockchip,rk3288-dmc", "syscon" 4 - rockchip,cru: this driver should access cru regs, so need get cru here 5 - rockchip,grf: this driver should access grf regs, so need get grf here 6 - rockchip,pmu: this driver should access pmu regs, so need get pmu here 7 - rockchip,sgrf: this driver should access sgrf regs, so need get sgrf here 8 - rockchip,noc: this driver should access noc regs, so need get noc here 9 - reg: dynamic ram protocol controller(PCTL) address and phy controller(PHYCTL) address 10 - clock: must include clock specifiers corresponding to entries in the clock-names property. 11 - clock-output-names: from common clock binding to override the default output clock name 18 -logic-supply: this driver should adjust VDD_LOGIC according to dmc frequency, so need get logic-su… [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/pinctrl/ |
| H A D | pinconf-generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 21 * enum pin_config_param - possible pin configuration parameters 25 * bus to change the value by driving the bus high or low and switching to 27 * @PIN_CONFIG_BIAS_DISABLE: disable any pin bias on the pin, a 28 * transition from say pull-up to pull-down implies that you disable 29 * pull-up in the process, this setting disables all biasing. 31 * mode, also know as "third-state" (tristate) or "high-Z" or "floating". 37 * impedance to GROUND). If the argument is != 0 pull-down is enabled, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | device_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/acpi/device_pm.c - ACPI device power management routines. 28 * acpi_power_state_string - String representation of ACPI device power state. 29 * @state: ACPI device power state to return the string representation of. 54 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get() 56 return -ENODEV; in acpi_dev_pm_explicit_get() 63 * acpi_device_get_power - Get power state of an ACPI device. 64 * @device: Device to get the power state of. 65 * @state: Place to store the power state of the device. 67 * This function does not update the device's power.state field, but it may [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ssb/ |
| H A D | ssb_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 #define SSB_PCIE_DMA_L32 0x00000000U /* PCIE Client Mode sb2pcitranslation2 (2 ZettaBytes), low 32 … 33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE) 53 #define SSB_GPIO_OUT_ENABLE 0xB8 /* GPIO Output Enable/Disable (pcirev >= 3 only) */ 55 #define SSB_GPIO_HWRAD 0x20 /* PCI config space GPIO 13 for hw radio disable */ 99 #define SSB_TMSLOW 0x0F98 /* SB Target State Low */ 105 #define SSB_TMSLOW_PE 0x40000000 /* Power Management Enable */ 108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */ 158 #define SSB_IDHIGH_RCLO 0x0000000F /* Revision Code (low part) */ 168 * in two-byte quantities. [all …]
|
| /OK3568_Linux_fs/kernel/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", "usb-ohci"; 28 marvell,enable-port1; [all …]
|
| /OK3568_Linux_fs/u-boot/include/dt-bindings/media/ |
| H A D | rockchip_mipi_dsi.h | 2 * (C) Copyright 2008-2017 Fuzhou Rockchip Electronics Co., Ltd 4 * SPDX-License-Identifier: GPL-2.0+ 14 /* use Low Power Mode to transmit message */ 27 /* enable hsync-end packets in vsync-pulse and v-porch area */ 29 /* disable hfront-porch area */ 31 /* disable hback-porch area */ 33 /* disable hsync-active area */ 37 /* disable EoT packets in HS mode */ 39 /* device supports non-continuous clock behavior (DSI spec 5.6.1) */ 41 /* transmit data in low power */
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-imx/ |
| H A D | avic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. 18 #include "irq-common.h" 23 #define AVIC_INTDISNUM 0x0C /* int disable number reg */ 25 #define AVIC_INTENABLEL 0x14 /* int enable reg low */ 27 #define AVIC_INTTYPEL 0x1C /* int type reg low */ 28 #define AVIC_NIPRIORITY(x) (0x20 + 4 * (7 - (x))) /* int priority */ 32 #define AVIC_INTSRCL 0x4C /* int source reg low */ 34 #define AVIC_INTFRCL 0x54 /* int force reg low */ 36 #define AVIC_NIPNDL 0x5C /* norm int pending low */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mtrr/ |
| H A D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0 13 unsigned long low, high; in amd_get_mtrr() local 15 rdmsr(MSR_K6_UWCCR, low, high); in amd_get_mtrr() 18 low = high; in amd_get_mtrr() 20 *base = (low & 0xFFFE0000) >> PAGE_SHIFT; in amd_get_mtrr() 22 if (low & 1) in amd_get_mtrr() 24 if (low & 2) in amd_get_mtrr() 26 if (!(low & 3)) { in amd_get_mtrr() 45 low = (~low) & 0x1FFFC; in amd_get_mtrr() 46 *size = (low + 4) << (15 - PAGE_SHIFT); in amd_get_mtrr() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | fhc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define CLOCK_PWRSTAT 0x30UL /* Power status */ 15 #define CLOCK_PWRPRES 0x40UL /* Power presence */ 18 #define CLOCK_PWRSTAT2 0x70UL /* Power status two */ 31 #define FHC_RCS_POR 0x80000000 /* Last reset was a power cycle */ 32 #define FHC_RCS_SPOR 0x40000000 /* Last reset was sw power on reset */ 44 #define FHC_CONTROL_DCD 0x00008000 /* DC-->DC Converter Disable */ 45 #define FHC_CONTROL_POFF 0x00004000 /* AC/DC Controller PLL Disable */ 46 #define FHC_CONTROL_FOFF 0x00002000 /* FHC Controller PLL Disable */ 47 #define FHC_CONTROL_AOFF 0x00001000 /* CPU A SRAM/SBD Low Power Mode */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "Disable Android GKI support" 16 Say y here to disable Android GKI support. Then 51 special additional settings registers for a lot of soc-components. 58 This driver support Decompress IP built-in Rockchip SoC, support 66 This driver support user invokes the Decompress IP built-in Rockchip SoC, support 91 Add a simple power model for ipa to calculate static power and 92 dynamic power. 116 This config aims to support different requests between power consumption 127 0 for low-performance (powersave), [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/x86/x86_energy_perf_policy/ |
| H A D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/ |
| H A D | ich8lan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 #define E1000_ICH_FWSM_PCIM2PCI 0x01000000 /* ME PCIm-to-PCI active */ 43 #define E1000_FWSM_ULP_CFG_DONE 0x00000400 /* Low power cfg done */ 90 /* bit24: RXDCTL thresholds granularity: 0 - cache lines, 1 - descriptors */ 103 #define E1000_PCH2_RAR_ENTRIES 5 /* RAR[0], SHRA[0-3] */ 104 #define E1000_PCH_LPT_RAR_ENTRIES 12 /* RAR[0], SHRA[0-10] */ 141 /* Half-duplex collision counts */ 166 /* I218 Ultra Low Power Configuration 1 Register */ 176 /* disable clear of sticky ULP on PERST */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | Hal8188FPwrSeq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 Check document WM-20130815-JackieLau-RTL8188F_Power_Architecture v08.vsd 9 There are 6 HW Power States: 10 0: POFF--Power Off 11 1: PDN--Power Down 12 2: CARDEMU--Card Emulation 13 3: ACT--Active Mode 14 4: LPS--Low Power State 15 5: SUS--Suspend 44 …AB_ALL_MSK, PWR_INTF_ALL_MSK,PWR_BASEADDR_MAC,PWR_CMD_WRITE, BIT2, 0},/* disable SW LPS 0x04[10]=0… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/ |
| H A D | Hal8188FPwrSeq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 Check document WM-20130815-JackieLau-RTL8188F_Power_Architecture v08.vsd 9 There are 6 HW Power States: 10 0: POFF--Power Off 11 1: PDN--Power Down 12 2: CARDEMU--Card Emulation 13 3: ACT--Active Mode 14 4: LPS--Low Power State 15 5: SUS--Suspend 44 …_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT2, 0},/* disable SW LPS 0x04[10]=0… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/ |
| H A D | Hal8188FPwrSeq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 Check document WM-20130815-JackieLau-RTL8188F_Power_Architecture v08.vsd 9 There are 6 HW Power States: 10 0: POFF--Power Off 11 1: PDN--Power Down 12 2: CARDEMU--Card Emulation 13 3: ACT--Active Mode 14 4: LPS--Low Power State 15 5: SUS--Suspend 44 …AB_ALL_MSK, PWR_INTF_ALL_MSK,PWR_BASEADDR_MAC,PWR_CMD_WRITE, BIT2, 0},/* disable SW LPS 0x04[10]=0… [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | max1241.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MAX1241 low-power, 12-bit serial ADC 5 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf 46 * Begin conversion by bringing /CS low for at least in max1241_read() 58 .rx_buf = &adc->data, in max1241_read() 63 return spi_sync_transfer(adc->spi, xfers, ARRAY_SIZE(xfers)); in max1241_read() 75 mutex_lock(&adc->lock); in max1241_read_raw() 77 if (adc->shutdown) { in max1241_read_raw() 78 gpiod_set_value(adc->shutdown, 0); in max1241_read_raw() 81 gpiod_set_value(adc->shutdown, 1); in max1241_read_raw() [all …]
|