Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5331357rwr; Mon, 24 Apr 2023 02:25:19 -0700 (PDT) X-Google-Smtp-Source: AKy350a0iqKvvH5mSfMfCvqRY8d52m+zmQfprT0r6NOqQYWnTDDYIMuZzhI+EJtew/LSbpD+jFWr X-Received: by 2002:a17:90b:ec4:b0:247:523c:ba77 with SMTP id gz4-20020a17090b0ec400b00247523cba77mr12810009pjb.32.1682328318771; Mon, 24 Apr 2023 02:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682328318; cv=none; d=google.com; s=arc-20160816; b=MJLaLyz91uXtgYmPXSRqVbFfZwEuv5hizesPS3e0DRIvwFgZLVsIzvCB7j4EhBZ4Rn E9wdAcTkeIaCrzQbOvVbBJzsj5dsrmiP6CBNqQBuBXJaGxpY8FtOmRALbKtgec2G6ny7 mYVGZKS5OwJEbG5b+qSNjYC9fM2eCNLl8kyNADDlYly/QMuVEfD/fc3r4T4+IlCYqCFx XGbL59dBkSKq0K318BgHQylm3R7G3ziC/9ibuhBm1WAmGOoxgwICees3L6L4F6hdQHkM ykEH/QZX087n7OqASygi7YURYc0lal/WdUvP34BHSJoE7C0R7rAVAggZnhXAR0WqvezO B6+A== 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=1GKb2MfFHqAxRiWVMxosJOA3T0vRRUpNHRuZO4/Hffw=; b=G9Uz6YgJap5ko8qXJfhMhK/YhjzecwFgu6K+1jvnuhya3QfgSw3yTfTmxK6WtBQhUL PvuZ5OIqqgVkIcy1ckpHn8QEUpuGAOgjM9XOxAgVFI0NiIfjhl8dAXwJXXz1jmW1rtV1 yWltaoRqXe0AwMsAhQnnJDioyM27if8jYx+OSyOozfIqaN5KhD66G2Vox1xeUMm31m+U plUeXM11BjbbKcLtW+kZf8GK6Rx/VpuJXfCbnEyMCMOe1XNwMg4bhv6imXoHY5UJ6dAM yJ/zaVPVVbjph4Toss3FsT+KVAIi5Dho/tSAhgaqe9I9X4WzrYpemc4X0i6fae0VgO4u /ckA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=S6zdTQg3; 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=9elements.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a6567c3000000b0050bf0c6b2f4si10945950pgs.379.2023.04.24.02.25.07; Mon, 24 Apr 2023 02:25:18 -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=@9elements.com header.s=google header.b=S6zdTQg3; 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=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231269AbjDXJSf (ORCPT + 99 others); Mon, 24 Apr 2023 05:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbjDXJSe (ORCPT ); Mon, 24 Apr 2023 05:18:34 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3381AE7B for ; Mon, 24 Apr 2023 02:18:32 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f1e2555b5aso7658315e9.0 for ; Mon, 24 Apr 2023 02:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1682327910; x=1684919910; 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=1GKb2MfFHqAxRiWVMxosJOA3T0vRRUpNHRuZO4/Hffw=; b=S6zdTQg3wxGbgDEGRPfw8cxHmqLs0+/2um6Euw0O8amsm8UP/LLESZeB+OWVwDrYj0 E6IaigWqifPuEqkVEg324o9AK0vH1UPRbMpFoNip37c08I+jbTSu7r7PW+FnosSN+Iba YbP6bRPs2B7NMokSd6vENMKHDnyYaip7ufuJKyhMejayoKoWwzUUGAbzS3RI5dr5ljom d/UYPe5HjNIIYrHIr58pAFYArrByMnP6jO+w5G+pIetSNkg681Ke/kTol4tLNfgBsSxJ U1XTNWCep9QBcwrxEoBfEFzprBigBxh+DwvluZV1BEQPqf5Ecs8oGtADgucR6SLlT6tz 9iPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682327910; x=1684919910; 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=1GKb2MfFHqAxRiWVMxosJOA3T0vRRUpNHRuZO4/Hffw=; b=ABkELewoaOc75bX1qX/EPpvAyr0dH0wS6uSA2FDiKEo0A6r8Cl/i0czVKpH+D0EWPI lwiHfXJaX8rh4Jb2iOpLWjYEwaVYkn5ILPXzRFm6MgQoodrauvUMQog6K/v9nKR0vIYG lAnbcl5CQ34kEJIGLvI96BlblIi7UncEgIlv+LOXW5CX9DOWE3zC+HucyMaPWYPHHpAS Cdp/QjxaJ0R/0G/DHWKIzIc9CCe4fbiiXxRmZOebYG0qbEi3/P83ldb/DPSfXBibRNS9 1hoq88XfKa4DryCKLMXe2mmefB+b7z99AZONJxM10lz7Y7S6f5ukG/tuV4NwH2Ect758 wV+w== X-Gm-Message-State: AAQBX9cHgCbTyKx4b0Ajs6R5xCkssUnPz1m3gidQX6NIxKK1HV7RSG2z gdLTRLJmjfbBVc9mF1vLALUm7g== X-Received: by 2002:a05:600c:22da:b0:3f1:79b3:a594 with SMTP id 26-20020a05600c22da00b003f179b3a594mr7699418wmg.3.1682327910421; Mon, 24 Apr 2023 02:18:30 -0700 (PDT) Received: from [192.168.29.232] ([49.37.170.173]) by smtp.gmail.com with ESMTPSA id k13-20020a5d6e8d000000b002fae2a08089sm10421597wrz.70.2023.04.24.02.18.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 02:18:30 -0700 (PDT) Message-ID: Date: Mon, 24 Apr 2023 14:48:22 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; 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: Krzysztof Kozlowski , 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> <76e57634-75dd-01e8-9c56-36ed7de17812@linaro.org> From: Naresh Solanki In-Reply-To: <76e57634-75dd-01e8-9c56-36ed7de17812@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 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 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 Hi Krzysztof, On 21-04-2023 01:07 pm, Krzysztof Kozlowski wrote: > 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 --- Ack > >> 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? Yes Fan controller. Do you want me to update the title here as: "Maxim MAC6639 2 channel fan controller & temperature monitor" ? > >> + >> +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? Ack. Will remove them. > > Anyway, the binding looks incomplete. Where are the supplies? Interrupts? This patch just adds basic support to the existing platform driver. Intention is to be able to call the driver from DT with basic initialization from driver the existing driver. > >> + >> +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 > Regards, Naresh