From patchwork Sun Aug 6 08:51:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13342755 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 6C65BC001DE for ; Sun, 6 Aug 2023 08:51:47 +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:MIME-Version:Message-Id:Date:Subject:Cc :To: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=DThCKl7VIqjqMwxiYhgtNS7nALJsm5S6QxEDX9XsR4A=; b=r5IfHDQlc8C55X e4oM59KNTxIcNLldfq0mWJ5cwLMBXE5rAvI+HZ+oVoi+wP+zppcBu7uzst9WIqyaFFexNB5J3R+JR I+03JQydopyAfpPmaVDZqKLEb3Z31Nrls4LF5oPpdeeesK61kOErHqpgGFDO0WdZ80OR7KSk4vFey p8kTMvyAK7bW7RAJ/Ky08HkPL3WPiZdqPm736cNlMGU2ptMRhu5eDo1lJ0c7akYyofBu4bNRi4a06 S/DnvLVO5AIvv5XcHHdHUJLora9n+uEwAuPTL5wVDbcbTD1g61CMSD8rLIvhAc8epyLRAMzT9S+h4 0ZiyfGA9X9N7nJuGy6FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qSZTv-00F74t-0k; Sun, 06 Aug 2023 08:51:23 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qSZTr-00F72H-2t for linux-arm-kernel@lists.infradead.org; Sun, 06 Aug 2023 08:51:21 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C870D1F8DB; Sun, 6 Aug 2023 10:51:17 +0200 (CEST) From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] arm64: dts: ti: Enable Audio on Verdin AM62 Date: Sun, 6 Aug 2023 10:51:09 +0200 Message-Id: <20230806085113.15373-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230806_015120_102145_F0AA8311 X-CRM114-Status: UNSURE ( 6.71 ) X-CRM114-Notice: Please train this message. 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 From: Francesco Dolcini Add AM62x AUDIO_REFCLKx to AM62x SoC dtsi, and after doing it, enable audio support for Toradex Verdin AM62. DT bindings updates, related to the audio codec used here, are already merged in next [2][3]. For correct functionality this fix [1] is also required. [1] https://lore.kernel.org/all/20230728222639.110409-1-francesco@dolcini.it/ [2] https://lore.kernel.org/all/20230719124752.248898-1-francesco@dolcini.it/ [3] https://lore.kernel.org/all/20230719121918.247397-1-francesco@dolcini.it/ v2: - s/clock/clock-controller/ on audio refclk nodes name. Francesco Dolcini (3): arm64: dts: ti: verdin-am62: Set I2S_1 MCLK rate arm64: dts: ti: verdin-am62: dev: add sound card arm64: dts: ti: verdin-am62: dahlia: add sound card Jai Luthra (1): arm64: dts: ti: k3-am62x: Enable AUDIO_REFCLKx arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 18 +++++++ .../boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 53 +++++++++++++++++++ .../arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi | 45 ++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 5 ++ arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 +++++++ 5 files changed, 139 insertions(+) Reviewed-by: Jai Luthra