Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1354977pxk; Fri, 2 Oct 2020 07:37:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgBuBnJuit8QttLpiThR5pTqU6zRZopVCKF2j5CSpk54n7cy3LmNw8ZyAcNXZV1EfXQBzP X-Received: by 2002:aa7:d891:: with SMTP id u17mr2598628edq.188.1601649422086; Fri, 02 Oct 2020 07:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601649422; cv=none; d=google.com; s=arc-20160816; b=0j5J7fxjoZQmvsI07uu0ws9tcPsJAm1aI989TyLSbej2IYEN4aX66lrZmtUbLxe67E cd6IhKKe6CXmE1/WNaNFdfahb7BnFSdsK+LRBPpo17uCI8VbcrGwwPMeIwtqhUGsHszR 8zzKshRAvHtmQNDOuugaTVAiElPPZbVGQKsjcDicjqyckuVaczakiWdIgknCUfI+45va b1nujk1QqEcaTAS3V72ipsF7fYDgFKTelE0aspoglhOGcBz0wC/TtwMtIxf7pJELWmn1 3SL9Zmj+CIqctnT2TlKbrMpptuwooGqRrwRD6wFpe8agsmcO4y5B70oyGm5BnabEa5yT dABA== 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=+sbzGxZrB59pV6U+pYub8QGMoi1y6WlUsM0RAR+NpTo=; b=pmrBgV4cvrrqX5UXdYcjlS5Fat2RPVuNxxCuY5IYS4LnrFKx3TcavbKTsMDPeStCwi fEroNDPuwWeOsQLShGcSdWeuKWICuuhRP7fbFeqrBBLnNEEh8Jdv8YbnTjhMFdcvURe5 BpeGUHRS9JcBVkcYk3SDk6d95xzsQ+pxNlLpxbbXX7o7yNUnijk2E7eOtVh3yi8RfhIt WqSsTIEsUabsNwFB9sSQth3QGYIXlBLDhM5iMAFMVtkKaEDLNd2yiBbA8uAIbqKm57hx Hp7QTFpXEmpzXcUoK+bMRkrHbw2Pb2jqLkN6ZP/JcFQG7KydPvnO0fN1R+a9bzIVOoG2 hLdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pj+8VvXs; 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 h4si1174627edn.128.2020.10.02.07.36.38; Fri, 02 Oct 2020 07:37:02 -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=pj+8VvXs; 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 S2388209AbgJBOcX (ORCPT + 99 others); Fri, 2 Oct 2020 10:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388182AbgJBOcI (ORCPT ); Fri, 2 Oct 2020 10:32:08 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C800C0613D0; Fri, 2 Oct 2020 07:32:08 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id t10so2089869wrv.1; Fri, 02 Oct 2020 07:32:08 -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=+sbzGxZrB59pV6U+pYub8QGMoi1y6WlUsM0RAR+NpTo=; b=pj+8VvXslvuR3nz30A+DMvVhA7P3mGzEZM4S+FepgZ31cslIdvG/+u0VyLgbloPvMK veU5sTbMR3FEVFx2IM58C0rYfDnujRBsIKrfgBaV0Gd91zjNkwYoKtSl5p9D+QSfbNmr ZiB75D6poMj95qN/gRi3fBbLFrfv6XJseAhKryMINkwN1JxPvwt+R2mvshlnxUP8/KVB Z/qd07ahj+xSmBYdyvaS4SJ6F7EtiDMRUegW7w1g4JEzEBMSWGV8InJSe1uNOVeZUkQg ESgtpboIla6tU69jWn6uN3XqOmy6mFH5EU+cBQu+kzAn0dQH6hieWfdgUktRKFIOW9Rx ur0w== 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=+sbzGxZrB59pV6U+pYub8QGMoi1y6WlUsM0RAR+NpTo=; b=jjjkJB2m4y4otHBL6W7mXMuvnTI34QhQQPctHQr5yW8WU5zs9DQ4h7G+p14jxlowLq Kd7RRKBkFzfVh5xCqUPd31NzS/Hl8wTPIZFOm7vjrVF2XivG0N6M/7y2QN8JhKHyTj1l nqQx7ayFQ6BwO3K6HIOdmPJmX5OuyU1Vy+3Y95aRodZWkkSGtYOmf9b6Ajw7+fv7jfHw jt0Co8CEEX1kuOXT/S6kFRm4RPshx8pb+DSwncJZxizOkQFyKwBWpOwsXcTnOswxYwRX xRnhTZFKg4OYq3q7D4eJ8XYF1pGFHDZQiTlbZs7rWCQEOAgk7SIi6jUPlZq5KU6arehA c6dQ== X-Gm-Message-State: AOAM533GzlyWIY0IGmPZzKqwZQxs97C38OHLsION3N1pTR3inss8qj4g Q31pqw8AkZ2J+BMbf8H3cec= X-Received: by 2002:adf:fbc5:: with SMTP id d5mr3284284wrs.232.1601649127049; Fri, 02 Oct 2020 07:32:07 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id w7sm1907392wrm.92.2020.10.02.07.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 07:32:05 -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 09/10] arm64: dts: meson: add audio playback to wetek-hub Date: Fri, 2 Oct 2020 14:31:40 +0000 Message-Id: <20201002143141.14870-10-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-wetek-hub.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts index 83b985bb015e..0c1570153842 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts @@ -7,10 +7,50 @@ /dts-v1/; #include "meson-gxbb-wetek.dtsi" +#include / { compatible = "wetek,hub", "amlogic,meson-gxbb"; model = "WeTek Hub"; + + sound { + compatible = "amlogic,gx-sound-card"; + model = "GXBB-WETEK-HUB"; + 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"; }; &ir { -- 2.17.1