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 X-Spam-Level: X-Spam-Status: No, score=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24F48C4338F for ; Tue, 10 Aug 2021 07:51:36 +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 7491D60238 for ; Tue, 10 Aug 2021 07:51:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7491D60238 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dV5aAssLqq4PCkQkZRLRweXb1eiEBXwgKYHtTzCARFY=; b=lMVE9HVj73PB0O7wSkBnUpQYh6 rzX767jR5aLdcHizST80MFaVUw4mtUiGDIzDPixC9k/XD1/IvmRYqUOXJ/5w9tap5J2ognJt0hgiK bcHSh40CsCgb0wEgX//qhDnMVBXGZKYr0PkfsV+1vzGFSxRXT9D05eSkEmeUh15A4Yr9pSHlQqKSw U+b6QNjrPHTDSZLb/PSwr8OEro+FpgQsmRoMETVPKP0akffDJCrysyBeOB5p2nN8y2IyPTgqrjYHc U8NKJK+F5P4ezecfFwWt2K5lhDNGQUXO0MbQrEnOJh0LgtkYWFHdRLlSqkiqROTUIR4T9S0dQo1qt aLP4GRFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDMV8-002nsw-2E; Tue, 10 Aug 2021 07:48:42 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDMV3-002nr9-Ig for linux-arm-kernel@lists.infradead.org; Tue, 10 Aug 2021 07:48:39 +0000 Received: by mail-wm1-x32b.google.com with SMTP id q11-20020a7bce8b0000b02902e6880d0accso1281885wmj.0 for ; Tue, 10 Aug 2021 00:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=U3X7GU0Q/4kIdlftXZNDYWFqtztkfUdLJOvlg5BxTdA=; b=WXcmipQZFcMdc0p7vhOxoaa4gEFzolTVMjv2pQ+kTvqMZYsycltOJ+y1MCobdXy+30 JOKJCdsHeBpUq6AI8NnFMpDJMzq+zNUkuCf2R8WyaUbueTSztkcQZsPgRNecI/vIgnCF rfjeaEyiLefIYw9cizljRa6N4ljDIJSwZ8GbhhVghagc8YMGT97JFflyETNZmNrkEw4r OrqOJ1ElbGAPufPXjrkWroUwztRBxT9FfRP7S5f4q7TPFwq4Xz6lQnj8wq85YIDhQ6wo kyBzaFthEU6g5d9DEEWyTojQTfQimkw+7WbWxHgVI+LpHauhPbUKUtb9S2Vffjo6yUYQ Dn5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=U3X7GU0Q/4kIdlftXZNDYWFqtztkfUdLJOvlg5BxTdA=; b=fwtvTAszr3JOd80zNmnRcWMk9lXe7+ZjtB6DwS8ObZqTxbQZORnWe/KhsJtxqDQreI 4gYq32xb+dMzs3hOVKpsM+ab0lLU7/g/nppl+tm0OS2xk1DJxPno1Bu3WKZjC9HHxXhU khr9USvCneIND4pZlnfF41VCwFYve8y+g+h65Wv2skuqFgVq/IwP1uAE3oweWhP4FsfD uJz5wDGylCqlulQMO4zRCXJ5TZ8zn4qB0YNvkXQbUbyHUEWcW+rX1En+bEfOP+RXup3X skYBmLmmFmNtTcCIIB4eQJEgFxOofq7OO04p0+wn3QDMM0buWMhGVq0uQIi9O/YgQpBI ccCg== X-Gm-Message-State: AOAM531jjhMJYWGzp+CxFvcJInEUxPBqvGalVcDgihmxczXod9PIrSya ANIZeQELpV89UA8ejhAsMFHTVg== X-Google-Smtp-Source: ABdhPJxN5+EbW8dWjwkIOdFVoyE0zxBvIYfwUJiIptC47NVz8jB5PvMzNLoBGIkdLoULMJmYQH47wQ== X-Received: by 2002:a7b:ca45:: with SMTP id m5mr14275408wml.158.1628581715772; Tue, 10 Aug 2021 00:48:35 -0700 (PDT) Received: from ?IPv6:2001:861:44c0:66c0:b710:2b6e:27aa:f0a0? ([2001:861:44c0:66c0:b710:2b6e:27aa:f0a0]) by smtp.gmail.com with ESMTPSA id r10sm5325150wrq.32.2021.08.10.00.48.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Aug 2021 00:48:35 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: meson: add audio playback to nexbox-a1 To: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210804140029.4445-1-christianshewitt@gmail.com> From: Neil Armstrong Organization: Baylibre Message-ID: <7f060ba5-139a-3656-53ac-0ecef37ac496@baylibre.com> Date: Tue, 10 Aug 2021 09:48:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210804140029.4445-1-christianshewitt@gmail.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210810_004837_653328_BDE92617 X-CRM114-Status: GOOD ( 18.41 ) 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 On 04/08/2021 16:00, Christian Hewitt wrote: > Add initial support limited to HDMI i2s and SPDIF (LPCM). > > Signed-off-by: Christian Hewitt > --- > .../boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts > index dfa7a37a1281..236c0a144142 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts > @@ -10,6 +10,7 @@ > /dts-v1/; > > #include "meson-gxm.dtsi" > +#include > > / { > compatible = "nexbox,a1", "amlogic,s912", "amlogic,meson-gxm"; > @@ -24,6 +25,13 @@ > stdout-path = "serial0:115200n8"; > }; > > + spdif_dit: audio-codec-0 { > + #sound-dai-cells = <0>; > + compatible = "linux,spdif-dit"; > + status = "okay"; > + sound-name-prefix = "DIT"; > + }; > + > memory@0 { > device_type = "memory"; > reg = <0x0 0x0 0x0 0x80000000>; > @@ -75,6 +83,59 @@ > }; > }; > }; > + > + sound { > + compatible = "amlogic,gx-sound-card"; > + model = "NEXBOX-A1"; > + assigned-clocks = <&clkc CLKID_MPLL0>, > + <&clkc CLKID_MPLL1>, > + <&clkc CLKID_MPLL2>; > + assigned-clock-parents = <0>, <0>, <0>; > + assigned-clock-rates = <294912000>, > + <270950400>, > + <393216000>; > + status = "okay"; > + > + dai-link-0 { > + sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; > + }; > + > + dai-link-1 { > + sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; > + }; > + > + dai-link-2 { > + sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; > + dai-format = "i2s"; > + mclk-fs = <256>; > + > + codec-0 { > + sound-dai = <&aiu AIU_HDMI CTRL_I2S>; > + }; > + }; > + > + dai-link-3 { > + sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; > + > + codec-0 { > + sound-dai = <&spdif_dit>; > + }; > + }; > + > + dai-link-4 { > + sound-dai = <&aiu AIU_HDMI CTRL_OUT>; > + > + codec-0 { > + sound-dai = <&hdmi_tx>; > + }; > + }; > + }; > +}; > + > +&aiu { > + status = "okay"; > + pinctrl-0 = <&spdif_out_h_pins>; > + pinctrl-names = "default"; > }; > > &cec_AO { > Reviewed-by: Neil Armstrong _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel