Re: [PATCH] dt-bindings: i2c: hisilicon,hix5hd2-i2c convert to DT schema
From: Wolfram Sang
Date: Wed Oct 08 2025 - 03:22:39 EST
Hi,
thanks for this conversion!
> +properties:
> + compatible:
> + enum:
> + - hisilicon,hix5hd2-i2c
Question for DT maintainers: Is it preferred to start with 'enum' right
away or to start with 'const' and convert to 'enum' once a second user
appears?
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
These should be left out because they come from i2c-controller.yaml?
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clocks
> + - "#address-cells"
> + - "#size-cells"
Same here for the last two?
Happy hacking,
Wolfram
Attachment:
signature.asc
Description: PGP signature