Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp179371ybh; Sat, 18 Jul 2020 00:00:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfBUVt8cvUVBhZluqSB5m10CAsIS8Ag5v3P6CcyQ6o9ttyeXMFxgRLClty64vcooO1lwMw X-Received: by 2002:a50:ef10:: with SMTP id m16mr12336937eds.206.1595055620081; Sat, 18 Jul 2020 00:00:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595055620; cv=none; d=google.com; s=arc-20160816; b=OQYsrXgZ8qWXJGko2HqD/teEBtQybFRVytG6NZ+/xNyjkLsNVT/VPlBr8BIyv10wbq MkiPE/+bT39FpwYEhBf3cPBR1rrnJqZC1j3FSglnajnI9QvYBIFQSLNVB5Rs7sc1ZNjw hRp2nCcN/KKp1+YnoSWRwj79ZfQUtdVxFYjixUNac0oLii3HP730JHQXVWqaezuJImBA WsFZTY0OmYoR6zyrvYCRcLBRz8jwkG8DVpVXLN5q20+vnuFfqgQaV+Gj6INukvFRgLcJ fq1bf4Bwlo423UYjMB+VkJA18Uh7MhlUZSWIuQwCDNTizXjQYQG0owdFmfHexoNUbJHf xhQg== 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=6vYF1uN6y1MEmfx/aSCmf3xT19pRJOVeWursMQGhdC8=; b=w2shZ5RP7i40JglTleUYI2k+C46kTFr8f8UTcLfkl58WoXReQmWQ5yYssiO+OCNkrr CS+bD23/ZUH1Kx++lnxjds295hkEHeZrlsQ3XgVtCJXP0YzzCgOdd5WNYrlk0VwOUja0 db24hcrZCevBOFwzz4l5C6ccEG7GlvHE15NOS2EMRWcQRZcDYPx0P2gr8rKj4DQ+79vR hT/hCejby45nfDlmqNZCSFQrnxomZmYZCgnOnJoV+1immruwJMKXSoWEMm3YLBivx/qn EIU5exrd27PfUxvFO46AXHFoeEfxASMMWD/U+x3Gan3cG1HBEMTWdywSmdHx9IToUQg3 mp8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="r9q4k/1U"; 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 k2si6601732eds.173.2020.07.17.23.59.57; Sat, 18 Jul 2020 00:00:20 -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="r9q4k/1U"; 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 S1729061AbgGRG6A (ORCPT + 99 others); Sat, 18 Jul 2020 02:58:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729030AbgGRG54 (ORCPT ); Sat, 18 Jul 2020 02:57:56 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F0DCC0619D2; Fri, 17 Jul 2020 23:57:56 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id g75so17733672wme.5; Fri, 17 Jul 2020 23:57:56 -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=6vYF1uN6y1MEmfx/aSCmf3xT19pRJOVeWursMQGhdC8=; b=r9q4k/1UmOpnNBFOhm8kzTNUat2F0iPzWuggKmToYGhPmp4mQRg8S0msDjtyjs+qYm b4DwLCCVNLlFSgL3gQ52FWkH69J6TOE2SPbhNNgvV9q+JEWpU8a5cxRzIT6sW/nbALXX QI291noBxQ43LnnDHCvUmvSie9eHV73krHsCkYf8YeNxYxnTOJCG3OFEuH0bHKTOpk9u Vzh9JWpKWOoKIz5p4BpUnEtMsqVt6MJ3Pi09bpg8xiOqwpH8UGv+uagQIDNi0NjwVRM7 wv+pRjtzGbD327/2zzmCwMTfDwaCJ67CzeNnT0370VkOlPMd2Ps+MSQzYLpSvUHYEO4J 2PVA== 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=6vYF1uN6y1MEmfx/aSCmf3xT19pRJOVeWursMQGhdC8=; b=infjwM69fHwHBuoh6rI/VcdAr6XA2vCNbn3V1NoLs/CUUkBDB7BpPWbKxJdwz8H0+F +JzYuvecwVknGU9eF7ZcbwKafMXzvG1fY6mdEK/+4nqhQcMQfwulwXJmukV4cf4cAkVA WJUgEG42s5tAq5G9M2GKYvQIMv1tC8vpB3K5M6ESRmvD4pIgjCt/Cdv9NBqh62JEv1eB LHLsasnGw5jNFdAg0E3ixfrG8jwzyjmuXNgz/c++BWvsOK7FNyODnrvdDLnChJCxTo1o 9Ibq0M4l/W95ulllsFaVBm80DRZHtx8mt7S1g5qSHq7ijuxDQvVyN3XlgJ7S6vGjx5yK ajrw== X-Gm-Message-State: AOAM532NCsnqS546Ytj6vKTigeHgm2qnqtjdkvpU5sqF6B9/rMLhMeqU iybV/KJGFn+fXp940Y9g5OA= X-Received: by 2002:a1c:2183:: with SMTP id h125mr13322903wmh.83.1595055475237; Fri, 17 Jul 2020 23:57:55 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id x5sm18749191wmg.2.2020.07.17.23.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 23:57:54 -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 05/12] arm64: dts: meson: add audio playback to odroid-c2 Date: Sat, 18 Jul 2020 06:57:32 +0000 Message-Id: <20200718065739.7802-6-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-odroidc2.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 70fcfb7b0683..9d8c919c6e19 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -9,6 +9,7 @@ #include "meson-gxbb.dtsi" #include +#include / { compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; @@ -172,6 +173,45 @@ }; }; }; + + sound { + compatible = "amlogic,gx-sound-card"; + model = "GXBB-ODROID-C2"; + 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"; }; &cec_AO { -- 2.17.1