Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp7556278ioo; Fri, 3 Jun 2022 08:49:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ5x5V9bS686w5aC7t3c/lGMOVhZRTWWRyy4mqvI/oFD4OSIzJ1yZNZHDbTFBiSB5DDgsd X-Received: by 2002:a17:902:f607:b0:161:5f47:b213 with SMTP id n7-20020a170902f60700b001615f47b213mr10937739plg.4.1654271377439; Fri, 03 Jun 2022 08:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654271377; cv=none; d=google.com; s=arc-20160816; b=gyljjo0z/Gk8zo0Hw3Y3gPEyf1aI0yTMmuKUejtNvYAEXSJjFvH19xsa2f7rFc6rLA n7SmVH9M6EqAK8ZuUxsIDJKcIpG9cjKcVXKKoto0ILz1xDYIObSxsRe6KueLpgCl6DNI 6C8jWnNurUj9LchkA8dIY6/G0We1W+zhTipteeJ04v9oSdZZJUNspU/m/Iv1jqkbmJiq NOJ9bntIdPbfEz3sJNZuMuWvWbkBYaiWZYIySFhC4kNK9mg2Q9zhR4qInZhsmpfoNrp/ ibp262dQCn1MokPQEKoe+tmEA5kDjilWKqBUa1jmHfISUEAu+L6zWabmd96jjzM1u3u3 5+SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=kFDsYAwwyQEIROHoFgr6UXEiUnfVjD1ybd+VrPy8+F0=; b=Q27v5t6nBQOyVYqwpG82ZU0vKgVO8srDPHAnfM1yWvOW3rLqnbhKl4f/I2kGQhfEei mYRqOn5v1/Wm5AoocMgEbfEVKsv3+oyLhiKujchz7zPLUAduXedvr9YBOqE6PZvBCEYg 93oubThJxqFlUEdoW2I724hEQsnKBD+/TGEFownaebSrNv8PjyrFBRHg95fHQXkneEyd j2Zv/qWmeLoxZhT9fvQtNM6KFYA65lX5fIxxDmtrZbTXbdtbJckcAoxm02tHPHu2vSAV rt+ygY0uDgRf8qoTQmqhPVua7DI4SCGK1OCoh1+70j179Ixv8ndhgb/MLJNiznM7dOv8 YU+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ab1B78qK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f65-20020a17090a704700b001e33517868dsi9655669pjk.150.2022.06.03.08.49.23; Fri, 03 Jun 2022 08:49:37 -0700 (PDT) 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=pass header.i=@quicinc.com header.s=qcdkim header.b=ab1B78qK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236949AbiFCGJp (ORCPT + 99 others); Fri, 3 Jun 2022 02:09:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbiFCGJn (ORCPT ); Fri, 3 Jun 2022 02:09:43 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F59C2AC71; Thu, 2 Jun 2022 23:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654236583; x=1685772583; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=kFDsYAwwyQEIROHoFgr6UXEiUnfVjD1ybd+VrPy8+F0=; b=ab1B78qKl75oHYVhyEmNEi+CZsRKGBBW1nHJaPCbjawGLgP6h51YvPcW 6qsIUFYCGZHUOwvBw1inIpVbTcbnryvGozVSHXTbP5kxvW+3TmAbZRac8 hleRGotrHacukhinROUX84Elr9aBY82mhXNCMy4uvH8sxJbfecYFD2G22 I=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 02 Jun 2022 23:09:42 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2022 23:09:35 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 2 Jun 2022 23:09:33 -0700 Received: from [10.216.32.198] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 2 Jun 2022 23:09:27 -0700 Message-ID: <6250a441-6bcd-4ca8-782b-b7a8d9239e46@quicinc.com> Date: Fri, 3 Jun 2022 11:39:24 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: sc7280: Add compatible string for adsp based platforms Content-Language: en-US To: Stephen Boyd , Linus Walleij , , , , , , , , , , , , , , , , , CC: Venkata Prasad Potturu References: <1654079415-26217-1-git-send-email-quic_srivasam@quicinc.com> <1654079415-26217-2-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 6/2/2022 6:43 AM, Stephen Boyd wrote: > 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"? Yes Your understanding is correct. The same hardware in scenario not using ADSP, and in another enabling DSP. > > Is that right? Why are we conveying this information via the compatible > string? Could you please suggest better way!.  As pin control driver is the first one to probe, I am not getting better approach. While up-streaming these drivers, concluded to use this approach.