Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1232846rwb; Thu, 15 Dec 2022 07:52:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7AK1eeZKcRDJdnC5A9Th6vFbwEyqQM88frplbduMh/ovLwXKAXtmvjijVBlhAsBmMJYCIB X-Received: by 2002:a17:906:39d7:b0:7ad:c8d7:4fd9 with SMTP id i23-20020a17090639d700b007adc8d74fd9mr22562210eje.36.1671119535591; Thu, 15 Dec 2022 07:52:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671119535; cv=none; d=google.com; s=arc-20160816; b=xyc9O2aLXdeX5mMlykH1j7S/JeLKNG8kTrSyG9r9X4+iXTu/ukh0seZtsO/SNeiNsC fzYgD/yqPQuhUR1uyfznRZits8EpW71aNvoZE7VSnalP5GWZO6bsaipQd3Tzq3RAv1zm jgyQEJInroAK8/YfHYBXeE1yf2iyQGcLdG4BFBIQtTbhyCMrEXRMkf0BZu+fv+Jjejtc KmITn9w0c3jYOh5DFfVyH3NKt6hM5wniIDg8HTmu+s2nFE9TkKIXDSVXFJuQY/GonAf2 01kL1o9f5qg4oUQYOhqvemneuP5/1D6PYuUkEJlPJ5pJ5gcfaaQ3yPKK4FIFEzMlRLCC Fy6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sZ15fTarDAUKgAtZxdlUAO/HtntI26TxSHF6pnz8lQo=; b=hUPdM39nZtGMu6HPWKuPuseAKQFJINxWVaWt+0iCfjAirdF3vET6pQGjtz6CiTGMvO zMpwi1aiXVPL9W8HJQo2WumnQPFTlmjQMZ2w9WduGrgocSV8tlJxnFokgZMJAJJJbStR xZxq/flV/WrwZMcorkYsaKWD0ghHdtPN5nf65iN7qo62sfZ1xdA0ImJGtJlXf0RjhUqn yiICYMJ6BrP6Wm+Ko8zBLKFfZXeort9qkLdA0/32xgsFedDp3Spqxd9Ua7wcZLZ2xiZp 8zzTX722hPhVKcCu2im3Q102ZWzNcDTMr3OSMEcSvb2wB7MmXbHjDr6CAwXr/TtjuetU pGPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@criticallink.com header.s=google header.b=b9m1V265; 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=criticallink.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a05640242cb00b0046aa32bdcd7si4964147edc.411.2022.12.15.07.51.58; Thu, 15 Dec 2022 07:52:15 -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=@criticallink.com header.s=google header.b=b9m1V265; 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=criticallink.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbiLOOhp (ORCPT + 68 others); Thu, 15 Dec 2022 09:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbiLOOhl (ORCPT ); Thu, 15 Dec 2022 09:37:41 -0500 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A68DC2E697 for ; Thu, 15 Dec 2022 06:37:39 -0800 (PST) Received: by mail-vs1-xe35.google.com with SMTP id 3so3085507vsq.7 for ; Thu, 15 Dec 2022 06:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=criticallink.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sZ15fTarDAUKgAtZxdlUAO/HtntI26TxSHF6pnz8lQo=; b=b9m1V265SGOkN31jd68sNj+j5fmo5HDI+hw3nbQZr1R02Ahnwd9JQdo99xOhAZtO9I 0hodzAQ+KIq24tKSKp8dOEpnJl/ZfJHlQVn5RM1tK/+HD1hrVRL4IaCiRNqr3VL+js7a DG2v+3rv0oUiGi9LG/qrtBOfcxTeI+Pxd1K3chrFP8UYwofZ6oKKhiKVXCKiS7O8IIqC GYcRmSIzM3JwDuQ+Mr55E7Tyrw28ygVpZrLxwdgsp0FCMvT68PEsABwo8xu148SfEPYI w+vpNSPqRcpzg2URKvCVsxQBr8tQxfzdaNEIgY8NBrWBirkfwcgU99kWSPcuzcqCA5ql uGZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sZ15fTarDAUKgAtZxdlUAO/HtntI26TxSHF6pnz8lQo=; b=OP8sAJ/DgBI/zWRgK7xxg8LoHoNfhBMmwRf8QeR/hoBnw0qHNbxAZetRDFVnMkzO7X HDjZbmDZdwZ32TReYhV+vEVlajwY60zkqpj71qgLBpBvcTlTar3t9t42/S5Ky1HmXkFc 3KUwxEiAth35PfTjPHsQ2qXIHYSpg5ZMjtfZxN6syKazwl5Fx3cSJAqyC++ydvc+KU7R zPUKCHUG8brw22yZlwpfLIUmQg8ayFUzQ+1r2dT3F6TWL9y/fKBbVb//Ry/CkiWtsNQA Smsa0ypUWSzmAQsn1TuzojNJQXtv10JMicGXiLjciBvlX7NFGq/ZZdsFWxvkc2wqvWC4 uqyQ== X-Gm-Message-State: ANoB5pk+rpJef41KUO355GuwL6mwvovoO3exeITpqvdXNmXD7kfV8wsz 7LQgTbjDPKKsO3fi6wUAWh3RfLQU377JFz3/jTjm/w== X-Received: by 2002:a05:6102:30b4:b0:3b3:10b1:8e64 with SMTP id y20-20020a05610230b400b003b310b18e64mr4089245vsd.42.1671115058703; Thu, 15 Dec 2022 06:37:38 -0800 (PST) MIME-Version: 1.0 References: <20221214220727.1350784-1-jcormier@criticallink.com> <20221214220727.1350784-2-jcormier@criticallink.com> <29f4e14f-a81a-d440-b564-5360f44c65c1@linaro.org> In-Reply-To: From: Jon Cormier Date: Thu, 15 Dec 2022 09:37:27 -0500 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: hwmon: adi,ltc2945: Add binding To: Krzysztof Kozlowski Cc: linux-hwmon@vger.kernel.org, Jean Delvare , Guenter Roeck , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Bob Duke , John Pruitt Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Resending reply in plain text On Thu, Dec 15, 2022 at 9:35 AM Jon Cormier wrote: > > On Thu, Dec 15, 2022 at 4:42 AM Krzysztof Kozlowski wrote: >> >> On 14/12/2022 23:07, Cormier, Jonathan wrote: >> >> Missing commit msg. Describe hardware. > > Thanks >> >> >> >> >> > 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. >> > Okay, I assume I'll need to update the driver as well to handle that. >> >> > + >> > + 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 >> > > > -- > Jonathan Cormier > Software Engineer > > Voice: 315.425.4045 x222 > > > > http://www.CriticalLink.com > 6712 Brooklawn Parkway, Syracuse, NY 13211 > > -- Jonathan Cormier Software Engineer Voice: 315.425.4045 x222 http://www.CriticalLink.com 6712 Brooklawn Parkway, Syracuse, NY 13211