/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945a regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8945a 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | active-semi,act8865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8865 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8865 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | active-semi,act8600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8600 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8600 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | active-semi,act8846.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8846 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8846 19 system-power-controller: 25 active-semi,vsel-high: 31 inl1-supply: [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A 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/Documentation/devicetree/bindings/media/i2c/ |
H A 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/drivers/power/supply/ |
H A 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/drivers/mfd/ |
H A 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", 39 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 45 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() 49 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe() 63 { .compatible = "active-semi,act8945a", }, 89 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");
|
/linux/drivers/regulator/ |
H A 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 …]
|
H A 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/drivers/irqchip/ |
H A 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/Documentation/devicetree/bindings/power/ |
H A 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/drivers/pcmcia/ |
H A 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/include/linux/regulator/ |
H A 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/arch/powerpc/platforms/pasemi/ |
H A 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 43 /* pasemi_read_iob_reg - read IOB register 52 /* pasemi_write_iob_reg - write IOB register 62 /* pasemi_read_mac_reg - read MAC register 72 /* pasemi_write_mac_reg - write MAC register 83 /* pasemi_read_dma_reg - read DMA register 92 /* pasemi_write_dma_reg - write DMA register 124 return -ENOSPC; in pasemi_alloc_tx_chan() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A 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 …]
|
/linux/drivers/ata/ |
H A 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/arch/mips/boot/dts/ingenic/ |
H A 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/include/linux/input/ |
H A 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/arch/arm64/boot/dts/rockchip/ |
H A 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/arch/powerpc/include/asm/ |
H A D | pasemi_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2006-2008 PA Semi, Inc 5 * Hardware register layout and descriptor formats for the on-board 6 * DMA engine on PA Semi PWRficient. Used by ethernet, function and security 51 #define PAS_DMA_COM_TXSTA_ACT 0x00000001 /* active */ 53 #define PAS_DMA_COM_RXSTA_ACT 0x00000001 /* active */ 56 /* Per-interface and per-channel registers */ 112 #define PAS_DMA_TXCHAN_TCMDSTA_ACT 0x00010000 /* Active */ 164 #define PAS_DMA_RXCHAN_CCMDSTA_ACT 0x00010000 /* Active */ 460 * for event-triggered DMA transactions. [all …]
|
/linux/arch/sh/kernel/ |
H A 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 …]
|
/linux/mm/ |
H A D | mmu_gather.c | 23 if (tlb->delayed_rmap && tlb->active != &tlb->local) in tlb_next_batch() 26 batch = tlb->active; in tlb_next_batch() 27 if (batch->next) { in tlb_next_batch() 28 tlb->active = batch->nex in tlb_next_batch() [all...] |