Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3741095imw; Thu, 7 Jul 2022 06:59:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sVqG9t3hlhR+vaIRxSQlxHRudo30QDNhAmv2F1+S9YQ4Fvrny8cI1QWwcpmRM+5cAo2Xn7 X-Received: by 2002:a05:6402:2395:b0:43a:6d91:106c with SMTP id j21-20020a056402239500b0043a6d91106cmr27250262eda.299.1657202345751; Thu, 07 Jul 2022 06:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657202345; cv=none; d=google.com; s=arc-20160816; b=v3vmqdHktyFd+DOlq+35n1SXUIDM/d3Q/JL+dYsPN+VvZbwVoPAbuwDyYZoEMvAmcN IwxpWRAj3u1+mw2U1S+AU2dTmEtpjDQETbWHGxapWyirsEfV33BbNVfg8ZdPAxcpVfiR Kf0ZcqdP7acgv0rz2XHHDE8gV+ombY75tWhH131R6M7anZNYT+K9i9tBWKv01B9yMT/S v7r3cRg9+YLx5jojfMODgQRvIqgaaDr1k1oKM+OsK2Szp/14VkUbkZcoFpLcdg0N3w0c Zq5/JOQDVZ5+6RAxkNJc5V5ZFHIFZgic0mp4aTuI9VtBmf5cCFY6PSa6Dr9SYxUOo6ss 6qvA== 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=Ae+CwviggggCeAvUqpYS8IOVDq52MrCxQzlohwRbFb4=; b=hAkx3AjLbkFuxYIGqTHbjoAMQsEEIlmB4noIRpv7Qm8PzaFXkBfli/4HBtKvlU28vp nT/wrqH7JLCYXsol7YJWtbmHNtJmHrOo8vT6qJnK9KG+55A8FpfHsUmK4nrC/boRzKsM xFoOHtwTcGmWxWI1z9aIMgg92RSGcz/CIWwJRm9xj/ufCvgjnwYJ1gNIXNUcMrjbGuD5 VLI6cBKIaIXyzvK5YLzHHGat542479T3m88hIWwIJPjQJ3UEB1ou8YPWMd5qWUAKmc2l 2Ctqtavr7qiunt7TMTikEN69o8+qG90qfkTyyg0Rh7deRv7kcamHJp5fmCsJ2VqtoQZV dTUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=XQ4fsRRJ; 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 fd16-20020a056402389000b0043a6ca62799si12490622edb.307.2022.07.07.06.58.38; Thu, 07 Jul 2022 06:59:05 -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=XQ4fsRRJ; 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 S235765AbiGGNYH (ORCPT + 99 others); Thu, 7 Jul 2022 09:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235678AbiGGNX7 (ORCPT ); Thu, 7 Jul 2022 09:23:59 -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 ADC9D31936; Thu, 7 Jul 2022 06:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657200231; x=1688736231; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Ae+CwviggggCeAvUqpYS8IOVDq52MrCxQzlohwRbFb4=; b=XQ4fsRRJt9w/R3rcm5pCXuUOcsB4njnWH9twarqiaXPkhfuFV58FVugO AflAo6UjJ8m09mW8q05VzxHIQVRLkJsw670kPf9gCwWcwNspVupLKPPz7 q30vyS/jf6jllNYxPPxnzm2R2lOMQzytzTqWV3Ap3fsX4l8n7a1ujhbGk w=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 07 Jul 2022 06:23:51 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2022 06:23:51 -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, 7 Jul 2022 06:23:50 -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, 7 Jul 2022 06:23:46 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v14 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards Date: Thu, 7 Jul 2022 18:52:58 +0530 Message-ID: <1657200184-29565-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1657200184-29565-1-git-send-email-quic_srivasam@quicinc.com> References: <1657200184-29565-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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 1fbcb43..e15d78e 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