From patchwork Wed May 25 16:06:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 68623 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1300621qge; Wed, 25 May 2016 09:08:13 -0700 (PDT) X-Received: by 10.67.22.168 with SMTP id ht8mr7044879pad.50.1464192493176; Wed, 25 May 2016 09:08:13 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si13446491pac.207.2016.05.25.09.08.12; Wed, 25 May 2016 09:08:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932575AbcEYQIJ (ORCPT + 7 others); Wed, 25 May 2016 12:08:09 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35484 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932569AbcEYQHq (ORCPT ); Wed, 25 May 2016 12:07:46 -0400 Received: by mail-wm0-f44.google.com with SMTP id a136so134012031wme.0 for ; Wed, 25 May 2016 09:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UYbCjLDywCr3gCnOSZYoOnQmUv6cPhO3WbLfi9uTXLE=; b=HE/U1yV9ujT1IGrxMUZXYab2UyrHr9XBS9D1g1bOw9adi8Rh3CMW9kCJ7N3URfJa3P MzKlUrpcFnAtPy7MslnhWnUPZDpHFo6VMhP0nl/72lb00ooG3rIyO/X1AizaUYWcVU4B qA2PPzTp/gTpdcEsNIrLMY3sUshTnJKhYnlrs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UYbCjLDywCr3gCnOSZYoOnQmUv6cPhO3WbLfi9uTXLE=; b=JnE0Vcc/LbUS1ULNon8LF8vLHofxG9tVpG59e5XtjybMdD8Y0IivpuNv9/8MLnjMtx 7DKdSWKERNqZyX9mRRvZfGnWf8WFfFFWTWKZ8xBRZOwLI7L2TTHkjbndACQX7ZbSW6Ij Xmq8RlZo6zj5uYIfddqXFmaVI21TWOKisXGOtNj3d7lxnHhjZ/tUfalhm4AUol9pWTNT EQBnAUCuD7AeKK45Gof2dhUR72eymy0hzwreOr/Nm8JkN4bmCRF0WJsMuVyqDZkfdKIq NV3PXAkPDZEfI5qzcirz992mfLzwmC0majp87bOT4KPmtATkEXXMNC+UYm/iGnB98BCx HkHg== X-Gm-Message-State: ALyK8tKx/v2KmZwqQjwGvafbp3nMPb4nAP2Y6vODKu9+oYS+kPGHmS7/5Jc0j5/ODZzcXdaE X-Received: by 10.28.107.85 with SMTP id g82mr4202202wmc.65.1464192464714; Wed, 25 May 2016 09:07:44 -0700 (PDT) Received: from localhost.localdomain (cpc84731-aztw28-2-0-cust112.18-1.cable.virginm.net. [82.37.67.113]) by smtp.gmail.com with ESMTPSA id k127sm10039103wmf.21.2016.05.25.09.07.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 May 2016 09:07:43 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, vinod.koul@intel.com, ohad@wizery.com, bjorn.andersson@linaro.org, arnd@arndb.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v4 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Date: Wed, 25 May 2016 17:06:52 +0100 Message-Id: <1464192412-16386-20-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464192412-16386-1-git-send-email-peter.griffin@linaro.org> References: <1464192412-16386-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch enables the uniperif players 2 & 3 for b2120 boards and also adds the "simple-audio-card" device node to interconnect the SoC sound device and the codec. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 722c63f..5297f21 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -131,5 +131,45 @@ dvb-card = ; }; }; + + sti_uni_player2: sti-uni-player@2 { + status = "okay"; + }; + + sti_uni_player3: sti-uni-player@3 { + status = "okay"; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "sti audio card"; + status = "okay"; + + simple-audio-card,dai-link@0 { + /* DAC */ + format = "i2s"; + dai-tdm-slot-width = <32>; + mclk-fs = <256>; + cpu { + sound-dai = <&sti_uni_player2>; + }; + + codec { + sound-dai = <&sti_sasg_codec 1>; + }; + }; + simple-audio-card,dai-link@1 { + /* SPDIF */ + format = "left_j"; + mclk-fs = <128>; + cpu { + sound-dai = <&sti_uni_player3>; + }; + + codec { + sound-dai = <&sti_sasg_codec 0>; + }; + }; + }; }; };