Home
last modified time | relevance | path

Searched refs:atc260x (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/mfd/
A Datc260x-core.c161 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 Datc260x-i2c.c18 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, &regmap_cfg); in atc260x_i2c_probe()
33 i2c_set_clientdata(client, atc260x); in atc260x_i2c_probe()
35 atc260x->regmap = devm_regmap_init_i2c(client, &regmap_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 DMakefile273 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o
274 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
/linux/drivers/input/misc/
A Datc260x-onkey.c41 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 DMakefile20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
A DKconfig106 module will be called atc260x-onkey.
/linux/include/linux/mfd/atc260x/
A Dcore.h32 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 Datc260x-poweroff.c187 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 DMakefile6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
/linux/drivers/regulator/
A Datc260x-regulator.c473 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 DMakefile29 obj-$(CONFIG_REGULATOR_ATC260X) += atc260x-regulator.o
/linux/Documentation/devicetree/bindings/mfd/
A Dactions,atc260x.yaml4 $id: http://devicetree.org/schemas/mfd/actions,atc260x.yaml#
/linux/arch/arm/boot/dts/
A Dowl-s500-roseapplepi.dts48 atc260x: pmic@65 { label
/linux/
A DMAINTAINERS3045 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