From patchwork Tue Jul 24 12:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542127 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 0703414BC for ; Tue, 24 Jul 2018 12:56:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA2EF2880C for ; Tue, 24 Jul 2018 12:56:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE97F287FF; Tue, 24 Jul 2018 12:56:35 +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=ham 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 90BE5287C1 for ; Tue, 24 Jul 2018 12:56:35 +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=WVEOvHyvGonLn2KO+R7y6LQK67sPRQU/3a8hXTfWfr4=; b=fZbtVikWnSu2tv97zJc3UlKHwQ 0QcEprKq8OhXDka6p4mnKdW6Fr71rM6wf4iufFISMIQBX8JN0i7/S/AlZBtQbIqmkvocOI8EM/tp4 y/xFk25jSD2WvZYB5ENzgQjDMdy+yDNPQb+QQsyrBxUoF+tIZsUsAUvPtdMSkeKqtiEH6cyoeYdG7 MAXDJ0Gulx0sOgVcgnJpUqK2piV8fGYdUxY2UoC9NDjINAAXvAoMD9HNbp6rfhmFCwvxEsCSYLBVz OyogNXKb2RPIYSU/jixUAnVLQqY8bKv/+0/NhTEVgyRi2lIM1jrL/Y/rjIhv502cO6q4she7Ji6tx SwbgIVdw==; 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 1fhwri-0001Av-C9; Tue, 24 Jul 2018 12:56:34 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoa-0005c8-Fh for linux-arm-kernel@bombadil.infradead.org; Tue, 24 Jul 2018 12:53:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=OKF9Z0rXQjbmynYB8sTgYgRmz dtdHMFqSo6LFISAIbA+09qLdnXIOHnv5bmpC2YGZlnaUU78hNXfZvtez70bR68IzRQHku2VNM/guX 6RmimpPO/RCRVawJX61Jt9zl5aMktjr6MTn3kVw0M5ju5qsG9y2Uuyc6veITVE+wY8ypr9XpABXtA MW9r3Ta+608VEOLSVdMEnnJTE3SRWJ8037dnQYsPPng8ZSMqhIdL84uIUlN5BFZIUcMq0EsmypLTt 1e5nWAwKP0Mkm7xZv0Tcb2QH3QiZW7Dn9SQcJX5q+Ac8CUR5DGewTz6eikyJ6oTjL8UtMeN0wLMjp xqvjPVhGA==; Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoW-0000Nc-Vh for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:18 +0000 Received: by mail-wm0-x244.google.com with SMTP id y9-v6so1606415wma.5 for ; Tue, 24 Jul 2018 05:53:02 -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=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=T0hN67YrID30OvY+59J5y35YreNSAObo72snuhvDGuhR7J47lURHp75SNMOOgzwwfF 2tPcqvsl8X8Jm8629y/qm5qB1z7IEFwGEL+LjNE6YQQiL2TX+Pf0RqW1HrjjHZSvlJYs DIxvLoRvNVd3N2Dcd9k/xaIbQFJJLTkQiK4HkYkX/lyCRh1inRY3EEDkYcoNflcFHVaq /uXxX1drGq0JGqgGLayB7CA3MvHzDmy1Rw36GAfV88mH5SkUW3nMGBTH10ZsZXtPJBj+ juj55Qf2zwXNSSb9VhKK4xhsr265d/Bo4DLF5TzXIp50KSvEly0RYi/2ti3s7fsJkxRe ciCg== 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=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=HoZ+RABT11sSyhePH3+Nt5pBRaQgZHHFWa7o2pmbmxIbj+LwBAPeKpOra+mtQosUoP 6g6mZ9VA1ZmYgPtDEvqYFNhMEHHU+AWSAc2rKPp8QOZBqau0Ai4U+GIKcDJ5nMxHcd32 EVLta/EsQc5ke3dEzTh7s9rDmVF4D9jpaO9ifbbpRq7P1YUYumy+b0Blgg51AIDJEBkm Cwn4gjUkPKd732BErcSq9unV2D6p9zlypa0ylVCrWjDEBSUFb09KcFrKnF3qqZ4Euoiq mNpmWWj34hJKPX6l7dI0M1yMVh+ihkq6fo0TSzKYsandOtU7sQfEkA87USKGcBRz3RRl d6VQ== X-Gm-Message-State: AOUpUlF2k9JEYDwfseNQ04BLxy3lp/Vu1hKgB5mlmezvhXljBfUAu9CU R91kBBeb6LoEbdKwCZwYG/oJyw== X-Google-Smtp-Source: AAOMgpd9ijlNfiLQjetYw8LL4+9azLd28DM7+fD9ZMldoTBYPRRW3VxRSlvRO/vQ9JNvjjhFuUREjA== X-Received: by 2002:a1c:7908:: with SMTP id l8-v6mr1835716wme.80.1532436780736; Tue, 24 Jul 2018 05:53:00 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:00 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 09/14] arm64: dts: meson-axg: add tdm interfaces Date: Tue, 24 Jul 2018 14:52:33 +0200 Message-Id: <20180724125238.14567-10-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_085317_036166_BFE241F9 X-CRM114-Status: GOOD ( 12.31 ) 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 devices reponsible for managing the i2s/tdm clocks and pads Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 67b6d4ec980e..32f6dcacc2bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -93,6 +93,39 @@ method = "smc"; }; + tdmif_a: audio-controller@0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_A"; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_b: audio-controller@1 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_B"; + clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, + <&clkc_audio AUD_CLKID_MST_B_SCLK>, + <&clkc_audio AUD_CLKID_MST_B_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_c: audio-controller@2 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_C"; + clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, + <&clkc_audio AUD_CLKID_MST_C_SCLK>, + <&clkc_audio AUD_CLKID_MST_C_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + timer { compatible = "arm,armv8-timer"; interrupts =