| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | max17040_battery.txt | 5 - compatible : "maxim,max17040", "maxim,max17041", "maxim,max17043", 7 "maxim,max17058", "maxim,max17059" or "maxim,max77836-battery" 8 - reg: i2c slave address 11 - maxim,alert-low-soc-level : The alert threshold that sets the state of 12 charge level (%) where an interrupt is 16 - maxim,double-soc : Certain devices return double the capacity. 19 SOC == State of Charge == Capacity. 20 - maxim,rcomp : A value to compensate readings for various 25 - interrupts : Interrupt line see Documentation/devicetree/ 26 bindings/interrupt-controller/interrupts.txt [all …]
|
| D | da9150-fg.txt | 1 Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings 4 - compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply 7 - dlg,update-interval: Interval time (milliseconds) between battery level checks. 8 - dlg,warn-soc-level: Battery discharge level (%) where warning event raised. 9 [1 - 100] 10 - dlg,crit-soc-level: Battery discharge level (%) where critical event raised. 11 This value should be lower than the warning level. 12 [1 - 100] 17 fuel-gauge { 18 compatible = "dlg,da9150-fuel-gauge"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/ |
| D | da9150-fg.txt | 1 Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings 4 - compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply 7 - dlg,update-interval: Interval time (milliseconds) between battery level checks. 8 - dlg,warn-soc-level: Battery discharge level (%) where warning event raised. 9 [1 - 100] 10 - dlg,crit-soc-level: Battery discharge level (%) where critical event raised. 11 This value should be lower than the warning level. 12 [1 - 100] 17 fuel-gauge { 18 compatible = "dlg,da9150-fuel-gauge"; [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | da9150-fg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DA9150 Fuel-Gauge Driver 84 int soc; member 99 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr() 121 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr() 130 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 150 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start() 159 mutex_unlock(&fg->io_lock); in da9150_fg_read_sync_end() 181 mutex_lock(&fg->io_lock); in da9150_fg_write_attr_sync() 196 dev_err(fg->dev, "Timeout waiting for existing QIF sync!\n"); in da9150_fg_write_attr_sync() [all …]
|
| D | max17040_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // fuel-gauge systems for lithium-ion (Li+) batteries 149 int soc; member 162 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset() 165 static int max17040_set_low_soc_alert(struct max17040_chip *chip, u32 level) in max17040_set_low_soc_alert() argument 167 level = 32 - level * (chip->quirk_double_soc ? 2 : 1); in max17040_set_low_soc_alert() 168 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_low_soc_alert() 169 MAX17040_ATHD_MASK, level); in max17040_set_low_soc_alert() 174 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_soc_alert() 180 u16 mask = chip->data.rcomp_bytes == 2 ? in max17040_set_rcomp() [all …]
|
| /kernel/linux/linux-4.19/drivers/power/supply/ |
| D | da9150-fg.c | 2 * DA9150 Fuel-Gauge Driver 88 int soc; member 103 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr() 125 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr() 134 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 154 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start() 163 mutex_unlock(&fg->io_lock); in da9150_fg_read_sync_end() 185 mutex_lock(&fg->io_lock); in da9150_fg_write_attr_sync() 200 dev_err(fg->dev, "Timeout waiting for existing QIF sync!\n"); in da9150_fg_write_attr_sync() 201 mutex_unlock(&fg->io_lock); in da9150_fg_write_attr_sync() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | cm_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 * cm_ll_data: function pointers to SoC-specific implementations of 41 * omap2_set_globals_cm - set the CM/CM2 base addresses (for early use) 43 * @cm2: CM2 base virtual address (if present on the booted SoC) 54 * cm_split_idlest_reg - split CM_IDLEST reg addr into its components 61 * via the @prcm_inst and @idlest_reg_id. Returns -EINVAL upon error, 69 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg() 70 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg() 72 return -EINVAL; in cm_split_idlest_reg() 75 ret = cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg() [all …]
|
| D | prm_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Tero Kristo <t-kristo@ti.com> 24 #include <linux/clk-provider.h> 27 #include "soc.h" 45 * actual amount of memory needed for the SoC 70 * prm_ll_data: function pointers to SoC-specific implementations of 86 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_events_filter_priority() 88 events[i] & prcm_irq_setup->priority_mask[i]; in omap_prcm_events_filter_priority() 99 * done by the SoC specific individual handlers. 107 int nr_irq = prcm_irq_setup->nr_regs * 32; in omap_prcm_irq_handler() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-omap2/ |
| D | cm_common.c | 28 * cm_ll_data: function pointers to SoC-specific implementations of 44 * omap2_set_globals_cm - set the CM/CM2 base addresses (for early use) 46 * @cm2: CM2 base virtual address (if present on the booted SoC) 57 * cm_split_idlest_reg - split CM_IDLEST reg addr into its components 64 * via the @prcm_inst and @idlest_reg_id. Returns -EINVAL upon error, 72 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg() 73 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg() 75 return -EINVAL; in cm_split_idlest_reg() 78 ret = cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg() 80 *prcm_inst -= cm_base.offset; in cm_split_idlest_reg() [all …]
|
| D | prm_common.c | 5 * Tero Kristo <t-kristo@ti.com> 28 #include <linux/clk-provider.h> 31 #include "soc.h" 49 * actual amount of memory needed for the SoC 74 * prm_ll_data: function pointers to SoC-specific implementations of 90 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_events_filter_priority() 92 events[i] & prcm_irq_setup->priority_mask[i]; in omap_prcm_events_filter_priority() 103 * done by the SoC specific individual handlers. 111 int nr_irq = prcm_irq_setup->nr_regs * 32; in omap_prcm_irq_handler() 114 * If we are suspended, mask all interrupts from PRCM level, in omap_prcm_irq_handler() [all …]
|
| /kernel/linux/linux-4.19/drivers/thermal/tegra/ |
| D | soctherm.c | 31 #include <dt-bindings/thermal/tegra124-soctherm.h> 155 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 158 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 161 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 187 static const int min_low_temp = -127000; 236 struct tegra_soctherm_soc *soc; member 244 * ccroc_writel() - writes a value to a CCROC register 253 writel(value, (ts->ccroc_regs + reg)); in ccroc_writel() 257 * ccroc_readl() - reads specified register from CCROC IP block 265 return readl(ts->ccroc_regs + reg); in ccroc_readl() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/ |
| D | socionext,uniphier-aidet.txt | 3 UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC (Generic 4 Interrupt Controller). GIC itself can handle only high level and rising edge 5 interrupts. The AIDET provides logic inverter to support low level and falling 9 - compatible: Should be one of the following: 10 "socionext,uniphier-ld4-aidet" - for LD4 SoC 11 "socionext,uniphier-pro4-aidet" - for Pro4 SoC 12 "socionext,uniphier-sld8-aidet" - for sLD8 SoC 13 "socionext,uniphier-pro5-aidet" - for Pro5 SoC 14 "socionext,uniphier-pxs2-aidet" - for PXs2/LD6b SoC 15 "socionext,uniphier-ld11-aidet" - for LD11 SoC [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| D | sprd,pinctrl.txt | 8 pad driving level, system control select and so on ("domain pad 9 driving level": One pin can output 3.0v or 1.8v, depending on the 13 have several systems (AP/CP/CM4) on one SoC.). 16 of them, so we can not make every Spreadtrum-special configuration 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | sprd,pinctrl.txt | 8 pad driving level, system control select and so on ("domain pad 9 driving level": One pin can output 3.0v or 1.8v, depending on the 13 have several systems (AP/CP/CM4) on one SoC.). 16 of them, so we can not make every Spreadtrum-special configuration 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/tegra/ |
| D | soctherm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved. 34 #include <dt-bindings/thermal/tegra124-soctherm.h> 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h 206 * level vector 212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) argument 229 (ALARM_OFFSET * (throt - THROTTLE_OC1))) [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/firmware/ |
| D | other_interfaces.rst | 5 -------------- 7 .. kernel-doc:: drivers/firmware/dmi_scan.c 11 -------------- 13 .. kernel-doc:: drivers/firmware/edd.c 16 Intel Stratix10 SoC Service Layer 17 --------------------------------- 18 Some features of the Intel Stratix10 SoC require a level of privilege 21 at Exception Level 1 (EL1), access to the features requires 22 Exception Level 3 (EL3). 24 The Intel Stratix10 SoC service layer provides an in kernel API for [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | mpc5121-psc.txt | 4 ---------------- 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 12 -------------------------- 15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 16 Supported <soc>s: mpc5121, mpc5125 17 - reg : Offset and length of the register set for the PSC device 18 - interrupts : <a b> where a is the interrupt number of the [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | mpc5121-psc.txt | 4 ---------------- 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 12 -------------------------- 15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 16 Supported <soc>s: mpc5121, mpc5125 17 - reg : Offset and length of the register set for the PSC device 18 - interrupts : <a b> where a is the interrupt number of the [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/ |
| D | Kconfig | 20 Choose this option for open-source NVIDIA support. 35 bool "Nouveau (NVIDIA) SoC GPUs" 39 Support for Nouveau platform driver, used for SoC GPUs as found 43 int "Maximum debug level" 48 Selects the maximum debug level to compile support for. 50 0 - fatal 51 1 - error 52 2 - warning 53 3 - info 54 4 - debug [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/msm/ |
| D | qcom,llcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Last Level Cache Controller 10 - Rishabh Bhatnagar <rishabhb@codeaurora.org> 11 - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> 14 LLCC (Last Level Cache Controller) provides last level of cache memory in SoC, 16 SoC, the idea is to minimize the local caches at the clients and migrate to 24 - qcom,sc7180-llcc 25 - qcom,sdm845-llcc [all …]
|
| D | qcom,idle-state.txt | 3 ARM provides idle-state node to define the cpuidle states, as defined in [1]. 4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle 6 The idle states supported by the QCOM SoC are defined as - 41 back into Elevation Level (EL) which trampolines the control back to the 44 code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to 48 itself in that the cpu acknowledges and permits the SoC to enter deeper sleep 49 modes. In a hierarchical power domain SoC, this means L2 and other caches can 50 be flushed, system bus, clocks - lowered, and SoC main XO clock gated and 53 of this low power mode would be considered high even though at a cpu level, 55 with the Resource power manager (RPM) processor in the SoC to indicate a [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/dts/fsl/ |
| D | t104xsi-pre.dtsi | 2 * T1040/T1042 Silicon/SoC Device Tree Source (pre include) 4 * Copyright 2013-2014 Freescale Semiconductor Inc. 35 /dts-v1/; 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 45 ccsr = &soc; 71 #address-cells = <1>; 72 #size-cells = <0>; 78 next-level-cache = <&L2_1>; [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
| D | t104xsi-pre.dtsi | 2 * T1040/T1042 Silicon/SoC Device Tree Source (pre include) 4 * Copyright 2013-2014 Freescale Semiconductor Inc. 35 /dts-v1/; 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 45 ccsr = &soc; 71 #address-cells = <1>; 72 #size-cells = <0>; 78 next-level-cache = <&L2_1>; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/msm/ |
| D | qcom,idle-state.txt | 3 ARM provides idle-state node to define the cpuidle states, as defined in [1]. 4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle 6 The idle states supported by the QCOM SoC are defined as - 41 back into Elevation Level (EL) which trampolines the control back to the 44 code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to 48 itself in that the cpu acknowledges and permits the SoC to enter deeper sleep 49 modes. In a hierarchical power domain SoC, this means L2 and other caches can 50 be flushed, system bus, clocks - lowered, and SoC main XO clock gated and 53 of this low power mode would be considered high even though at a cpu level, 55 with the Resource power manager (RPM) processor in the SoC to indicate a [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | imx6q.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6q-pinfunc.h" 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-a9"; 23 next-level-cache = <&L2>; 24 operating-points = < 32 fsl,soc-operating-points = < 33 /* ARM kHz SOC-PU uV */ [all …]
|