/linux-5.10/Documentation/devicetree/bindings/power/supply/ ! |
D | act8945a-charger.txt | 1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a-charger". 5 - active-semi,chglev-gpios: charge current level phandle with args 7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle 9 - interrupts: <a b> where a is the interrupt number and b is a 14 - active-semi,input-voltage-threshold-microvolt: unit: mV; 15 Specifies the charger's input over-voltage threshold value; 17 - active-semi,precondition-timeout: unit: minutes; 21 - active-semi,total-timeout: unit: hours; 28 compatible = "active-semi,act8945a"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mfd/ ! |
D | act8945a.txt | 1 Device-Tree bindings for Active-semi ACT8945A MFD driver 4 - compatible: "active-semi,act8945a". 5 - reg: the I2C slave address for the ACT8945A chip 8 - a regulators: see ../regulator/act8945a-regulator.txt 9 - a charger: see ../power/act8945a-charger.txt 13 compatible = "active-semi,act8945a"; 16 active-semi,vsel-high; 20 regulator-name = "VDD_1V35"; 21 regulator-min-microvolt = <1350000>; 22 regulator-max-microvolt = <1350000>; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/regulator/ ! |
D | act8865-regulator.txt | 2 ------------------- 5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600" 6 - reg: I2C slave address 9 - system-power-controller: Telling whether or not this pmic is controlling 10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt . 11 - active-semi,vsel-high: Indicates the VSEL pin is high. 15 - for act8600: 16 - vp1-supply: The input supply for DCDC_REG1 17 - vp2-supply: The input supply for DCDC_REG2 18 - vp3-supply: The input supply for DCDC_REG3 [all …]
|
D | act8945a-regulator.txt | 1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt. 7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. 8 If this property is missing, assume the VSEL pin is set to logic-low. 11 - vp1-supply: The input supply for REG_DCDC1 12 - vp2-supply: The input supply for REG_DCDC2 13 - vp3-supply: The input supply for REG_DCDC3 14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2 15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4 18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be [all …]
|
/linux-5.10/Documentation/devicetree/bindings/media/i2c/ ! |
D | tda1997x.txt | 1 Device-Tree bindings for the NXP TDA1997x HDMI receiver 6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] 7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] 8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4] 9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2] 10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] 11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles) 12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles) 13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles) 16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0] [all …]
|
/linux-5.10/drivers/mfd/ ! |
D | act8945a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MFD driver for Active-semi ACT8945a PMIC 18 .name = "act8945a-regulator", 21 .name = "act8945a-charger", 22 .of_compatible = "active-semi,act8945a-charger", 40 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 46 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() 50 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe() 64 { .compatible = "active-semi,act8945a", }, 90 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");
|
/linux-5.10/drivers/power/supply/ ! |
D | act8945a_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power supply driver for the Active-semi ACT8945A PMIC 19 static const char *act8945a_charger_manufacturer = "Active-semi"; 214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level() 268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205 282 int chgin_level = gpiod_get_value(charger->chglev_gpio); in act8945a_get_current_max() 347 struct regmap *regmap = charger->regmap; in act8945a_charger_get_property() 352 ret = act8945a_get_charger_state(regmap, &val->intval); in act8945a_charger_get_property() 355 ret = act8945a_get_charge_type(regmap, &val->intval); in act8945a_charger_get_property() 358 val->intval = POWER_SUPPLY_TECHNOLOGY_LION; in act8945a_charger_get_property() [all …]
|
/linux-5.10/arch/arm/boot/dts/ ! |
D | at91-sama5d2_xplained.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board 8 /dts-v1/; 10 #include "sama5d2-pinfunc.h" 11 #include <dt-bindings/mfd/atmel-flexcom.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 17 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 27 stdout-path = "serial0:115200n8"; 32 clock-frequency = <32768>; [all …]
|
D | imx6q-gw54xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 8 #include "imx6qdl-gw54xx.dtsi" 9 #include <dt-bindings/media/tda1997x.h> 13 compatible = "gw,imx6q-gw54xx", "gw,ventana", "fsl,imx6q"; 15 sound-digital { 16 compatible = "simple-audio-card"; 17 simple-audio-card,name = "tda1997x-audio"; 18 simple-audio-card,format = "i2s"; 19 simple-audio-card,bitclock-master = <&sound_codec>; [all …]
|
D | rk3288-evb-act8846.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3288-evb.dtsi" 8 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288"; 10 vcc_lcd: vcc-lcd { 11 compatible = "regulator-fixed"; 12 enable-active-high; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&lcd_en>; 16 regulator-name = "vcc_lcd"; [all …]
|
D | sama5d3xcm_cmp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module 9 compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5"; 12 stdout-path = "serial0:115200n8"; 21 clock-frequency = <32768>; 25 clock-frequency = <12000000>; 32 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 37 compatible = "atmel,tcb-timer"; 42 compatible = "atmel,tcb-timer"; 48 phy-mode = "rgmii"; [all …]
|
/linux-5.10/drivers/regulator/ ! |
D | act8865-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * act8865-regulator.c - Voltage regulation for active-semi ACT88xx PMUs 5 * http://www.active-semi.com/products/power-management-units/act88xx/ 22 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 124 #define ACT8865_ENA 0x80 /* ON - [7] */ 125 #define ACT8865_DIS 0x40 /* DIS - [6] */ 127 #define ACT8865_VSEL_MASK 0x3F /* VSET - [5:0] */ 130 #define ACT8600_LDO10_ENA 0x40 /* ON - [6] */ 131 #define ACT8600_SUDCDC_VSEL_MASK 0xFF /* SUDCDC VSET - [7:0] */ 239 struct regmap *regmap = rdev->regmap; in act8865_set_suspend_state() [all …]
|
D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 157 struct regmap *regmap = rdev->regmap; in act8945a_set_mode() 184 return -EINVAL; in act8945a_set_mode() 197 return -EINVAL; in act8945a_set_mode() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
/linux-5.10/drivers/irqchip/ ! |
D | irq-owl-sirq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Actions Semi Owl SoCs SIRQ interrupt controller driver 5 * Copyright (C) 2014 Actions Semi Inc. 6 * David Liu <liuwei@actions-semi.com> 19 #include <dt-bindings/interrupt-controller/arm-gic.h> 98 val = readl_relaxed(data->base + data->params->reg_offset[index]); in owl_sirq_read_extctl() 99 if (data->params->reg_shared) in owl_sirq_read_extctl() 110 if (data->params->reg_shared) { in owl_sirq_write_extctl() 111 val = readl_relaxed(data->base + data->params->reg_offset[index]); in owl_sirq_write_extctl() 116 writel_relaxed(extctl, data->base + data->params->reg_offset[index]); in owl_sirq_write_extctl() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/power/ ! |
D | power-controller.txt | 3 Power-management integrated circuits or miscellaneous hardware components are 7 standard property "system-power-controller" in its device node. This property 15 compatible = "active-semi,act8846"; 16 system-power-controller;
|
/linux-5.10/include/linux/regulator/ ! |
D | act8865.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * act8865.h -- Voltage regulation for active-semi act88xx PMUs 60 * act8865_regulator_data - regulator data 74 * act8865_platform_data - platform data for act8865
|
/linux-5.10/drivers/pcmcia/ ! |
D | electra_cf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2007 PA Semi, Inc 27 static const char driver_name[] = "electra-cf"; 34 unsigned active:1; member 59 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present() 60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present() 74 if (present != cf->present) { in electra_cf_timer() 75 cf->present = present; in electra_cf_timer() 76 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer() 79 if (cf->active) in electra_cf_timer() [all …]
|
/linux-5.10/arch/mips/boot/dts/ingenic/ ! |
D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|
/linux-5.10/arch/powerpc/platforms/pasemi/ ! |
D | dma_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 5 * Common functions for DMA access on PA Semi PWRficient 41 /* pasemi_read_iob_reg - read IOB register 50 /* pasemi_write_iob_reg - write IOB register 60 /* pasemi_read_mac_reg - read MAC register 70 /* pasemi_write_mac_reg - write MAC register 81 /* pasemi_read_dma_reg - read DMA register 90 /* pasemi_write_dma_reg - write DMA register 122 return -ENOSPC; in pasemi_alloc_tx_chan() [all …]
|
/linux-5.10/drivers/ata/ ! |
D | pata_ns87410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_ns87410.c - National Semiconductor 87410 PATA for new ATA layer 19 * ns87410_pre_reset - probe begin 28 struct ata_port *ap = link->ap; in ns87410_pre_reset() 29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_pre_reset() 35 if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no])) in ns87410_pre_reset() 36 return -ENOENT; in ns87410_pre_reset() 42 * ns87410_set_piomode - set initial PIO mode data 52 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_set_piomode() 53 int port = 0x40 + 4 * ap->port_no; in ns87410_set_piomode() [all …]
|
/linux-5.10/include/linux/input/ ! |
D | mt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 #define INPUT_MT_TRACK 0x0008 /* use in-kernel tracking */ 19 #define INPUT_MT_SEMI_MT 0x0010 /* semi-mt device, finger count handled manually */ 22 * struct input_mt_slot - represents the state of an input MT slot 28 int abs[ABS_MT_LAST - ABS_MT_FIRST + 1]; 34 * struct input_mt - state of tracked contacts 40 * @red: reduced cost matrix for in-kernel tracking 56 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value() 62 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value() 73 return slot->frame == mt->frame; in input_mt_is_used() [all …]
|
/linux-5.10/arch/arm64/boot/dts/rockchip/ ! |
D | rk3368-evb-act8846.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com> 6 /dts-v1/; 7 #include "rk3368-evb.dtsi" 11 compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368"; 15 clock-frequency = <400000>; 20 fcs,suspend-voltage-selector = <1>; 21 regulator-name = "vdd_cpu"; 22 regulator-min-microvolt = <850000>; 23 regulator-max-microvolt = <1350000>; [all …]
|
/linux-5.10/mm/ ! |
D | mmu_gather.c | 20 batch = tlb->active; in tlb_next_batch() 21 if (batch->next) { in tlb_next_batch() 22 tlb->active = batch->next; in tlb_next_batch() 26 if (tlb->batch_count == MAX_GATHER_BATCH_COUNT) in tlb_next_batch() 33 tlb->batch_count++; in tlb_next_batch() 34 batch->next = NULL; in tlb_next_batch() 35 batch->nr = 0; in tlb_next_batch() 36 batch->max = MAX_GATHER_BATCH; in tlb_next_batch() 38 tlb->active->next = batch; in tlb_next_batch() 39 tlb->active = batch; in tlb_next_batch() [all …]
|
/linux-5.10/arch/sh/kernel/ ! |
D | unwinder.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * the most accurate unwinder being the currently active one. 30 .name = "stack-reader", 43 * "unwinder_list" is a linked-list of all available unwinders, sorted 59 * select_unwinder - Select the best registered stack unwinder. 92 return -EBUSY; in unwinder_enqueue() 94 if (o->rating >= ops->rating) in unwinder_enqueue() 97 list_add(&ops->list, entry); in unwinder_enqueue() 103 * unwinder_register - Used to install new stack unwinder 109 * Returns -EBUSY if registration fails, zero otherwise. [all …]
|