Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp911674pxb; Fri, 22 Apr 2022 14:06:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLItAzr3YYjK3dHBKXcy1QkD0pjc6zHerXWupFNoVv5UnvPdju9ClPmPwdG6PKkw0BZSD6 X-Received: by 2002:a05:6870:b14a:b0:e5:ea19:22be with SMTP id a10-20020a056870b14a00b000e5ea1922bemr2858903oal.274.1650661619133; Fri, 22 Apr 2022 14:06:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650661619; cv=none; d=google.com; s=arc-20160816; b=jIUnAmo30eMc1I9jfGgAXXMVKWBFDbe2c4A5OH21yTinLqYUZgpfB1wBOpRTqDZAek L3HPoqCMdz87PTBaZayWvxt2VDxuJd741JN9pv1IS3K73biAgN6ixWGRh1v5AVCqtU8B AWH3skT//Got833DCGBouodwugHXDwIq9o53wTpGLDWTQ1abK+NmogXIedpiOvHeQDta XDBqaPF49sAwlAFjRl1SZYgUpo80p7XqjbAXB0Eg+31n1mL1PbHAqCKWs9hRENi7k8AF Lx9VxM6VVM1autr/ejRxS9+hwWVNE6PDT8WlyB/EsvRLCiYo5/DZwqGXPdcs/SrokKuQ CYsA== 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=it8rMMqv1VvjMlYzjFsSf2pHnG/QtY071eNBlUF4wzs=; b=0Em2Z35GVEdSDasRzHdVSamdxcnhWa73IYmx2XfB6Uzeaq+q2BoVCpjz5uRr/JuI2P loZWRUKqeEfdVIt45fvLTAzouPo3FcRZgNiNDeSwKFZd0mWPrbbpCfUBLl07tWJDyPLo zXxwTEjaUG87cwHnEeibcWi3tvfXhG+/J5zdrSt82LNdK8EvoRKvkqPSc0WYT0x9HG/l fbHdMmLI6BKpWHMzwgG7B/Ap5EdG22m6MUt29W4JwcnUqrngHId+XDgqdNxGNWr+Uk97 Ay0HZrEUwv7qtzOQBsgkJRFTeoXwIUtUW5ncuSktAeVPWIX2xZ4fbsbMYPvHZI69trHB QiOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=zl6ZQMO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u31-20020a056808151f00b00322ace6020dsi6742453oiw.82.2022.04.22.14.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:06:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=zl6ZQMO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 752B535F023; Fri, 22 Apr 2022 13:04:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448459AbiDVOND (ORCPT + 99 others); Fri, 22 Apr 2022 10:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448391AbiDVOMW (ORCPT ); Fri, 22 Apr 2022 10:12:22 -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 616615A591; Fri, 22 Apr 2022 07:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1650636568; x=1682172568; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=it8rMMqv1VvjMlYzjFsSf2pHnG/QtY071eNBlUF4wzs=; b=zl6ZQMO4ielK9q6nDKdxAPQs/J+zHInuyAZtSSQ3zk5GoaBW14JHWKwX dFDVvoI5AuvRALeyA9QDyTYGsw7fp/cDPbPoqlNiZmmWHzC/rPmvNwHDI x7u8qhSF+gD12bRo8F0+KTovSbG5AfsTY7Ygvbjw0ycuAhF5TTJhUuPTg s=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 22 Apr 2022 07:09:28 -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; 22 Apr 2022 07:09:27 -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, 22 Apr 2022 07:09:27 -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, 22 Apr 2022 07:09:23 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v10 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards Date: Fri, 22 Apr 2022 19:38:35 +0530 Message-ID: <1650636521-18442-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650636521-18442-1-git-send-email-quic_srivasam@quicinc.com> References: <1650636521-18442-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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 72e6a6c..8503bd1 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"; @@ -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