Message ID | 87ziyriqjz.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@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 449B9C05C6 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Nov 2015 06:42:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 622F92075A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Nov 2015 06:42:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C74520755 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Nov 2015 06:42:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZuahT-0003Uq-LW; Fri, 06 Nov 2015 06:40:39 +0000 Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zuah9-0001OR-Uv for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2015 06:40:23 +0000 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 06 Nov 2015 15:40:19 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 79DF2465EC; Fri, 6 Nov 2015 15:40:19 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 66BE42806E; Fri, 6 Nov 2015 15:40:19 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 5FD8C2806D; Fri, 6 Nov 2015 15:40:19 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id RAR15831; Fri, 6 Nov 2015 15:40:19 +0900 X-IronPort-AV: E=Sophos;i="5.20,250,1444662000"; d="scan'";a="199215425" Received: from mail-pu1apc01lp0018.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.18]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 06 Nov 2015 15:40:18 +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 SG2PR06MB1019.apcprd06.prod.outlook.com (10.161.9.27) with Microsoft SMTP Server (TLS) id 15.1.318.15; Fri, 6 Nov 2015 06:40:15 +0000 Message-ID: <87ziyriqjz.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 10/12 v6] arm64: renesas: salvator-x: Sound DVC support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: <linux-sh@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Simon Horman <horms+renesas@verge.net.au> In-Reply-To: <87egg3k5g6.wl%kuninori.morimoto.gx@renesas.com> References: <87egg3k5g6.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Fri, 6 Nov 2015 06:40:15 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR0201CA0035.apcprd02.prod.outlook.com (25.164.90.173) To SG2PR06MB1019.apcprd06.prod.outlook.com (25.161.9.27) X-Microsoft-Exchange-Diagnostics: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5GA29hjFZ7WS+eYK7qLx2gkjm88EawcVkWr712lPZ8Pum0HUGUHtXDz6CzefltuBHoYMFLE4LyJN2eXyUV7Eyz/YWbfll/vRZJYatYnkFG4kP+WrzV20kyps2cbsOwqbk7N1f1HpNPHOaTaGs/TSNvaYfGf; 4:J9iEJQGd4hL48OerNN6s/q5uP8z84+9Z8UxrNrsYT525pQwu/gTLzTxqU15YzaCNXfcFFCSraeCVyRDN//yf88xBLK8EdaT9jm/I62jI8mt0jhyG/r/BMuXOTrvFFp2545i7A9Yqgv9BuWYpKXUwrLDtkFk5BJ40OparwEVHyedAApULLJu41IMhOs1Os6u7W3r9aZzOkk7cblUJxaajpbjHwhTq+FaFTZQXTuDrfMyMxjOXcFK8Hyrml8pG/Azhicw+peKKTCJpc5SQW0apGwEgl+4ajYmz+wfBHiTYnyOGNX5aa/NSpCzgdYwAqWRJUAs/YWYf7WQdNF1xZlHJdpUgplViEi2MlcM5Uf3BFjejBsHq5cl9+WuFA+3eya2X X-Microsoft-Antispam-PRVS: <SG2PR06MB101938285577D38D55D374BFD4280@SG2PR06MB1019.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:SG2PR06MB1019; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1019; X-Forefront-PRVS: 07521929C1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(106356001)(40100003)(36756003)(83506001)(87976001)(101416001)(105586002)(19580405001)(46406003)(76176999)(53416004)(42186005)(19580395003)(69596002)(86362001)(47776003)(5007970100001)(50986999)(54356999)(66066001)(5004730100002)(5001960100002)(97736004)(122386002)(189998001)(81156007)(92566002)(4001350100001)(23726002)(2950100001)(50466002)(77096005)(33646002)(5008740100001)(5001770100001)(229853001)(21314002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1019; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1019; 23:BE+ZvOXMNpoCP21yMDJNSqqdohUWMRTQ/MdS1Mebw?= =?us-ascii?Q?O1fM8/ea46uTINmULNhDxwyZI5a2qt+AFu0EpQfTj6ekL03gxGUi1h8aSYQu?= =?us-ascii?Q?EdEXd3foc1kiIt68nmj0gZavKZIevDGm54oRx9MNskgl+xn3AmZJymO3UqdR?= =?us-ascii?Q?YN3B3F+TG6Dre+pXCpjAwZW8i+pAfJ9qzDI9X5Kd3QWDV4nHn7Z/VItx93Ig?= =?us-ascii?Q?4Uw5K4EdzYI9i9hlQqX9lCwCuhoFVtC2xjYaVcHAEjO+EXMUm1jaiMzBk/Sf?= =?us-ascii?Q?GWq7M8eE9Cc1MX/UkFgtZHL40IUc2DYKqRTP4Cm+DJEZJNRfeWnX7APrq/BW?= =?us-ascii?Q?oi+YvMZebF1z6+uEU8EZqypBQ2O9SrOLcNIwhnpG4E06NO3Y4D/e1BEIEs3i?= =?us-ascii?Q?NV657K9cG8I7UWrIwRwHD2u0aDXrw1JeQIZaW/xLGJUYMQo1dn+rSuCaRVE3?= =?us-ascii?Q?plMCJjdgo31YMOe7fkNPHOSO3DFDqlllrDLAzmMz62PvEGwdTsgxoABO6qKJ?= =?us-ascii?Q?EbWS2KGU2JQ+T7nud9Z7eH8PQa5cKRcLBH9PBwNBtPbTYl2mHGd8stnzAiI1?= =?us-ascii?Q?IQV1aVlEHLcRo/GG5pqEAGu4pU7IhwOX168uLc1Fz6NEn1d8VcUjehr+Ehm7?= =?us-ascii?Q?ArBP4Wg18PQ0+V5fZ7jn7+PTVB6wNDkBrByAC+wOX9lGTb8joJY80Noxrrdu?= =?us-ascii?Q?oHjfcFX48FSRwtWpELlw80Vk2uUBd4rtlDkg+BHZOo+jSEKXoY4bS+gAGlQv?= =?us-ascii?Q?cGkKlzD/ryt08TzOxfDuPiNM+ne8sHyGjrntb7dt1kBDW7W8HjzQWYUM4CLO?= =?us-ascii?Q?Nd72J3eYEUfm/LpNnWXJHgNulxh91bMHueI6gpAOrQA4b6TN+4XykQldTCQS?= =?us-ascii?Q?STSJ8fo5i7duzE7ynKLel/47xX9H+9sa+DrjjwVYoqzi5FFYhIbrKtRo7Pty?= =?us-ascii?Q?XhsdQ9KQrjWTmIezqXFGXnHyNsVrZ8i0AGHIjXW340cwAfiLDP9ZU0PMzNsv?= =?us-ascii?Q?MKUQuXl7NFGv4yX2PIkPlkXIEUA16NPgLA6BT6NSPZlona0lpSf1daYANMNQ?= =?us-ascii?Q?LFlTqD8RrAKEBZTbiyxWeCi3EFBs3lpfToupHvdAh8sx/rd2IvBSEhuMgHwo?= =?us-ascii?Q?/eOUE3y5Lk=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1019; 5:zhWN1EdEXvkDSIBIubR3sofm4J7YJz5p8TjFjCSqBsPceuJcusphPuKmYLpc/d7WOl4HRjaE+0nBi4kkVtPzc4MrIAtk80VTDE8RhmreRykZAb3WxfGbgc+/N/14mFR8/BX29rvBDn8MGqlZGdNShg==; 24:Syzp6m6HS1XRpj88IxxRhfoMY1i6xZ27fX9snq3QuCWvju5MNK1KuZvYGDp8jgGoagf7vmsQlim3br/RlTGREJ2btvD5EtM21WzNgZ9AYQo=; 20:BBLGXuQS768JLXU9XsfIiQYouGJ1TqAR39ESmKdKkXDxhMzBlSsXBWaZV4vddRCSMyzSqhsRzuqFulciqZUfRMs8i9io4KvJwU2LNvRx3va27CAjT35GInqOnDmNVYY3hiHk7EOXhHxxpiuQAW2EK2NzLr3IFegwEiST7vKy5v4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 06:40:15.6560 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1019 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151105_224020_833346_6244353D X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Magnus Damm <magnus.damm@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index a238fa2..bb255f53 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -8,6 +8,29 @@ * kind, whether express or implied. */ +/* + * SSI-AK4613 + * + * This command is required when Playback/Capture + * + * amixer set "DVC Out" 100% + * amixer set "DVC In" 100% + * + * You can use Mute + * + * amixer set "DVC Out Mute" on + * amixer set "DVC In Mute" on + * + * You can use Volume Ramp + * + * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" + * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" + * amixer set "DVC Out Ramp" on + * aplay xxx.wav & + * amixer set "DVC Out" 80% // Volume Down + * amixer set "DVC Out" 100% // Volume Up + */ + /dts-v1/; #include "r8a7795.dtsi" @@ -136,8 +159,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi0 &src0>; - capture = <&ssi1 &src1>; + playback = <&ssi0 &src0 &dvc0>; + capture = <&ssi1 &src1 &dvc1>; }; }; };