Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp785024rdh; Sun, 24 Sep 2023 11:38:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJ6KFUKR/pYkgtVKj9GOdR25tfqLsgL6GJzQuILrDP8VNKPPToP3XbeOMCgcyBCNl7mW3+ X-Received: by 2002:a05:6358:291f:b0:142:d678:f708 with SMTP id y31-20020a056358291f00b00142d678f708mr7604376rwb.19.1695580698996; Sun, 24 Sep 2023 11:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695580698; cv=none; d=google.com; s=arc-20160816; b=TkgT08xApBUHhaEHLB00No0f87KIH4McehPBFg5t5QNH2E/jJi6c++T975A0iHBlyY SaJDvK5IsTOhqMwMJwSRww70mWiMCLAeE0LS35EJqd/hTSpLS+bsheCNEsGGQ11Eo2Ft GKoTL4klNQDtEmwxlx9xtu8dVq9xvoW7vQi5hJDXJu/qNMtud0h2R8Z3kQAJYnuFMX3e lvE/Ujrz4yFJq8+Di3CETtuKFxMrp8iK5Bcw9jOWEakPyoWpt8Vl/iIUCifTpWwbMqJd /nH9Y7OabyZ8XMPbo2PSQ/knlM9qN4SOkQLAZki0zO03TJuMPQ04JMBoH2y6hrQDIaH2 1hlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=AozxdM/eQ8ffY41x90FSUIOrIa5FeaNEfJtd13a8iWY=; fh=pxifVdwAdFSt9E1mL0y3RwfNnDF9s7GGtVqVjLniD74=; b=SqgCjPPu71NDffwEBv6QqOL9oVcz+B6QwsAAkHQxjfriFEQDRI/xBZmf55De+9nrVd J3Zd2+em8cbJmiwwcvkPUQIFyo338j2nspno3r0jlu1R7Z8ZiawR/hRoPl2CxFPuz30Y 1aPGKs+tl2h3DGSpfG0hGPM+OD/P12x9CDR5nTMVecK7r4XFJI78WIo+Ho9GDb2fmAUt YekjZpTGV/cupna2uRE88mdeEcFEhPMuRoTIJIvA3bwuRPMi118Z3CgFsWB8mgk2Vlo+ kqOz0Fj6jv0IxTw3S+cq+ZfViEyp+q7JnIAgGUaxirZz57T6J8rJWvgt04l8twCMCcfW nErA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fg0I7SGN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u71-20020a63854a000000b00578bdc2ccadsi8362845pgd.197.2023.09.24.11.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 11:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fg0I7SGN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 68A2E80BE2CA; Sun, 24 Sep 2023 05:02:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbjIXMC0 (ORCPT + 99 others); Sun, 24 Sep 2023 08:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjIXMCZ (ORCPT ); Sun, 24 Sep 2023 08:02:25 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D60B7103; Sun, 24 Sep 2023 05:02:17 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-3512f905f6cso4468335ab.3; Sun, 24 Sep 2023 05:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695556937; x=1696161737; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=AozxdM/eQ8ffY41x90FSUIOrIa5FeaNEfJtd13a8iWY=; b=fg0I7SGN6xY/VdxlIc9TPNHV5+Q5eLbx485qv7FVbKKJ9PKyjEVJ54sFq2iUXoHO4y DmlkywcR/zV0zkSI3j4PH4hVop+c4JETEKpGHvYei0LKNUMyhq3Oa1VjTQFoufJNFlkW SCYunG7HHAxUOdooX5nfv5fYorOJZMssrpql6fsMcZnZBfKkoU4r5x7uLUHjI+nP7AvQ SshsApzOfVhBcfGRyHwIcHbOg6dSxVzcz4chktThG3NAHRqejjpoxvq3ehdsYvGQONBf lrz2/LYMBu/De4ZLvhDgPwunQXSSKIqFlrItqKB7tu7e+un15N6yW8st2ohl9tBXNspq h1Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695556937; x=1696161737; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AozxdM/eQ8ffY41x90FSUIOrIa5FeaNEfJtd13a8iWY=; b=udnfuNuq0ARdHQ/DnwwH9E99f6Rh8Ylco0avaKobMRN4nZdgA3dQ9NbNoYfU6Djqea vb++80GtACF3z2tsZPaPziXWJ1S1l5/Z3X5ebdKnzf+6LItkrhq8WLBSdovesGOKT+i9 YtIeIMcWzBXdlu0UdpHd2L7LKYGwhI/iePOXoDLNHDXVwIhmEBAhpy1NfEHHYWy36lDf Yb0kKnd7SF1sDHzSwKGlUUs5sEzn52igpfuBUIOLIFi76TeLoLHgXTj33Edl5X7rSNvb sJt5tf4941rPVltxeyZSpo32IKTgtso+PiD/gF0sNtgc32md1DLxS4oJ+I5Olcb0aZip QtMw== X-Gm-Message-State: AOJu0Yzn7E0Pqlh+EjDnneLsGVuVWM5wshLpgWKdHyF6nwCwyIxvd5jC WNQyh6h0srlR5zw56Gb44cw= X-Received: by 2002:a05:6e02:ec5:b0:34f:1028:ff9f with SMTP id i5-20020a056e020ec500b0034f1028ff9fmr4699339ilk.18.1695556937102; Sun, 24 Sep 2023 05:02:17 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id t21-20020a63b255000000b00578e9751b88sm6143014pgo.1.2023.09.24.05.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 05:02:16 -0700 (PDT) Sender: Guenter Roeck Date: Sun, 24 Sep 2023 05:02:14 -0700 From: Guenter Roeck To: "Miclaus, Antoniu" Cc: Rob Herring , "Matyas, Daniel" , Jean Delvare , Krzysztof Kozlowski , Conor Dooley , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] dt-bindings: hwmon: max31827: use supply pin name Message-ID: <0cb70677-6dfd-43e0-a3c5-cae3b861a7d1@roeck-us.net> References: <20230921142005.102263-1-antoniu.miclaus@analog.com> <20230922211201.GA3600661-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 24 Sep 2023 05:02:35 -0700 (PDT) On Sat, Sep 23, 2023 at 02:19:45PM +0000, Miclaus, Antoniu wrote: > > > > On Thu, Sep 21, 2023 at 05:20:03PM +0300, Antoniu Miclaus wrote: > > > The actual hardware pin name for the supply of max31827 is vdd. > > > Update the dt-binding to reflect the hardware properties accordingly. > > > > Changing this breaks the ABI. I see the old one wasn't used by the > > driver, but that's just one driver potentially. You need some > > justification here why it's okay to break the ABI. > > > As I mentioned also in the commit description, the supply should match the > actual hardware pin name. Otherwise it might create confusion. Usually vref > refers to an external voltage reference pin used for ADC/DACs which is not > exactly the case for this part, taking into account that there is no "reference" > word mentioned in the datasheet at all. VREF and VDD are usually separate > hardware pins. There is a hint indeed in the dts example that the vref-supply > might be referenced to a vdd regulator node, but from my point of view > that is not enough. Moreover the current vref-supply is not handled at all in > the driver, it is only mentioned in the dt-binding (That's why I added a second > patch in the series handling the supply). > > If the justification is not enough to apply this change, then I can keep only the > second patch, which handles the regulator in the driver and use the old `vref` > naming which currently appears only in the dt-binding. > That would have been a good argument when the property was introduced, but if there are any systems with existing bindings out there they will use the old name and fail after this change is applied. I don't thnk it is mandated that every system in the world would publish their devicetree bindings in the kernel. That would not scale. So any argument along the line of "this binding is not used" is not really a valid argument. Guenter