Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp178732ybh; Fri, 17 Jul 2020 23:58:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyioe8xd6dQU5Ez6tDqu6uqQb7ENPgomPrE0uSwPzH0E3WEnn3FbMfqAyKHuGwNfUOX16oP X-Received: by 2002:a17:906:26c7:: with SMTP id u7mr11561719ejc.13.1595055525867; Fri, 17 Jul 2020 23:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595055525; cv=none; d=google.com; s=arc-20160816; b=rHT8Ywo2hnaJa9tqFoprwpr71bqSpgJhI6rP8uTYvklgWTBhZxt+1y76AA66KaLkMj vcY3r9w70OX6g+Q+Rcs6OZxtyaxlFLthiXHQw1VByGyYl3DzvvF5OjMQL47RkKZjXPS6 N3s3VhBwGMt3PNIlRMn3mINhC8aci30E+SkNdKP56q4qAYzCy0uPZVivEP64th/cPq67 B0ySMqXnNaZQnwpt+TREevUjsxuEUETaCiQ/3t7dj9OnPHcY5lnYn0X7FgSlXjLIxZVU g7XvIvFj2o0TWvzb1MsiEyiDoV6fDKRgmG/Ofu/2O9HRUZGCQMGP2LUWV64KcO2KXFKn mDLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ylzKfvJHgekxjZxp4VQuW17EoD7pYVoukf8XeW0SJg8=; b=p4qcrHtD3FE1f3iZkNszG5np3IHMKAvESZ1QSyutit/kmq9S0k7rHS+B2YY5vtw5gb QmD2bD8uAe7au2Yx0TI6vKazI2hZEv2/ZLzRL0TKjPbmsDisPhFgRYBmTBOLzIe461Sb DRQUtL+pJmesT+mCpXNgG5vhdnM4kvzMEdp3gTXf/EWtrDr9jQLRKZ7/Y69eqL7A64ef 5JUhEIoPbd2aXI1fxO9r/sQyihvt5hfharcAyE31xKgqwPLtqGTxl2tdWDyFKPei9KI2 lmSnmrNjvJRwcg3PFYtBDfBYdstCDJ57naXLHOAR54JNRFfXh7uOrxD8qZRSLzyQocBA 8i1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nPJpR4r8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p27si6786455ejd.590.2020.07.17.23.58.23; Fri, 17 Jul 2020 23:58:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nPJpR4r8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729088AbgGRG6C (ORCPT + 99 others); Sat, 18 Jul 2020 02:58:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729048AbgGRG56 (ORCPT ); Sat, 18 Jul 2020 02:57:58 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 992B6C0619D2; Fri, 17 Jul 2020 23:57:58 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a6so13255592wrm.4; Fri, 17 Jul 2020 23:57:58 -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:in-reply-to:references; bh=ylzKfvJHgekxjZxp4VQuW17EoD7pYVoukf8XeW0SJg8=; b=nPJpR4r8aWcg21Jci2wdL9PPFkYkK3SovheA8oW0iOctEWsGMb0hoqZl+PgWgygYsP nRTxIFBSNRQnROHrwxaLbjoZsSUCN7tJdtXwnjBlvOVPZt3Hp3wX2Qu2hB8lysDU75bS xSH/snWzBSXRzNlso6CBnscdWqfTEt+I5PbrSZIrrwy796oFW/4YHNF2f13nVsKyAK/H 6MYXZPUE8sVEeagfZ0HDsh9ejhHT8EwiAnI3jbVGAoRraDc2swQjFDZAVoV4G0GCkh9Y 2CpawS7R03MKzyzqTfNwUac/1IH+XeT/Jo2X9gw995k6cGQkbvDCOGQuRnjQX4Yl2560 Pggw== 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=ylzKfvJHgekxjZxp4VQuW17EoD7pYVoukf8XeW0SJg8=; b=IV4zu+KiDwSf7InDPR1/4yO739+D35Zt+6pRB3t1v4rJXqCJFwMlqmTiSyw3R1CUM1 N8e1xv+ZWFJ2Pz0xQDgQISLdmCY77qVKdTvabx7bk0XqTi4eoIFOLGxtfs6cVktpHMOe FIqlg62aNMNYnVn/7/4VIlXh5QfDZRwxuiQEjcEGBiMp6MaHZGoYTxophlp/Iv3ARlWg ir69U7htDFd4/GP+MqTIOXjRx0cjazLbUGosMEg2cWsfrRcJn1hsMZ9xXguBL2me0Nzk P4Cp3ZzSeEXiFLexlCr+Abnrh0DEpch0LpnA5D7VuZYqbICBv2kYQycxXzSB//GR2WQM wv+A== X-Gm-Message-State: AOAM530nWytKVVgoa0Ech1o6tDofKsZ3ArShA6BOolzXIt/d0A5CZb4W 85A1X0vMlKbLnhhBSpFb6SjwxG4g X-Received: by 2002:adf:b1ca:: with SMTP id r10mr14528884wra.150.1595055477364; Fri, 17 Jul 2020 23:57:57 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id x5sm18749191wmg.2.2020.07.17.23.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 23:57:56 -0700 (PDT) From: Christian Hewitt To: 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 Cc: Christian Hewitt Subject: [PATCH 06/12] arm64: dts: meson: add audio playback to p201 Date: Sat, 18 Jul 2020 06:57:33 +0000 Message-Id: <20200718065739.7802-7-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200718065739.7802-1-christianshewitt@gmail.com> References: <20200718065739.7802-1-christianshewitt@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-gxbb-p201.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts index 150a82f3b2d7..2e2bccbcfd43 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts @@ -8,10 +8,50 @@ /dts-v1/; #include "meson-gxbb-p20x.dtsi" +#include / { compatible = "amlogic,p201", "amlogic,meson-gxbb"; model = "Amlogic Meson GXBB P201 Development Board"; + + sound { + compatible = "amlogic,gx-sound-card"; + model = "GXBB-P201"; + 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_I2S_ENCODER>; + dai-format = "i2s"; + mclk-fs = <256>; + + codec-0 { + sound-dai = <&aiu AIU_HDMI CTRL_I2S>; + }; + }; + + dai-link-2 { + sound-dai = <&aiu AIU_HDMI CTRL_OUT>; + + codec-0 { + sound-dai = <&hdmi_tx>; + }; + }; + }; +}; + +&aiu { + status = "okay"; }; ðmac { -- 2.17.1