Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp835170rwb; Thu, 8 Dec 2022 03:40:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6avI+6Nc0AdNGUuk+huGfZJU8jqizmrcY0obZsFLOfQYmi63V5C9epuAQGAQJCieJLC8tA X-Received: by 2002:a05:6402:240c:b0:462:2c1c:8791 with SMTP id t12-20020a056402240c00b004622c1c8791mr70448969eda.29.1670499635676; Thu, 08 Dec 2022 03:40:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670499635; cv=none; d=google.com; s=arc-20160816; b=PB2Hn0sn5JjCkTKGpuMhyL2dH+81nCMC2v/bbJInO6RGbDdAW9sQZGBVE2SbYjAlLw +pXAEMFvESMUjeZ4RLKtf/iF8LdyDAcAkS76KUH71qt2onzVUjNp8MAcUXvho6TUbt81 tklDIniWUD7FRp6yeVd1zqbABu9oKD7GpDa/43+/wR2+i8x4XSWmAw4A3v/QRoSJVJ5S sboYa46k/ygzIBH9lMr4s2fDjeTF2GZbL12uo58IzuWdzD2Gb/oyag5kErxjgE2cJg3n sF2lroHpauIGlMgTKVdb6MbnsuzCKChddG3XdBM/rghfPOkWpI//cfCYS3SlEm+aV2t9 c5uw== 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; bh=4pqYeo1+7p90PzALiAc7u4KxbavGOHv16yK5J21SEFE=; b=rs7xr/PxY3hvvDYC540VNSJHJv+XQtyC2LfH6lXnR1HFoEYS4rPm8bPM4EzuYj+s7N mdNUmIQyTDVjZ3Cb2a00usbToiVDoZd/An8H3Ya6CyZJetz4bofbJ5swwqz6TrqNEhIp nN+t0/alAzuvd2ftC9dQl6r63/ceyekAEEXBsw7GghihzYuFm43bD+WH5Q7lkyCCtdup 1JixL/EkikW4c6pWMe9fAP3kNMjRVUTbeqfMwPe327X2bqxsybZow+wsjFixvTiXrXNC 0lhnSQkl0lnDQU1y+1n3dEn2YTK/vwrIzjA79Rs8zqkk5g9RfBD4WSBTftN5WhY7srlo t0vg== 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 ds21-20020a170907725500b007bc7d5c73ecsi20507270ejc.336.2022.12.08.03.40.15; Thu, 08 Dec 2022 03:40:35 -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 S229828AbiLHLWM (ORCPT + 74 others); Thu, 8 Dec 2022 06:22:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbiLHLVi (ORCPT ); Thu, 8 Dec 2022 06:21:38 -0500 Received: from relay08.th.seeweb.it (relay08.th.seeweb.it [IPv6:2001:4b7a:2000:18::169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A586A58BEE; Thu, 8 Dec 2022 03:21:00 -0800 (PST) Received: from SoMainline.org (D57D4C6E.static.ziggozakelijk.nl [213.125.76.110]) (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-r2.th.seeweb.it (Postfix) with ESMTPSA id DF7083F3FA; Thu, 8 Dec 2022 12:20:56 +0100 (CET) Date: Thu, 8 Dec 2022 12:20:55 +0100 From: Marijn Suijten To: Krzysztof Kozlowski Cc: Luca Weiss , linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, AngeloGioacchino Del Regno , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: Add configuration for PMI8950 peripheral Message-ID: <20221208112055.m7sqg3ysxzskqjp4@SoMainline.org> References: <20221101161801.1058969-1-luca@z3ntu.xyz> <20221106193722.j64xrhitdencrjxy@SoMainline.org> <20221202093658.vg6t2ptar2arh7hn@SoMainline.org> <2656622.mvXUDI8C0e@g550jk> <20221208101232.536i3cmjf4uk2z52@SoMainline.org> <36eb03e8-aace-f7ce-edc8-53715021c0ea@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36eb03e8-aace-f7ce-edc8-53715021c0ea@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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-08 11:23:17, Krzysztof Kozlowski wrote: > On 08/12/2022 11:12, Marijn Suijten wrote: > > On 2022-12-04 17:19:05, Luca Weiss wrote: > >> On Freitag, 2. Dezember 2022 10:36:58 CET Marijn Suijten wrote: > >> [..] > >> > >> So the way this patch does it is good or does it need changes? > > > > Except the typo(s?) pointed out in my first reply, this is good to go. > > > > If we stick with generic adc-chan node names that should be documented > > in the bindings IMO, as it is currently only captured implicitly in the > > examples. Krzysztof, what is your thought on this? > > If I understand correctly, the outcome of other discussion [1] was to > use labels and generic node names. The outcome was to use labels in the driver and disregard node names as the new fwnode API clobbers those names by including the @xx register bit. (I'll follow up with Jonathan whether or not to remove the current fallback to node names, as [1] ended up discussing many different issues and nits) > In such case the patch was correct > (except other comments). As a consequence it _doesn't matter_ how nodes are named, and we _can_ use generic node names. My question for you is whether we should, and if we should lock that in via dt-bindings to guide everyone towards using labels (which i did _not_ do in the recently-landed PM8950 and PM6125, but will send followup for). > [1] > https://lore.kernel.org/linux-arm-msm/20221112162719.0ac87998@jic23-huawei/ - Marijn