On Tue, May 19, 2020 at 3:39 AM Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> wrote: > @Linus, we started off with something similar for GPIOs and ended up > with the logic in the core code. Should we somehow try to do the same > for pinctrl? msm_pingroup_is_valid() looks very reusable but I'm afraid I do not understand the implicit assumptions around it, but I guess yes, if it can be properly documented etc. Yours, Linus Walleij