Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1893350rwr; Fri, 21 Apr 2023 00:48:06 -0700 (PDT) X-Google-Smtp-Source: AKy350bhVpOrgF0BXglmeHmurbSxPOJPpjghNdHX9H2EtN6h7I7hkesMJtpxn7nsfpGBfLP9Qe0i X-Received: by 2002:a17:902:ecc8:b0:1a6:ce48:5700 with SMTP id a8-20020a170902ecc800b001a6ce485700mr5268837plh.33.1682063286651; Fri, 21 Apr 2023 00:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682063286; cv=none; d=google.com; s=arc-20160816; b=OSxSmSwEl67lU36Z0ZoQBeaDSYCS5Q4EiyNECMoLJcCP2UIz2m06614DedqInfmlqw v/qh0JEqgi7zmD3Mcvj2iagALQ1WcjhE2n/aKgWBV8WKtrCzDo8cLm9+dnAe7+kTWlkS N0dpiacW/q6tRCzWR3WIuBFeQ2Vh1HbbHNeSrMpyKUEWYt+FFU3kK7FJt1BlrP1Q/FG1 B24BAzET23k1a1V6K2vtBCxvMjzh4kLoUWqUBNiNMGnOf4v/vBThjDbbXFAYZMiIlNJP dKCD5I/YIRss+g7lUOKkyh6jLVMCIJ5jGEz8IOO1ouCrbzlM/Dnjj7jOMo1bYPRFHASn ylyg== 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=dU/wzPur9jjATRLtk1fYjzdd6mnHYVT0LlPVIPw2/Ic=; b=NT9WWJSBz3mThePleGnTBInYMLWdMv325vImHFMY0Gv5ArDq6heiQjMbLxdJr46GQe l3mTVps+7JOS0uvEBJeaAe0D1AXt43xI9xnEmC3f91DShmoc0gNgkUhNwtsyzIKlP83T NjFkOI8pDhPO4z85QJ3u4P8Uhn3Tiqp4BU+TbnLGfLzbLH5L7epr8TZYkj5daUqDq7e7 aJ+0GeqYVWE3oqGr4hPOZ91J6q08Iaqsu04HDnZO7di805IHeUT6/V9uxhRrXMXb21HA FCT/z7qmLqQzFA7y8SKvFsUnGK2CgEe8QervuS9n1NZBb1wAersrglJevtd9rdfU6ZaV ceqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sLBzuFEO; 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 k15-20020a170902c40f00b001a52ce30cc2si4330280plk.420.2023.04.21.00.47.54; Fri, 21 Apr 2023 00:48:06 -0700 (PDT) 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=sLBzuFEO; 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 S231274AbjDUHiI (ORCPT + 99 others); Fri, 21 Apr 2023 03:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231261AbjDUHiE (ORCPT ); Fri, 21 Apr 2023 03:38:04 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 886992D5A for ; Fri, 21 Apr 2023 00:37:56 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-506bdf29712so9802634a12.0 for ; Fri, 21 Apr 2023 00:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682062675; x=1684654675; 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=dU/wzPur9jjATRLtk1fYjzdd6mnHYVT0LlPVIPw2/Ic=; b=sLBzuFEOxTlhEoJEoFQdavHHX30AWw6KYDP71wPBx0tb+rU492gxsWksT3Xp5eFfz9 /qvnmMq2b9ByOgnobT7iCEcCSq7lLFqxnfjMggI+n1OqnPRCAP760pK7pEPx+6td3DAi pe8KqUVpRnMiZ/TKEqYLj7bJZnYkPtGOOUsmMHMH23cnx6fH4Ui2ipYC6xUqyzxDR9Bs 78J3y10JNrDtt1v0tSNZhL008r05fOZ/gUatR2Riy+O6fQh9ZH3JLfR0QOH8xzFPmtUU eYNGVW/YlBy1AUI190AKrrMk8bsLm5cKIa4b5CtyhMWwJjeGxJo/7HwEc1CT8Qf7NUQZ nxlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682062675; x=1684654675; 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=dU/wzPur9jjATRLtk1fYjzdd6mnHYVT0LlPVIPw2/Ic=; b=ckOsSTosUTyG+gyA9cCILqv8Nj3WCgzznkkcmOCNiW5mzzrGVYmcUKnUpl9D3xOUgI 1RGkxtOHygMKWbXC37fiInL6byyI3o63q0x+EpqSBvtVRq1dNAHxbhSa+IMeU4o5khNl AviRDH3iwsweBtaVUde7oRLvOgI2+uGYU+Rj+mZyRnfrrZEgLbMyXnM/VSd7XOzAXfiT TIHZfoiyFqddquUq1MMK5LHPYGRxF6I49KkVT/fcAwg8oUwjGPorQgPyCUN2q3TQ3M0/ rlmE6E5tSYVKK6wwhkLoFF28gh8FXybKq8Lk/HLEJC55EoPKn5qJFgFf4w8k2qsI6weD elgQ== X-Gm-Message-State: AAQBX9f+BWzzzWSJj+5OPHV8nGoPse+aTi7bQqg+beFPooMkdQKz0A+r GthbLXwA69gkIIoxTNWvtNTwEQ== X-Received: by 2002:a05:6402:254c:b0:4ea:a9b0:a518 with SMTP id l12-20020a056402254c00b004eaa9b0a518mr8130393edb.17.1682062674786; Fri, 21 Apr 2023 00:37:54 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:668b:1e57:3caa:4d06? ([2a02:810d:15c0:828:668b:1e57:3caa:4d06]) by smtp.gmail.com with ESMTPSA id x20-20020aa7d394000000b00504803f4071sm1570543edq.44.2023.04.21.00.37.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Apr 2023 00:37:54 -0700 (PDT) Message-ID: <76e57634-75dd-01e8-9c56-36ed7de17812@linaro.org> Date: Fri, 21 Apr 2023 09:37:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: Add max6639 Content-Language: en-US To: Naresh Solanki , Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski Cc: Marcello Sylvester Bauer , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> From: Krzysztof Kozlowski In-Reply-To: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 20/04/2023 13:17, Naresh Solanki wrote: > From: Marcello Sylvester Bauer > > Add Devicetree binding documentation for Maxim MAX6639 temperature > monitor with PWM fan-speed controller. > > Signed-off-by: Marcello Sylvester Bauer > Signed-off-by: Naresh Solanki > ... Wrong syntax. '...' do not mean anything, it's --- > Changes in V2: > - Update subject > - Drop blank lines > --- > .../bindings/hwmon/maxim,max6639.yaml | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml b/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml > new file mode 100644 > index 000000000000..1aaedfd7cee0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/maxim,max6639.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim max6639 What is this device? fan controller? > + > +maintainers: > + - Naresh Solanki > + > +description: | > + The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM > + fan-speed controller. It monitors its own temperature and one external > + diode-connected transistor or the temperatures of two external diode-connected > + transistors, typically available in CPUs, FPGAs, or GPUs. > + > + Datasheets: > + https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf > + > +properties: > + compatible: > + enum: > + - maxim,max6639 > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 Why do you need these two properties? Anyway, the binding looks incomplete. Where are the supplies? Interrupts? > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + fan-controller@10 { > + compatible = "maxim,max6639"; > + reg = <0x10>; > + }; > + }; > +... > > base-commit: b8610e0fe08f1476895f141be60f8dd842f0adac Best regards, Krzysztof