From patchwork Wed Sep 27 17:32:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 145530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2827942vqu; Wed, 27 Sep 2023 11:44:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzKtDTKwHJPJz/MTKBzAfGiIUvPFnegK5lv14NcBtkXTpwOLu91Un+HQJE+R176UsUQLTN X-Received: by 2002:a05:6358:2802:b0:143:97c6:1e3a with SMTP id k2-20020a056358280200b0014397c61e3amr2792647rwb.9.1695840273429; Wed, 27 Sep 2023 11:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695840273; cv=none; d=google.com; s=arc-20160816; b=DEumCEohSBNhcqjwdWRjx67BXE3RS2PanWfrcpZ9J6jSNR022nMlYeqGuqYtFTNgaP euoore4NYGa7XrEMnCRDAC4d6m23FNspk/s30GaFQTqYm0KsUKEsSXhN3QQEzu6SmAxo KJiWlCmYijVumyxMjJjcabiO4eHKWCbMWjBbh3gp4a1uIghWRNFkwrJHTOmhlIo+NoWE MowtC0llexLldQvqHTlJW0s08kYEmMdl/P2Xq3wLO7wEbcNejJw+NdL8kc/3THjnAq6s PZunJYwCDYbSwe4JGyNf9JCmZQaQURUXKwDabsNHaTa96P2W7GFrlXdKYnxzUhX06zEl +3pQ== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=HkEkVssDzoedt6CNN1WGjKz9Oeusq03kPjuCFEnSV6s=; fh=uVMhKb/P8+EizzubcPWcViM8LxVsgVlwKzTll1iXK0Y=; b=eoGDA6P18WaYfoCR39yTMSdVe3yp7NgwniCAYOjFt0YfwzpVoEbAQMXhLXMd68ETLS z1GMfPFfHxKq6Xk/xN1qYh8rOzd0JlNLDaNd5vYwb5lOiXqY53jyHA3WNDIhm0CYHdsj 9ajiyptnNTTBZJHeNVmlW8DA9kJja6N0Mnw2WWbPwdsd6VFO0OAfjftGtQ0WwZFrml9R 9XiweLRzVr3VieFffCPk4QNGJWVwRdNujDbIZawkOivIGFdFtLYMfz3vQ5TZsF18M7Dp yr/Wjhj/SaEgQsT2KSdcLz0vtZfHu5WvyHs4j8Hkqr8VUTnpxOGPfNgop3t+HHWhWXSu XyCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n22-20020a63f816000000b0056f7592d732si16104393pgh.424.2023.09.27.11.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 11:44:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5F55182224D1; Wed, 27 Sep 2023 10:33:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbjI0RdO (ORCPT + 20 others); Wed, 27 Sep 2023 13:33:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjI0RdE (ORCPT ); Wed, 27 Sep 2023 13:33:04 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8741F5; Wed, 27 Sep 2023 10:33:00 -0700 (PDT) Received: from p200300ccff4287001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff42:8700:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlYP1-004Exw-P3; Wed, 27 Sep 2023 19:32:47 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1qlYP1-0091bG-07; Wed, 27 Sep 2023 19:32:47 +0200 From: Andreas Kemnade To: jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bcousson@baylibre.com, tony@atomide.com, andreas@kemnade.info, chenhuiz@axis.com, jean-baptiste.maneyrol@tdk.com, andy.shevchenko@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: iio: imu: mpu6050: Add level shifter Date: Wed, 27 Sep 2023 19:32:43 +0200 Message-Id: <20230927173245.2151083-2-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230927173245.2151083-1-andreas@kemnade.info> References: <20230927173245.2151083-1-andreas@kemnade.info> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 10:33:28 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778217410401268617 X-GMAIL-MSGID: 1778217410401268617 Add a level shifter flag as found in ancient platform data struct: level_shifter: 0: VLogic, 1: VDD Signed-off-by: Andreas Kemnade Acked-by: Jean-Baptiste Maneyrol Signed-off-by: Andreas Kemnade Acked-by: Rob Herring --- .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml index 1db6952ddca5e..297b8a1a7ffbc 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml @@ -48,6 +48,11 @@ properties: mount-matrix: true + invensense,level-shifter: + type: boolean + description: | + From ancient platform data struct: false: VLogic, true: VDD + i2c-gate: $ref: /schemas/i2c/i2c-controller.yaml unevaluatedProperties: false