Messages in this thread | | | From | Aidan MacDonald <> | Subject | Re: [PATCH v3 13/16] pinctrl: Add AXP192 pin control driver | Date | Fri, 01 Jul 2022 16:51:59 +0100 |
| |
Michael Walle <michael@walle.cc> writes:
> Am 2022-06-27 15:12, schrieb Aidan MacDonald: > >>> I *think* what is needed for gpio-regmap to support this is: >>> - support values and masks for the direction, for now, we >>> only support single bits. >>> - support the pinctrl_gpio_direction_{input,output} calls >>> -michael >> That sounds about right, thanks for taking a look. > > I thought you were trying to add these to gpio-regmap? Unless > I'm missing something, that should be easy enough. > > -michael
Yeah, I can send patches this weekend. One detail I missed was the to_irq() part, so I'm going to add a hook for that too.
The alternative is using hierarchical IRQ domains, but that seems like a lot of added complication when to_irq() works just as well.
| |