Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4492701rwb; Sat, 10 Dec 2022 09:14:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qWgTvkPJC+1t+gB8h0uhrlH/2/FYMnyrKMf44twAxFJX1A5Urc1q6UkbH9sSBiQp/GHs9 X-Received: by 2002:aa7:91d7:0:b0:56b:88be:cf4c with SMTP id z23-20020aa791d7000000b0056b88becf4cmr8784820pfa.13.1670692452900; Sat, 10 Dec 2022 09:14:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670692452; cv=none; d=google.com; s=arc-20160816; b=MAY9pSnhTNoF7tUFvafeEXFjpLMdH9n4WuaiYUlP3fyZv/k057NAuwrv4bI48L5V5O 5hyMqnYHZLVWgqlCJLFQ0un86kiad6AAHJUhp80kmDSOS/9oizjRWxZYsImu0bPrLoiC wTmuppGAgF5I3mydoL8Twc4xBZMeR4VzjmMtzXPec8IbXJpC6/2sPnMpLLCGpr2BooCS /bF9qPz/x2KHWiXAyZ4AjfPaFP8UErj4DAA/h4+5zBDc8lcW4E1audydpfRMPJEhorPl HHFz9HYPsJ/vE4Rlt50t/oUGo+xQTlx6WSHK99P6ufeFxKxTP5TY3tEVpU5y5jPTSerf FVxA== 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:mail-followup-to:message-id:subject:cc:to:from:date; bh=A6sT+k3kpVaPLyEW6zeUuD19EFtwPR16h2UZw6SEso0=; b=T1WrGl22K12F1oRpj1ktiTWwd3DK/cXXIFV4e0X47m7xxp0KeXmBFStLZh2kBZ7VqS fVVMW65lmHOd+LuHVt5X/iQj04+hct27oCGtrKVkQM40WEWGD9eW5IJS9aAxDqLLqFbF 3laPkL+z+i3IwafogofiJnhDIwcj8zG+LcFqVbaDR4o1/mDdAdiT4QNIwbl515TB1wCT pU/S9kTWKJIYKGtmcb5UQBQc0Xx0LsAG2SYHApJKgCYGgbcVuKnr+4NbKXH45bvAKxU6 W+ROsHByBX62PIMte0ySY8/Hr/5PD8CaeQayPdeEfRcuAcXH5qMluP0aW+PGOPPh57XX 6cVg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a056a00174200b0057381a71d4csi5340499pfc.236.2022.12.10.09.14.03; Sat, 10 Dec 2022 09:14:12 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbiLJRFh (ORCPT + 75 others); Sat, 10 Dec 2022 12:05:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiLJRFg (ORCPT ); Sat, 10 Dec 2022 12:05:36 -0500 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [IPv6:2001:4b7a:2000:18::170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9F7B15A1B; Sat, 10 Dec 2022 09:05:34 -0800 (PST) Received: from SoMainline.org (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id DDAFD1F887; Sat, 10 Dec 2022 18:05:32 +0100 (CET) Date: Sat, 10 Dec 2022 18:05:31 +0100 From: Marijn Suijten To: Krzysztof Kozlowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] arm64: dts: qcom: Use plural _gpios node label for PMIC gpios Message-ID: <20221210170531.pxoux2kje4vgor5y@SoMainline.org> Mail-Followup-To: Marijn Suijten , Krzysztof Kozlowski , phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221209220450.1793421-1-marijn.suijten@somainline.org> <714ac62a-7bab-e16e-e3b6-bdd86e422699@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <714ac62a-7bab-e16e-e3b6-bdd86e422699@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-12-10 11:50:51, Krzysztof Kozlowski wrote: > On 09/12/2022 23:04, Marijn Suijten wrote: > > The gpio node in PMIC dts'es define access to multiple GPIOs. Most Qcom > > PMICs were already using the plural _gpios label to point to this node, > > but a few PMICs were left behind including the recently-pulled > > pm(i)8950. > > > > Rename it from *_gpio to *_gpios for pm6125, pm6150(l), pm8005, > > pm(i)8950, and pm(i)8998. > > > > Signed-off-by: Marijn Suijten > > > > --- > > > > This was brought up for discussion in [1] but hasn't seen any relevant > > reply, unfortunately. > > This is just a label, it does not matter. Why changing all exisitng > files? I don't think it was a part of previous discussions... I would've let it slide if it was corrected in the patch that was reviewed, but since that didn't happen it wouldn't make sense to only correct pmi8950 (and the other bindings submitted or co-authored by myself, such as pm6125 and pm8950) for "consistency" - that wouldn't be consistent at all. To me (and supposedly, to other as well) it does matter. People keep copy-pasting these to to add a newer PMIC and sooner rather than later we'll end up with both conventions. Regardless, labels are already a mess all over the place, and unless we can steer them with bindings or written conventions we're unlikely to ever clean that up. > To me it is unneeded churn. Just like -state and -pins suffix, sometimes even the unnecessary -pins-pins suffix? To me that is the same kind of churn, and *it is needed* to keep the bindings somewhat clean, consistent and digestible. In this specific case it's not even that many changes, IMO. That being said my limited hobby time is probably too valuable to be spent on binding cleanup rather than fixes and feature enablement elsewhere in the kernel. - Marijn