> + if (ret)I referred some of the qspi, ospi flash vendors datasheets like Micron,
> + return ret;
> +
> + /*
> + * Experimental Minimum Chip select high to Reset delay value
> + * based on the flash device spec.
> + */
Which flash device spec?
Macronix, ISSI, gigadevice, spansion.
Reset Sequence which I implemented here is high(1)->low(0)->high(1).
> + usleep_range(1, 5);
> + gpiod_set_value(reset, 0);
Mh, is your logic inverted here? If I read the code correctly,
you should use a value of 1 to take the device into reset. The
device tree should then have a flag "active low", which will
By doing this sequence (active low), flash device is getting reset,
this sequence
is tested using Octal SPI flash device.