> On Nov 13, 2018, at 3:16 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > > Hi Kumar, > > On Tue, Nov 13, 2018 at 9:05 PM Kumar Gala <kumar.gala@xxxxxxxxxx> wrote: >> I noticed this commit from you: >> >> commit a8830cb19cfea04edb0381b52fd90eec44986eb9 >> Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> >> Date: Mon May 22 15:11:40 2017 +0200 >> >> spi: Document DT bindings for SPI controllers in slave mode >> >> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> >> Reviewed-by: Rob Herring <robh@xxxxxxxxxx> >> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> >> >> Curious if you have an example of what the .dts looks like. I’m trying to figure out what ‘reg’ would look like for the slave controller case? Is there a reg? > > There's no reg property nor unit address, as there's only a single > slave node, see e.g. > https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=topic/renesas-overlays&id=5dbc65e4177d5a8132b962f8db3e18b9d66c426a > > There's more info on the eLinux wiki: > https://elinux.org/Tests:MSIOF-SPI-Slave > > I also gave a presentation about SPI slave support at FOSDEM: > https://archive.fosdem.org/2018/schedule/event/hwenablement_linux_as_spi_slave/ > Slide 27 shows an example DTS. > > If you have more questions, feel free to ask! Thanks. Very helpful. - k