Lines Matching +full:rt4831 +full:- +full:backlight
1 // SPDX-License-Identifier: GPL-2.0+
25 MFD_CELL_OF("rt4831-backlight", NULL, NULL, 0, 0, "richtek,rt4831-backlight"),
26 MFD_CELL_NAME("rt4831-regulator")
52 enable_gpio = devm_gpiod_get_optional(&client->dev, "enable", GPIOD_OUT_HIGH); in rt4831_probe()
54 dev_err(&client->dev, "Failed to get 'enable' GPIO\n"); in rt4831_probe()
60 dev_err(&client->dev, "Failed to initialize regmap\n"); in rt4831_probe()
66 dev_err(&client->dev, "Failed to get H/W revision\n"); in rt4831_probe()
71 dev_err(&client->dev, "Chip vendor ID 0x%02x not matched\n", chip_id); in rt4831_probe()
72 return -ENODEV; in rt4831_probe()
82 dev_err(&client->dev, "Failed to enable I2C safety timer\n"); in rt4831_probe()
86 return devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_AUTO, rt4831_subdevs, in rt4831_probe()
92 struct regmap *regmap = dev_get_regmap(&client->dev, NULL); in rt4831_remove()
98 dev_warn(&client->dev, "Failed to disable outputs (%pe)\n", ERR_PTR(ret)); in rt4831_remove()
102 { .compatible = "richtek,rt4831", },
109 .name = "rt4831",
118 MODULE_DESCRIPTION("Richtek RT4831 core driver");