Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp902093pxu; Thu, 26 Nov 2020 15:37:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCz6zORyaHOuyrKGvKpkyuxxIGO7F00qBHWPOT2Bi8tiBuWJZYmYtKFXE8PgT+/RNf/hJf X-Received: by 2002:a17:907:2076:: with SMTP id qp22mr4762783ejb.436.1606433873709; Thu, 26 Nov 2020 15:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606433873; cv=none; d=google.com; s=arc-20160816; b=EbdTKF0TkMLbyRJZDMSmlfqJT8UpubAcqshs2w5L067gXMzbOfE8mgzaMnN2mgbfsZ j8XwgwHxIoipUa7FaYcIoqVjf951Qa/s6TroJ+lyYAjuHd7G1HgF4gFO0L2zxS+UMbm3 MBIJC4x4EFrmGzsZnnwV/Ld2JreDFO5Z+2orTHltbqJYuuLat9gsCh4L1ZnG+8QnMDI6 gquOeqdTBoMaPbygoQSVTZg8T+4GVvfiR+GGqyZikIqxz2ab1ixb4ooSM8TQFpRMqmsO pYXraTKO/MNtZOtD8z1TGzw5HKaiW7owJ7tmmEmcZQikoPIG30X/Lw6Nu0fl7Fddtcj1 BK3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7Zx0Rt6XkLAE/OElXJ166Y6FuBva/hfbXP8VQ1gj58o=; b=EYfVmQ0hInVCgfFqSgA4haNfmViPJqZj1zdqmJj++LzocPakVNGztwse1VfXKZLDU2 nPWPcp1m2miLKqv7ykNBDuhUV3t8WL6tRZRQRIleVI4huY6FsiFD4GHlc9/b6FtPPdtw hX6SVuFY3SP65MdCYsHZlxQXiK9DZ3IxoQSHy/NSbttUSP2SJkHSKnnL+Il2PjigmW6g 0bDZylDRmMXfct/4RNLySsQMbRgL1l/EEPHbeUdRw/HqNrpaIeZWfABDAQ8klPEe7IX8 o2R0X8fAm9k19HwDFpv8kN8c2KgrT1BsEz2a0aZFDzhwJXsbyDu3krxo715uNQgV/GAa J30A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nQ25SNWD; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si4160870ejj.426.2020.11.26.15.37.30; Thu, 26 Nov 2020 15:37:53 -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=@kernel.org header.s=default header.b=nQ25SNWD; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730943AbgKZHdr (ORCPT + 99 others); Thu, 26 Nov 2020 02:33:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:45218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730149AbgKZHdq (ORCPT ); Thu, 26 Nov 2020 02:33:46 -0500 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B384F20DD4; Thu, 26 Nov 2020 07:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606376025; bh=k//4bcHWV3nCxnjDrzlPndrPPL6OH6Rfq6mk/LsgvYA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nQ25SNWDPvlhULo5y/v3hZxy0D5Y5KnvPzF6ryvoGEEIByVcu4bW1oAsdH3EagQdg y3loBePWgef3x4D+CNfLNXR3MC3zq5Il6RFzNlG9Jgx/hbFWeHnkzylSuQe2DiYlR5 7ZucM2vxRUlABizcyz8aPLTBJlliJY0g517QjgA0= Received: by wens.tw (Postfix, from userid 1000) id F103C5FA9D; Thu, 26 Nov 2020 15:33:42 +0800 (CST) From: Chen-Yu Tsai To: Heiko Stuebner , Rob Herring Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: rockchip: rk3328-roc-cc: Enable analog audio Date: Thu, 26 Nov 2020 15:33:36 +0800 Message-Id: <20201126073336.30794-4-wens@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201126073336.30794-1-wens@kernel.org> References: <20201126073336.30794-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai Now that driver support for the RK3328's audio codec, and the plumbing is defined at the SoC level, we can enable analog audio at the board level. Enable analog audio by enabling the codec and the I2S interface connected and the simple-audio-card that binds them together. Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 697fce709031..19959bfba451 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -104,6 +104,14 @@ user_led: led-1 { }; }; +&analog_sound { + status = "okay"; +}; + +&codec { + status = "okay"; +}; + &cpu0 { cpu-supply = <&vdd_arm>; }; @@ -278,6 +286,10 @@ &i2s0 { status = "okay"; }; +&i2s1 { + status = "okay"; +}; + &io_domains { status = "okay"; -- 2.29.2