On Wed, 14 Aug 2024 at 04:14, Mikhail Kshevetskiy <[email protected]> wrote: > > From: Michael Polyntsov <[email protected]> > > Some boards don't have chipselect lines for leds so cs-gpios is not > specified in the dts leading to probing error. Fix it by making > behavior similar to the one in Linux, parse num-chipselects and > if it is zero, ignore cs-gpios. > > Signed-off-by: Michael Polyntsov <[email protected]> > Signed-off-by: Mikhail Kshevetskiy <[email protected]> > --- > doc/device-tree-bindings/spi/soft-spi.txt | 5 +++-- > drivers/spi/soft_spi.c | 22 +++++++++++++++++++++- > 2 files changed, 24 insertions(+), 3 deletions(-) >
Reviewed-by: Simon Glass <[email protected]>

