From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C34BC433FE for ; Tue, 21 Sep 2021 14:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BFE661242 for ; Tue, 21 Sep 2021 14:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233663AbhIUOmK (ORCPT ); Tue, 21 Sep 2021 10:42:10 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:52932 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233644AbhIUOmJ (ORCPT ); Tue, 21 Sep 2021 10:42:09 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id EF8CF40192 for ; Tue, 21 Sep 2021 14:40:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632235234; bh=/oTgcdxikpH1lVnKw9AbC9PuS0qChPgfzYbqOCmroM8=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=HizfA0sB0l9/PQQvydbcix1+rMW545wGkGX5F5s5KxCYTv9nAnMBJ0wpp0tRwHcBC RASC3rVF0emMYyGD4Q4GxYHnAva6nVVF5Y8RTyVvjugBdKJu2ZjeE5HEORimFy6A1X U3gPxVzCohmIbP7/sk9rqRyduYYJSxq0Mzp+zmLtqkqIxt4tvbqFZK+k696HGHgwXo D0T1jyvqvr/At6YJMSEQ/gEbsX1kQmZW4COx1a4pKPbaXI85KsVODZoKGAq36wg37J 4GNcOIBEw03+IPYVg5F8GM6yjEOgMkcfUGgEU1xz6TykmA7IxoNt2Q7CRciR3G6+rG 7gJhSM+QCGsXw== Received: by mail-wr1-f70.google.com with SMTP id s13-20020a5d69cd000000b00159d49442cbso8999832wrw.13 for ; Tue, 21 Sep 2021 07:40:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/oTgcdxikpH1lVnKw9AbC9PuS0qChPgfzYbqOCmroM8=; b=g/5ZVwrT2lnDFEk1XYdVFofC8JAUE+5fDc1crqe/yIq7+KWRY/dLVvNYs9b06U6Hlg 2ta451uFhKfZV+5AnIou5EJK2wZgKNuCf6iMu0uwJ/lrOzqxxIvsA2ESUlzy9yIC5dk3 O2m4I6pibeI8QRl58tXjsiu3yqdS/F+OAAohqkuzp3PeYt900lRl8oaFiBhUq8qy6aYG lNje8m1JJmCsQm5p6/eWTUYRMjT28DjrinBCr49RpX5LYvVoRPY53HrHA3uZwD+WqeJf tkruCdrRn4OysGRVbFrDM9sI0bJSaEMziizjxviU426HvIiOUpi3yyWodII6pFZxv8Cj JcUw== X-Gm-Message-State: AOAM532L9qprRyzekUTS3E1KQTOEVXqTAEo8nVJYbqDl1THUD0qu6ihO uW8yLlQeG9S9rhK9Va3JThQWCDT2O2oppf4condnUpv8s2e52VkrrGSv12Je8P+AkNUyq37LMUg r4fMoBXNQ9cOukbv8v/uwTrYJb9jFIjcWe9JzAyI1 X-Received: by 2002:a05:600c:3588:: with SMTP id p8mr4938414wmq.168.1632235234680; Tue, 21 Sep 2021 07:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4FePTeIl5wziKnDLl+owgti3lnxByBxRv39Bcgv2XiRASRsGGe6be5Z79tKl9EOfmRmvn1A== X-Received: by 2002:a05:600c:3588:: with SMTP id p8mr4938387wmq.168.1632235234439; Tue, 21 Sep 2021 07:40:34 -0700 (PDT) Received: from [192.168.0.134] (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id b16sm19714129wrp.82.2021.09.21.07.40.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Sep 2021 07:40:33 -0700 (PDT) Subject: Re: [PATCH 3/6] dt-bindings: hwmon: ibm,cffps: move to trivial devices To: Guenter Roeck Cc: Jean Delvare , Rob Herring , Jiri Kosina , Jonathan Cameron , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210921102832.143352-1-krzysztof.kozlowski@canonical.com> <20210921102832.143352-3-krzysztof.kozlowski@canonical.com> <20210921123025.GC1043608@roeck-us.net> <68fa27ae-4704-181f-e2f6-92635865798b@canonical.com> <20210921131804.GC1864238@roeck-us.net> From: Krzysztof Kozlowski Message-ID: <1a8cfa30-769d-d0aa-ffef-1eda42e3a84d@canonical.com> Date: Tue, 21 Sep 2021 16:40:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210921131804.GC1864238@roeck-us.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org On 21/09/2021 15:18, Guenter Roeck wrote: > On Tue, Sep 21, 2021 at 02:45:42PM +0200, Krzysztof Kozlowski wrote: >> On 21/09/2021 14:30, Guenter Roeck wrote: >>> On Tue, Sep 21, 2021 at 12:28:29PM +0200, Krzysztof Kozlowski wrote: >>>> The IBM Common Form Factor Power Supply Versions 1 and 2 bindings are >>>> trivial, so they can be integrated into trivial devices bindings. >>>> >>>> Signed-off-by: Krzysztof Kozlowski >>> >>> I won't accept any of those "move to trivial devices" patches. In many cases >>> the bindings are simply incomplete. I can not and will not make that call, >>> and I always did and will leave it up to driver authors to decide if they >>> want to add a device to trivial devices or provide explicit bindings. >>> >>> Please stop sending those patches. >>> >> >> Back in the older times, there were no trivial-devices and checkpatch >> plus maintainers required documenting compatibles, so some of such >> simple bindings were created. >> > > At the same time, as I said, the bindings for many chips are incomplete. > For this driver, we can not make that call because the datasheet is not > public. The same is true for dps650ab. For others, the datasheet is > available, and a reasonable decision can be made if the chip may ever > need more complete bindings. > > So, let's qualify my statement: I'll accept such patches if you can show, > from the datasheet, that it is unlikely that explicit bindings will ever > be needed. That would be the case for LM70, for example. That would need > more than a statement that "bindings are trivial", though. It also require > a statement along the line that you have confirmed, from to the datasheet, > that there is nothing to configure for this chip that would ever require > explicit bindings. Thanks for longer explanation. I agree with your reasoning here. I'll re-check my move-to-trivial patches and, if applicable, send a new version with better explanation. I hope this won't stop from reviewing the few other patches in the set adding separate bindings. Best regards, Krzysztof