/openbmc/linux/drivers/mfd/ |
H A D | atc260x-core.c | 158 static void atc260x_cmu_reset(struct atc260x *atc260x) in atc260x_cmu_reset() argument 171 static void atc260x_dev_init(struct atc260x *atc260x) in atc260x_dev_init() argument 227 atc260x->ic_type); in atc260x_match_device() 231 atc260x->regmap_mutex = devm_kzalloc(dev, sizeof(*atc260x->regmap_mutex), in atc260x_match_device() 255 int atc260x_device_probe(struct atc260x *atc260x) in atc260x_device_probe() argument 261 if (!atc260x->irq) { in atc260x_device_probe() 269 ret = regmap_read(atc260x->regmap, atc260x->rev_reg, &chip_rev); in atc260x_device_probe() 283 atc260x->type_name, 'A' + atc260x->ic_ver); in atc260x_device_probe() 286 -1, atc260x->regmap_irq_chip, &atc260x->irq_data); in atc260x_device_probe() 293 atc260x->cells, atc260x->nr_cells, NULL, 0, in atc260x_device_probe() [all …]
|
H A D | atc260x-i2c.c | 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, ®map_cfg); in atc260x_i2c_probe() 32 i2c_set_clientdata(client, atc260x); in atc260x_i2c_probe() 34 atc260x->regmap = devm_regmap_init_i2c(client, ®map_cfg); in atc260x_i2c_probe() 35 if (IS_ERR(atc260x->regmap)) { in atc260x_i2c_probe() 36 ret = PTR_ERR(atc260x->regmap); in atc260x_i2c_probe() [all …]
|
H A D | Makefile | 280 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o 281 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
|
/openbmc/linux/drivers/input/misc/ |
H 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 …]
|
H A D | Makefile | 20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
|
H A D | Kconfig | 106 module will be called atc260x-onkey.
|
/openbmc/linux/include/linux/mfd/atc260x/ |
H 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);
|
/openbmc/linux/drivers/power/reset/ |
H 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()
|
H A D | Makefile | 6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
|
/openbmc/linux/drivers/regulator/ |
H A D | atc260x-regulator.c | 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()
|
H A D | Makefile | 29 obj-$(CONFIG_REGULATOR_ATC260X) += atc260x-regulator.o
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | actions,atc260x.yaml | 4 $id: http://devicetree.org/schemas/mfd/actions,atc260x.yaml#
|
/openbmc/linux/arch/arm/boot/dts/actions/ |
H A D | owl-s500-roseapplepi.dts | 48 atc260x: pmic@65 { label
|
/openbmc/linux/ |
H A D | MAINTAINERS | 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/*
|
/openbmc/ |
H A D | opengrok2.0.log | 26497 …ildren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/linux/mfd/atc260x/core.h.gz 26498 …sChildren: its children prevent delete: /opengrok/data/xref/openbmc/linux/include/linux/mfd/atc260x
|
H A D | opengrok1.0.log | 29288 …ildren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/linux/mfd/atc260x/core.h.gz 29289 …sChildren: its children prevent delete: /opengrok/data/xref/openbmc/linux/include/linux/mfd/atc260x
|