From patchwork Wed Jan 21 16:21:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5679201 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 98025C058E for ; Wed, 21 Jan 2015 16:22:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D610D200D0 for ; Wed, 21 Jan 2015 16:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC4EC204FB for ; Wed, 21 Jan 2015 16:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753320AbbAUQWG (ORCPT ); Wed, 21 Jan 2015 11:22:06 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:35959 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758AbbAUQV6 (ORCPT ); Wed, 21 Jan 2015 11:21:58 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so10644523wgh.6 for ; Wed, 21 Jan 2015 08:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=2vgaCmLE5fg7qC6ta00OdZItEDP0VJOgO6kxi5NqnE0=; b=I3o+oOHFYcxSfdivAMNRovgeUWT26itITbTUgUgASW0+heOL8GDN4yLDXfK+kD1Zz4 mFgZzhmLSSPl6FzRxGp96Ba9cHgPBuS9ZNU8Kas0uypY2mxZvOjVDxx8mO6ATESGMd95 sf9b3pQGfV9asSO93PFAfkmoIv3j3DeRwGG6xKtFzImgMYDjgvzFiaILR2VKp3yTlNfh 4+txzbgy4BxKJywiGb2bbO19mrrz4aDGNBBww9KSegr+AdpGojKxLoUTtvjqKsmqNG8n kd4xaYNDFQdgMSxLltzQAArHFMFLDhBnEQQQqWsG8PWUzaanwVBEq7Y78dCT8nHjxy+I EE/w== X-Received: by 10.180.74.147 with SMTP id t19mr21384947wiv.6.1421857312485; Wed, 21 Jan 2015 08:21:52 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id wa5sm409687wjc.8.2015.01.21.08.21.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 08:21:51 -0800 (PST) From: Ulrich Hecht To: kuninori.morimoto.gx@renesas.com, linux-sh@vger.kernel.org Cc: horms@verge.net.au, mturquette@linaro.org, magnus.damm@gmail.com, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, Ulrich Hecht Subject: [PATCH 10/11] ARM: shmobile: bockw: add sound to DT Date: Wed, 21 Jan 2015 17:21:01 +0100 Message-Id: <1421857262-16607-11-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1421857262-16607-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1421857262-16607-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds sound card using the ak4643 codec. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7778-bockw.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index ce40001..70ceac5 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -61,6 +61,23 @@ vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; }; + + sound { + compatible = "simple-audio-card"; + + simple-audio-card,format = "left_j"; + simple-audio-card,bitclock-master = <&sndcodec>; + simple-audio-card,frame-master = <&sndcodec>; + + sndcpu: simple-audio-card,cpu { + sound-dai = <&rcar_sound>; + }; + + sndcodec: simple-audio-card,codec { + sound-dai = <&ak4643>; + system-clock-frequency = <11289600>; + }; + }; }; &i2c0 {