Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp495296rwr; Wed, 3 May 2023 01:35:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ62zevK0bSUTkalfHVEGFeo6Q2ogLzkA5rEpnKJVYSXvlLbibgwT/i8uyAi7lrOIvmrRCTa X-Received: by 2002:a17:90a:f496:b0:248:8399:1f7c with SMTP id bx22-20020a17090af49600b0024883991f7cmr20077110pjb.38.1683102919288; Wed, 03 May 2023 01:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683102919; cv=none; d=google.com; s=arc-20160816; b=sS+xFmDwy5FTAm30RLu53mGTIcMQfU/XMO9CHpUhZvFLHE5f/cwtIC00348fM5Lqj+ yY1BQeozT+2b9kVeU6MA1KL4cKmdSKgz2VmxtGhQ3o8cDdKihlX5WLzHfBuNo3LDcU+y 7RRVIJz0iLCMnYpOPxButCLlHDq4P/IJLbbTvE/fnwHUn7OPQNFvTO5UU6yLnwmAXWhL rNwRtxL5GEvdE1nlFhUsUm09Nsw82pjZIuHn1ZCT6JF/LE9GNi0iklKIV/HGMGFObpLh PIpfD70a814fDiBha9GzAilrg0GC4CJny6Url4Qdw3tv7lW5tLMv/p56jl2n2Obt0pRG kfOg== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=M3Wq2mDsRiC5O9kPiuao8JNBBGj+hKSi0U89lJICwv0=; b=cwesyTNCABt/zIhTaY8Ya9ErFJqC3CRXVYT65P5EykOUO7llZWzJSN+QJVxHakcpR3 MdJ2UsBiq4uKkpvAez/XLrQ3YHmJ8W/XOugp/wCV/t6XbZcOTcipOFe5sc7Jbp0DQBoF jEO2F0QFvdO8GUEmD07cRMKg/N2tO5EiUCVtMvK7FF97SsYEJtRFpzUZwx/WElVr4pUk lYdisD+8BayAapKchp/NT8Jr8WdCkiQiBzTVBAkIkBqwD/EWYDT50f+sn9wgOX2bQa5x dGRVUGYb+DHbhYZ7bv2U0HYX7bfxohsPFRl7zQAWaE6tJwhpyxt2Swb+os9d4WUFDi2x lT3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=I+gldLRF; 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 g10-20020a17090adb0a00b0024e41806376si956171pjv.180.2023.05.03.01.35.05; Wed, 03 May 2023 01:35:19 -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=I+gldLRF; 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 S229649AbjECI0j (ORCPT + 99 others); Wed, 3 May 2023 04:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjECI0g (ORCPT ); Wed, 3 May 2023 04:26:36 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F2AA49EE for ; Wed, 3 May 2023 01:26:35 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-51b4ef5378bso4203327a12.1 for ; Wed, 03 May 2023 01:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1683102394; x=1685694394; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=M3Wq2mDsRiC5O9kPiuao8JNBBGj+hKSi0U89lJICwv0=; b=I+gldLRFsfsctKrLvw0VL/AIpCxmFAejWu1sePyD3VyYflWhFKmb4NHt9iI+0tlcsF QWs+OqEV2bpnu14Z3I7iF7aB2DqT8B1PtPMp9KsfYfQoJyd0NFY9Alth9n2fn7lkK3M6 C/3Hw1plHa3OemkZmffK7jPNCWQN1Y9AXZ4SRG5KZ/21M2mVd0b5CazLYvKrXOOFEVOB nsotXPrCt8zx4nC+GWDlzFffd+gXQPb384x20ksUAy+nlffrMt+L8QnbllLRVZrW4KkT cYsVz8FM4HqSDr5ZhwCPCexiBTGno0dBbeCqjcBirwjmF74bDwrYpq2LwH9xIEPQBg/X D8Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683102394; x=1685694394; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M3Wq2mDsRiC5O9kPiuao8JNBBGj+hKSi0U89lJICwv0=; b=B1ZDFesuh8dDK/fSbKusoqSTzBA9JG3TQJ6GM+Wkwgs6W/CVNFs5wRmCL3VrKBM4LO ETY7IZfFAGlvoAqAHuOEU/5UKTw6Y+V5bioQa/k8SQFvIBtiwrjSUNTltZ9weyhPvOeq 5BA3H+Gdr4kd19A+HiQ7PQPEaChtrvijRayXM7ExhAQJu3/zQOdYSmhl9AGrHRWqp/eQ SeKBkspSZvloj8fuPvV3D0wstar3ydFAlcIzYzZCLpd/sEdEzhFOo4jJ1WFtPeyvAyGQ 84mUBAjpuet9nV4KJ8BQqWtE7N+9SOcOkXIojyEPANAlllWoOnyCtdvv0QIPF7DsRGfI WzjA== X-Gm-Message-State: AC+VfDyyQXi1R06HoTlVigvQGlmbbOkCQuzRDG8YvHW007X8U3ginWqv eVZtD8efALTLYhfQ9glUaPQ2CQ== X-Received: by 2002:a17:903:32d2:b0:1aa:f6c3:bd39 with SMTP id i18-20020a17090332d200b001aaf6c3bd39mr1861176plr.20.1683102394672; Wed, 03 May 2023 01:26:34 -0700 (PDT) Received: from ?IPV6:2405:201:d02f:d855:461d:14be:2cce:b776? ([2405:201:d02f:d855:461d:14be:2cce:b776]) by smtp.gmail.com with ESMTPSA id x15-20020a170902b40f00b001a98f03af58sm13942331plr.17.2023.05.03.01.26.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 01:26:34 -0700 (PDT) Message-ID: Date: Wed, 3 May 2023 13:56:30 +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 From: Naresh Solanki 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> <88f9a008-2861-284c-76c4-7d416c107fbb@9elements.com> In-Reply-To: <88f9a008-2861-284c-76c4-7d416c107fbb@9elements.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 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=ham 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 24-04-2023 03:23 pm, Naresh Solanki wrote: > Hi Krzysztof, > > On 24-04-2023 03:12 pm, Krzysztof Kozlowski wrote: >> On 24/04/2023 11:18, Naresh Solanki wrote: >> >>>>> 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" ? >> >> Enough would be: >> Maxim MAX6639 Fan Controller > Ack >> >> >>> >>>> >>>>> + >>>>> +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. >> >> Bindings should be rather complete. Here the datasheet is accessible and >> few properties quite obvious, so I don't see a reason to skip them. > I agree with you. But currently the driver which is already merged > doesn't has it implemented. > And will be working on separate patch to include this later. Please let me know if this approach is acceptable, or if there are any other suggestions or concerns that you have. Thanks, Naresh >> >> >> Best regards, >> Krzysztof >> > > Regards, > Naresh.