Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3064053rwb; Fri, 9 Dec 2022 09:29:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6OJ0cTe8OFfbiShamYUQePv8C4uwVLGiroJpnILuou71SklcNGWhN/iJjavLVGOV3n+Q9R X-Received: by 2002:a17:90b:1293:b0:219:8648:f434 with SMTP id fw19-20020a17090b129300b002198648f434mr6905440pjb.17.1670606972942; Fri, 09 Dec 2022 09:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670606972; cv=none; d=google.com; s=arc-20160816; b=FoHhKeRGepT3UpXyxc5tfLyAP7WEJgfOEXgC8tRHTI3+1+D3oOmO1FNFMxGOXlnaPl 98j3JcraxMyBOuvctWuzjTGcfst+Qo5jf0h4kY/mEP6rUT4AeJ2zQBzlHVLqrqzq/kDB xXoE2XV6mwZ6MRkwu8PqmXhSDusnslmA5W8Mp85rJ9V68hrNPnyX1x/+Acvc6fnv/83V oM7tC0eqi79+7P8xW//aQuaUKrABzO0IBhtRS4TSUdT2c2Cp2G/d+8z+Jnz7awhbq8S5 67kcm+UW56Nd/7zBBIC8x5DIYlEAbXtUKpsTOjSrpbp3k7Zk33IY+HZaDR9LCg4ufmkf udKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DlQlDTy97y3o6/XT27F3HOLcwTrATSZz0p/F/YpkAOk=; b=pRmkcMylFi6ju+LLuntsSoHVsLqJU4CCk3Jqp78oy+1sfZuhyinzJzPK3m1I9hnlys B3FrXwVOkjNBs3corfaeGlMYgsmK+yZ1kzBx6MBbSjQ6KUQWZLk5wWTtwMDcxXmZGO4y KDDxp4GWp5oQLNg2Fdta4WLsKUEQP7GXsjjE2pxRWqr6fLM2V1stcDOtheXSds2NxEQ8 umkmIFsI16hDK7OKD9mxsMTtsAKophc73mLTrgArXfoE6DALV+Jdq1M1I1y53DGs1JK7 GviSJoMb1dmF4MLtrOd7ASTF8Y+Y058NMaEgZoqUDFyuu8qv66QMxbbjtBURUfuAuK+M tblw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=Z70cN0BC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a656445000000b0046f72960505si2007184pgv.393.2022.12.09.09.29.23; Fri, 09 Dec 2022 09:29:32 -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; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=Z70cN0BC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbiLIQzZ (ORCPT + 74 others); Fri, 9 Dec 2022 11:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiLIQzX (ORCPT ); Fri, 9 Dec 2022 11:55:23 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B23C4941AB; Fri, 9 Dec 2022 08:55:22 -0800 (PST) Received: from g550jk.localnet (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id BA1C9CA44B; Fri, 9 Dec 2022 16:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1670604890; bh=JPxISEVGZ3issJ6dY6iVzvmxKxEEeRMzlzxN/ukUT/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Z70cN0BCSwfeW8Vsj/KfBq/QdTsGv9w/ZxNzZNuZK7BQVU4SGMbcosSXRPNiGLGtN 9PbrJVLFHS3iUh/C+2nxTB3/VU0Rybvn5pHYtfyoR9nhpF9Y441j8NvqUEvxKwye5r CvDfv5l+Vfy806NOaQ5bS9qhLovI5HMF0kHMrKa8= From: Luca Weiss To: Krzysztof Kozlowski , Marijn Suijten Cc: 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 Date: Fri, 09 Dec 2022 17:54:50 +0100 Message-ID: <5740737.DvuYhMxLoT@g550jk> In-Reply-To: <20221208112055.m7sqg3ysxzskqjp4@SoMainline.org> References: <20221101161801.1058969-1-luca@z3ntu.xyz> <36eb03e8-aace-f7ce-edc8-53715021c0ea@linaro.org> <20221208112055.m7sqg3ysxzskqjp4@SoMainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, SPF_HELO_NONE,SPF_PASS,T_PDS_OTHER_BAD_TLD autolearn=ham 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 Donnerstag, 8. Dezember 2022 12:20:55 CET Marijn Suijten wrote: > 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). FYI the patch has been merged already and is now in linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/arm64/boot/dts/qcom/pmi8950.dtsi?id=0d97fdf380b478c358c94f50f1b942e87f407b9b If you have any changes that need to be done please send a follow-up patch. Regards Luca > > > [1] > > https://lore.kernel.org/linux-arm-msm/20221112162719.0ac87998@jic23-huawei > > / > > - Marijn