Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp297104ioo; Fri, 20 May 2022 22:53:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztOqQJ6b8gbERDd4Mghf+CbAGzby7UgP6SKGxeU2B6aoWUnAVJFeK0wEb8IhdnhVZXfD6x X-Received: by 2002:a17:903:40cc:b0:162:7ca:d83b with SMTP id t12-20020a17090340cc00b0016207cad83bmr1057029pld.56.1653112386426; Fri, 20 May 2022 22:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653112386; cv=none; d=google.com; s=arc-20160816; b=chjWd0Fsq2p0QjhcFb62EuNO4fQBeTdG9y2ydM87UM0q8rV1/PqXwiLgQQYfmX1s4t OWoFkBPw42ArRbn4fwFwJbVChllpuPmCTDOQ9hu6b/HDJtCLKdtNl7e4tSMVWjWq1X6e Ihcl1ebXubbS/K0Yq6Yims9Sg4bZGKWqf1DDRa7Ivh/NWK/yZCcTcJLlBVXVYNcS6LIY e/qA81yvMrlPMn3LJI4cJI8mj9hoq1nQI3uXf9c7sCyI03XDQSldSeuA0LVjeJLFbdQ/ WFBgxhZ5w8TV4RsFI6YiqMsGqs/PT8k1WSkDJwkodUL5Sq6qZ/XUXAgl3dzEFWBpVwHf XLQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=82Rrll2/L7iJrO24KVB4CluXJhPAo9df1QYPpK1k4KA=; b=mwrsOakftscPl7LhtvygpuxX5KAqpXCdbdkpUh+1L67gxQjn7i0/poVdasUSeiqhWL 9xJPja6+JjY3FKv9YFF5HeO92ZgSjsmy3gI8oRc5TeMUWtBqCdbaLOWmQl6ZGz0PdV43 OhiC309g7rVXPZ7hl5BcNLZD5hrKucJqnqmNk7P9wMP0Skw5AmVkq+Q3noZaNwgge8Up aPM13sz7GGbce5V924u52AqTAJcjVKMBaCu34S7Jc6EEfJAZHwq7gQE46JTJtH0zBU7V g3acbufwO7A7VMwvfBD+w1qwTvm+V/kMPZRopD8cGu7CHKP9zjzn3sIcjVuL6itCIBBt cG8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=K+4Upnxg; 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 193-20020a6305ca000000b003c5e4be54bbsi1890543pgf.240.2022.05.20.22.52.52; Fri, 20 May 2022 22:53:06 -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=K+4Upnxg; 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 S1349167AbiETMTy (ORCPT + 99 others); Fri, 20 May 2022 08:19:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349201AbiETMTl (ORCPT ); Fri, 20 May 2022 08:19:41 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A717716499D; Fri, 20 May 2022 05:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653049172; x=1684585172; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=82Rrll2/L7iJrO24KVB4CluXJhPAo9df1QYPpK1k4KA=; b=K+4Upnxgbm0cl6aFZM5XVCoEIEWS0PE8D18MpBfG1d3SsX5hHkBOVMYp kSUaNcTIhNlUqcOFaiQdm4GGwhFu54DN7d5XOlk6x7rZ6eEinNEUq257z jBMXPuZqSiP3Hwp89YJKnJujh/owqkpegJTSg0JmDXS2Pb2XZA2sNorQf M=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 20 May 2022 05:19:32 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 05:19:32 -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; Fri, 20 May 2022 05:19:32 -0700 Received: from hu-srivasam-hyd.qualcomm.com (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; Fri, 20 May 2022 05:19:27 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v12 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards Date: Fri, 20 May 2022 17:48:38 +0530 Message-ID: <1653049124-24713-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1653049124-24713-1-git-send-email-quic_srivasam@quicinc.com> References: <1653049124-24713-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Add max98360a codec node for audio use case on revision 3, 4 (aka CRD 1.0 and 2.0) and IDP boards. Add amp_en node for max98360a codec pin control. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 0025a78..ccdbad4a 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -20,6 +20,14 @@ serial1 = &uart7; }; + max98360a: audio-codec-0 { + compatible = "maxim,max98360a"; + pinctrl-names = "default"; + pinctrl-0 = <&_en>; + sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + }; + wcd9385: audio-codec-1 { compatible = "qcom,wcd9385-codec"; pinctrl-names = "default", "sleep"; @@ -613,6 +621,12 @@ }; &tlmm { + amp_en: amp-en { + pins = "gpio63"; + bias-pull-down; + drive-strength = <2>; + }; + bt_en: bt-en { pins = "gpio85"; function = "gpio"; -- 2.7.4