From patchwork Tue Jul 24 12:52:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4BC58184F for ; Tue, 24 Jul 2018 12:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A9E02874A for ; Tue, 24 Jul 2018 12:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F12B287AA; Tue, 24 Jul 2018 12:54:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBECF2874A for ; Tue, 24 Jul 2018 12:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rvwyl5/jferBHGFS+ebVUHRJPRjIfXUyZOeQUKRfI8Y=; b=BqeiAp1E1U1ECF56ns3yAhQZre i9PBkjEUxC4V9Qm2htyBTWuUGKkclQVz4yB1QJAgObUgjRQTguH2HQOXbN70zAc56FgxXV+q6XUkB LZwoOPu33uiHGG820H7sZV3AdY7JvBG1wsWZuxwx38OsyHu5s9dj3ki3ABbE06gRid8bh1puNBtKy i4hIVJF7YLaevfE+xON+GYmxfE85wFFK/PwdH3OKuFcvjeWArXz2GbhRBp0L/3ij9flqj4VsLugPh qxgcKLkN49vyE0ZWBNxrlkm24OMbYa6vKhX/NQvtf0AGFEockx5WSt1ORhgkQnEdg6eYZNsPEOR/M GYwejoNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwpW-0006Xl-08; Tue, 24 Jul 2018 12:54:18 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoN-0005Gy-Ot for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:12 +0000 Received: by mail-wr1-x441.google.com with SMTP id h10-v6so4032618wre.6 for ; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/rp3bMyXkG2xPIOiTfDd3jyMLzA2kAUSoPeSZfYVFoQ=; b=J6b0gqXLFsEAfW0RbYAfK5M02Wbda8Y68anfcBwnxIqIVXBZY21hE+cFPk83vHvpjG hPlKAoGRfzh5SDj5VISXgFIpJrzl50zre4z/HBATZ+t9Ya7Gj+0UIK93nZ9Dnv+3QxjA t8bA1fwvRnhmrJ5xiwrRJT6KoxBGXwq7frXJvQU38l5dwwOhRlAQvbXL1FY//Plj0tYi OAJAKOBCs9pqOvVLiv3xRuf22tXx3/cFFBLvC3DXSmhXvYmqFdJMoMS03mQyKAornWLZ aKW1lODaJcX2ixPONyaZNJs8i31JpJ064+qfeCwrnHMP2RZzuQIQP0W1gCpEuo5WkR0X YBpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/rp3bMyXkG2xPIOiTfDd3jyMLzA2kAUSoPeSZfYVFoQ=; b=BGvLCQLWfndd4bgKKTwqNUnrPEYy8gBakc6bLei5TiNpBRwzuYpZczynDYhFoKn6AR qa9rAplSM8ll93aadCIfNbtJ4AzqWFQ0DPmDjXdeayiy9+IMF5QtHHIvsINGsnQbKifw aQmkqRFCKqFRhYzqOE7U8lnzS5IahY/b7FeEKcKdcf7h+LF4B8v0ErY4owpCHWbl3jmO lq0HR+bfpolAmTeLDdmxOMV2El3eAmqX1N247QTnbT848p9YP/GJik59ccju7mG3ocjE WvaWM10ky0s+hOvCCAkkb9LL20VgYQdjuPT2bRSr8SsSR12dXuXeZgFpAPyGd3PJqf3n vCPg== X-Gm-Message-State: AOUpUlFzn0vxTf6k+2X6p4tP7Ofvngy3uy+0Fm/TlUmsn8PI5LKVydga Vk6lksEoNhX7gR0R95p87ofHeQ== X-Google-Smtp-Source: AAOMgpeQshHTlE39lMexHymelT6UiKYDbGp+buT7shfTjI2wCxC5INFvXHDabk4C0HW2pxseufcMMQ== X-Received: by 2002:adf:f342:: with SMTP id e2-v6mr11390735wrp.161.1532436779566; Tue, 24 Jul 2018 05:52:59 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:59 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 08/14] arm64: dts: meson-axg: add tdmout formatters Date: Tue, 24 Jul 2018 14:52:32 +0200 Message-Id: <20180724125238.14567-9-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055308_235889_8DB31326 X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the tdm devices responsible for serializing audio samples for i2s/tdm interfaces Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 55e4ac734023..67b6d4ec980e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -330,6 +330,48 @@ clock-names = "pclk", "mclk"; status = "disabled"; }; + + tdmout_a: audio-controller@500 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x500 0x0 0x40>; + sound-name-prefix = "TDMOUT_A"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_b: audio-controller@540 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x540 0x0 0x40>; + sound-name-prefix = "TDMOUT_B"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_c: audio-controller@580 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x580 0x0 0x40>; + sound-name-prefix = "TDMOUT_C"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; }; cbus: bus@ffd00000 {