Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2880311pxb; Sun, 15 Nov 2020 22:22:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJy313UjJIDijGTFhCbNh9cuBWlzGI2YjXDJChpzMQNMJmP0gnuaxZT/Lp5xKB5fyULrZvIp X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr12827438ejb.78.1605507741491; Sun, 15 Nov 2020 22:22:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605507741; cv=none; d=google.com; s=arc-20160816; b=frFIBjpAovN2Ksmg20UsYXM0kTldG2jJh2n+CztZ0l1jcHcI9HxBDI0Q8t1ytP45mS JBfs8dszAFsU9OW4pD5v8rw7Zjc8eFcqtpNvAD7Y70aeA3L0qOCgg7eEcRWLJhuFbytT ehbvoIaGJhamWLi8WPXHc/ZXVCfu1fYd52rf303ZvjrhC05ygxCPhN8JY/8Iylh+PY79 PN4lGrKMjhxLvBPCQ547KzOYDDs+bsBuGanCR6u3SMPa0myXjWl3PpK/sDBWo1bwD9qo Hg5w4jYRTAhaJrLEqYgpWCGFQEodCor/rCM8DksgQ+6S/AutKB93bMVffsBrLmD5gKE+ myWA== 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=UrTzQqJfmOE3wc4LgtWfzvjavE1CxqA487snNOvdDF4=; b=Un/qnqobPdbqL0FBGrTtpj2xC3xi0U6feBanJe1AmeqaTj+hHLi9nr+b09wySUibH3 tJQDnAuePFdquYNvdNBus2IRCPQARSWvV7iuuhfPuv3HN9Q7X9nRh0FO6/9bK54JxKqL mhk/dHB1fgmgjtjn8i5ikXgiL0Dqf+rOocLDaRrJKM+sHJFaf1EbkLcZsykoTd7s4eki 1E7+ixWUM1LxLjYSB4+USAn/cATxUKgVkPN3U42NuolYch8RtRF2CSmIgiM/Ph1WHoSJ Q5stPCWAzLHbjPVDUr9M8mEkBqAR/Q698/Ts3tXzoW3m2aCcvmk3BxlPrWcvpZao1oX1 rgDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W+mB1NlC; 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 v21si465562ejh.106.2020.11.15.22.21.58; Sun, 15 Nov 2020 22:22:21 -0800 (PST) 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=W+mB1NlC; 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 S1726869AbgKPGUk (ORCPT + 99 others); Mon, 16 Nov 2020 01:20:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgKPGUi (ORCPT ); Mon, 16 Nov 2020 01:20:38 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 916E3C0613CF; Sun, 15 Nov 2020 22:20:38 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id o15so17371658wru.6; Sun, 15 Nov 2020 22:20:38 -0800 (PST) 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=UrTzQqJfmOE3wc4LgtWfzvjavE1CxqA487snNOvdDF4=; b=W+mB1NlC2H1+vj/gVQqlYXnEWkHgsAO24vZIi9pz20IpYaV3YDCnVnm52SEtMu74ga 0prdFzLY4GzBCBdbhMTseqWN4nD1oc+NI9ivyc1E/v70v6AALE0oduJpAwXpyLQ65x/H ANSimfsx1NIZZhGDXF679gmF39FrgbbjFaCh/CjL0rNkmTAf6ydFE+9+0/QI43rpv/Xd 9yLu07nVfpJYPcaB1T9nqTj5Wd+gSAB0R3HFIbY2q34nEO9CSZ+DO/3tYy24Q6rxn5aO VsAZV3pbjAREiN6UXD192tyiOXQS9pVU4lsEEcJNc+fT1FrNYtlZKpH6VCAELG492UJV R/bw== 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=UrTzQqJfmOE3wc4LgtWfzvjavE1CxqA487snNOvdDF4=; b=l0UeuB+bjF1uoTvQoqxLIXTxrvsj5NHEX0nwmkdmj0yE1pwYnoaeIhlAguc4v4kfPX 9hVcicSreKgrzjVYQ/jAE0R+je6gF2FRhK3Q1N6m4ioqhCkWdS9IHGRIKCizgjJ0EXrl hFMjpXX5NqVNvBjjsZA5lsHJRlm6Vx+NXb/+gHK5mzRKtIyBMWK1HUDZi1ovUDsGeyG0 YRWlLskrVZtVt5iRv0lL/81Sc8cGITMf+eZkBnlh+USeFLcg87qJVbJQEJRpTy01Ols8 FY+xakr0WsDkle+U2esPXP0/sF1Auj6BxRsPr1GDfoEWB4wM1NrPVfZDWF22pShdXUuJ greQ== X-Gm-Message-State: AOAM532OpWYoBBJjmQ6SrO0A7w1XUnCXmSRVNoi7EX2g5hzzbA4JHi2X CL4O2Aq3p4U4IaTRNnIaY03gMaeBSyQ= X-Received: by 2002:adf:eacb:: with SMTP id o11mr17467481wrn.208.1605507637390; Sun, 15 Nov 2020 22:20:37 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id m3sm17065985wrv.6.2020.11.15.22.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 22:20:36 -0800 (PST) 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 v3 1/7] arm64: dts: meson: add audio playback to a95x Date: Mon, 16 Nov 2020 06:20:25 +0000 Message-Id: <20201116062031.11233-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201116062031.11233-1-christianshewitt@gmail.com> References: <20201116062031.11233-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 --- .../dts/amlogic/meson-gxbb-nexbox-a95x.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index 67d901ed2fa3..b5b11cb9f393 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -10,6 +10,7 @@ #include "meson-gxbb.dtsi" #include #include +#include / { compatible = "nexbox,a95x", "amlogic,meson-gxbb"; @@ -139,6 +140,45 @@ }; }; }; + + sound { + compatible = "amlogic,gx-sound-card"; + model = "GXBB-NEXBOX-A95X"; + 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"; }; &cvbs_vdac_port { -- 2.17.1