From patchwork Thu Feb 26 16:42:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5894931 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 81E85BF440 for ; Thu, 26 Feb 2015 16:42:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AF32B2028D for ; Thu, 26 Feb 2015 16:42:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D86FF2022D for ; Thu, 26 Feb 2015 16:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753984AbbBZQmx (ORCPT ); Thu, 26 Feb 2015 11:42:53 -0500 Received: from mail-qc0-f171.google.com ([209.85.216.171]:44214 "EHLO mail-qc0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbbBZQmx (ORCPT ); Thu, 26 Feb 2015 11:42:53 -0500 Received: by qcvs11 with SMTP id s11so9365578qcv.11 for ; Thu, 26 Feb 2015 08:42:52 -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=jqpHeHuwYE6lnn9q/9XI37n7zrKDL46fl2Q/xCwUoV4=; b=qDuHjQ05XdVAV+dpi3/Lft6zrUWQso9N/DB2D7WmU0mYv4mm4x2MwWhoL9yGpyDrAk 0lPX40UfiKnyJ0W91gXMh0FTklERx2clwu6dWWRNAD38whCs99auZVOK/s/096iMUMHa 609Cxev8SuAT2ies5/PzFcCpgwuchczxoZytTUbhqagoVrD8rmaX4jnVxzXkMQNxNkvx WpeHWMEQNM0aD7AOXVec0bRxg8y05XtK8Ykas/z8QBHNf7BXcs6gt0B9mDx6+dMHPK/8 /d1SbMYtK4cjvwGmU5dtbZMJuGqTPsUUGbTSaX27ILlHtj12SL1GOcFaw0F1ZKuP/HJJ 5kLQ== X-Received: by 10.140.108.66 with SMTP id i60mr18732153qgf.73.1424968972495; Thu, 26 Feb 2015 08:42:52 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id j1sm814036qas.33.2015.02.26.08.42.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 08:42:51 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com, sergei.shtylyov@cogentembedded.com, mturquette@linaro.org, Ulrich Hecht Subject: [PATCH v4 7/9] ARM: shmobile: bockw: add sound to DT Date: Thu, 26 Feb 2015 17:42:12 +0100 Message-Id: <1424968934-30577-8-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1424968934-30577-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1424968934-30577-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 abf3f06..9b9a5eb 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -57,6 +57,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>; + }; + }; }; &bsc {