From patchwork Sun Sep 3 15:08:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Code Kipper X-Patchwork-Id: 9936419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8EBD06037D for ; Sun, 3 Sep 2017 15:08:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F84E28655 for ; Sun, 3 Sep 2017 15:08:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74423286A0; Sun, 3 Sep 2017 15:08:45 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 D9D5528655 for ; Sun, 3 Sep 2017 15:08:44 +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: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:In-Reply-To: References:List-Owner; bh=A+8B4bKvQXOd5agKO2/LJSis9grPXL6xqIGT14pvEWE=; b=O5f gmESchgZVQan5IE8fLRLlMsVrGJv/w71x6tSyVIH+kTvxBaZFPiJa3rgTVQAjuzxyFOxPZFpQXNH7 0VtJpL9cwOFdHTX+H9QKlfzm0NnOL64wDldYXmYnvgMdPx5DOY5dkFRnq+xdCVXUWpFpVdOqrGOe+ R+Q5o2UteVzqYEgy7KTU/eU8UM+r10EeafhAczE1wIxABVrvQB/JgkhxxMg/QjzlisP37QtwIY3R7 ttGl8VCP19/rYVB21O1dNr9BzLrtbDLXNNB/Zk+2PB4EKlbWSIz0CdEhjPE6M1I10wo8bTVoRjwS3 Os2jPutiXSNcTo9zKVJ+pwVQrMah6dQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1doWVm-0002Ji-7F; Sun, 03 Sep 2017 15:08:34 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1doWVi-0002I2-IT for linux-arm-kernel@lists.infradead.org; Sun, 03 Sep 2017 15:08:32 +0000 Received: by mail-lf0-x243.google.com with SMTP id h132so2347910lfh.2 for ; Sun, 03 Sep 2017 08:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=WnRZ6nPOL/Trn5FLTpL/94P+dcrX0f4LBlWr9JzCexw=; b=A1l9Roq8+aJIt+csvCk3NrpYdUW83dGFV8ITI0gwoMW0VbX44VY8YG2MZoKdDL3Qky lkTG4tL/0UCW3KxFTkffYzgUE7i2RAj/kNxY5/kwMw6WbhTV9qBL2chwSTZtqJTnlyX4 CQtvtu/yxNgrcMbxZLgvzb3QRTWKAxMbeezkCg7rea9F0rM0Ebyodq2ajX90D5us4iVA /LQnwL2zJRW4pDiHXdeGb8Y29w0aX+0eT6eCP5mahAxlg2An27peSYb8D+B6YS++Y1c5 k7ij4TEdV1klXZyZhFLuO3VZxfPQ07pUhqSYucvCy3tiyYgJRsnP+otPHru0TULtI9pF on1Q== 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; bh=WnRZ6nPOL/Trn5FLTpL/94P+dcrX0f4LBlWr9JzCexw=; b=S3QLU2e+TibqXjo8tGOgyrdzcUEl1ELb37UIQDDcDpE0UCyZ0bCe2Rihs5F13y9fnp esKXdOHcqghe4RAvxvPU6xMAtSh+WzbhktBbGPfYdDaay065h5Y/IFHoPrFeb8qNTgeK Fgupx0shj7BvCN5dA9fUb8/pkvJe9l/TbqrzWmt/6e7QtzYD6bSuj3yEYuwkzuwJ1T73 N0k8qlEfQ5Za4rpp46N5YX3TNbZtM6wGNsktD73qZQKwfIjstMl8DjT/WsZ71YaqnNtK xqLiDXP7e5d598sMQuPaMYcSJ2febesuaB4z7Tv1XHpzhdo4Xhnoa2QU0XUhddtpNeFk NIXw== X-Gm-Message-State: AHPjjUhN4V+/h+xBrrG3Sw4pYnSPnCKwB+Me7I3sXiwbia9XKFCpf7B6 spvG4amvbUmdnw== X-Google-Smtp-Source: ADKCNb4ms2FWK0Thr8Plf55O3wXdZNSuK7blM4YNvkjzLl7T8aqFfJEOam0l77/RFXjRxjsjgERfxA== X-Received: by 10.25.90.14 with SMTP id o14mr2469664lfb.214.1504451287757; Sun, 03 Sep 2017 08:08:07 -0700 (PDT) Received: from localhost.localdomain (c80-217-9-219.bredband.comhem.se. [80.217.9.219]) by smtp.gmail.com with ESMTPSA id t25sm782626ljd.58.2017.09.03.08.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Sep 2017 08:08:07 -0700 (PDT) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com Subject: [linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5 :Add DAI nodes Date: Sun, 3 Sep 2017 17:08:06 +0200 Message-Id: <20170903150806.3451-1-codekipper@gmail.com> X-Mailer: git-send-email 2.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170903_080831_101810_068E7BE5 X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. 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-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Marcus Cooper 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 From: Marcus Cooper Add the new DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec whereas I2S2 is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 11240a8313c2..cf6fcc857324 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -450,6 +450,45 @@ status = "disabled"; }; + i2s0: i2s@01c22000 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-h3-i2s"; + reg = <0x01c22000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; + clock-names = "apb", "mod"; + dmas = <&dma 3>, <&dma 3>; + resets = <&ccu RST_BUS_I2S0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + i2s1: i2s@01c22400 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-h3-i2s"; + reg = <0x01c22400 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; + clock-names = "apb", "mod"; + dmas = <&dma 4>, <&dma 4>; + resets = <&ccu RST_BUS_I2S1>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + i2s2: i2s@01c22800 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-h3-i2s"; + reg = <0x01c22800 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>; + clock-names = "apb", "mod"; + dmas = <&dma 5>, <&dma 5>; + resets = <&ccu RST_BUS_I2S2>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + codec: codec@01c22c00 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-h3-codec";