From patchwork Mon Feb 16 16:58:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5834091 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 88AF29F691 for ; Mon, 16 Feb 2015 16:59:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3A222013D for ; Mon, 16 Feb 2015 16:59:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE804200F2 for ; Mon, 16 Feb 2015 16:59:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755843AbbBPQ7l (ORCPT ); Mon, 16 Feb 2015 11:59:41 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:59300 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755859AbbBPQ7k (ORCPT ); Mon, 16 Feb 2015 11:59:40 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so30541377wgh.5 for ; Mon, 16 Feb 2015 08:59:39 -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=45knT82S0wMlxEpf0WcsZU9Edx0w29GyvdAWCxf3qgw=; b=pwTyeoU1tVPlnBisJ3Va7fKBjMoLoAEoO40gFYyp0T5tnegBvcvoquqOAkiDJbJ9kG /45Y1HL+7ZEwh5n/7KflgIFyUNzDMx07DmvnZZVyC+3Uq9eTVP+6/i8h07lPJEo6A16k jYXce4wnYOLgPbaUcErjvdCiP3vTgHfvSv4vz3eGXieY+Iaa8KgcTlzQOs8jeozyido7 zEsQ2zQHMgAewL7VEkagzabsoc557jDDV6VUsf+NHx8uE2NGBwZPsR3oiDitwtyotiXy 02YYdS+I1SZ+eajHUW1VNyue7LHnvACj5KQfynfC3ZeiwtX+5SDSwnSSJK/i2AEQ5DPx De2w== X-Received: by 10.194.6.228 with SMTP id e4mr51555875wja.63.1424105979585; Mon, 16 Feb 2015 08:59:39 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id dj5sm23633780wjb.28.2015.02.16.08.59.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 08:59:38 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com Cc: magnus.damm@gmail.com, sergei.shtylyov@cogentembedded.com, mturquette@linaro.org, Ulrich Hecht Subject: [PATCH v3 11/15] ARM: shmobile: bockw: add sound to DT Date: Mon, 16 Feb 2015 17:58:55 +0100 Message-Id: <1424105939-4910-12-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1424105939-4910-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1424105939-4910-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 7d9ab9a..80e1465 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>; + }; + }; }; &i2c0 {