On Fri, Oct 30, 2020 at 6:32 AM Ramuthevar,Vadivel MuruganXyes, you are point is valid, I will use that.
<vadivel.muruganx.ramuthevar@xxxxxxxxxxxxxxx> wrote:
+ ddata = of_device_get_match_data(dev);
+ if (ddata->hwcaps_mask & CQSPI_SUPPORTS_MULTI_CHIPSELECT) {
+ if (of_property_read_u32(np, "num-chipselect",
The standard SPI bindings in spi-controller.yaml already has a binding
for this "num-cs" so please use that. It is also what your device tree
binding is referencing,
YAML check should give a warning?In the example, I just converted from existing txt -to- yaml that's
Yours,
Linus Walleij