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()
40 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe()
46 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe()
50 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe()
57 static const struct i2c_device_id act8945a_i2c_id[] = {
63 static const struct of_device_id act8945a_of_match[] = {
64 { .compatible = "active-semi,act8945a", },
69 static struct i2c_driver act8945a_i2c_driver = {
78 static int __init act8945a_i2c_init(void) in act8945a_i2c_init()
84 static void __exit act8945a_i2c_exit(void) in act8945a_i2c_exit()
90 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");