Home
last modified time | relevance | path

Searched full:atc260x (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Datc260x-core.c3 * Core support for ATC260x PMICs
10 #include <linux/mfd/atc260x/core.h>
123 { .name = "atc260x-regulator" },
124 { .name = "atc260x-pwrc" },
126 .name = "atc260x-onkey",
133 { .name = "atc260x-regulator" },
134 { .name = "atc260x-pwrc" },
136 .name = "atc260x-onkey",
158 static void atc260x_cmu_reset(struct atc260x *atc260x) in atc260x_cmu_reset() argument
160 const struct atc260x_init_regs *regs = atc260x->init_regs; in atc260x_cmu_reset()
[all …]
H A Datc260x-i2c.c3 * I2C bus interface for ATC260x PMICs
10 #include <linux/mfd/atc260x/core.h>
17 struct atc260x *atc260x; in atc260x_i2c_probe() local
21 atc260x = devm_kzalloc(&client->dev, sizeof(*atc260x), GFP_KERNEL); in atc260x_i2c_probe()
22 if (!atc260x) in atc260x_i2c_probe()
25 atc260x->dev = &client->dev; in atc260x_i2c_probe()
26 atc260x->irq = client->irq; in atc260x_i2c_probe()
28 ret = atc260x_match_device(atc260x, &regmap_cfg); in atc260x_i2c_probe()
32 i2c_set_clientdata(client, atc260x); in atc260x_i2c_probe()
34 atc260x->regmap = devm_regmap_init_i2c(client, &regmap_cfg); in atc260x_i2c_probe()
[all …]
H A DMakefile280 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o
281 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
H A DKconfig2164 tristate "Actions Semi ATC260x PMICs with I2C"
2169 Support for the Actions Semi ATC260x PMICs controlled via I2C.
/openbmc/linux/drivers/input/misc/
H A Datc260x-onkey.c3 * Onkey driver for Actions Semi ATC260x PMICs.
11 #include <linux/mfd/atc260x/core.h>
41 struct atc260x *atc260x; member
97 return regmap_update_bits(onkey->atc260x->regmap, in atc2603x_onkey_hw_init()
106 ret = regmap_read(onkey->atc260x->regmap, in atc260x_onkey_query()
110 dev_err(onkey->atc260x->dev, in atc260x_onkey_query()
140 regmap_update_bits(onkey->atc260x->regmap, onkey->params->reg_int_ctl, in atc260x_onkey_query()
157 ret = regmap_update_bits(onkey->atc260x->regmap, in atc260x_onkey_irq()
162 dev_err(onkey->atc260x->dev, in atc260x_onkey_irq()
192 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_onkey_probe() local
[all …]
H A DKconfig98 tristate "Actions Semi ATC260x PMIC ONKEY"
101 Support the ONKEY of ATC260x PMICs as an input device reporting
106 module will be called atc260x-onkey.
H A DMakefile20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
/openbmc/linux/include/linux/mfd/atc260x/
H A Dcore.h3 * Core MFD defines for ATC260x PMICs
12 #include <linux/mfd/atc260x/atc2603c.h>
13 #include <linux/mfd/atc260x/atc2609a.h>
32 struct atc260x { struct
55 int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg); argument
56 int atc260x_device_probe(struct atc260x *atc260x);
/openbmc/linux/drivers/power/reset/
H A Datc260x-poweroff.c3 * Poweroff & reset driver for Actions Semi ATC260x PMICs
9 #include <linux/mfd/atc260x/core.h>
187 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_pwrc_probe() local
196 priv->regmap = atc260x->regmap; in atc260x_pwrc_probe()
200 switch (atc260x->ic_type) { in atc260x_pwrc_probe()
211 "Poweroff not supported for ATC260x PMIC type: %u\n", in atc260x_pwrc_probe()
212 atc260x->ic_type); in atc260x_pwrc_probe()
254 .name = "atc260x-pwrc",
260 MODULE_DESCRIPTION("Poweroff & reset driver for ATC260x PMICs");
H A DKconfig43 tristate "Actions Semi ATC260x PMIC power-off driver"
47 through Actions Semi ATC260x series PMICs.
H A DMakefile6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
/openbmc/linux/drivers/regulator/
H A Datc260x-regulator.c3 // Regulator driver for ATC260x PMICs
8 #include <linux/mfd/atc260x/core.h>
475 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_regulator_probe() local
476 struct device *dev = atc260x->dev; in atc260x_regulator_probe()
491 switch (atc260x->ic_type) { in atc260x_regulator_probe()
495 atc2603c_ver_b = atc260x->ic_ver == ATC260X_B; in atc260x_regulator_probe()
503 dev_err(dev, "unsupported ATC260X ID %d\n", atc260x->ic_type); in atc260x_regulator_probe()
508 config.regmap = atc260x->regmap; in atc260x_regulator_probe()
533 .name = "atc260x-regulator",
540 MODULE_DESCRIPTION("Regulator driver for ATC260x PMICs");
H A DMakefile29 obj-$(CONFIG_REGULATOR_ATC260X) += atc260x-regulator.o
H A DKconfig174 tristate "Actions Semi ATC260x PMIC Regulators"
178 ATC260x PMICs. This will enable support for all the software
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dactions,atc260x.yaml4 $id: http://devicetree.org/schemas/mfd/actions,atc260x.yaml#
7 title: Actions Semi ATC260x Power Management IC
14 ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR
75 description: ATC260x voltage regulators supplies
/openbmc/linux/arch/arm/boot/dts/actions/
H A Dowl-s500-roseapplepi.dts48 atc260x: pmic@65 { label
/openbmc/linux/
H A DMAINTAINERS3217 ATC260X PMIC MFD DRIVER
3222 F: Documentation/devicetree/bindings/mfd/actions,atc260x.yaml
3223 F: drivers/input/misc/atc260x-onkey.c
3225 F: drivers/power/reset/atc260x-poweroff.c
3226 F: drivers/regulator/atc260x-regulator.c
3227 F: include/linux/mfd/atc260x/*
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]
/openbmc/
Dopengrok1.0.log4212 2025-01-09 03:00:50.671-0600 FINEST t503 IndexDatabase.setupDeletedUids: live doc: '/openbmc/linux/include/linux/mfd/atc260x/atc2603c.h' (2,527) at 20220525020654583
[all...]
Dopengrok2.0.log4265 2025-01-08 03:00:45.236-0600 FINEST t521 IndexDatabase.setupDeletedUids: live doc: '/openbmc/linux/include/linux/mfd/atc260x/atc2603c.h' (2,527) at 20220525020654583
[all...]