Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1744088rdh; Tue, 26 Sep 2023 02:05:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHitN4HWPb/b+2YMQW6yW+Ci/lIkeNzUoUARvYSksyFq6Ic0bRseKPCVDSWfWJOilL0QpUn X-Received: by 2002:a25:2415:0:b0:d81:9cdf:1795 with SMTP id k21-20020a252415000000b00d819cdf1795mr8627002ybk.57.1695719111708; Tue, 26 Sep 2023 02:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695719111; cv=none; d=google.com; s=arc-20160816; b=ay/iFitLRBCpvBctpt/haB33TSBAuzCeD+xinR0CFSwCtahhkNWtFZOWGWYt+GeIcD K9IuWa21AiHPTcfyVz4c3kOeNY5ZzpskPxZXvaAmpz3A7qgDZ1PYE1+gyM6MDs6GpqRo fFEYplJGiTH68+Q9QJuPqQadLlzTzTtKedk8mKLeFoApm1SnBE49P9eSkDopmVqfar6y TpoFtY0GFBfULA5uGtvGltAxtCfIU5srsjQ+U0qs3jbCFLV9CyRhafnVdrhRgZzw4Oyo 7MnLoFkqieG8gdpWHsriZoGJvBf1FthQmwv+WLDVESJVYR8BwDvh8xLK2cl9xDm6S6zo 9Qlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=8XkA7wmYwzROmbQvGAT6OVw+rLzwIP7gQWYQe+fm+/E=; fh=ZJPqzBiqxktaJslg7QZKoGeZnz034uICHccHa9/mGRA=; b=jwX/nuwUzkvU5aBbWsj2WpNCXi136v87b0ldN15+OtU7O3QhJfFfG6lhg4I8g30kSL rhrIW7qb/OiQkh64lLakYrCSoaXjHEAda0kZVq03JfqzbKUJSHRTu4LpdxPQGiAySJ5t 4aoTQIybt/89CgbPVgDKI6pgSg16t1G8EVlBBvkU2/xJRH9oEoYxrneon/6r4mg2c6Bx 5vDHsi6dJuPh0zGavKK445ma50uxZ8LyJ/RzRurUmi/e3D34VV3ejhfkCK29GF3XVJFH 9eqAGOTF2LofSDrwtUZMZyoLkw1I/gTa+fPBNUfXOzNo8+vUZa74Ee4EJpHj8ZKTNrW8 XGRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YkSzfT1G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l192-20020a633ec9000000b005741597ab7fsi11138480pga.96.2023.09.26.02.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 02:05:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YkSzfT1G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DC9A1819F9B0; Mon, 25 Sep 2023 05:24:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231448AbjIYMYp (ORCPT + 99 others); Mon, 25 Sep 2023 08:24:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjIYMYn (ORCPT ); Mon, 25 Sep 2023 08:24:43 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44CF3C0 for ; Mon, 25 Sep 2023 05:24:37 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4054496bde3so44587055e9.1 for ; Mon, 25 Sep 2023 05:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695644676; x=1696249476; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8XkA7wmYwzROmbQvGAT6OVw+rLzwIP7gQWYQe+fm+/E=; b=YkSzfT1GFnW6krgx4ig7mexAPzVZ2rHM2XfEz7vfakxU4vUAEOjwWryrqCflVyx58p 17rH2fJqkaGPf3U6KOwtCEHLILmGpj+t5q4jjw8Mx4GI2gubHs+nSsmAabj3jSGn0iSF Sgse2nq6AFDtjndV31AeS4fFoUDHnTQIDTnicWcoKQdTb1aE7cfAKKNQf1MuSzsTLE+0 ybSnuABzpxvpKAmox1vSAN1z7sJvvFTvS/Tm5rMsIaoCOAHFFbPFiWRA5nEq6rAVVZiH K4WZW4HuV7tZiZCT+jrpxwUnA6jV4v1Bw1RjwNAyaoWhswesxFJc1wY2XICsTBmMnhiy dKyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695644676; x=1696249476; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8XkA7wmYwzROmbQvGAT6OVw+rLzwIP7gQWYQe+fm+/E=; b=UqQKXNdga4186fWcTJwTGcWvLk7O4O/9tIunL7xrFaqjxx6P8BI4+v67VSO9G+3HcM SZMagKNu/PyHppBdHL1kvJiJF2TVbApTlILOhFS+lK/iF3iwnDsm8SG/FB7ufi/8IDnG koMaLrQCRbz98YRj1fWviaLMziqr1GbOT3TH8n0nDLWwinr/6qzqI2HWPc3enaXGamFo gGFUyuMC/6a6kdAKDxWhpFv50vHCzsiqNscoQrqpZVqLw6gDvCQlJsx/zGEF/dK02hfy /O1X6eWGahdad1nIUHSEdBLGwpPuRevhN8jyINny5vyuMj1K92ZZncqxCzW+HW0xkVLC DmOA== X-Gm-Message-State: AOJu0Yzh4BGVUXGsnF1vSTG8lKt83usFFzGh3dQJD+6+TjUD/eqFEZ4x n12UQpuJHMSyvArTmxxuHh5Dww== X-Received: by 2002:a7b:c3d0:0:b0:401:4417:a82d with SMTP id t16-20020a7bc3d0000000b004014417a82dmr5448160wmj.38.1695644675660; Mon, 25 Sep 2023 05:24:35 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id p1-20020a1c7401000000b00401d6c0505csm12070769wmc.47.2023.09.25.05.24.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Sep 2023 05:24:35 -0700 (PDT) Message-ID: <3b81a9a7-69a3-4fd6-875f-7a5170c5c872@linaro.org> Date: Mon, 25 Sep 2023 14:24:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: iio: imu: mpu6050: Add level shifter Content-Language: en-US To: Andreas Kemnade , Jonathan Cameron Cc: 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, jean-baptiste.maneyrol@tdk.com, chenhuiz@axis.com, andy.shevchenko@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org References: <20230924222559.2038721-1-andreas@kemnade.info> <20230924222559.2038721-2-andreas@kemnade.info> <6db5b758-2ae6-46fb-a699-d73a2b98b4c2@linaro.org> <20230925112852.00007d34@Huawei.com> <20230925130225.55fe6fd4@aktux> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V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/Q== In-Reply-To: <20230925130225.55fe6fd4@aktux> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 25 Sep 2023 05:24:53 -0700 (PDT) On 25/09/2023 13:02, Andreas Kemnade wrote: > 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 I could not find any reference to level shift in this manual. To which page and part do you refer? > > 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? I don't know, but something reasonable to you should be put there. Best regards, Krzysztof