[PATCH 2/2] pinctrl: aspeed: Allow monitoring of power control input GPIOs

Andrew Jeffery andrew at aj.id.au
Thu Feb 3 09:55:01 AEDT 2022



On Thu, 3 Feb 2022, at 06:30, Bills, Jason M wrote:
> The pass-through input GPIOs cannot be monitored because when
> requested, pass-through is disabled which causes a change on the
> pass-through output.
>
> The SIO GPIOs cannot be monitored because when requested, the
> request is rejected based on the value of the ACPI strap.
>
> This change removes the register check condition from the pass-
> through and desired SIO GPIOs so they can be requested and
> monitored from power control.

I'll have to take some time to convince myself of the impact of this 
one.

I'm wondering whether we're better off adding some explicit support in 
the generic aspeed pinctrl code. The behaviour is essentially allowing 
the GPIO controller to snoop the pin state of other mux configurations.

Again, thanks for surfacing this patch.

Andrew



More information about the openbmc mailing list