Re: [PATCH v4 07/16] dt-bindings: nvmem: microchip-otpc: Add required clocks

From: Krzysztof Kozlowski

Date: Fri Nov 06 2026 - 06:07:54 EST


On Thu, Nov 05, 2026 at 12:06:43PM +0100, Alexander Dahl wrote:
> The OTPC requires both the peripheral clock through PMC and the main RC
> oscillator. Seemed to work without explicitly enabling those clocks on
> sama7g5 before, but did not on sam9x60.
>
> Older datasheets were not clear and explicit about this, but recent are,
> e.g. SAMA7G5 series datasheet (DS60001765B),
> section 30.4.1 Power Management:
>
> > The OTPC is clocked through the Power Management Controller (PMC).
> > The user must power on the main RC oscillator and enable the
> > peripheral clock of the OTPC prior to reading or writing the OTP
> > memory.
>
> Confirmed by Microchip based on vendor internal documentation (see link).

Your commit msg should mention this is ABI break and its impact, e.g.
Linux will stop accepting existing DTB.

Best regards,
Krzysztof