From patchwork Fri Oct 15 11:13:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Frattaroli X-Patchwork-Id: 12561087 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23663C433EF for ; Fri, 15 Oct 2021 11:28:38 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DA1C560F56 for ; Fri, 15 Oct 2021 11:28:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DA1C560F56 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=M01SOdcUxstiDSmWmhzLNdqnaoHs1xkdLXx3l50UdbU=; b=vs65piCT8fvSWk O8NlVHiiVkFx45zZlLwnzDGMpMmzqn5lMkHUD5knNjj7mdoERml4MDPKRIIi7mg8h0mcm+O2fX2Gm eOi79eX7e+6ROmNdIpl9Lkfj1UyQdOZyX8TpaT6D9QgAlhHCZdlRIGMMi2OfiszueNnXSJQrmRmfl TFR8YnUGEVjRA7yW2iHoNzcALe3qOcNiIT+YNgTbQmUfT2o81wECldJpyQ0h44cwsj4zjavZ22TIQ lQeT5oqJPP0zdtTRaAeKvxJCgUK7ISXRVEf4xpTY77lxa4Bnh1Im0h0pMgu5QXo+ycRF14+fPQ7sH oY+BNqv3SVGPus/Mnz5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbLMG-006iYy-Ks; Fri, 15 Oct 2021 11:26:41 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbL9d-006eoM-1r; Fri, 15 Oct 2021 11:13:38 +0000 Received: by mail-lf1-x130.google.com with SMTP id i24so39090608lfj.13; Fri, 15 Oct 2021 04:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=96jnA4ej/Uzri1MzuZ9UoSs3Fw1wfRJ3Z/GoE9dIJXE=; b=QorjoxGzfxWLxsFjAE+2QAcprbyddJkXxfvG+tUBRIWWMbQkCZJ0L72XWxTvcrYTR+ 7sxnnPb+nXNGhcwXEmZAb7aspra0lXbt0YdfFAzhKusySohB/3VM4Dw43S75sg2xpQ2a Y49OMqsGlX+nDiDF2bUX/s5K9qTuAErMhYOqbYA60liaY4sIIZmMM+vVujZt/y7/UHe7 3kooHCFoXNMi4VFkndM7Sh+XoMNLGU9vwEEdL/N1RgrwMkx/RK8TovMGueViiJoPM8A9 m+qgzpkWJa2rUopXCd9cROY2SopzmqiLQ+215B3TlxYbRbZWIoN7o7UNCXeue3l5TQqF WS7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=96jnA4ej/Uzri1MzuZ9UoSs3Fw1wfRJ3Z/GoE9dIJXE=; b=uouHmvX+mecaCGcfgJx/JhBhfpGqmvwcZ4K2hh/lJ/CC2zsnVac23jbx98Qn1hZ4U2 DaH0q2CTLwrkdAsCd3nBVku1XeaJtuabmCqc22CZpsbjCiz+Uj8IXn5KqFoMUzNQwSsQ 7+I5jyfyZe1h6sJK5KqdfI24XmnU85bvvJeodVoHntKUZgltRyvbfTXWh8gSMraY51AJ s/NKO4SCmfURJ0ttBc9brWCA41ZpL0qLXEB8MyujC9ZY0kf+EQXcdoS51Da7uBDtXDD8 sn+AujHLZ+s07zlcMJpg61hE1nYUwrJozCfdVdatK6MleorOzfcmBtbdT4NwMJX3nkbu MN7w== X-Gm-Message-State: AOAM5331enZ4rluAQCiX+6iHtrym8/Mr1GRUZrqgScw1NW6mZnegUW2k nilxMmfK6fqRwd1Fm+r4tr8= X-Google-Smtp-Source: ABdhPJx+ctQa7OfRWwCG5zVAX/y0wrmmRLdqUITithI8O9z8oH8ze1L6DTb8XMoQEHCzGx4BF9Y/rg== X-Received: by 2002:a05:651c:511:: with SMTP id o17mr12577381ljp.441.1634296414372; Fri, 15 Oct 2021 04:13:34 -0700 (PDT) Received: from localhost.localdomain (84-72-105-84.dclient.hispeed.ch. [84.72.105.84]) by smtp.gmail.com with ESMTPSA id s25sm534647ljd.63.2021.10.15.04.13.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 04:13:33 -0700 (PDT) From: Nicolas Frattaroli To: Rob Herring , Heiko Stuebner Cc: Peter Geis , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: rockchip: add spdif node to rk356x Date: Fri, 15 Oct 2021 13:13:01 +0200 Message-Id: <20211015111303.1365328-1-frattaroli.nicolas@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211015_041337_201378_5B6093DE X-CRM114-Status: GOOD ( 10.79 ) 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: Peter Geis This adds the spdif node to the rk356x device tree. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index b721a34ffa8c..f0e3fe445ace 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -608,6 +608,20 @@ sdhci: mmc@fe310000 { status = "disabled"; }; + spdif: spdif@fe460000 { + compatible = "rockchip,rk3568-spdif"; + reg = <0x0 0xfe460000 0x0 0x1000>; + interrupts = ; + dmas = <&dmac1 1>; + dma-names = "tx"; + clock-names = "mclk", "hclk"; + clocks = <&cru MCLK_SPDIF_8CH>, <&cru HCLK_SPDIF_8CH>; + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&spdifm0_tx>; + status = "disabled"; + }; + dmac0: dmac@fe530000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0xfe530000 0x0 0x4000>;