Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5355713rwr; Mon, 24 Apr 2023 02:56:10 -0700 (PDT) X-Google-Smtp-Source: AKy350Y07OEIshMaEovnDkHK4qDN+rKrwL7+sNWHSu3haUgQ3yh0cp4x5HmPLcJ1aZcTkW/tZbJt X-Received: by 2002:a17:903:11c4:b0:1a6:37a6:f41a with SMTP id q4-20020a17090311c400b001a637a6f41amr15182454plh.45.1682330169945; Mon, 24 Apr 2023 02:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682330169; cv=none; d=google.com; s=arc-20160816; b=Tg1JhL9Qn20hyfmqUS37TwMvxRBddATEYNpG5VwuDQvdvj3oz9dUAXHNrtnT1SNvdq 8W5c3fZ/wPraeHfPmafosyFeXpFbou/GxXOuE5aD0SwymrLg8Yk4ELwvw+kOOrTexFwg UHK6cYlUblfzUhkupDq2jdeguiGaGFRMb+WkovVbmgziePq6UNf5N3Y7l/3e9GZjQ08/ U5pSpEwAymiFlSBf9wzTE8H0tOxdnUKYVgsB7TzTTIaCF27055l4gmyzW9TRkqbHPO30 uxbclZlN8LZdeK4eFIznsnRLg+NcfDJI1NhtLLRPxEoZdSOL1UDcJJjQ2T7LTiXbAAdH JCFw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FVPhALJrCoU5a5TzkxQ02eTDQVTGy1JXUE3kOBuPy9U=; b=gH8exVpSPjJPefi4W8JAZ9gIhrrr/Xi8v92UPF8WZBALnTqAcmyBF6l9JjfitJVNL5 E8BKl+JtIDdQiX5KF8ZP0kIDs39OraIHv/WsXXvsNW5yGPoiRoQor0EduffN6FiwI/DX 1iwvQ5fDYbEJ/AxfDZgdQnCwdbgFP/OtONe5fcA9b3Q1mhpJ5Y+ixV4dQi9iKicuXSFl v66RZ3smgDIAGkuCUDyNnOyoarp8dBczJelVesehVTQutMkI6FFg/nR7wZYKkq5Rf98r jebYhmpypRJFgavc1cSOHk//8RezkAACjCGeJ7nbzGqzvjuTTUfEmG+5K+0m8EhSuDcq 2LRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=cH+5aVxj; 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 p8-20020a17090b010800b00246f856d676si13289871pjz.53.2023.04.24.02.55.56; Mon, 24 Apr 2023 02:56:09 -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=cH+5aVxj; 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 S231398AbjDXJx4 (ORCPT + 99 others); Mon, 24 Apr 2023 05:53:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbjDXJxz (ORCPT ); Mon, 24 Apr 2023 05:53:55 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C74DAB6 for ; Mon, 24 Apr 2023 02:53:52 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3010889c6ebso2475756f8f.2 for ; Mon, 24 Apr 2023 02:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1682330031; x=1684922031; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FVPhALJrCoU5a5TzkxQ02eTDQVTGy1JXUE3kOBuPy9U=; b=cH+5aVxjyXdp4N6qOqYqvD9EY9L9cMhwwWk8/OtzkVy8nVnYwMlexMYd8AC7O1APdT 1uRLL9r0Q9rw982Z6efl/wRbj6Ud/7C0ZtnJ6J514kF1UhvLi/weRuOnIESg6h7d1PYl gLrtzH4MBI369mHIeMmj5mindbHMtIhLRBxX0A4S6kBSOtW/e0XTqXyFoR/bPhCVf8/C 4lx7+p2Oto+8Rv34qNixq8r7YT/WvVgXzklh7ousCtRBgtKCrfQqEDxkSX+B/XvUgrBE uY3q5b2l/NV4mvnCZVoPLHxu+hS+OU2CJ6+YhKB0cZkxGaqdf6/5vrTu2v1JMexmXrJp qciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682330031; x=1684922031; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FVPhALJrCoU5a5TzkxQ02eTDQVTGy1JXUE3kOBuPy9U=; b=gGpg85KZZ4u3nHMsnshosMbCHtkqb9I4AUoHFGt1ea44mKyugLdnadXfwJOwEaSGgi j4Ch3aEf5vddY6oCzjyN9toupRUF9jftQhpTBBcrogefs3/X4LwDGOU5Y4BsgFAP29Ii VVl/CVB64UqgyxF7SXO1acAj7TNa3BIkxDNR3GUz2Kxsg2dWjvrJyYc6FiNBP6P+mEje u0svSSbkXQmauaXkplDOw5Dw1Mj6uLro35XbitjvRbLDKv/AJGhDEL8BuKIGTu0S3xOt 0oFi4kZRatWm9nBDr2JB8c4Qo+T+cWlHOwDkFwGRrhdvwi5YAws+pT08dqpxY8zqVb/N FvPQ== X-Gm-Message-State: AAQBX9etlvoOnNc2V10HV8s9orGTV8tktn4FmC+3lsDB0x+Qpi8YEDda gCHllJ202SwCNsbIelh+qcRUDg== X-Received: by 2002:a05:6000:118e:b0:2ff:4b8a:6453 with SMTP id g14-20020a056000118e00b002ff4b8a6453mr9013700wrx.5.1682330031277; Mon, 24 Apr 2023 02:53:51 -0700 (PDT) Received: from [192.168.29.232] ([49.37.170.173]) by smtp.gmail.com with ESMTPSA id o10-20020a05600c510a00b003ee443bf0c7sm15141850wms.16.2023.04.24.02.53.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 02:53:51 -0700 (PDT) Message-ID: <88f9a008-2861-284c-76c4-7d416c107fbb@9elements.com> Date: Mon, 24 Apr 2023 15:23:41 +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 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> Content-Language: en-US From: Naresh Solanki In-Reply-To: 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 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. > > > Best regards, > Krzysztof > Regards, Naresh.