Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1043215rwr; Wed, 3 May 2023 09:26:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4/rjoXk2YV/hQh7A66OjagK3lv/+4FO7Df+unIrWFtMeHr7qrc2YMixZQLNbuTgawE/6VT X-Received: by 2002:a17:902:db07:b0:1a6:d2a9:3fab with SMTP id m7-20020a170902db0700b001a6d2a93fabmr747678plx.47.1683131185061; Wed, 03 May 2023 09:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683131185; cv=none; d=google.com; s=arc-20160816; b=PY1dwqPTcLN5C54m3dYe/sCHmM3Al9xJoN4MzvbWiW7CiH8MZ9r+ubABqwsneutIE7 Etog5d4SCR/qjMB0DI1j7no5TOsdvIuZCGF6L9sX13RnE2tzR3bufJuswH8dLp0nTbn1 lJFt107Mw/iYg5GcCCC1GQNuek5vrrGgQCqgSj3LcRuVfjToNEuCtreYqJlMEBMhHoMf anZYrDHm0K/IOHu+xsYQEYWBaUVyEjxWPlivNgnvYwdz5C0oY7cIugi/8+itkjcD2xVn /kw7lh0NhmxJShl06nBLUlEwwlppdtjT+xpug/HUvkmR5giUEq3Ops2TMpLu/TH2HI6w j36A== 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=8Aan+1nXbt0jfOhD5Ja5iMTYpmi8Pt1ECMfi2iv1VeQ=; b=qtkc2An4l28CR/d/C1YJZ49MS8CeaPh0sy9ttQ0cLXCq0Tdk8AXrPi23u2T4xxePzO DOIK6dHHtJh3Ks9P2H/1PrV1ew//UV3/XENPM3G3g2IVWY+jomIzUXHTfSMgMXDQ52de dapRiMIo9I/m7nPWIs+FiaqNbw0PFKa7qj3OcChODK2QwPOV47hxgM/9TGDmz0BWZa/S EsbLIlji0PbSzq3xcKvqPkeXngyQ5zivOg/kyzwyLQu6+AziiDhTzFSf1vpd7r4/8gBq OMvfyyLNltJZet3ZxRqboK7ysHJGgYOBmsLahxukRq4APCJ9WsPZIXXFpivur42L5LQD yAAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXBiF7En; 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 z17-20020a170903019100b0019aa8d665bdsi36495681plg.71.2023.05.03.09.26.12; Wed, 03 May 2023 09:26:25 -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=gXBiF7En; 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 S229488AbjECQSl (ORCPT + 99 others); Wed, 3 May 2023 12:18:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjECQSg (ORCPT ); Wed, 3 May 2023 12:18:36 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7581A273B for ; Wed, 3 May 2023 09:18:34 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-50bd875398dso2803610a12.1 for ; Wed, 03 May 2023 09:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683130713; x=1685722713; 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=8Aan+1nXbt0jfOhD5Ja5iMTYpmi8Pt1ECMfi2iv1VeQ=; b=gXBiF7En2VrfDtBHTZZ++RcIziw1n4WPIy9B5dSvtTFmQDqBSCYvUAAiBUYQb/0fdl Myj5Gmp9pWY7w3nqgJoXlJua/D7lCPS/Iu2mNZY0SNSkvjbXYcf7ugS417S/43TEhRFX anNGqZGmCMKlvSwP4v1vDoo7SJlrWfnvKjV10paXIkswmcuGTxQqlWEDRUICOKQp+Nh5 OzkZMDTYP73470zGL45CmV8EYPlUHSpoichcICj1SxtE33cxdwhVAsKJ2cQG5TQQIDVO iN2x+5RJgxfy+YiFmFEOpKE6iTLA92x60XGcvUYhMn2EtkzNlwDpS0cPSDkNr8UHWCnl oXgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683130713; x=1685722713; 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=8Aan+1nXbt0jfOhD5Ja5iMTYpmi8Pt1ECMfi2iv1VeQ=; b=VJm76dnZqrCXSdjQeTbyCyHNQoDz84I07ElFkl/lK29v1hEAryPxjY9FwK+Z+/O2fJ BdqriRGvPIfBN3ViHoawZebtfGWNxMPaBjZxnKi0OztTcOGG418twlSLqRP9CIwn7i17 BSlW2gUYfBtPVMwRS6eKBlAsyA/CuyaZe2EwuvT8Ugj5x6mBdo/Qbg9bxxEX8pq5ey9A ej0cgh1JABrrpptRzVpOcffvfwY0l7Aed1ysD0BaeUxOw4t//89EAgQ1R1gmXlCWsK9Z kgXzjbPvNBhfSDsyZ/ldqDz0wiUBA9XpAmerLsWpKLzksr16vSzBe9pBGAeUCezq4NZR 1JWg== X-Gm-Message-State: AC+VfDzhfrYI/qXE23G2KP7/V7G7/xNr3WffunXgom1VjAVghXvyhLzK kvuf8E0aLNmQ42dbcPL4/fh7wg== X-Received: by 2002:aa7:c849:0:b0:502:2494:b8fc with SMTP id g9-20020aa7c849000000b005022494b8fcmr11029297edt.7.1683130712901; Wed, 03 May 2023 09:18:32 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:db42:e3d0:c55a:8cf1? ([2a02:810d:15c0:828:db42:e3d0:c55a:8cf1]) by smtp.gmail.com with ESMTPSA id bm11-20020a0564020b0b00b00506987c5c71sm859910edb.70.2023.05.03.09.18.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 09:18:32 -0700 (PDT) Message-ID: <20eb1d0e-0aa2-9d41-7ba5-2feb148748d0@linaro.org> Date: Wed, 3 May 2023 18:18:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 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> <76e57634-75dd-01e8-9c56-36ed7de17812@linaro.org> <88f9a008-2861-284c-76c4-7d416c107fbb@9elements.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 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 On 03/05/2023 10:26, Naresh Solanki wrote: > 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. You are adding new bindings, so what does the driver has to do with it? Best regards, Krzysztof