Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp441787iog; Mon, 13 Jun 2022 06:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTPJiToAObBaFy+wvMq3dF8Hij0BUSLn/q5wMHefPCLdBaPfmlW1Ncb1KGQbzNwQadD6ro X-Received: by 2002:a17:907:1c91:b0:711:c834:754c with SMTP id nb17-20020a1709071c9100b00711c834754cmr38022262ejc.85.1655125410062; Mon, 13 Jun 2022 06:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125410; cv=none; d=google.com; s=arc-20160816; b=01jqgIxgrL5+l/0uPD/214DSQFaQ1/XjFDRqW9qp4fzcqKyAUDq+8Bp2Bti6RSnxPu g9dbR+KuJsRSb3z1qhBBIIlE1fCknawROhxp/JzA4noi9RgdvhdN+mKPlNKmSnD/79My UzHoINfwWoSeDQ08zvcihTBiyBbk1/9sx5UYDEmtIjpED7EQa7tO1cJEYuBCnUnMcqqt bHgFAj9u6frF0601DuCy/RJjBKy9VJ+n1ne4dC+zpJgLwv9518ahjYMcYLmM6h42Wadx NjlN7kghKT6OFBwVBe9ebzeBM+YM6kLA3txH0e4uMAmz9tefK53W8IIZu41ohKLdO/V2 itDg== 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=s541zbAmkd6sMcZTkzmccK/fgqbV3hVleDUHRsS2e9X+N5wIzyZA4irPoT1InmtiHE 5FC3ANoKb434a2OVYPL8ZPRO7GM0UePTgUrxnMuRlABWJyNEXehVeXIQ9Weij8Z2n4zO aE3D0J1QsF7X4YQABKwHwfMEWXYBHxKy4q3D4WZot1umMkWqmGSomer2nkRRafX0YVf+ w7rO1tDiOPoNg251BvVhbo8NxBl8HjD3jUT3V+FgFX+9p3Z4eHPyFsEPLtu7uV6fN4eC KB3U5HV8ruK3LngkKNyB1JI+/dIKfDdhArdDb7S+PsQDdD3yDy6D0E84G3ruCQ5L5n8t i6Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=JThyY1R7; 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 ds21-20020a170907725500b00718cbb74b81si2337542ejc.695.2022.06.13.06.03.01; Mon, 13 Jun 2022 06:03:30 -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=JThyY1R7; 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 S1346672AbiFMKkG (ORCPT + 99 others); Mon, 13 Jun 2022 06:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244021AbiFMKiP (ORCPT ); Mon, 13 Jun 2022 06:38:15 -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 1313B13E03; Mon, 13 Jun 2022 03:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1655115780; x=1686651780; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=82Rrll2/L7iJrO24KVB4CluXJhPAo9df1QYPpK1k4KA=; b=JThyY1R7AjZelokxU6zeVqvPsIJ6fGC9rrNJHPedVlDZ2EM1BcVk7a4R QSnzD9Y7XAPhYzjDRaxBwDjqXBHiCeyrQ8WOGxoZEdpbFGAMnj9jEziYF vJRf3JUcwhmDBSKjK7+O/UECZIPTkEevUZPZnhIN3hjIskjxoV7GLzGPi c=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 13 Jun 2022 03:22:59 -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; 13 Jun 2022 03:22:59 -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; Mon, 13 Jun 2022 03:22:58 -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; Mon, 13 Jun 2022 03:22:54 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v13 06/12] arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards Date: Mon, 13 Jun 2022 15:52:07 +0530 Message-ID: <1655115733-16309-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1655115733-16309-1-git-send-email-quic_srivasam@quicinc.com> References: <1655115733-16309-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 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