Searched refs:atc260x (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/mfd/ |
A D | atc260x-core.c | 161 static void atc260x_cmu_reset(struct atc260x *atc260x) in atc260x_cmu_reset() argument 174 static void atc260x_dev_init(struct atc260x *atc260x) in atc260x_dev_init() argument 230 atc260x->ic_type); in atc260x_match_device() 234 atc260x->regmap_mutex = devm_kzalloc(dev, sizeof(*atc260x->regmap_mutex), in atc260x_match_device() 258 int atc260x_device_probe(struct atc260x *atc260x) in atc260x_device_probe() argument 264 if (!atc260x->irq) { in atc260x_device_probe() 272 ret = regmap_read(atc260x->regmap, atc260x->rev_reg, &chip_rev); in atc260x_device_probe() 286 atc260x->type_name, 'A' + atc260x->ic_ver); in atc260x_device_probe() 289 -1, atc260x->regmap_irq_chip, &atc260x->irq_data); in atc260x_device_probe() 296 atc260x->cells, atc260x->nr_cells, NULL, 0, in atc260x_device_probe() [all …]
|
A D | atc260x-i2c.c | 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() 36 if (IS_ERR(atc260x->regmap)) { in atc260x_i2c_probe() 37 ret = PTR_ERR(atc260x->regmap); in atc260x_i2c_probe() [all …]
|
A D | Makefile | 273 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o 274 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
|
/linux/drivers/input/misc/ |
A D | atc260x-onkey.c | 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 220 switch (atc260x->ic_type) { in atc260x_onkey_probe() 238 atc260x->ic_type); in atc260x_onkey_probe() [all …]
|
A D | Makefile | 20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
|
A D | Kconfig | 106 module will be called atc260x-onkey.
|
/linux/include/linux/mfd/atc260x/ |
A D | core.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/drivers/power/reset/ |
A D | atc260x-poweroff.c | 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() 212 atc260x->ic_type); in atc260x_pwrc_probe()
|
A D | Makefile | 6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
|
/linux/drivers/regulator/ |
A D | atc260x-regulator.c | 473 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_regulator_probe() local 474 struct device *dev = atc260x->dev; in atc260x_regulator_probe() 489 switch (atc260x->ic_type) { in atc260x_regulator_probe() 493 atc2603c_ver_b = atc260x->ic_ver == ATC260X_B; in atc260x_regulator_probe() 501 dev_err(dev, "unsupported ATC260X ID %d\n", atc260x->ic_type); in atc260x_regulator_probe() 506 config.regmap = atc260x->regmap; in atc260x_regulator_probe()
|
A D | Makefile | 29 obj-$(CONFIG_REGULATOR_ATC260X) += atc260x-regulator.o
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | actions,atc260x.yaml | 4 $id: http://devicetree.org/schemas/mfd/actions,atc260x.yaml#
|
/linux/arch/arm/boot/dts/ |
A D | owl-s500-roseapplepi.dts | 48 atc260x: pmic@65 { label
|
/linux/ |
A D | MAINTAINERS | 3045 F: Documentation/devicetree/bindings/mfd/actions,atc260x.yaml 3046 F: drivers/input/misc/atc260x-onkey.c 3048 F: drivers/power/reset/atc260x-poweroff.c 3049 F: drivers/regulator/atc260x-regulator.c 3050 F: include/linux/mfd/atc260x/*
|
Completed in 48 milliseconds