From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v3 1/6] spi: Document DT bindings for SPI controllers in slave mode Date: Mon, 8 May 2017 22:42:27 +0200 Message-ID: References: <1493919951-32122-1-git-send-email-geert+renesas@glider.be> <1493919951-32122-2-git-send-email-geert+renesas@glider.be> <20170508165502.gkse5jdm56gzo5bm@rob-hp-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Geert Uytterhoeven , Mark Brown , Mark Rutland , Magnus Damm , Wolfram Sang , Hiromitsu Yamasaki , Jiada Wang , Matt Porter , linux-spi , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux-Renesas , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" To: Rob Herring Return-path: In-Reply-To: <20170508165502.gkse5jdm56gzo5bm@rob-hp-laptop> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi Rob, On Mon, May 8, 2017 at 6:55 PM, Rob Herring wrote: > On Thu, May 04, 2017 at 07:45:46PM +0200, Geert Uytterhoeven wrote: >> Signed-off-by: Geert Uytterhoeven >> --- >> v3: >> - In SPI slave mode, represent the (single) slave device again as a >> child of the controller node, which is now optional, and must be >> named "slave" if present, >> - Split slave node properties in master mode, slave mode, and common >> properties, >> >> v2: >> - Do not create a child node in SPI slave mode. Instead, add an >> "spi-slave" property, and put the mode properties in the controller >> node. >> --- a/Documentation/devicetree/bindings/spi/spi-bus.txt >> +++ b/Documentation/devicetree/bindings/spi/spi-bus.txt >> +In slave mode, the SPI controller node requires one additional property: >> +- spi-slave - Empty property. > > Do we still need this if we have a child node called "slave". Yes, as the child node called "slave" is optional. In that case, configuration of the slave protocol is done through sysfs, but that is Linux-specific and thus doesn't belong in the DT bindings. > Otherwise, > > Reviewed-by: Rob Herring Thank you! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html