Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1127049rdh; Mon, 25 Sep 2023 04:16:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNNcaoCTK27jMh45Exml4mhJxoL2Qn7WwxkW6Etc/IsRvaYyja3xF6/3MbBUndlLAQh5Al X-Received: by 2002:a05:6358:7209:b0:134:ed9b:15a7 with SMTP id h9-20020a056358720900b00134ed9b15a7mr7757962rwa.30.1695640590776; Mon, 25 Sep 2023 04:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695640590; cv=none; d=google.com; s=arc-20160816; b=XS1Tn28eNJ9QdI01q9zexB3A4XkWpMWZdDAgkjO6TVoO3lXqUT73NPBTgAmhNFBGca +e2m490Vs59Uo8n6Yy33800lwZAGS8kzkvlrEdvbEQjMNIHaGlMZiM0y88YB2+YuLWyr BZU04H/unljIw/Vtl5xPm4nhaz/fwREi0N7kusep860c//T+Fzy5jGx5aHX/XGBU8rxY Ay2ULG/bsdUll/hSJuzmGDbHWZBx7o2/Rshxf1F38lyUkPA1cbzCFA18PBMY8YS09ovV IT7yrjJ8LpKB5XBm6uv1/q6OYdw1swDk5b4PtEN5OGseFOr36t0D/PrmQ8giq5g0VwpR 2VeA== 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:subject:cc:to:from:date; bh=Z7Qfe1eRnnYn4rWPr7kc7GSfXsPENVX7+u6G5ExAC3g=; fh=KeJLBOEidrPwBQjSOh6EAJ/6Onmk41lVyyQYTL9VDxo=; b=uPxUE/OH2MQvASOBxEo8NDztEov62cNV0afYfmwBXM3SAuCppJZZ+ophxZJHUdnXew Vb8DRGqbF3h+VRivKOqEaa+ohCz0msNnlBEA11NhTwgXrA0QNmq1V3qNOufj6r1bM66u 9pP780kbeGjg6cy/KqfkhZatvLO7hEr7BoWg/Ln96uFUg5HJgorplB2CpCYF2Puu10Xd mr9Y1LHlcvPIw5JtYTS122raihoQf5nyaXX3/H2wdVaZHj52tZia2BFSAA/YzGoUBLtD xUDSQG9aQ3Z5GRJD64zBIC7DwV1EKhuVtkh5iT067zLf9ZV1by19PT4UTvZTnzkc66Zk uU5Q== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id l195-20020a633ecc000000b0057ab7f473d7si8818332pga.41.2023.09.25.04.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 04:16:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id D11DF80B26EC; Mon, 25 Sep 2023 04:03:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbjIYLCz (ORCPT + 99 others); Mon, 25 Sep 2023 07:02:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjIYLCy (ORCPT ); Mon, 25 Sep 2023 07:02:54 -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 2F214D3; Mon, 25 Sep 2023 04:02:46 -0700 (PDT) Received: from pd9e2f713.dip0.t-ipconnect.de ([217.226.247.19] 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 1qkjMB-004AHQ-OP; Mon, 25 Sep 2023 13:02:27 +0200 Date: Mon, 25 Sep 2023 13:02:25 +0200 From: Andreas Kemnade To: Jonathan Cameron Cc: Krzysztof Kozlowski , , , , , , , , , , , , , , Subject: Re: [PATCH 1/3] dt-bindings: iio: imu: mpu6050: Add level shifter Message-ID: <20230925130225.55fe6fd4@aktux> In-Reply-To: <20230925112852.00007d34@Huawei.com> References: <20230924222559.2038721-1-andreas@kemnade.info> <20230924222559.2038721-2-andreas@kemnade.info> <6db5b758-2ae6-46fb-a699-d73a2b98b4c2@linaro.org> <20230925112852.00007d34@Huawei.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 04:03:03 -0700 (PDT) On Mon, 25 Sep 2023 11:28:52 +0100 Jonathan Cameron wrote: > On Mon, 25 Sep 2023 08:54:08 +0200 > Krzysztof Kozlowski wrote: > > > On 25/09/2023 00:25, Andreas Kemnade wrote: > > > Found in ancient platform data struct: > > > level_shifter: 0: VLogic, 1: VDD > > > > > > Signed-off-by: Andreas Kemnade > > > --- > > > .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > > > index 1db6952ddca5e..6aae2272fa15c 100644 > > > --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > > > +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > > > @@ -48,6 +48,8 @@ properties: > > > > > > mount-matrix: true > > > > > > + invensense,level-shifter: true > > > > It does not look like you tested the bindings, at least after quick > > look. Please run `make dt_binding_check` (see > > Documentation/devicetree/bindings/writing-schema.rst for instructions). > > Maybe you need to update your dtschema and yamllint. > > > > Best regards, > > Krzysztof > > > > > > Also this one isn't obvious - give it a description in the binding doc. > > I'm not sure of the arguement for calling it level shift in general. > I have no more descrption than the old source (see the citation from there) https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-9150-Register-Map.pdf does not list it. But that bit is needed to get things to work what also does the vendor kernel do. What could be a better descrption? Regards, Andreas