From patchwork Mon Nov 10 19:00:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 5269541 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EB1D89F2F1 for ; Mon, 10 Nov 2014 21:24:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 34BE820158 for ; Mon, 10 Nov 2014 21:24:16 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 006B82015A for ; Mon, 10 Nov 2014 21:24:14 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 15D7B265966; Mon, 10 Nov 2014 22:24:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id CBCD6264F32; Mon, 10 Nov 2014 22:07:11 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id CD6B8265080; Mon, 10 Nov 2014 22:07:10 +0100 (CET) Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) by alsa0.perex.cz (Postfix) with ESMTP id 54F842625CF for ; Mon, 10 Nov 2014 20:00:37 +0100 (CET) Received: from ayla.of.borg ([84.193.84.167]) by albert.telenet-ops.be with bizsmtp id Dv0c1p0063cczKo06v0caz; Mon, 10 Nov 2014 20:00:36 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1XnuCZ-0005Mz-K7; Mon, 10 Nov 2014 20:00:35 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1XnuCn-000166-VD; Mon, 10 Nov 2014 20:00:49 +0100 From: Geert Uytterhoeven To: Mark Brown , Liam Girdwood , Simon Horman , Magnus Damm , Kuninori Morimoto Date: Mon, 10 Nov 2014 20:00:42 +0100 Message-Id: <1415646044-4168-4-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415646044-4168-1-git-send-email-geert+renesas@glider.be> References: <1415646044-4168-1-git-send-email-geert+renesas@glider.be> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Geert Uytterhoeven , linux-sh@vger.kernel.org Subject: [alsa-devel] [PATCH 3/5] ASoC: rsnd: Document SoC-specific bindings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The documentation only mentioned the generic fallback compatible property. Add the missing SoC-specific compatible properties, which are already in use. Also drop a bogus 0x unit-address prefix while we're at it. Signed-off-by: Geert Uytterhoeven Acked-by: Simon Horman --- Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt index aa697abf337e7aa6..2dd690bc19cc6436 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt @@ -1,8 +1,12 @@ Renesas R-Car sound Required properties: -- compatible : "renesas,rcar_sound-gen1" if generation1 +- compatible : "renesas,rcar_sound-", fallbacks + "renesas,rcar_sound-gen1" if generation1, and "renesas,rcar_sound-gen2" if generation2 + Examples with soctypes are: + - "renesas,rcar_sound-r8a7790" (R-Car H2) + - "renesas,rcar_sound-r8a7791" (R-Car M2-W) - reg : Should contain the register physical address. required register is SRU/ADG/SSI if generation1 @@ -35,9 +39,9 @@ DAI subnode properties: Example: -rcar_sound: rcar_sound@0xffd90000 { +rcar_sound: rcar_sound@ec500000 { #sound-dai-cells = <1>; - compatible = "renesas,rcar_sound-gen2"; + compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2"; reg = <0 0xec500000 0 0x1000>, /* SCU */ <0 0xec5a0000 0 0x100>, /* ADG */ <0 0xec540000 0 0x1000>, /* SSIU */