Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp613306pxb; Fri, 22 Apr 2022 07:54:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8RCDoMuMtpKoHOAOCTHgmeMJQWzUwq3IqyLo35dDLFFwR2POB4h4bRvKpPfSv9u9FRR2l X-Received: by 2002:a17:90b:38cb:b0:1d2:6c52:5be0 with SMTP id nn11-20020a17090b38cb00b001d26c525be0mr5830864pjb.32.1650639276296; Fri, 22 Apr 2022 07:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650639276; cv=none; d=google.com; s=arc-20160816; b=GvqSffLjxC1ggUKe9/RRsbPBMScxlCPtVZe2XN+oE1wC4nQtH71JCtT1Utub8aPM13 zegXLY31MpAVtHsS9oLD48fG8lHwtPf0cTzGWzKo31QytwpPJXLARBQcjTqtsOJVGChW yN0sRHYR6Ofp7Rfa2D7zWnjSY2U6A73YGK04p5JYe+/ZFNSISMarRFWzrmz2/Q3IHTOt 3BJDCKSi91EVwutc9dIhrD+a6SxR5LObTeUQBZInqyYAQgmf/gCTe2UAZgT4nr7uR1FK 2Z8EJV0fR1J+YYhcQm6TKXfXpSPMmpDkeO8sFuUgxfoMhwYNCYqOHyXuR6iZOrOWyTH6 tRRQ== 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=WRtU/M2GlC+zmETpJW10avmwCrGbtw7bwC6+Ix27BLY=; b=UQIOBLdLdXkiuDI9+gjQFvupCvRQteCJhG2q6wmpzSPAkR6wfECHCcxEW0Mo91wlhV In5wymtQWI5qJWi/gLatXforz6I9cU5c+GyYSMmxLeSgRT7JFOzVVjPBwCSXFNPfTqKQ zDOHWGcFaiPgcX0Xt6121Tq5ybluia+UOlzVMKc+/MfS4xao+b8+VTi4/y+JFPYw8dAS texKvXPc8ZW2eKroeGoSWlKW0iGBqzND3FbBtY2iJh0Tvl4H544jRPUjOF0JAuNVEqwN 6QWrJk+BVDlHZf996jpz0iacxixH4Jh5m20gf69OD9Mgj3lZUmUoBTfTBCiyNjtoYLJo 6kbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=IQaDFh5C; 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 y22-20020a1709027c9600b00158cefcc011si7896375pll.295.2022.04.22.07.54.20; Fri, 22 Apr 2022 07:54:36 -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=IQaDFh5C; 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 S1389674AbiDUOwN (ORCPT + 99 others); Thu, 21 Apr 2022 10:52:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389655AbiDUOvh (ORCPT ); Thu, 21 Apr 2022 10:51:37 -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 081AC43AE1; Thu, 21 Apr 2022 07:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1650552527; x=1682088527; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=WRtU/M2GlC+zmETpJW10avmwCrGbtw7bwC6+Ix27BLY=; b=IQaDFh5CPgRmFrQVtbzGbo/T8Ki78P8h0M0S5F9OImbLrsLT4j1xWJoT nT1RZy8U7urmUrxBqIe9gXy5D+n7kBnUtgDes0N+eJ3RWoy05tmT7MvFM Yom1bzwgISk+gvlVQTXS0/+5KCEGtGu0vOShRWVaHTwc45koO8URxa/pC w=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 21 Apr 2022 07:48:44 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 07:48:44 -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, 21 Apr 2022 07:48:22 -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; Thu, 21 Apr 2022 07:48:18 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v9 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0 and 2.0 Date: Thu, 21 Apr 2022 20:17:33 +0530 Message-ID: <1650552459-21077-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650552459-21077-1-git-send-email-quic_srivasam@quicinc.com> References: <1650552459-21077-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 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 and 4 (aka CRD 1.0 and 2.0) 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 --- 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 b711ad0..24196a1 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>; + }; + wcd938x: audio-codec-1 { compatible = "qcom,wcd9385-codec"; pinctrl-names = "default", "sleep"; @@ -624,6 +632,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