Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1353392pxk; Fri, 2 Oct 2020 07:34:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweJjJv28VUXC9BFHDWs2wZCK2QiDsIjPsy6i8H2MPseKYU3SPRC+8yeglZRD4pXSfzBPjO X-Received: by 2002:a17:906:b7c1:: with SMTP id fy1mr2534959ejb.342.1601649289298; Fri, 02 Oct 2020 07:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601649289; cv=none; d=google.com; s=arc-20160816; b=PeA/zhgFiJIdzO7GWXYgMBdbGnwzm6QEHZyq9S+HxFcu2HVhRqn2rFU57ODuYXfiiy Ffjd5Dg6kLgX1cVt7HnOmXbwN+LPAV2kh8A+mjRyZaJN85lA7N9QtqY0PJjTIQxEm0Hx Wui5ZvnviPc205LQTs0Sv/Mhx4Rs7W7BexNo/ezb9WYDhbsiNRBlaLQj8jeruLHIA1UZ DCQTfsGzIH8NJkRjUBlJ3c5wDlDMnxASWKB4jm2uBOQBs0D0YobCRYFcJ1n5D6ZAj08H XuOBrXi+2+akf5EkC5F/lWe22FNgQ4z3D8XV1XVneaQnLwuR7jpdGb9aooIxJwWzghaC Xt9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=ylzKfvJHgekxjZxp4VQuW17EoD7pYVoukf8XeW0SJg8=; b=h5vrYBC2W0hT/PaKzZijauecISvUci8tREbIEGyIQvZ8VzI3i2c4rgAW0cbApBIj8Z YXORkZj/EbzEMN61FdiqBtb4y+dY9W63LEPCubC/AYGrP4nkvyntz1/EbYsT/HMhgJxB VEJxInfOPAvOwCrOtOEpVysGhlNdEOqCYmISFCR5K2pyW8Aw1mJdxIAuyYHXazaXKF6K LI4Ay81M3UKeCmE3QYs7uECtonRagicg3+5Q3Q+PmnUO0nLQQhpZHFf1kPL3cf2WzSKb XPYvCDlXl0RMo3Xxn7swWvWHd9H/YLrUfHTrDvv+XkxKCZeskgsRxa8LfNxZEP8k0AiB pvgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XbqwofO3; 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 f10si1087667edy.472.2020.10.02.07.34.27; Fri, 02 Oct 2020 07:34:49 -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=XbqwofO3; 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 S2388160AbgJBOcB (ORCPT + 99 others); Fri, 2 Oct 2020 10:32:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388151AbgJBOb7 (ORCPT ); Fri, 2 Oct 2020 10:31:59 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1866C0613E2; Fri, 2 Oct 2020 07:31:58 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id o5so2052292wrn.13; Fri, 02 Oct 2020 07:31: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=XbqwofO3O11m65QXRe/QBPxMtlN0jHNDW1/9N1+6KY/kcOu4HpE6dpJb6A26HH3P8F 1aKh9GaoUe2mGwk3lS6sYEvr8hKBKSFa6PxhJhe1IRjH/20J+qH6Nx1IVRqopBAqFp4b sHv+YoNSmLmrrgXOUyUA/xNYYYHix6ETd1bK7mj5mxeFBY5INPHFeF8GC1RQT9cw+qtk C0M8Uk4WjFZdsaaRa/omRTLiTz8RtjTQhJ1lPQ7JkltIDIL7Gp2YrUgL4vslq3+K9P0d 0QVjmLEsJg1yxcMOR8aIhwLSg2lg5XBHAz4zTKCb3tXhD3wJ9llY5+uU4hHOGKZFX0iI 9PHg== 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=TwVBgqe36Ty4S2Ng8ZVgAJW3PO2NckNCZElTtpGCZCe7hk5kOCFI2alA48Klvxg1eG uKQEksAGIAXNi8v0HHGOEAKoMEewFhStBZcZqqKZ5XlhfDu588TuydlXfhjpWCnbJU7j zsSkyVcdPVyATSU0wtXLtO3OaJh06jWnwAonE0RJ3qpetJzvhG7pDuki1GfLTWfl8LyU uktCR3Z7xaAqCFXfPySWr73wO9HJKumHoMncL111gi08HIGJTZG6WRKNuZIKfenX8F+t tK6+l6V43vJRCEMEcnqwu+aAqeJD+fMSUPZGdMNSGT3LBXpBmGFaUU/x3ylrrzJzwewP qMxA== X-Gm-Message-State: AOAM5332tsa0vHWg+nwugtWyHRLESKEAR+s0tK8RywYqnaI6Yt//yslj ECTnvdASvo6r7goWULPJVNI= X-Received: by 2002:adf:ffc2:: with SMTP id x2mr3327483wrs.48.1601649117431; Fri, 02 Oct 2020 07:31:57 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id w7sm1907392wrm.92.2020.10.02.07.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 07:31: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 v2 05/10] arm64: dts: meson: add audio playback to p201 Date: Fri, 2 Oct 2020 14:31:36 +0000 Message-Id: <20201002143141.14870-6-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201002143141.14870-1-christianshewitt@gmail.com> References: <20201002143141.14870-1-christianshewitt@gmail.com> 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