Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp26204lfe; Fri, 15 Apr 2022 17:47:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRnDHp5vNdJEBza7VmIR8SPw72wfEBAf2qUbz2ulR1rTt9buSAO7yjW/x2LZvqBm8GjO4A X-Received: by 2002:a17:90a:6844:b0:1cb:a12d:40c3 with SMTP id e4-20020a17090a684400b001cba12d40c3mr1482423pjm.242.1650070054851; Fri, 15 Apr 2022 17:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650070054; cv=none; d=google.com; s=arc-20160816; b=UiDVEu5Lb2nyJpu4QL4hvYDy7xoILasa5vPzvjfx6wPRWvc7wDl7Ggn/7hgiY2ieWp qjDQHwbR2O2bNogYlfV0Ajx5E0RiVvclNyNtUbrTqGt/N6UgbYZaSDY5FdMh23l6EMCL ueO0x1nZWtVQFkRDsA5jbBJyCNMQerasAr4o/z4nRuQqjXiUjuOGpBQFT93RlmNYHUbq ItP9AQR4/vQK00RxfKZdX3ioeY6pKDWR2f6mb/QiWoPVnZChV0K3fiLE1LkwKMjj8sJb bqG0699sWkxmmoV+zNot0eETyzgd1gI56/vIM5qxKZ4EycUQ0ZEZeQVbxm35aIBrMbaf kzTQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ktdcJE0+30gvr9r7EYxc/n6a/sk6R5sRkRDY4FumPA0=; b=XlNDje/mn/pXEsTIPfnUp3bseSmkRQTHJ3+/k3ZjOLbflg7+cpCxRawA2wbSg3z3gz TKINKybSeJskV2Ro9TkZwIHRwptzNxRNlU/zv0WZGnbGP7KCzM9GgVUlTLdxSG8Bu7mZ OX26VpA9rMQUGLMFKelNPu5tm04EnEZh0sV41DVXU8y49KcRI0kzg9vW1duRRA+vQJ0V jl1gCjugmQV2KwOagLDyhMJvvNoxLGAZUwYve+qvGeuTHLGSqgwE8v0h1kAutyvlkjwu 1nsKUHDtvumhOOeV242BFyRlhbYGAtG1PUFcf0E1Vg/I8UHXPqHY3EbfiyY0fm8q4i0J 3Ysw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X6jodKKq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x15-20020a170902ec8f00b00153b2d16621si2623716plg.553.2022.04.15.17.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:47:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X6jodKKq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2BD1CFDE2C; Fri, 15 Apr 2022 17:38:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234782AbiDMPxg (ORCPT + 99 others); Wed, 13 Apr 2022 11:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233622AbiDMPxf (ORCPT ); Wed, 13 Apr 2022 11:53:35 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED5C41F8E for ; Wed, 13 Apr 2022 08:51:12 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id a21so2350528pfv.10 for ; Wed, 13 Apr 2022 08:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=ktdcJE0+30gvr9r7EYxc/n6a/sk6R5sRkRDY4FumPA0=; b=X6jodKKqi2fJU3vHm3zdbwDCLEhgSwBGbqJ2kgbtRcm1DAWRnnQwgqFSn1ZsMWOOgp MiSqkAlq4iH/UtPSnMCOs8X52JJSq7K7vcibK936ZPUbBoBXyXou0osGJjRCCLO30b9C M0gqvNvKfP8Yk61wYL2ow02+TBqlavbevFaso= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=ktdcJE0+30gvr9r7EYxc/n6a/sk6R5sRkRDY4FumPA0=; b=4U8P43fQZM8nOZr12PLdiXY2PoFGy/QxnLmh9wMyh0DOcPVbBS1HPKI9RWt2mVEbzx toYbxl81Fu2u61Fe7VGV9NiqRLERCxuo+fyd9G28smG2t3AjicBBTjVCNVUoYnq0mlON jKckkVGukXTpQjvhT2ZwcWDRE7t3YPC5dgdKL5rd+kD8dEThytwZ3Pgh0BjoRPLi6cvo nawbSH6ADzi935h8RjbaCE4d7B1hJe8MJG6WtQ7UVSxFfNl8iK4a8uGAXwSECJT154l7 GvQrN2IwJ5jgmdJ5oDw8ZhzS6o+aejO+17BNymiXJBr72htZ9p0MP+sjM9s9WRfF6Bnn D52w== X-Gm-Message-State: AOAM532f45PqVE3C9zhOgUBpCH3+t2VXaA2f58XOT5DtHwBcgpwRF/9R MZMiFudv1+OQlIh4pvBACgHSGA== X-Received: by 2002:a65:6753:0:b0:385:fa8a:188f with SMTP id c19-20020a656753000000b00385fa8a188fmr36059244pgu.499.1649865071928; Wed, 13 Apr 2022 08:51:11 -0700 (PDT) Received: from localhost ([2620:15c:202:201:6a4f:9277:743f:c648]) by smtp.gmail.com with UTF8SMTPSA id v16-20020aa78090000000b0050583cb0adbsm18658298pff.196.2022.04.13.08.51.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Apr 2022 08:51:11 -0700 (PDT) Date: Wed, 13 Apr 2022 08:51:08 -0700 From: Matthias Kaehlcke To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_rohkumar@quicinc.com, srinivas.kandagatla@linaro.org, dianders@chromium.org, swboyd@chromium.org, judyhsiao@chromium.org, Venkata Prasad Potturu Subject: Re: [PATCH v7 2/2] arm64: dts: qcom: sc7280: add lpass lpi pin controller node Message-ID: References: <1649685184-8448-1-git-send-email-quic_srivasam@quicinc.com> <1649685184-8448-3-git-send-email-quic_srivasam@quicinc.com> <9bacee6d-ab44-2975-c523-38164d016af5@quicinc.com> <478125e6-7b8f-a69d-4ffb-00344611229d@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <478125e6-7b8f-a69d-4ffb-00344611229d@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Apr 13, 2022 at 08:12:20PM +0530, Srinivasa Rao Mandadapu wrote: > > On 4/13/2022 5:29 AM, Matthias Kaehlcke wrote: > Thanks for your time and valuable suggestions Matthias!!! > > On Tue, Apr 12, 2022 at 06:41:25PM +0530, Srinivasa Rao Mandadapu wrote: > > > On 4/12/2022 6:18 PM, Srinivasa Rao Mandadapu wrote: > > > > On 4/12/2022 1:02 AM, Matthias Kaehlcke wrote: > > > > Thanks for your time Matthias!!! > > > > > On Mon, Apr 11, 2022 at 07:23:04PM +0530, Srinivasa Rao Mandadapu wrote: > > > > > > Add LPASS LPI pinctrl node required for Audio functionality on sc7280 > > > > > > based platforms. > > > > > > > > > > > > Signed-off-by: Srinivasa Rao Mandadapu > > > > > > Co-developed-by: Venkata Prasad Potturu > > > > > > Signed-off-by: Venkata Prasad Potturu > > > > > > --- > > > > > >   arch/arm64/boot/dts/qcom/sc7280-idp.dtsi |  84 > > > > > > ++++++++++++++++++++++++ > > > > > >   arch/arm64/boot/dts/qcom/sc7280.dtsi     | 107 > > > > > > +++++++++++++++++++++++++++++++ > > > > > >   2 files changed, 191 insertions(+) > > > > > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > > > > > > b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > > > > > > index 4ba2274..ea751dc 100644 > > > > > > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > > > > > > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > > > > > > @@ -238,6 +238,90 @@ > > > > > >       modem-init; > > > > > >   }; > > > > > >   +&dmic01 { > > > > > Shouldn't these nodes be in the PINCTRL section at their respective > > > > > positions in alphabetical order? > > > > These are not part of tlmm pin control section. These are part of > > > > lpass_tlmm section. > > > > > > > > In your previous comment you asked to remove &lpass_tlmm. Hence brought > > > > out. > > > > > > > > > nit: since you are keeping the groups the group names are a bit > > > > > generic IMO. > > > > > e.g. it is fairly obvious that 'dmic01_clk' refers to a clock pin, > > > > > however > > > > > just 'dmic01' is a bit vague. You could consider adding the prefix > > > > > 'lpass_' > > > > > to the group names for more clarity. > > > > as dmic01 has both clk and data section, I don't think keeping clk is > > > > appropriate here. > > > As these nodes are part of SC7280, i.e. qcom specific chipset, I feel lpass_ > > > is redundant. > > It helps to provide some context about the pins which might not be evident > > from their short names like 'dmic01' or 'rx_swr'. A nice side effect is that > > the pins/groups would grouped automatically together in alphabetic ordering. > > > > In terms of 'redundancy' it is similar to 'qup_' prefix for the I2C/SPI/UART > > pins. > Agree. Will change accordingly. similarly will append lpass_ torx/tx/va mcro > device node names. > > > > > If we add lpass_ to all dmic nodes, some node names are too lengthy. > > The longest would be like 'lpass_dmic01_sleep' or 'lpass_rx_swr_sleep', which > > doesn't seem outrageous. > > > > In any case it's not super important. If it bothers someone enough later > > on they can always send a patch that changes it. > Okay. I meant to say whether you change it or not is not super important, it's up to you :)