/Linux-v6.1/drivers/mfd/ |
D | atc260x-core.c | 3 * Core support for ATC260x PMICs 10 #include <linux/mfd/atc260x/core.h> 126 { .name = "atc260x-regulator" }, 127 { .name = "atc260x-pwrc" }, 129 .name = "atc260x-onkey", 136 { .name = "atc260x-regulator" }, 137 { .name = "atc260x-pwrc" }, 139 .name = "atc260x-onkey", 161 static void atc260x_cmu_reset(struct atc260x *atc260x) in atc260x_cmu_reset() argument 163 const struct atc260x_init_regs *regs = atc260x->init_regs; in atc260x_cmu_reset() [all …]
|
D | atc260x-i2c.c | 3 * I2C bus interface for ATC260x PMICs 10 #include <linux/mfd/atc260x/core.h> 18 struct atc260x *atc260x; in atc260x_i2c_probe() local 22 atc260x = devm_kzalloc(&client->dev, sizeof(*atc260x), GFP_KERNEL); in atc260x_i2c_probe() 23 if (!atc260x) in atc260x_i2c_probe() 26 atc260x->dev = &client->dev; in atc260x_i2c_probe() 27 atc260x->irq = client->irq; in atc260x_i2c_probe() 29 ret = atc260x_match_device(atc260x, ®map_cfg); in atc260x_i2c_probe() 33 i2c_set_clientdata(client, atc260x); in atc260x_i2c_probe() 35 atc260x->regmap = devm_regmap_init_i2c(client, ®map_cfg); in atc260x_i2c_probe() [all …]
|
D | Makefile | 276 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o 277 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
|
D | Kconfig | 2109 tristate "Actions Semi ATC260x PMICs with I2C" 2114 Support for the Actions Semi ATC260x PMICs controlled via I2C.
|
/Linux-v6.1/drivers/input/misc/ |
D | atc260x-onkey.c | 3 * 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 …]
|
D | Kconfig | 98 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.
|
D | Makefile | 20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
|
/Linux-v6.1/include/linux/mfd/atc260x/ |
D | core.h | 3 * 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);
|
/Linux-v6.1/drivers/power/reset/ |
D | atc260x-poweroff.c | 3 * 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");
|
D | Kconfig | 43 tristate "Actions Semi ATC260x PMIC power-off driver" 47 through Actions Semi ATC260x series PMICs.
|
D | Makefile | 6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
|
/Linux-v6.1/drivers/regulator/ |
D | atc260x-regulator.c | 3 // Regulator driver for ATC260x PMICs 8 #include <linux/mfd/atc260x/core.h> 474 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_regulator_probe() local 475 struct device *dev = atc260x->dev; in atc260x_regulator_probe() 490 switch (atc260x->ic_type) { in atc260x_regulator_probe() 494 atc2603c_ver_b = atc260x->ic_ver == ATC260X_B; in atc260x_regulator_probe() 502 dev_err(dev, "unsupported ATC260X ID %d\n", atc260x->ic_type); in atc260x_regulator_probe() 507 config.regmap = atc260x->regmap; in atc260x_regulator_probe() 532 .name = "atc260x-regulator", 538 MODULE_DESCRIPTION("Regulator driver for ATC260x PMICs");
|
D | Makefile | 29 obj-$(CONFIG_REGULATOR_ATC260X) += atc260x-regulator.o
|
D | Kconfig | 174 tristate "Actions Semi ATC260x PMIC Regulators" 178 ATC260x PMICs. This will enable support for all the software
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | actions,atc260x.yaml | 4 $id: http://devicetree.org/schemas/mfd/actions,atc260x.yaml# 7 title: Actions Semi ATC260x Power Management IC bindings 14 ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR 75 description: ATC260x voltage regulators supplies
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | owl-s500-roseapplepi.dts | 48 atc260x: pmic@65 { label
|
/Linux-v6.1/ |
D | MAINTAINERS | 3317 ATC260X PMIC MFD DRIVER 3322 F: Documentation/devicetree/bindings/mfd/actions,atc260x.yaml 3323 F: drivers/input/misc/atc260x-onkey.c 3325 F: drivers/power/reset/atc260x-poweroff.c 3326 F: drivers/regulator/atc260x-regulator.c 3327 F: include/linux/mfd/atc260x/*
|