Re: [PATCH] dt-bindings: pinctrl: mediatek: mt6795: document the slew-rate property

From: Linus Walleij

Date: Mon Jun 01 2026 - 13:53:35 EST


Hi Luca,

thanks for your patch!

On Mon, Jun 1, 2026 at 5:27 PM Luca Leonardo Scorcia
<l.scorcia@xxxxxxxxx> wrote:

> The driver for MT6795 pinctrl already supports the slew-rate property.
> Add its description to the documentation.
>
> Signed-off-by: Luca Leonardo Scorcia <l.scorcia@xxxxxxxxx>
(...)
> + slew-rate:
> + description: |
> + Set the slew rate. Valid arguments are described as below:
> + 0: Normal slew rate
> + 1: Slower slew
> + $ref: /schemas/types.yaml#/definitions/uint32
> + enum: [0, 1]

Ideally slew-rate is V/s (or V/us, any suitable prefixes).

Of course that would vary for any capacitance on the output line,
so that value would be for an infinite impedance (open circuit).

Do you know that value for the SoC to you can express it like
this and translate it in the driver?

Maybe we should even invent something like
slew-rate-volt-per-microsecond = <...>; to push this into
SI units.

That said, there are many SoC:s doing what you're doing
above so it's no strict requirement.

Yours,
Linus Walleij