Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp816069rwb; Thu, 15 Dec 2022 02:52:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf5qk7Ypl/S8mGMBsS1sTM3HWloi5LnqUHkw2i5vGmdtA06nZrBtA81CJrk3UAZbzk299Ox0 X-Received: by 2002:a05:6402:2a09:b0:461:a5ac:61e5 with SMTP id ey9-20020a0564022a0900b00461a5ac61e5mr26402845edb.15.1671101562903; Thu, 15 Dec 2022 02:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671101562; cv=none; d=google.com; s=arc-20160816; b=oOqTaVBcTl4S6pppBQazeNnsrWU5hH8zT3LVxPb+VkjYi6OGKwTN1lnX75AO5d4JgA AGiBE2h+Uh0d/pub43t+/Jpis04fG+P+FNKr0bhjCrkOcgfKd6nwEvJBrRHbWUxLHKPs 2RmfMkWvAgwU/3Lw5L3JTL15mGetZ1l2lCnWUnn2p/avxIb8U0GpW3YlCp+qhilrZPIc W7ayj/Ifuvcx4Gs3NvH012X3P3Q03zbT1JyXczH4+1eUHOXpUNPU/ZJ/EeczZY3tdUPE E5upkc/Sy6guJHTm3KH36g6NszpMF9woDJep4g/4wFlLkKPKVaeLBBxPBBeuhDOaVGph t/Nw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1c6YumyS4LirPkE2EiFDdoLxIzHQgm/2rq5WAIZoQ8o=; b=rHRkoT1v7Nirht/ZAOXJIflUxCnw+Vnn5MulyRaL+ng4P93AMjUas0Mryj0L4seexo dy/7LuqZFmjrpd24eDbRZtmF9zRdNzjcBPixwUQ9yUo8dYLmm1ND4n3wZBUbF3FNol3U mwjHw3XgUvzRuLCM0/12xBMQc94VPdfDWV14Xu5HdZrgNHoQ5G6a86LeU5/uir1l0M0d Zy1+d2I/FKnZNbIqxFX/KFOKIygg9xU2oYd2E8vUk/gzfmjXoEvAARWjHjTk7Q/RXMdf PsYff+5lgIakKE27AU61PZ/8I0khXKOJO4a18eEqjIAaV6iLHZ/VvB+1t83LGrNOBw+a dSyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O3iBuh7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a5099d1000000b0046b5453e15esi13420976edb.498.2022.12.15.02.52.26; Thu, 15 Dec 2022 02:52:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O3iBuh7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbiLOJmu (ORCPT + 68 others); Thu, 15 Dec 2022 04:42:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbiLOJmr (ORCPT ); Thu, 15 Dec 2022 04:42:47 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5EB22BE4 for ; Thu, 15 Dec 2022 01:42:45 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id g14so9336225ljh.10 for ; Thu, 15 Dec 2022 01:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1c6YumyS4LirPkE2EiFDdoLxIzHQgm/2rq5WAIZoQ8o=; b=O3iBuh7nktRUO/8kEkcXilITiNQtHPTd+dZN1cAOJ6oc/jeZWvHRlYmq+LnTv2NQvO jYKgr/JeluUEeh19h35ORE0cuFXz+msWFaC+FVoVQnMtflmba2YnXPF5uyIPp8a+fBQH 2qioLJIUmwGKQvYa+T9AUsaJRbX/i8MH/NAx8kIkx4I8LfK/DiF+AukK4MxwOnGVfFK3 b98QRvxBJrzPyhDpDksRgFoqSsTezDXvn5Obo7UeiCYGb3U4ACq2/CVnD1ukR6YZrTOi wIFpQB9oA6NjO80hjZ91QG52Uxzg4FCnc4LA1Z9YPMOc2b5TPeveL4SgVL5EfwB8cO/Z 7U/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=1c6YumyS4LirPkE2EiFDdoLxIzHQgm/2rq5WAIZoQ8o=; b=EZEvF+IAUz2TSudka0NA8WLkWkuY4v7x6vFMp6by4VDegz2r0pQZPJiiBdqgXIg4VO 2ym0B0IG10LSvIvShf2sklsYY+3ljQQxHntn6bZhf510q7VWxzLHkOCks9JOJK+kMQJP hgzeLvwXEJo5DBLccCpsT0jFPX+nmRJ+2Q3k+b10xIFct68ErNXh9YEk3m3lOcKmrQey bVARiCmuW3sIQLltCasRqlR6ex8TK+2psi4VimKy3lfOj1HzgmCeRx63/yGmccbEtvcp BpSaAkukX7NRoeGEJK6FSOj2z6tazz+2rfoBw2ESnNtDC6phIl8SKGauvEqURgJwXwBo BgKA== X-Gm-Message-State: ANoB5pnlQMV6iH2KKQrg01Y5jKgaN05DGbeN9sz9FO+OqEvMGyI7LDE+ w6RFSFTenhEbjZobP+z+JX6FxQ== X-Received: by 2002:a2e:b88e:0:b0:26f:db35:c047 with SMTP id r14-20020a2eb88e000000b0026fdb35c047mr8703618ljp.33.1671097364118; Thu, 15 Dec 2022 01:42:44 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i6-20020a2ea226000000b0027730261350sm800406ljm.131.2022.12.15.01.42.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 01:42:43 -0800 (PST) Message-ID: <29f4e14f-a81a-d440-b564-5360f44c65c1@linaro.org> Date: Thu, 15 Dec 2022 10:42:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 1/2] dt-bindings: hwmon: adi,ltc2945: Add binding Content-Language: en-US To: "Cormier, Jonathan" , linux-hwmon@vger.kernel.org Cc: Jean Delvare , Guenter Roeck , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Bob Duke , John Pruitt References: <20221214220727.1350784-1-jcormier@criticallink.com> <20221214220727.1350784-2-jcormier@criticallink.com> From: Krzysztof Kozlowski In-Reply-To: <20221214220727.1350784-2-jcormier@criticallink.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/12/2022 23:07, Cormier, Jonathan wrote: Missing commit msg. Describe hardware. > Signed-off-by: "Cormier, Jonathan" > --- > .../bindings/hwmon/adi,ltc2945.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml > new file mode 100644 > index 000000000000..9ca7a886dec8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/adi,ltc2945.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices LTC2945 wide range i2c power monitor > + > +maintainers: > + - Guenter Roeck > + > +description: | > + Analog Devices LTC2945 wide range i2c power monitor over I2C. > + > + https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf > + > +properties: > + compatible: > + enum: > + - ltc2945 That's not a correct compatible. Missing vendor prefix. > + > + reg: > + maxItems: 1 > + > + shunt-resistor-micro-ohms: > + description: > + Shunt resistor value in micro-Ohms > + default: 1000 > + > +required: > + - compatible > + - reg > + > + Just one blank line. > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; Use 4 spaces for example indentation. > + > + ltc2945_i2c: ltc2945@6e { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "ltc2945"; > + reg = <0x6e>; > + /* 10 milli-Ohm shunt resistor */ > + shunt-resistor-micro-ohms = <10000>; > + }; > + }; > +... Best regards, Krzysztof