From mboxrd@z Thu Jan 1 00:00:00 1970 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 11CB8C47DD9 for ; Mon, 22 Jan 2024 17:06:44 +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:References:In-Reply-To: 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: List-Owner; bh=yi99nNbUM6BVfYiDdN2Qj2jP53DTgw/MJgOAlNWMf6c=; b=NC/sq5PLw4+otq KfZER9G+CfQc8U+z6i022l6j+BlWtTMYF1Tnd6d4Fdfj64T29JlrztMC9cvcTtR9X1JIiGvLqgXHt ci2uQqs1wcOL1/UeWWPmpXS65nRosLYcxGtOyVvjmASXH8FbY+usvZksiMpDaUmohV/b5iby9ewgO q6NrQAfSMO7/ofEwJxmExBb/y11QA9rdTipyvv5Iv28j8+kvmocIzWSNi6iINsEX5jLkfpq7rbY88 FVMAVfoR1PrVo2iXKrmlJ/X8hJiy8HqEuh5Xc8iQ7BgRHnlb5a5vA5arLOrbmtVQpfpQ72aPyxFzk TcVKw/+AMRpV5jr2+oKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRxkT-00D7sD-1t; Mon, 22 Jan 2024 17:06:13 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRxkM-00D7o1-2I for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 17:06:08 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 2D29961653; Mon, 22 Jan 2024 17:05:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C65EEC43141; Mon, 22 Jan 2024 17:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705943136; bh=plCrDOFxd9CSFR2G/TaoQ8OuyVplm0yUrVWBFc9beG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eTjpP12aEqbpC9EDTaf7939XgV6o2gVZwL8479UFJS++dJR+QRuJOuFVsDUDiMrXm kKg9rpEb/hkE2EGvRmNITTp21cA0j773Ordlv+twyUbNtPw02tlEMlT+kLqEotK3Ju vWdaDowAOlZ8hUJWnEhVRKJZRFbp8QPFubGuiS6Ebbc36NR7uEfTTaEZrgaoIJH5vf dPIbPww8ez+hibciUxiXaklYhdZnZhDM/39NmSSPNupPqxV4Gzfclp7fYOUECtHFcn qFN7sVEmR6yjcH3vTvrWsL1e9nwto7Elo7K16BywguX097llP5TRrLyeou8fjzFNX9 PT4QACDWJPSOQ== Received: by wens.tw (Postfix, from userid 1000) id 2E367600FD; Tue, 23 Jan 2024 01:05:30 +0800 (CST) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-sound@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] arm64: dts: allwinner: h616: Add SPDIF device node Date: Tue, 23 Jan 2024 01:05:18 +0800 Message-Id: <20240122170518.3090814-8-wens@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240122170518.3090814-1-wens@kernel.org> References: <20240122170518.3090814-1-wens@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_090606_804052_25D1A231 X-CRM114-Status: GOOD ( 11.92 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Chen-Yu Tsai The H616 SoC has an SPDIF transmitter hardware block, which has the same layout as the one in the H6, minus the receiver side. Add a device node for it, and a default pinmux. Signed-off-by: Chen-Yu Tsai --- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index a0268439f3be..fd4c080b8e62 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -253,6 +253,11 @@ spi1_cs0_pin: spi1-cs0-pin { function = "spi1"; }; + spdif_tx_pin: spdif-tx-pin { + pins = "PH4"; + function = "spdif"; + }; + uart0_ph_pins: uart0-ph-pins { pins = "PH0", "PH1"; function = "uart0"; @@ -550,6 +555,21 @@ mdio0: mdio { }; }; + spdif: spdif@5093000 { + compatible = "allwinner,sun50i-h616-spdif"; + reg = <0x05093000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; + clock-names = "apb", "spdif"; + resets = <&ccu RST_BUS_SPDIF>; + dmas = <&dma 2>; + dma-names = "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx_pin>; + #sound-dai-cells = <0>; + status = "disabled"; + }; + usbotg: usb@5100000 { compatible = "allwinner,sun50i-h616-musb", "allwinner,sun8i-h3-musb"; -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel