From patchwork Mon Feb 9 16:02:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5801861 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 71EB99F30C for ; Mon, 9 Feb 2015 16:03:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2A4A20121 for ; Mon, 9 Feb 2015 16:03:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 484922012D for ; Mon, 9 Feb 2015 16:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933510AbbBIQDh (ORCPT ); Mon, 9 Feb 2015 11:03:37 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:42402 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933203AbbBIQDg (ORCPT ); Mon, 9 Feb 2015 11:03:36 -0500 Received: by mail-wg0-f43.google.com with SMTP id n12so6253590wgh.2 for ; Mon, 09 Feb 2015 08:03:35 -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=IqwM/S0ga2DSAbTBQjgMAVO/u7/wqi06kz3m82EoB0I=; b=MLYPk/RlA2CYKJvwqoUkn1Ucew7iVfRbnwIFLEQ3Kj3evw57fXXyBvo+WvtASrQF7t cKRqIRTVLX6URYFFDUx63z5dCE2SS0i5A6w4Q3t49XLtzrjU2MejNx/o9bOcAvTVhEk1 UhKbO1WX0cOxnbaBMX6AhU7TgSA9/uri6EDePNnLVkcvOJDzOeIzZY5c2VrldzvCuxcc guJM3lb0TT6bdaKj0qKHW1WC7dqdR7d8clhG4hF5OHH+lj9gLxkO3Z4REj+BqzMFU9tR 0ubRPZ5wOkDrEaWFqBJaenW2g2+6TAFTu+lK7cTe/t6b83onuH0p9/LlHSeLNcPA5H8w xNVQ== X-Received: by 10.194.83.98 with SMTP id p2mr42448636wjy.125.1423497814287; Mon, 09 Feb 2015 08:03:34 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id k1sm16938212wjn.9.2015.02.09.08.03.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 08:03:33 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, sergei.shtylyov@cogentembedded.com, mturquette@linaro.org, Ulrich Hecht Subject: [PATCH v2 11/15] ARM: shmobile: bockw: add sound to DT Date: Mon, 9 Feb 2015 17:02:39 +0100 Message-Id: <1423497763-3450-12-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1423497763-3450-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1423497763-3450-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 40eb186..194ffbd 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>; + }; + }; }; ðer {