From patchwork Wed Mar 15 09:03:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 6666 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2219281wrd; Wed, 15 Mar 2023 02:12:58 -0700 (PDT) X-Google-Smtp-Source: AK7set9fSbo+sae1sVBf5SWDlqqfQNsvJvoUMezde6p7JW508D2quJDYguxdJRPxGYu5POsgCoUZ X-Received: by 2002:a05:6a20:1607:b0:cd:ed5c:4cd with SMTP id l7-20020a056a20160700b000cded5c04cdmr47393108pzj.6.1678871578631; Wed, 15 Mar 2023 02:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678871578; cv=none; d=google.com; s=arc-20160816; b=g3/XVCOy87PsMqM1b6yHkpsyvz9Sqhas+hMJa1rvRJqMtYeS7XBKfk1eLemQpiy/Za TtxYQqPbwTP/Ln3WHiz6mzANRprErk/1Y+/+Xfaoq8gViyJnOatcwGtTawAukFdM9wbj 68+/cCst7mwCMHxq6HiMih/D1ukumyb6sKp9Rn77UI4DWKGDjLh5KpMPpc+YcDj0y4G8 ZmRdyqBdAQQr5Ew1xN24f81cGHLCe5nG/JL/KgFoez6Y0gXhNCY/CzXCFnGoiN3UavSu RxNrhPds4g0simVsee1O/O+6I3UQ/4i7RXZBbEJl8mViI6xpH6g/e1KPXJf8GMfGu6uy H2CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=l7ufB9qJB5Y08IAsw5s05aIR6nGv7Q3wwepWVvFuERo=; b=YX5xflQY6sk7DvcK/pl9tWyknSazkQt4Td368CtAd6ehqryoWisiaFWYjni4fPCTlR 2fVhl49e5GNiD7pyYYgeGhXQRPkTlZ8h4DNwwGdLqfuBALqho/oavemCteHIqg7iy97+ p3GMGrpc2pYf1iAWVtrVbC/UfSGHbi1MHLBSBt1+DODNlc17Wbte9XQr+nUm89uiee1u 1XiejR4IHtgVz9Abl7VQBRAdbcbv0N0RYKxJanCCpDdWJpqW+Lboo+t0BaZIb3oWV9tT HjarkAG1CAbZkLrV8KVc+SoIyYr+o6PcUDlEUxLMz98i/do1lQ+tkVj9X8M1rENLkdQL wdNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pNh+Xv0V; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x189-20020a6386c6000000b0050bde92f3a3si904194pgd.283.2023.03.15.02.12.45; Wed, 15 Mar 2023 02:12:58 -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=@ti.com header.s=ti-com-17Q1 header.b=pNh+Xv0V; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231888AbjCOJEa (ORCPT + 99 others); Wed, 15 Mar 2023 05:04:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231303AbjCOJET (ORCPT ); Wed, 15 Mar 2023 05:04:19 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F240B72B3A; Wed, 15 Mar 2023 02:03:54 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32F93dqb070995; Wed, 15 Mar 2023 04:03:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678871019; bh=l7ufB9qJB5Y08IAsw5s05aIR6nGv7Q3wwepWVvFuERo=; h=From:To:CC:Subject:Date; b=pNh+Xv0Vj2f/rWQV222ZYfq36Vnhyq6Q71cikGcpFtk33hzZQ21aMV2bnDY5psi9l KVFZJQ9PRgUpCpuQgS6kVD98drpOgnCRt8PpIvPJdJjJuZb+AzDjSaUtHkWjc+Smzh ncGBIsbEyQS1cUK0/90Yaz2ZsJeVYFuccgB/8kbQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32F93d5I071115 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Mar 2023 04:03:39 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 15 Mar 2023 04:03:39 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 15 Mar 2023 04:03:38 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32F93ck5104672; Wed, 15 Mar 2023 04:03:38 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Brown CC: , , , Andrew Davis , Jayesh Choudhary , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra Subject: [PATCH v6 0/6] arm64: ti: Enable audio on AM62 and AM62A Date: Wed, 15 Mar 2023 14:33:29 +0530 Message-ID: <20230313-mcasp_upstream-v6-0-77685d7cbeb8@ti.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1669; i=j-luthra@ti.com; h=from:subject:message-id; bh=6P8kCzy7Tg0KQ3+sZGfnxi2nRc+PsA2duK1jLQaovOY=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkEYdVrVat9akqCFUGnFdopAUHyRED1n2jc2ANj 5UYe7I33kSJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZBGHVQAKCRBD3pH5JJpx RbXiD/9dx50r2Kpc5iB8PNmg8IbQchLGAc61Q4Me9Kols775yc30VFZFlKSad8E7wjIzQIuM+kz GVkueYbc4+YphFtAhgKaq86Oh0jlBu5UUCcrdfz5AtZ2OM/fDXkdRen1ki4SX50j/6hJGIhoutL smruv/j+B37hD2AP6ZYNabSf1XkF2wLKMAuuvJ+t5imi20eI+tBFfrHkfaEPYVNkq9iJGki7o70 J9UKNbW8wO2ui6+T+mJvcmk3dtl788nhKHjyc6oK732pR82WQRzjs3vTwaHBjzscRg48en68V3A rzRT3KH/9liSz/7uIsncOyvoBdWq7nS6u3qw6Ho0kKwRn/f4aSLGw97xnGTjEASV0COdfjT0W/j moH/6+zoJXnJuvaWJqfCVF/hohu0GrAGeYjV+/fteJkO8J9I9VIIIDryZ5AuAeThMDLeHA9qWRM kz1QGGv6dAVXiONVU9fEZMu64y1be3fryYXKL6CO1Ur1J2Zux5uMVePuEHm5P8kOiXpTk3YsuB7 8amcsQZnBE3jhsA+HKWHWTEaOE0SK/YaHl/eRkTmZJUNW6OP5IZWqhLnx8/bd+yonlzzqjG2sZu yQ0G12IdaLaaiveVV7BdO2K4y4UdwMbuTwZuJJsXTjF964PvW+Ga177DPVul5vL+dBZoE4KYa+R qqK+U3x0zwKKqYg== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760424444292225255?= X-GMAIL-MSGID: =?utf-8?q?1760424444292225255?= This patch series adds support for audio via headphone jack on SK-AM62 and SK-AM62A boards. The jack is wired to TLV320AIC3106 (codec), which is connected to McASP1 (serializer) on the SoC. The TRRS 3.5mm jack can be used for simultaneous playback and recording. Signed-off-by: Jai Luthra --- Changes in v6: - Use generic node names (audio-controller@) for McASP - Fix labels, indentation and spacing issues - For SK-AM62A: - Remove redundant status property from codec - Add a note in commit message about missing DVDD regulator - Supply OCMV level manually to the codec Link to v5: https://lore.kernel.org/r/20230313-mcasp_upstream-v5-0-d6844707aa8a@ti.com --- Jai Luthra (5): arm64: defconfig: Enable audio drivers for TI K3 SoCs arm64: dts: ti: k3-am625-sk: Enable audio on AM62 SK arm64: dts: ti: k3-am62a-main: Add nodes for McASP arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A Jayesh Choudhary (1): arm64: dts: ti: k3-am62-main: Add McASP nodes arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 60 ++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am625-sk.dts | 88 +++++++++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 60 ++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 92 ++++++++++++++++++++++++++++++- arch/arm64/configs/defconfig | 2 + 5 files changed, 300 insertions(+), 2 deletions(-) --- base-commit: 24469a0e5052ba01a35a15f104717a82b7a4798b change-id: 20230313-mcasp_upstream-0e137013059b Best regards,