From patchwork Thu Oct 12 14:20:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 152023 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1267422vqb; Thu, 12 Oct 2023 07:21:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUajIPKi9kawVjAKOCs4aqH05KKjF/JyBm/tDqp7Rp9HdWSj2YBsQXrH7W6/pRIgDSkOyJ X-Received: by 2002:a17:902:f54e:b0:1bb:d7d4:e2b with SMTP id h14-20020a170902f54e00b001bbd7d40e2bmr27093304plf.0.1697120514627; Thu, 12 Oct 2023 07:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697120514; cv=none; d=google.com; s=arc-20160816; b=rq90Qa0Yzhe2c+X5GY6MDGU0PhBYcYqlGz33+8iW3NRZEw+sYP4yOg82cqYWjUre0p 01dxSbOrBm97YL9qo6pmkfZlW8rAVxJVq9epBwi5RY+zeMTwDlQ8RGnV4qeZLd4VghpW 7BhDNQzcdqn6qxjYg1T/DDwQ+/iZok6UU83NtvJ0aLxB4YDkaoo71EW92NcE51XvR5T3 Fl2WlhEYcbyUYWuPPYplGmvbX5lJQFoWaJaV3OwzAjErmDAODAs+rRFvaT8wujIA48tZ A7YiLGqe4PrQ9JY621hv06Sw0AxPJOnpfUYHtLc1FBTd06SMrqKzESLN5wtImYBcz1x4 SZng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=H/lwXUFEoFKVjdRzMDOd2rRgvAReKR+ab242zlHPZBk=; fh=f3pMZEgZS4Phs9LJgVQNzuW8tAZKQcnSDxT8t1GJgNo=; b=aQPSyZEYnBSyQBM631YaEpMoFwDCdTh4I5L6vHnezxqvKT08xUQq1/wtNuFBNJKv/k FgZV0MVYwvT4kpbSZ1kDvd35N2i2bDyqp6UYtkFXHHe6jvdxx0dV+hURlYa+BekgcArR hMepkI7r/bCDOX/NMGkpbR1ga4+FzzeT5ww3oDyVOwCfFPWQlZsuFq0qIV6J1ssnDI8q CMasRcJO0GuKccViKXgS5FYxREOryGm06nutXHhalycwFDvgQqFdqCE9swarLbETVR+u rtpmjuwSQIVtsJspxUCT+mrHtAxxFoVR3zEL1REyE4FNgZ6zgL0FDk4l6Wkfa8UlW/7e 6zdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@posteo.de header.s=2017 header.b=PWm8z4TO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.de Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id e2-20020a170902744200b001c77674ea97si2187840plt.423.2023.10.12.07.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@posteo.de header.s=2017 header.b=PWm8z4TO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 3B85081BB1BC; Thu, 12 Oct 2023 07:21:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbjJLOVd (ORCPT + 19 others); Thu, 12 Oct 2023 10:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235738AbjJLOVb (ORCPT ); Thu, 12 Oct 2023 10:21:31 -0400 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BFA9BE for ; Thu, 12 Oct 2023 07:21:29 -0700 (PDT) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B37C6240027 for ; Thu, 12 Oct 2023 16:21:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1697120486; bh=GgTVt7+YXxEkX26Y1BkpKSXRpt+TceAR7c5yku7geAM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=PWm8z4TOzOq6BZyN48AUVR+Z7U9KVwuXzTL7o7oSXYFF5BCRt4ALLypA9edzwp23k DSGddCP9l6/+vw9NWGjddFcAXu2ZrT5SFoTE+e9/QJigC3jhMTjnzVMRZnSz8P1VHd 7D7UGv7O3x7wPjvULbCVPJVBpE2G8F01UGnT7bB16Gzc5DIyoEu1TmcKdUcjfcj9fE MTZ7jmt6rr2c0SI2uPvWpuHyJjppLmuRTe4ysKn9m735Wuz5QNRsOirZbexHc9ULyc y/e0xugwemsK5eUAocuqnhGfkijg6/2ZbK+9SDdswyGhwxVPpCvSNHHhl00pWvg6gL 6/zlaEbuOJgmA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S5sJP1W0hz9rxd; Thu, 12 Oct 2023 16:21:25 +0200 (CEST) From: Martin Kepplinger To: lorenzo@kernel.org, jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: kernel@puri.sm, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v2] dt-bindings: iio: imu: st,lsm6dsx: add mount-matrix property Date: Thu, 12 Oct 2023 14:20:41 +0000 Message-Id: <20231012142041.253332-1-martink@posteo.de> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:21:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779559840836547066 X-GMAIL-MSGID: 1779559840836547066 Add the mount-matrix optional property to the binding since it's supported and very useful when using the chip on a board. Signed-off-by: Martin Kepplinger Acked-by: Conor Dooley --- revision history ---------------- v2: (thanks Jonathan) * remove the addition to the example to avoid unrelated discussions :) v1: https://lore.kernel.org/linux-devicetree/20230721103410.575555-1-martink@posteo.de/ Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml index ee8724ad33ab..28b667a9cb76 100644 --- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml +++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml @@ -93,6 +93,9 @@ properties: wakeup-source: $ref: /schemas/types.yaml#/definitions/flag + mount-matrix: + description: an optional 3x3 mounting rotation matrix + required: - compatible - reg