Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp178616ybh; Fri, 17 Jul 2020 23:58:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzj86taktJX08wkW6TVLKfhvFxyDNjsHVWIyvt061RPLfXtPUp78ESAsp52RRUc6SQjbn4y X-Received: by 2002:a17:906:3282:: with SMTP id 2mr11060927ejw.11.1595055499985; Fri, 17 Jul 2020 23:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595055499; cv=none; d=google.com; s=arc-20160816; b=uxpg+LfuzjIsaSoDVT4bm6oytBpvLFw+FtbqknVBvoY9uZTUVvM5EIFbfTrhx+YocU DVsD3e7+9B4loq5ld01KgGCYR/YPeBLep9GV5x+nt4gHjijgvTCvOfykOE0mS9cogosp AyQjuKSinx+HCKRfZUOgo5o2BxrVKcCvv15B5bTm0mmqWak/yP3mwGeE05XIiofg8pMY yMKTGVOrXc6BuJvGLF/OSDnFxvr/Ay6k4fQzrCrtHvGaF9XyViucR+xliK8fwEZFfa1g C+0Mhsy7thIw7ZWwGL7zExmCXFIY1JvQOKf2a5XEgO/iPko2I6R5pRFiiJeKvPBD0EM4 ak7Q== 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=UrTzQqJfmOE3wc4LgtWfzvjavE1CxqA487snNOvdDF4=; b=EpZtOXGOlsEPCDRaw7l6W4DkKUe3XQWPdVgpENYV0RwSQXKx2+Yibg/J5YOuYJkJMs YsMK0EMDB/sWsO56RDRQXegcbrCu6lG0DFFaXmf4cBK3RR0GKF6wpTvBLoVMJ75/wulb cpor+o8HrLYP4fBHFjkduAfGV9K0/f1Ph+b9q9ddiN+dJuQzXP3TovC5EyCfVpAIEEYT ZICqngb0/OshJMXH20vq74HMvmLDGczMLjNk8/y/AYSvvLd+udr3q8x3gBw+6KOds4Z1 Hn3+uKIAV6v4eFvdhs57zUiRA+MlCNlmt3eFEqw9HLyimVFYIs4SUDdVDhvJjlD7kGn0 IZVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nKEVxq8x; 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 z11si5111865ejo.189.2020.07.17.23.57.57; Fri, 17 Jul 2020 23:58:19 -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=nKEVxq8x; 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 S1728941AbgGRG5t (ORCPT + 99 others); Sat, 18 Jul 2020 02:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbgGRG5s (ORCPT ); Sat, 18 Jul 2020 02:57:48 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F035CC0619D2; Fri, 17 Jul 2020 23:57:47 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id o11so13239795wrv.9; Fri, 17 Jul 2020 23:57:47 -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=UrTzQqJfmOE3wc4LgtWfzvjavE1CxqA487snNOvdDF4=; b=nKEVxq8xAgb3BSHbys0l9zq2gcV8D7HhIfslhM/xLae2SyJP+Sg0JAaB6eGnECz8DT RXca2F5O/JilwetdteyW/89mjPpFvb4BxpqWPNhNKjmckmEWfzbxMDLE2gugFREWvUK3 PHWgG+u445q55dd1KAsu1Vp22zN3kHuPVG2fm7Fd5gzZ9qZpVNWfBWDq1qKW0uAm0LeC uRUSca4zJ++vK2WxSXib9cWMQzjR9+3YuF7wlJFAl7G5GlqE1Z1qvembQBd638C0NoFt sHd3lH64y+OalOu7bnvroC9NEFZbJWQCn45XCGRkFb7o3verprQfuWNGgqSlXcYTJk2n 02vQ== 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=Xtev2ef4rF/e6OZhE3kWNbuQYSQwJx/pW6gFIEHSGg3g/ssyJH8MlhPaiqa7JKxprY 5PzM5m2pbo/4kbCOQ5clZgn19rK9k3kLq5BZvJU8OF+2MtyZajgwYC/yHDzso5J5nSrr IQ4HipVwslww885989HsWzHMifcKE/N0X4xMMyNlQmOI89qTNcAhvYzP0Y0KiXxxGFTH Sn1HRjKHD6Xgqag4ryVZxWAoPNwv0yB/qvGS3OsYrcreKcb+WKHc0WfMoTKrdf8fV7KE I6JQbuH3rw5d0S1KRY6thU0whPOzIyTH4oU4k3CcLaECAqw5W6stUXvoxs4aL52hY6Ws k0DA== X-Gm-Message-State: AOAM532C3R5nsjbWXTig82MxFffVE9XXLbR6kpMWxuFpCAWP7UGoDZuq 9qyP3Z3fgHiR9Y9A5op0fZM= X-Received: by 2002:a5d:4f0e:: with SMTP id c14mr14400539wru.410.1595055466673; Fri, 17 Jul 2020 23:57:46 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id x5sm18749191wmg.2.2020.07.17.23.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 23:57:46 -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 01/12] arm64: dts: meson: add audio playback to a95x Date: Sat, 18 Jul 2020 06:57:28 +0000 Message-Id: <20200718065739.7802-2-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 --- .../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