On 06/07/16 07:31, Rob Herring wrote: > On Fri, Jun 3, 2016 at 2:29 PM, Frank Rowand <frowand.list@xxxxxxxxx> wrote: >> From: Frank Rowand <frank.rowand@xxxxxxxxxxx> >> >> Add items to Devicetree Source Format chapter >> >> - Add naming convention for DTS files and DTS include files >> - Add /include/ compiler directive >> - Add ";" to end of node definition >> - Add /delete-node/ and /delete-property/ >> - Add arithmetic, bitwise, and logical expressions >> >> Note that cpp directives are not included in this patch, and >> are not yet specified in this appendix. >> >> Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx> >> --- >> source/source-language.rst | 60 ++++++++++++++++++++++++++++++++++++++++++++- >> 1 file changed, 59 insertions(+), 1 deletion(-) >> >> Index: b/source/source-language.rst >> =================================================================== >> --- a/source/source-language.rst >> +++ b/source/source-language.rst < snip > >> + >> + Bitwise operators >> + >> + && and >> + || or > > Is this correct that these are not logical operators? From the dtc > source in dtc-parser.y, it looks like both bitwise and logical ops are > supported and XOR. Thanks for catching that. It was a thinko, plus I did not catch the XOR. I also missed NOT and TERNARY. New patch on the way. > >> + >> +:: >> + >> + Logical operators >> + >> + < less than >> + > greater than >> + <= less than or equal >> + >= greater than or equal >> + == equal >> + != not equal >> + >> >> - A 64-bit value is represented with two 32-bit cells. Example: >> >> -- >> To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html