Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1064532iob; Wed, 4 May 2022 13:55:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlTISZfoumI8bje+mCgygwE5EA7sLG0VoVsgwUiPZs2scYQ8nrPzidWn8q5SV836zlhBZy X-Received: by 2002:a05:6a00:1d8f:b0:50d:cbc5:ff90 with SMTP id z15-20020a056a001d8f00b0050dcbc5ff90mr22091796pfw.50.1651697721733; Wed, 04 May 2022 13:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651697721; cv=none; d=google.com; s=arc-20160816; b=BiT845/R7A85wlXtZc12eDzlbGQT5xcLap4LzNM44cR40tEm1778EdgjyQTBISh1Ot RLfl90OJty7hfuGLJ7iELQGZwBSlBZNnmauresfj5u9uXonnkU7hUp6ssypyTvHTP02+ VpAY+rVa55+RbywWNhNFelQBt3XxZrpmkH4DsxihRNxbPGs7pIRyTAIL2f8cjCc88Vna AkNLLdhbaPKavaTCVZlC7LcOipHYTKgKXZUDoxWJnzX5f0kpfFRoMSFjrzo1bxK+Sk22 Osd7eInJOoXiGRvmwK8cgCH1AsiRRlrlAPP9QlihG25OsQKoBXebsxJYINvQhq8B09PD 3Smg== 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=HDSnEXWwUsFDYm71WYVjB66mVr9WNQIX0Mv1TxptVVI=; b=0jaB+fMnQAczbUZTKk27BMxnyEeyqdmvNFrOOCNA2Oyhx5ETtZKzaOdlkHAWbURUF7 RJmWhukbWEC63JD1ZR5ZQl2LSqUOP7OH/dep5RFcAQM9ui8QSEQ1VpoQO3DKAamxHNnE mI6qbofa7Tawy7GvrY3VQu4FUQzak/qQGOVnxV8jegm85BbEAUp/PQmnAsyvmgS7Wf6v yus47z7i5fgbGbuJ4f7TOAUTBi6EECBe544/w3JAuVcpjVyhtvdXWFrOoRlvxVebR1SO WAyLQAvTu3INvHxz3aIxcZcNBvQSipQvLgMbcP0tRHWjCUNWilbP23Cf0YubQw+GGukF 0IBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=s6a0sCLM; 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 nu11-20020a17090b1b0b00b001c6a15fe77bsi5931110pjb.51.2022.05.04.13.55.05; Wed, 04 May 2022 13:55:21 -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=s6a0sCLM; 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 S1349040AbiEDLsl (ORCPT + 99 others); Wed, 4 May 2022 07:48:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349008AbiEDLsd (ORCPT ); Wed, 4 May 2022 07:48:33 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FB2D2C12F; Wed, 4 May 2022 04:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651664698; x=1683200698; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=HDSnEXWwUsFDYm71WYVjB66mVr9WNQIX0Mv1TxptVVI=; b=s6a0sCLMzHZ7pQ/jkxrF66SejkLExjGukBaBKB0Vr+8ulbnGeVmXS/sZ U1+c6ra0LGHTp2xmUY/D2Spbn0SYhFJeBUltyoHa7dmwBiG0PKZXIyVUF 689kVJ/2AaMAYhKDMqar/0xpBL0kzZmG/E95s2sLZ7TIGiF45nFtqeARo c=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 04 May 2022 04:44:57 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 04:44:57 -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; Wed, 4 May 2022 04:44:57 -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; Wed, 4 May 2022 04:44:53 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v11 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards Date: Wed, 4 May 2022 17:14:03 +0530 Message-ID: <1651664649-25290-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651664649-25290-1-git-send-email-quic_srivasam@quicinc.com> References: <1651664649-25290-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 92f4436..f97081d 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"; @@ -612,6 +620,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