Re: [PATCH 1/4] dt-bindings: Document new common property: has-inaccessible-regs
From: Krzysztof Kozlowski
Date: Sat Nov 29 2025 - 10:23:27 EST
On 29/11/2025 15:20, Richard Weinberger wrote:
> This property is used to denote that a certain register map contains
> registers that are inaccessible under conditions only a device driver
> can know.
So device driver controls fully their exposure via sysfs.
Binding cannot help here at all.
> The purpose of this property is to disable register access through debug
> facilities outside of the device driver.
You described OS policy which is not suitable for bindings at all. Plus
commit msg really mixes up two separate points - buggy driver which
fails to properly set regmap (or other facility) with some DT-based
restrictions.
Best regards,
Krzysztof