Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4651308imc; Mon, 25 Feb 2019 08:33:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IYPIZGGAHdWwRYNltqWGzBXOGk+loTO+wjXONFPqtjdDg0qgAVjUhzxncar7DHU6WcbuvvL X-Received: by 2002:a63:f30d:: with SMTP id l13mr19930315pgh.399.1551112381193; Mon, 25 Feb 2019 08:33:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551112381; cv=none; d=google.com; s=arc-20160816; b=VAYxdA4TQWtGNud0vPaMjB6dOthxdxC51EdqRHEVdNyeclSgnderh/AsKwMwvIcgdn 9ZEWnnnj24Kef+H0eLmm4TIws7QfNayAPFKv0YSSAGFw06RmLxDNKHNOm1eUi3NyBe+m L62SLuYkyVlkf1OFdxtne26/XH4eLGm6wiUGtsS2FxPeWVy1LSkI68odGeMhXTmKB1Y8 QS5Nn6tc8eqpSb0obR4aEdyzDKiQ4dvK2bYaQx6yDUpyS0zFFOXslvqM/MbiEnv9Qoqn K1angwC3Kq79WF/Hs5OUsyv+wv7itu0xO/r8Ef/WZjoiF2Cf0x/SbPPGVJiDXfBNrQPN +vVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=4+PWZ5I7SC8/GtODm3rmmASs7wrKJ4tYFAhMIePhQxo=; b=yl2hnhjCsJ2EoQYvOr9E1GrSBIHoRcD+fy+OnrHyJ+pZIZX8HUgFDsKY3PKVNJLHms N29yiOgMO0WKHPMkAzYYvtyBPxQcdP7VVxupZ1Sh3HhyfxTgNIPUXmoIhF3OvwckaKDv 6cz71h00UaHbxZ2cqBmz+41TFIQfFle5L9rcxiVZMUwsNMhciRAhxTTI0EIHmI7iP85F GWGbbdcEPIxBphobDy8LLKx31DAbdV+EYp58Gs2XsDuvYGDp8qNC4FvQwC/2CLdBXwFs HmC4rcLSxfr6/bZ4rapRCR2/RWPlKSGQe3Mpxot+88YgMsyFrQAh4W/vxpQ08de9Iuoj E/2w== ARC-Authentication-Results: i=1; mx.google.com; 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 o3si10147481pgh.189.2019.02.25.08.32.45; Mon, 25 Feb 2019 08:33:01 -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; 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 S1728070AbfBYQcZ (ORCPT + 99 others); Mon, 25 Feb 2019 11:32:25 -0500 Received: from ms.lwn.net ([45.79.88.28]:42078 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727930AbfBYQcZ (ORCPT ); Mon, 25 Feb 2019 11:32:25 -0500 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id A6989304; Mon, 25 Feb 2019 16:32:23 +0000 (UTC) Date: Mon, 25 Feb 2019 09:32:22 -0700 From: Jonathan Corbet To: "H. Nikolaus Schaller" Cc: Linus Walleij , Jonathan Cameron , Rob Herring , Mark Rutland , Andy Shevchenko , Charles Keepax , Song Qiang , Jean-Baptiste Maneyrol , Martin Kelly , Jonathan Marek , Brian Masney , Stephan Gerhold , letux-kernel@openphoenux.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gregor Boirie , Sebastian Reichel , Samu Onkalo Subject: Re: [PATCH v2 02/10] iio: document bindings for mounting matrices Message-ID: <20190225093222.40533238@lwn.net> In-Reply-To: <32025b2a8ccc97cc01f8115ee962529eb5990f00.1550768574.git.hns@goldelico.com> References: <32025b2a8ccc97cc01f8115ee962529eb5990f00.1550768574.git.hns@goldelico.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Feb 2019 18:02:47 +0100 "H. Nikolaus Schaller" wrote: > From: Linus Walleij > > The mounting matrix for sensors was introduced in > commit dfc57732ad38 ("iio:core: mounting matrix support") > > However the device tree bindings are very terse and since this is > a widely applicable property, we need a proper binding for it > that the other bindings can reference. This will also be useful > for other operating systems and sensor engineering at large. > > I think all 3D sensors should support it, the current situation > is probably that the mounting information is confined in magic > userspace components rather than using the mounting matrix, which > is not good for portability and reuse. > > Cc: Linus Walleij > Cc: Gregor Boirie > Cc: Sebastian Reichel > Cc: Samu Onkalo > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij > Signed-off-by: H. Nikolaus Schaller > --- > .../devicetree/bindings/iio/mount-matrix.txt | 204 ++++++++++++++++++ > 1 file changed, 204 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/mount-matrix.txt 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. Thanks, jon