[PATCH v8 1/3] dt-bindings: mtd: spinand: Add randomizer enable/disable properties
Miquel Raynal
miquel.raynal at bootlin.com
Thu Mar 12 07:45:06 PDT 2026
>> + 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.
More information about the linux-mtd
mailing list