Re: [RFC] RPMI pin control specification

From: Charles Perry

Date: Thu Nov 19 2026 - 12:05:14 EST


Hello Linus,

On Wed, Nov 18, 2026 at 10:36:43PM +0100, Linus Walleij wrote:
> Hi Charles,
>
> sorry for replying so late, kernel development is intense these days.

No problem, thank you for replying.

>
> On Tue, Oct 27, 2026 at 10:43 PM Charles Perry
> <charles.perry@xxxxxxxxxxxxx> wrote:
>
> > There is currently a spec under review for adding a pin control service to
> > Risc-V Platform Management Interface (RPMI). RPMI is a messaging interface
> > between an application processor and a platform controller for riscv.
>
> I actually have only one question:
>
> Is this spec so similar to another four-letter firmware interface that
> drivers/pinctrl/pinctrl-scmi.c can be used without changes or perhaps
> by a simple addition of a compatible string?

No, that is not the case currently. There are semantic differences in the
protocol, the message format changes, the enums are not the same, the
underlying transport is not the same, etc.

On the topic of SCMI, are you aware of anything that could have been
improved or should have been done differently in the pin control protocol?

>
> Because what I'm not interested in are two necessarily different drivers
> with the same content.
>
> Other than that I understand these specifications are similar for some
> reasons that I maybe don't want to concern myself with, so I'm fine
> either way.
>
> Yours,
> Linus Walleij

--
Thanks,
Charles