Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp179213ybh; Fri, 17 Jul 2020 23:59:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2WL8Ig/YTJNPdi6VTUCwJ8LgIldWk/ezXJ5B7wP8TB3EbepGHqGf+Hd3HIaI3zox66GAm X-Received: by 2002:aa7:d50d:: with SMTP id y13mr12731973edq.230.1595055594757; Fri, 17 Jul 2020 23:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595055594; cv=none; d=google.com; s=arc-20160816; b=lHTQ2a/xrpsY9kDlpWPW7HnJfsqsrQSOYLl5kNbNSXS9J52Y5ZDpxL/CRkKL6tG3JL fo4kGl6nvnw9QVk0yWUoBo7m5EZFSeiwFylOsE4bd3w+NspOOL7PaIPB6pt3XdeI05Ob bSG75NgrBmvCQhafRnVA44uQDZkREMYmq0E6FWtiunjl/IvrV/6rovwDjlrrvdwHV01r V+8ceDvYxHgqJk3D0tN8QHi8eGKn78Wc3sg9f5IRKSK8DAhCLbOPAzr+RSZjyvFhnWbO tpmOE9bt0pDpHCdGrTstMZM7yRAX7fQOsEmacXhbtmFXlpSq7yNkmZDiKrQaBRqAuB9/ jLvQ== 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=+sbzGxZrB59pV6U+pYub8QGMoi1y6WlUsM0RAR+NpTo=; b=uwGYr/b9HIKg5RzYWIx0MoHidzix1t6dvYsibGQg3MAqrSsjByK5UcWIKU3/tfACY/ 5NPXDbOBsNJJe4e1YGg8S8pzrahuhQH2VqPGyrlHNzWKD0RGT9TVO8rPOGu4Riy3EWE2 B53uhrr2ccLquSwncAJ+ZAnARfYXLOuKEJXcVoFUq748kDUtAtA1wSmF3a3yneirX9tT ONsQytZqUA0eR/pKzbBbbOm0IKuBzwQ0POjL8WRu7Ua+jrakROvYFNPb49qq4yDpZIcQ GahIjNeCf1NlWiU7tizJe9gymkB6ndQDZsR/vs5iPJ7+P+yV8Jxb/2+xPBP0pVT8Frcq dJrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MLVfAbEE; 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 f16si6639068ejb.557.2020.07.17.23.59.31; Fri, 17 Jul 2020 23:59:54 -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=MLVfAbEE; 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 S1729207AbgGRG6W (ORCPT + 99 others); Sat, 18 Jul 2020 02:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729158AbgGRG6J (ORCPT ); Sat, 18 Jul 2020 02:58:09 -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 7654FC0619D2; Fri, 17 Jul 2020 23:58:09 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f18so13287590wrs.0; Fri, 17 Jul 2020 23:58:09 -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=MLVfAbEEt8OAz+5SAcw5V9iCQGbToqL+cmlSIIL8EpSA5td5CPH+5VRKLJ1yqXeMNK SzgM3CMnrxFlqh42qGcDI48MkYDTAgACq+2sa/8OcFzSi097xlhleH7JcH25pC/h55QB RS81OLa3zJ8ip/sWEf6dYPZBbdEylZpZjwDebRMra5YFEgliCzfnerO5rY8hvyMaRaqN 89DZCM2CS71AcUqH43J+kAeuGlS/jc+O7SIle0NI5gmVQb892V5Xentb5B5s7Qta3tQL jGNXwoamC+JYy85rOlDgOAs+AEGuK+t6p4cYBtSLMAsDV+gO3ITZrbxyLInK1DRfLow+ tIJA== 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=RHJgZW54H84WJMalQhffmi/BL2//I0t05oq1mFe45OJ9h4J7JHxlXU4lbI7Mpf2Ann GVctVLuLgqZPiWmYTzOtV9ylJVcjXvFAsaMX/aSKWgGgKQ6d3CKtXk0vD65eN7CwuE9f ekm6xiel1TTDEUiurfsQGPskhktomj4pU93gR8NIsbdtkC9Ntc/EhV5gsKpKC4dwu8md jj75wbfMUEQ5+W+hhHCV44agY1AbrO58jyQIYYle0iio1iNdzSZT15veqEV8TNWaxqbi FteGzVrYc82ug5ykWLHZnrunZFCHbVpaprUU6siHolVTaA8KeoEznS9f4/3RZUGkx2jP fJ+Q== X-Gm-Message-State: AOAM531+T7raE7tYVS7S8M1BpTUy06wtu85mY3lrsXMC31SJ4+y7bBBv Oj1TBdQB0NXNKGU+VUkgh5s= X-Received: by 2002:a5d:68c7:: with SMTP id p7mr14296531wrw.16.1595055488234; Fri, 17 Jul 2020 23:58:08 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id x5sm18749191wmg.2.2020.07.17.23.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 23:58:07 -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 11/12] arm64: dts: meson: add audio playback to wetek-hub Date: Sat, 18 Jul 2020 06:57:38 +0000 Message-Id: <20200718065739.7802-12-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-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