From patchwork Thu Sep 10 07:01:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7151171 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7A7B59F1D3 for ; Thu, 10 Sep 2015 07:02:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 87522208D6 for ; Thu, 10 Sep 2015 07:02:34 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 6BEE7208A1 for ; Thu, 10 Sep 2015 07:02:33 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6973A26576A; Thu, 10 Sep 2015 09:02:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id E6D252612D0; Thu, 10 Sep 2015 09:02:16 +0200 (CEST) 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 AFE552614D4; Thu, 10 Sep 2015 09:02:15 +0200 (CEST) Received: from relmlie3.idc.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id 3047D2612AE for ; Thu, 10 Sep 2015 09:02:02 +0200 (CEST) Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 10 Sep 2015 16:02:01 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 43B0F4CA55; Thu, 10 Sep 2015 16:02:01 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 2948B480A3; Thu, 10 Sep 2015 16:02:01 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 27B4E480A5; Thu, 10 Sep 2015 16:02:01 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id SAG05726; Thu, 10 Sep 2015 16:02:01 +0900 X-IronPort-AV: E=Sophos;i="5.17,502,1437404400"; d="scan'";a="195341181" Received: from mail-pu1apc01lp0022.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.22]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 10 Sep 2015 16:02:00 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SIXPR06MB0606.apcprd06.prod.outlook.com (10.160.237.148) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 07:01:58 +0000 Message-ID: <87613ioj68.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown In-Reply-To: <878u8eoj7x.wl%kuninori.morimoto.gx@renesas.com> References: <878u8eoj7x.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Sep 2015 07:01:58 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0001.jpnprd01.prod.outlook.com (25.161.225.139) To SIXPR06MB0606.apcprd06.prod.outlook.com (25.160.237.148) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0606; 2:veWqOumBtPGoyRAI/StSgvTdMME5OzxIvLVCA6e9zlLZ6S+YQP2C7w0qwew88Z1/q+BRl/yzs5ggr1Grk4uqP8eZ6LhMIpSOgqMXPJPuNsMAXvostwUGIQGzk+5GZ3yxX/F7HFK9/m3vzSqpi9tgazwP1LV9luVg6J+PfdhfiVA=; 3:gJeG7SnzkFCNlreUSQBw0F+AdWc346GUJlMTUOn1OkEHIqdErfRUuG6Q27unBe0Tg0Bteb4NqKEIVra0W7RPZqW25v+7tyZIg8Hiic6jAWv5wr2OuEG3FU3s7J4LjOI8qVlnVa/U/iL9jAaNGCMQjw==; 25:SjDScvFCRiiu6eRBWFB/6ZVxIDY2PMr/A6oLh/M9m6B+6rqP62jPWHuDLAaUiXlOpWVB+ia5v1Ygi5OrjvKTyyQi3POCj+ygJCrAfm/YLdWY1HyEOvzld84WCS9FVUcgIxPlxdWTKG9tHbpYMQKVgwH+N8cVrQIynLZ1+GHIdIh16nT0nNZJ7/2GKhsY2bASq1ZAxE+1zMtqc+4jquyQ+9GBAS9wq24XbZrtzBXtzuWBu3j5+Gy+HR3o26BAVcTT6AKFAYPpKZ6xHFHkhV2FpA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB0606; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0606; 20:fWAYh6bQPYqc20/Nxb6Nm6v71IyyoZYdBF0cN+J95I70a9ryfKPz3OOpYiQhSn62Yh2OpkB1eYpwr2lo/GZyS0P6CxeTv8pPvFWLXKcIxb5f5gEvTE/Frh5ZLywLs7f7cOMXJ90bZQLT2SKWW5USo/No9oheOng6k7qlQPKINsQgd8sAi+vRG8YlNWxQlG1xLoRd52a2CC6hFn7TdknTBK/g1Uvk+CSfoFidwgVnUNHnUklMBuafu4fuyRShv6XXlp2q5m2g8hLekeeybeYO8VfhqX7NS4tB3VspJPJym2Z9kSdB5EPH/hPY+3GoS0ehC4ru4QPdy/G4DI2IAWGlxG79Txs9eYqp/RR8zDwBeb+Jt71Y6PON+nAouOVFfD855adVcQ8ZE+07FrLfTbyV1aPGf6RRfyCnKBAk46QeWe3J9YK3+jeQwhZF1htT/DnRV8/v5ZN6G4naZg2tm7dodC6rG5+KW1yg8R9EfieYQwH/7iU2xNMsbLHD1ckgHnU/; 4:GKt7p2rzmMHtWodHtwW74TcKKVo2B2nCMz4BR+s53RGguJrd7QRwPGz03DdxMaLhp0PQHNhu3/yz5c6dueqXbPqtYk6E5PoCvqxHps64PhB3gphp1fYn4r5+M1KFwi5I3bu9d0e9GM57/OvAmLpQ8foTeuPMyrF5OsGmLGIj5TB3jv8Tlc4z8mmh6otsaBZ5xORkhNXfAp4GRL3kwfHeLEeZLn6fTn4dGy+tzVP6Alc/M/3dNpjja3dXqGYcr3r+dABYSvEGCGe8fMNq1wwvK8mMaReQuGSEVr0rV5qWvoX+xqfA33lDANlxmPHLqRgr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:SIXPR06MB0606; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0606; X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(42186005)(77096005)(101416001)(19580395003)(40100003)(2950100001)(36756003)(189998001)(53416004)(110136002)(33646002)(105586002)(5001860100001)(46406003)(19580405001)(83506001)(64706001)(47776003)(66066001)(92566002)(5001960100002)(229853001)(68736005)(5004730100002)(5007970100001)(50986999)(122386002)(106356001)(87976001)(77156002)(46102003)(76176999)(50466002)(5001830100001)(69596002)(62966003)(23726002)(81156007)(54356999)(4001350100001)(86362001)(97736004)(4001540100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0606; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0606; 23:RrynidNOS++g7QriEB1OvHWCMp8dECCqYefXxyDtS?= =?us-ascii?Q?sHECQ9uxTMbC3yTswaicrJj7BCsi6TALds0I9xqQY1Gi319x9ZHEZ1P6oBLm?= =?us-ascii?Q?Oemqtn95xjBFCZuA+MTtLuitUSKWBH1wjvfW05N391IKXxMrLGgS+zfAxhq+?= =?us-ascii?Q?YgEkxhsyydLneVpVFue3VF0xf/B5aD+a6gxWwims7yMnADVMDxSfo1gD7qQ2?= =?us-ascii?Q?3aUhSizBSuA/jfhFwA1GkrQHgkgyfZ6YtWHJ1Vo3XoX+C5X9sxYDLlBrWoFg?= =?us-ascii?Q?kAV2fJwKK7dhuvXrqvp0+BlStLHE32+4Um6UD2bQCQWg9Xm2UR2ZLUafvQK/?= =?us-ascii?Q?WLyzp+hG0SUjODTdfUQLPZrJ9wrBZseAy2dLC3Y0K0K78BswcYZRN6q2wfTU?= =?us-ascii?Q?8t2Fn14QCNd6J9JSPHAhB9Dn5TTgkatw/ILHC6mD1lQRMFy5ZoZpSNXOqIxA?= =?us-ascii?Q?m1H/2cmg1QiaFh6GcPcucaJQT+JIechdu1oemGg0LO8M6D7rNY1BkMpaNOqw?= =?us-ascii?Q?62usQQRsp1dYpf97t0rpnmctSRTccWTUo0w/nIDBso8xVUlOjS+5B+f+e5Ve?= =?us-ascii?Q?jBhQwkLw+SHdmzoVQExgne8UtSjms4u9wB9Exz38VXyhEiWigFcrP2/bDFYn?= =?us-ascii?Q?RtC4PcdKWkwlds6qbW0Va+I+xoMp7a4xARkXTMNYU1zP0RQ0bZyf9N6EkSeM?= =?us-ascii?Q?S0ksZ5hPhakXJeIXsEW8AjxwDr/fMWZUTgeJivhsJAN2rL/EPeYypI4ncsK2?= =?us-ascii?Q?ZpLJqosIHDPHcYPsI87N6zomNb6FGZ5Nx8p6dVaLVvXPXhpePReb3r01XpBL?= =?us-ascii?Q?EAbEBX1cnvk7rGjmS0sqXlSnljxIBZbFujgcQhRUHWpKl99RVbu9mnPgytYI?= =?us-ascii?Q?TobT/549nOeq/tt8LNo+raG1yy58HcFQDzDQddt9QDLPyAHgK3Ol9MqK14+v?= =?us-ascii?Q?pl2e8yC4sB/liU5jqTwPFqon9R0+7WWJgdiwhBKeMGzKWHVGx32lZXvQCFRE?= =?us-ascii?Q?QFZ3q2bwpkyJkadWnu2wKZQGzd7f64FM/atOvmLscCGPf1BqZig6YjN5akC8?= =?us-ascii?Q?xkFugtrBKG1VAPUESJuvmKWzZB4W5M1Z2cfDi4hPRIt2jEJmnL6d24JvFRGx?= =?us-ascii?Q?uj32Adl9vRvCAAG+3Qx2XM6TjE1BiOF829qnrQ8GeYhBh1UvlbqpyF8x5D8c?= =?us-ascii?Q?L3N/1Br8NRB0RhCkVRe1ocIEkI0chqSISLC/BVIddL8KMXPswRa4blsLjnD2?= =?us-ascii?Q?hPPzyr7FJg5UBACXk4=3D?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0606; 5:sT2TCM7FffF9j3t9N1D9k7nIsOkH7dOMESXps2yGJBPTcdCCWib8ea1nD2T2OS19yt5Mx5S/oKbcykQx3V7r5WOYQCx4Mg80Fb00YTETvC9FHhQ1vM7dorjEcP04//RpHE21lZszqJHjbycsnxp9eA==; 24:8RmRhopn1VuCiw4Nnp69YQMSz2ALoiMlHz0mq21pXIJerjSXIt0EuauBUCFmIks9GBpjibRucxEbCHQ36CXLbZ4gRm+e5tM+HUSAYUHS+aM=; 20:chxYGwe3vsfr3KHKYiX4UJL80811g53izyz/CAaXfaAfbrXC3NbODyvE2ayooNUFBGXP5njWwDn6HPcr32+R9C1sSVGDvxj+gnz5tU5NZ3fecuqz9H9iVXpROxUe39v8k6rJzXYpK5J5ByCs+QeAzcGUc3sEiLOtEw06A3KiE5o= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 07:01:58.6738 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0606 Cc: Linux-ALSA , Simon , Liam Girdwood Subject: [alsa-devel] [PATCH 1/9] ASoC: rsnd: Add Gen3 initial support 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Renesas sound Gen3 is updated version of Gen2. We need to update driver for it, but basically it should works as Gen2 compatible. This is initial support for Gen3. Gen3 specific feature will be incrementally added in the future Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 2 ++ sound/soc/sh/rcar/core.c | 1 + 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt index 776cf6a..bf6fd1a 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt @@ -4,10 +4,12 @@ Required properties: - compatible : "renesas,rcar_sound-", fallbacks "renesas,rcar_sound-gen1" if generation1, and "renesas,rcar_sound-gen2" if generation2 + "renesas,rcar_sound-gen3" if generation3 Examples with soctypes are: - "renesas,rcar_sound-r8a7778" (R-Car M1A) - "renesas,rcar_sound-r8a7790" (R-Car H2) - "renesas,rcar_sound-r8a7791" (R-Car M2-W) + - "renesas,rcar_sound-r8a7795" (R-Car H3) - reg : Should contain the register physical address. required register is SRU/ADG/SSI if generation1 diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index f3feed5..870f944 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -110,6 +110,7 @@ static const struct rsnd_of_data rsnd_of_data_gen2 = { static const struct of_device_id rsnd_of_match[] = { { .compatible = "renesas,rcar_sound-gen1", .data = &rsnd_of_data_gen1 }, { .compatible = "renesas,rcar_sound-gen2", .data = &rsnd_of_data_gen2 }, + { .compatible = "renesas,rcar_sound-gen3", .data = &rsnd_of_data_gen2 }, /* gen2 compatible */ {}, }; MODULE_DEVICE_TABLE(of, rsnd_of_match);