Re: [PATCH v8 1/3] dt-bindings: mtd: spinand: Add randomizer enable/disable properties
From: Miquel Raynal
Date: Thu Mar 12 2026 - 10:47:20 EST
>> + nand-randomizer-enable:
>> + description:
>> + Enable the randomizer feature. This property is mutually-exclusive
>> + with nand-randomizer-disable.
>> + type: boolean
>> +
>> + nand-randomizer-disable:
>> + description:
>> + Disable the randomizer feature. This property is mutually-exclusive
>> + with nand-randomizer-enable.
>> + type: boolean
>> +
>> +dependencies:
>> + nand-randomizer-enable:
>> + not:
>> + required:
>> + - nand-randomizer-disable
>
> Rather than define this in the schema, make the properties inheritly
> mutually-exclusive with a single property:
>
> nand-randomizer = <0|1>;
>
> That's assuming you need not present to mean a 3rd thing such as use the
> bootloader setting. If you only need enable/disable, then a
> single boolean property works.
We need the "not present" case, so the single boolean property cannot
be considered here.