Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4757648imc; Mon, 25 Feb 2019 10:25:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZREAoY88nLYWExFTfAo0CqTenQUftSlERO1mjeqjdtardkxOxX+FHYC0Bngqfmvjsp9KlE X-Received: by 2002:a17:902:2aa8:: with SMTP id j37mr20955657plb.226.1551119133014; Mon, 25 Feb 2019 10:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551119133; cv=none; d=google.com; s=arc-20160816; b=eZqravBJORZolRh7RZ8J/b1LMg4TrgEXh2M2IFQIrrsI+rvA++eJtoR7SoLpCZpSwW Lf9V/vb9wh3n35flfg5YuYE0p0y+G/KLi4etxRoMPe/reOfatPpEvDQBeguZoT1iGUBw H8xUPNMLn2z9RZToM59J4kBFWXxz32h8JTxn642+bVVq8k9MZDOfT6na1ifGKfTayVh9 Xtafj++ZFLz2RD1k/8CBbSaJ69D6Nq3rIRBiXnXHjWlGPsSgiK//4SxpSFTLGOFH+3bO cwx4zY0rlv5HvoQgHDROCVGCwFDd3hGFOma4r5T2h2mxMHiQRAf+xszOKA4LxinKRj0w W/hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qSNydh/SzD0ECr3ghk0dl0BxfRCP0GglDYK2Rxuoy58=; b=qAKGGCZBsUgImMhnvvFmh24+2Uh9Y8jkxWVanthvvkXbkiq39pKt8990ZvwTfghMeB CCXdWDiF+lXky4p/RUYe51zOgVzKNDXEMK8iyr5zk6esqe6htkUOzLa5HQZWDtDn++LR H2mZRVFIAbOwu1A8Ylly/0NIkqXMxlqvIEo0PfBXpYqJcVpGn3Cbc324zewF6GCj0U8e P4KKUkUwYRVIj0k84JaY3mfPtg7WQTCdOp/a5OG0uFFUfJLwVd3tHpmM/HTJQst8A8n3 j0zsWDAukzK72hPsr7OXBj748O29kOWAn736wNlrB0E+xCELo9s8BibS69C+eMyQ2Tpy Bxxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F5uJ0khk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s139si4617151pgs.405.2019.02.25.10.25.17; Mon, 25 Feb 2019 10:25:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F5uJ0khk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728897AbfBYSYw (ORCPT + 99 others); Mon, 25 Feb 2019 13:24:52 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:42755 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbfBYSYv (ORCPT ); Mon, 25 Feb 2019 13:24:51 -0500 Received: by mail-qk1-f194.google.com with SMTP id y140so5915247qkb.9 for ; Mon, 25 Feb 2019 10:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qSNydh/SzD0ECr3ghk0dl0BxfRCP0GglDYK2Rxuoy58=; b=F5uJ0khkyYNLVUDTT/R314Q34FrBKLjKulNbLJM/Ew5Z3emPFZL4biW/t1Cevigo7b 3lFq6ra3mBtF/gIbM7ktu1z/BnPj7sMu7/mgiLiv1w7H2B5mOFXnTKG2er0YSIniB+FN 3sepfNLjHdJzN6Q8+9LOnU6T1KRAL4iR+5LtB86KVRElWemDJp0PDc0LX32gey+N5eNL +AN5SlEaU7HWh1nS0mcz1DTpzv52djzYK98szytJ/QAJKO31N6I0hiqm3k6ELEbjXhqb 0A9j3d1YvzO+bAzdb3OCNSSr2jjqc29G/TjPFjANwpAHUCgmzvjd14ULvo1zlcAI+R9v 1s+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qSNydh/SzD0ECr3ghk0dl0BxfRCP0GglDYK2Rxuoy58=; b=S9Ma2JEl2jkjtsEJ5AncUVeCaQEBoevV2rgTLpIuOM3/qtJo+sd6BY3sN7sYr9sh5J bSejNcwZMuQ/EN4UaNm2DiVdZUNmE9z+qH1qcy8s7IWrolKGKytUOjCqcMJhcy4UFEuh 9L90xQNjSiaMDzr3gVhADbLRepjqd8Q9AAWufISacTksLGUVPSI+P5/jpPioJBms8uh5 exlmcGhjZf44Y49yUwIBdTba1geusH2f87FDO94s7imJQMpCT4DKDQd9F7Rn7gQNT1Ua 1ScM89pqlzijDChoiWuoA1ZP4HalPGyyANnpBCXv3LGDIQsFMnDUVMOO0E2VZ46Mx2gr sjsQ== X-Gm-Message-State: AHQUAuYFa9VrR3hd4ZEkH6ZqVOjB5fYpQLVxW7O8YGC5sspxOxUw+K58 y3M8elL8HlSE5vt5w01ASr5mB5ehbB+8VOGhWExGiQ== X-Received: by 2002:a37:9a13:: with SMTP id c19mr13977678qke.48.1551119090393; Mon, 25 Feb 2019 10:24:50 -0800 (PST) MIME-Version: 1.0 References: <32025b2a8ccc97cc01f8115ee962529eb5990f00.1550768574.git.hns@goldelico.com> <20190225093222.40533238@lwn.net> In-Reply-To: <20190225093222.40533238@lwn.net> From: Linus Walleij Date: Mon, 25 Feb 2019 19:24:36 +0100 Message-ID: Subject: Re: [PATCH v2 02/10] iio: document bindings for mounting matrices To: Jonathan Corbet , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Cc: "H. Nikolaus Schaller" , Jonathan Cameron , Mark Rutland , Andy Shevchenko , Charles Keepax , Song Qiang , Jean-Baptiste Maneyrol , Martin Kelly , Jonathan Marek , Brian Masney , Stephan Gerhold , Discussions about the Letux Kernel , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, "linux-kernel@vger.kernel.org" , Gregor Boirie , Sebastian Reichel , Samu Onkalo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jon, On Mon, Feb 25, 2019 at 5:32 PM Jonathan Corbet wrote: > > .../devicetree/bindings/iio/mount-matrix.txt | 204 ++++++++++++++++++ So this is a device tree binding. > So forgive me, but I have to ask: what are the chances of getting this > file in RST format? It's 99% of the way there now, finishing the job > would allow it to be integrated into our docs tree. > > It should probably have an SPDX line too. The recent direction of the Device Tree bindings are not in the RST direction but in the direction of using another formal structure: YAML schemas. See e.g. Documentation/devicetree/bindings/example-schema.yaml The YAML schema makes it possible to verify device trees and examples inside the bindings to the specification using a context-free grammar. If we can join the RST and YAML ambitions is a good question. RST has nice typesetting properties, YAML has nice grammatic properties. Yours, Linus Walleij