Re: [PATCH 1/4] dt-bindings: Document new common property: has-inaccessible-regs
From: Richard Weinberger
Date: Sat Nov 29 2025 - 10:56:44 EST
----- Ursprüngliche Mail -----
> Von: "Krzysztof Kozlowski" <krzk@xxxxxxxxxx>
>> So, drivers like ti,pbias-dra7 or ti,dra7xx-phy-gmii-sel touch only registers
>> they know about and this works well.
>> But syscon manages the whole register map via regmap, and regmap exposes it all
>> via debugfs.
>>
>> What solution do you propose?
>> Splitting reg = <0x0 0x1400> into many tiny fractions and not using an mfd
>> anymore?
>
> Fix the driver. In your case, the syscon driver.
Please help me to understand what the desired behavior of the driver is.
Currently syscon creates one regmap for everything and passes this regmap
to the individual syscon users.
These users have to know what offset within the regmap is their playground.
If I understand correctly, it would be better if every syscon user would register their own regmap?
Lee, Arnd, what do you think?
Thanks,
//richard