Re: [PATCH v2 0/2] am335x: set pinmux registers from pins debug file

From: Andy Shevchenko
Date: Wed May 19 2021 - 07:31:58 EST


On Wed, May 19, 2021 at 3:58 AM Dario Binacchi <dariobin@xxxxxxxxx> wrote:
>
>
> The patch was born from the need to change the slew rate of the LCD pins
> of a custom AM335x board during EMC tests. The AM335x, as described in a
> note in section 9.1 of its reference manual [1], is unable to write
> pinmux registers from user space. The series now makes it possible to
> write these registers from the pins debug file.

Even for debugfs it would be nice to have a piece of documentation.
Because pin control is a quite sensitive area and if something goes
wrong, it may damage the hardware.

> [1] https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf


--
With Best Regards,
Andy Shevchenko