Lines Matching +full:semi +full:- +full:static
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MFD driver for Active-semi ACT8945a PMIC
16 static const struct mfd_cell act8945a_devs[] = {
18 .name = "act8945a-regulator",
21 .name = "act8945a-charger",
22 .of_compatible = "active-semi,act8945a-charger",
26 static const struct regmap_config act8945a_regmap_config = {
31 static int act8945a_i2c_probe(struct i2c_client *i2c) in act8945a_i2c_probe()
39 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe()
45 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe()
49 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe()
56 static const struct i2c_device_id act8945a_i2c_id[] = {
62 static const struct of_device_id act8945a_of_match[] = {
63 { .compatible = "active-semi,act8945a", },
68 static struct i2c_driver act8945a_i2c_driver = {
77 static int __init act8945a_i2c_init(void) in act8945a_i2c_init()
83 static void __exit act8945a_i2c_exit(void) in act8945a_i2c_exit()
89 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");