mfd: tps65219: Add GPIO cell instance
authorJerome Neanne <jneanne@baylibre.com>
Wed, 7 Jun 2023 14:39:32 +0000 (16:39 +0200)
committerLee Jones <lee@kernel.org>
Thu, 15 Jun 2023 08:19:38 +0000 (09:19 +0100)
TPS65219 PMIC GPIOs are exposed in a standard way:

  gpiodetect
  gpiochip0 [tps65219-gpio] (3 lines)

tps65219-gpios is incorrect cell name (plural).  Changed to
tps65219-gpio (singular)

Co-developed-by: Jonathan Cormier <jcormier@criticallink.com>
Signed-off-by: Jonathan Cormier <jcormier@criticallink.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jerome Neanne <jneanne@baylibre.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230511-tps65219-add-gpio-support-v5-2-ebb94281c854@baylibre.com
drivers/mfd/tps65219.c

index 72ee23f..194c5a6 100644 (file)
@@ -106,7 +106,7 @@ static const struct mfd_cell tps65219_cells[] = {
                .resources = tps65219_regulator_resources,
                .num_resources = ARRAY_SIZE(tps65219_regulator_resources),
        },
-       { .name = "tps65219-gpios", },
+       { .name = "tps65219-gpio", },
 };
 
 static const struct mfd_cell tps65219_pwrbutton_cell = {