Home
last modified time | relevance | path

Searched refs:twl6040gpo_chip (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-twl6040.c65 static struct gpio_chip twl6040gpo_chip = { variable
85 twl6040gpo_chip.base = -1; in gpo_twl6040_probe()
88 twl6040gpo_chip.ngpio = 3; /* twl6040 have 3 GPO */ in gpo_twl6040_probe()
90 twl6040gpo_chip.ngpio = 1; /* twl6041 have 1 GPO */ in gpo_twl6040_probe()
92 twl6040gpo_chip.parent = &pdev->dev; in gpo_twl6040_probe()
94 ret = devm_gpiochip_add_data(&pdev->dev, &twl6040gpo_chip, NULL); in gpo_twl6040_probe()
97 twl6040gpo_chip.ngpio = 0; in gpo_twl6040_probe()