From patchwork Mon Jul 31 12:44:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13334560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15AD9C001E0 for ; Mon, 31 Jul 2023 12:45:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:MIME-Version:Message-ID:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JGCXPbbNiES9bR2yUMSu1bj9CVulZa+4W0bSzAbPgAU=; b=vQVHPg+7ZJOdB+ LYWhaaFcxn9ySXxU8PVQah4PDxeOroyRlI9kYxAgFsknzt5P9YMtrxN1IMeDw6kxMRNIPnOe8C+9l x92Tvzxcs6+LNRTGqd+NJ+mgEjl5fQcKcvy4w6sLDxqEkkrw+y3Nw4HhMNkVt6X2ZJGjjk2bYevDl FPKzXwZpo6DaZDkylgvSbfWkpLWYoo1ufenqcCQDmgXwiAS9yNAkhfo2k/p+UwzUU7l5TYbPyWF4T Hyn2oQWEakugdAh5IS5RYvZYEt2hpk5KEeNDhVX/+5jGnFeq7fZFHZi8w4YnT0YnPw8xB1jNhIok1 ekH8Btbp6VjOXb428Nxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQSH8-00FbgZ-14; Mon, 31 Jul 2023 12:45:26 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQSH5-00Fbem-2H for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 12:45:25 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjDYo052721; Mon, 31 Jul 2023 07:45:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690807513; bh=Tq9oN5If3f4ihk1CMDcdsYNfktnGDh8v5plLuwzELsw=; h=From:Subject:Date:To:CC; b=uh66Wu9ZBL7vXWDBgY+3bR98obAISu52RakBq7kTgUzUkLsZQpmo7sGXplcDd3U1Y h1TuMH9aIs91+sS5u2R4+m6hZCZU2QHO0y28Q5shj64qgGmePHYQEqNaNdgGfdT0TW lhYnsWT1FNQ0RFn2UQRyWs69Dy3JXW8vTDMW+gFM= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36VCjCUI031450 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 31 Jul 2023 07:45:13 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 31 Jul 2023 07:45:12 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 31 Jul 2023 07:45:12 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjBWF053720; Mon, 31 Jul 2023 07:45:12 -0500 From: Jai Luthra Subject: [PATCH 0/5] arm64: ti: Enable audio on AM62A Date: Mon, 31 Jul 2023 18:14:37 +0530 Message-ID: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALWsx2QC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2MDc2ND3dzkxOKC+MRcM6NE3cQ0QzMzAzMjkzRLcyWgjoKi1LTMCrBp0bG 1tQBPXvzAXQAAAA== To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , Jai Luthra , Jayesh Choudhary , Devarsh Thakkar X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1586; i=j-luthra@ti.com; h=from:subject:message-id; bh=Jm3wva5xU4El5hjjfTCjoTAIbXbh1As2UzqxgDAcTGQ=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkx6zVMytyEghPNsnRYv/b0kbilsM8PP5f6JKPF mJp/MvPq/iJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZMes1QAKCRBD3pH5JJpx RTRLD/9ZKT/g+L/rtI0y49s/h/7+rnHa2ooW1EBtIhyU3eu5+Dmn7vuWfNyJ7O8/HhRUk9gWk9A odO6VeqnNAyb1EYzjxxjPSIzemiY1S9VP8gLnSOh9GyinlmKoSIk2xcaQVoQpBPpILk+YhRoIHi EwoOxTjiUjbewNefiOkR8r6/4FjnzV/x3Zp4bNpsFVG7OZwEmcfNRiHkXe0+cgdhC1f+gc8jz16 FzUC87PSSHoltDz7KCJEyS0+W/NrzW+fJ+OQktr5rTOlu9yxuGAjIIvIMlm1qiZk7CmB0brdptY +UCCv9zky9i8LzGkKw/GeLzkVzbdn/gCa7DA+S/WwOsdHcOpWfaEC9XUe7w/oP0p8WBVY2T0Gus yiC5b2UAGV2n6i1z/cNDHXwHx2XprGm2GPXpMGFXH6Rdu5O0bVNBT7171WexoNRYv+mf7lh0AGF nQcpwfyRcBtPqDPJg3yYYCk8joNd57Kp+R0F4dUkH/AhzR0eAVBGOvMZhlwy9hRXLJi30p7pvs7 TncyLT/SZmHn8UG6EbTWmOyUZh0LRecLcVPHlhnFd5ib3jJ7/LrNAyhuQJMlypV/FRcjq0G5wHR 4X/q60n1iyhT2znSmKUwpMXOu+9UBDN0qaX4IbXtixPxnQ1Q7uupDNFUitBuh42haIWkkhnWOWf RMJEkm25n0BCaWQ== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_054523_842067_70562384 X-CRM114-Status: GOOD ( 13.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for audio via headphone jack on SK-AM62A-LP. 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. The series depends on PMIC support: https://lore.kernel.org/all/20230727130908.10656-1-eblanc@baylibre.com/ Some of the patches have been posted (and reviewed) before as part of a combined audio series (v9) for AM62 & AM62A: https://lore.kernel.org/all/20230313-mcasp_upstream-v9-0-6d937efe4ec4@ti.com/ Changes since v9 of last series: - Use DVDD (1.8V) supply from TPS6594 PMIC - Drop OCMV configuration as DVDD is present now - Lower i2c-1 rate to 100Khz after testing on multiple boards - Enable PMIC drivers (as modules) in defconfig Signed-off-by: Jai Luthra --- Jai Luthra (5): 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: Drop i2c-1 to 100Khz arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 60 ++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 94 ++++++++++++++++++++++++++++++- arch/arm64/configs/defconfig | 1 + 3 files changed, 152 insertions(+), 3 deletions(-) --- base-commit: 46540e8a21d310a458d28fcb77f3e4276e3c8a9c change-id: 20230731-mcasp_am62a-af1660624f97 Best regards,