Home
last modified time | relevance | path

Searched +full:active +full:- +full:semi (Results 1 – 25 of 185) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dact8945a-charger.txt1 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dact8945a.txt1 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dact8865-regulator.txt2 -------------------
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 …]
H A Dact8945a-regulator.txt1 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/
H A Dtda1997x.txt1 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 …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dact8945a_charger.c1 // 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 …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-sama5d2_xplained.dts1 // 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/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
H A Dimx6q-gw54xx.dts1 // 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 …]
H A Drk3288-evb-act8846.dts1 // 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 sdio_pwrseq: sdio-pwrseq {
11 compatible = "mmc-pwrseq-simple";
13 clock-names = "ext_clock";
14 pinctrl-names = "default";
15 pinctrl-0 = <&wifi_enable_h>;
20 * - SDIO_RESET_L_WL_REG_ON
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dact8945a.c1 // 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");
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dact8865-regulator.c1 // 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 Dact8945a-regulator.c1 // 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 DKconfig1 # 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 …]
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-owl-sirq.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/pcmcia/
H A Delectra_cf.c1 // 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/
H A Dpower-controller.txt3 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;
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dci20.dts1 // 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c1 // 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 …]
/OK3568_Linux_fs/kernel/include/linux/regulator/
H A Dact8865.h1 /* 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
/OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/
H A Dls_us5152.h2 * Copyright (C) 2012 UPI semi <Finley_huang@upi-semi.com>. All Rights Reserved.
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
155 /*low active*/
185 /*wait-time slot selection*/
194 /*IR-LED drive peak current setting*/
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dpata_ns87410.c1 // 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 …]
/OK3568_Linux_fs/u-boot/drivers/power/pmic/
H A Dact8846.c5 * SPDX-License-Identifier: GPL-2.0+
33 return -EIO; in act8846_write()
43 return -EIO; in act8846_read()
57 dev->name); in act8846_bind()
58 return -ENXIO; in act8846_bind()
61 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in act8846_bind()
65 debug("%s: %s - no child found\n", __func__, dev->name); in act8846_bind()
78 { .compatible = "active-semi,act8846" },
/OK3568_Linux_fs/kernel/include/linux/input/
H A Dmt.h1 /* 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 …]
/OK3568_Linux_fs/kernel/mm/
H A Dmmu_gather.c20 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dpasemi_dma.h1 /* 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 …]

12345678