Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6002637ioo; Wed, 1 Jun 2022 18:17:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHFbpXKGc7DhezVrjaaPn+1IWRG1jQhPzilGgRD+nkwQbIpvs8NItpt1YBtnNJgHB7c6Te X-Received: by 2002:a17:902:d48f:b0:165:2ad5:d133 with SMTP id c15-20020a170902d48f00b001652ad5d133mr2289131plg.50.1654132658663; Wed, 01 Jun 2022 18:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654132658; cv=none; d=google.com; s=arc-20160816; b=uFQVDYxMEeGCE1LqPq7y96elERzohOuY7vJGzGuAlerh6LGIXnNsgGngcFNhJjtpMu qMbxXWJ5jAJgMwHxbBVkkylvuAJiq47Q+I0TBe7EBmAplS3s/VKnRLah2gDnnBWKqPxd Lkt0lstIJ3V+ZLTN+pW4w7B48BVW5R0j4bg02XmHesAWvjckwPPfS/Lig4iPRJqF1GVr 4/NaCT2VZvRaSBxelPXFlKbaDnsKiel3L/E71L5MgsZQpz+9U9PT881YhfxenxUy7HRj woSwCbprmKuK6JvkZUNYCRpMfXtZSrt3gH1v4/mNCnGH8EsH0hXNDkaODWseyQj89eky dyfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=Rm+nlWHmtK3hCgXCMXiJ7jm13/nhGeNK572RFA6RE68=; b=lT7Nom6hM0TVuTcrgMdyLYRcUToG5hUdG+tB98YsbWAieW5kJv6UKcnKf6oWUhSan3 BjwWlOxZYpFJPojHCi4fuSa3r7vl3E+TYwKcFhsxkPb9uURvYYEH6mgEx8s4ak+QP2Ky GdRHyCTKdBv1zngY28ZanUsnqDZtDK7qWJU3zP2Hne2W1LSm8Jhf3YTVT5LGbZw/Md4W 9uMjcsd0MDtwoQnGTtx/45uq9a5bADbPEjUQWqZOV3jxY4uIeZEcvrgGckmMG6KVQ1QB bHSarv4w/4vqRdQvdBdqOmoxfdYs1FCdk5PQ1a+dmcghpKTMyBcf7XWWKXsdeLQ2xnPq +MMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hz8L42GZ; 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 132-20020a62158a000000b0050aba90702dsi3612772pfv.324.2022.06.01.18.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 18:17:38 -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=hz8L42GZ; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7FBAC28DC17; Wed, 1 Jun 2022 18:13:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233016AbiFBBNs (ORCPT + 99 others); Wed, 1 Jun 2022 21:13:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232996AbiFBBNq (ORCPT ); Wed, 1 Jun 2022 21:13:46 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A161028DC11 for ; Wed, 1 Jun 2022 18:13:41 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id h9-20020a056830400900b0060b03bfe792so2432338ots.12 for ; Wed, 01 Jun 2022 18:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=Rm+nlWHmtK3hCgXCMXiJ7jm13/nhGeNK572RFA6RE68=; b=hz8L42GZ3MjrJT8zQvbU0Gjdz6YpJMtgCtl4dpGSC964xc2evT/CnKhIY1JHh4LWjp +LM+FyszkciMtKhP7Zam1U3H6f3j/LPYW7SODR25bKL72QneSpkZ1S1ScDH1mE8dYPw8 w3fwww6eOnrGvo4dZ5RvKgo8dO+U0i5wU5/Ms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=Rm+nlWHmtK3hCgXCMXiJ7jm13/nhGeNK572RFA6RE68=; b=XZgz2F9agh5Z+iFCQqNYJsyBxwOi2sjSBlXeIF8CYROP5QwO9jOQ+TdOnOQZj7M7uo HmEUxhe9FWP/zvHyzQ0BOFh+IAKxP+ffVfpNjdCBJ4LPYmE5OCstDUwcDPi3GDAKcMen tUlKdwe2EBaWBYx/Whr77JsfRAjLruj8nYaUi9ithKDNN1UcHHhmRqSsveK849UuFMiN 0Hks7MtGnXM+AwF7kAEpVBQvRxFDEKXxkJ99iW8RWZ4ytrO/sQi6/7K01yTeOY3m8jqF UeHUxm1cmLn+spYWp5IwTflc2lzWo1iV4gBSCsjlsXVMBSOwAWpkfiOijL49UISJDJt0 5vJA== X-Gm-Message-State: AOAM533oOMbt/eK0iTVCIfmod0JwpU08MSaC1mAAK/X21NeFGrV4gepM wHSkBqFASvB+TjKG0BIcgBasova1OopnjGLFsDQ0Cw== X-Received: by 2002:a9d:63cd:0:b0:606:9e7f:79f8 with SMTP id e13-20020a9d63cd000000b006069e7f79f8mr1153603otl.77.1654132421005; Wed, 01 Jun 2022 18:13:41 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jun 2022 18:13:40 -0700 MIME-Version: 1.0 In-Reply-To: <1654079415-26217-2-git-send-email-quic_srivasam@quicinc.com> References: <1654079415-26217-1-git-send-email-quic_srivasam@quicinc.com> <1654079415-26217-2-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 1 Jun 2022 18:13:40 -0700 Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: sc7280: Add compatible string for adsp based platforms To: Linus Walleij , Srinivasa Rao Mandadapu , agross@kernel.org, alsa-devel@alsa-project.org, bgoswami@quicinc.com, bjorn.andersson@linaro.org, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, perex@perex.cz, quic_plai@quicinc.com, quic_rohkumar@quicinc.com, robh+dt@kernel.org, srinivas.kandagatla@linaro.org, tiwai@suse.com Cc: Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.5 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=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 Quoting Srinivasa Rao Mandadapu (2022-06-01 03:30:14) > Add compatible string to support adsp enabled sc7280 platforms. > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > Acked-by: Rob Herring > --- > .../devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > index d32ee32..53c2c59 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > @@ -17,7 +17,9 @@ description: | > > properties: > compatible: > - const: qcom,sc7280-lpass-lpi-pinctrl > + enum: > + - qcom,sc7280-lpass-lpi-pinctrl > + - qcom,sc7280-lpass-adsp-lpi-pinctrl Can you confirm that this is the same hardware (i.e. same reg property) but just a different compatible string used to convey that the device is using "adsp" mode or not? If so, this looks to be a common pattern for the audio hardware here, where we have two "views" of the hardware, one for adsp mode and one for not adsp mode. I guess the not adsp mode is called "adsp bypass"? Is that right? Why are we conveying this information via the compatible string?