From patchwork Thu Nov 8 01:58:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 10673359 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F036C15E9 for ; Thu, 8 Nov 2018 01:59:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1D6D2D1A5 for ; Thu, 8 Nov 2018 01:59:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D571D2D1AB; Thu, 8 Nov 2018 01:59:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 690C22D1A5 for ; Thu, 8 Nov 2018 01:59:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728457AbeKHLcL (ORCPT ); Thu, 8 Nov 2018 06:32:11 -0500 Received: from mail-sg2apc01on0097.outbound.protection.outlook.com ([104.47.125.97]:60777 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728445AbeKHLcL (ORCPT ); Thu, 8 Nov 2018 06:32:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xifcmynSslKaJT5YRn7j7k5E4tR/dPPd8V7kjNErKw0=; b=CVHsbLAkXiwYYG+tJW542eSIuEGgECjM+wnxykDD1zkdLm90vzu/nivYX00pf0SDcgBrgW8kOTL30yXTXIGDoCk2GuE0B9wYiONr4TFDzP5BkbKd7MZ955xv1G8ZHHo828vxtz3qJS2kU9XOas6tPr0iztrzmJ9zVSpAP/SmodM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.130) by TY2PR01MB3324.jpnprd01.prod.outlook.com (2603:1096:404:db::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.28; Thu, 8 Nov 2018 01:58:55 +0000 Message-ID: <87d0rge3sk.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/4] arm64: renesas: ulcb: add HDMI sound support User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Simon Cc: Magnus , linux-renesas-soc@vger.kernel.org, Jiada Wang In-Reply-To: <87in18e3um.wl-kuninori.morimoto.gx@renesas.com> References: <87in18e3um.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 8 Nov 2018 01:58:55 +0000 X-Originating-IP: [211.11.155.130] X-ClientProxiedBy: TY2PR06CA0028.apcprd06.prod.outlook.com (2603:1096:404:2e::16) To TY2PR01MB3324.jpnprd01.prod.outlook.com (2603:1096:404:db::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e03e2f6e-7665-4034-6049-08d6451dbdbe X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:TY2PR01MB3324; X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M8qRXyBmXMghb5XhIB2gZrRczTuIgWcpXxvDJpFwOy7KVOOWq9KuxOCMwZHdJgi7xJqxqDnIEHEqyASJKEAxXXaHN9rSw17tODCHuoqZpidEq8naYG3z9Hualr8gvA8kw22hKVN42c6zCpf+oFjh6d4AsxsFsRlAnTAGMdHAkEYVfQwYupdEokIdZRGLu8xBbPMsrL8IvlrAT/VpLcfOdcMz4TDsddd+ZFMYyb++Y0CqAUVJbIHcE10Mh/LWhcm0PS9MklifOFBJgVSwiOSfk8f1ca/aHUXJwq1RMUS8l98TG7lPaL5oZBqfgeXanpbfT7MKRchkhSNW2bnotUVQQN6CkkGoZ8FHxWsxMu2EsbCxLVC3ZqqHwdakFfpXQCHpa;4:rlWkV+/Qtv8ENC72XP2qHb/r4qUjLo1hGv0y3xInE2DXi5GzUX+jZAyeZXZm3FUAdevxAIlsmcKf7PfRGituU4NWzsqTr3vW5kKO6G0ysOyGcdGZPMaBivKLZnlNbIgrLpcEPT5NDF/VSO8fRKbIsM5X5oigblaeF9hUg4zslcGC7QjxB/G3mwKHbOnWtREPbapDYA9Wq9izN+4BmXyRwAlgNFXBBiggJUKY5mrJsB2o8siiIOjjJn1jxF73BJRHtHND6CqS7pSJrRl49GiNmg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:TY2PR01MB3324;BCL:0;PCL:0;RULEID:;SRVR:TY2PR01MB3324; X-Forefront-PRVS: 0850800A29 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(346002)(366004)(376002)(136003)(189003)(199004)(305945005)(53936002)(14444005)(7736002)(54906003)(2906002)(58126008)(6916009)(2616005)(26005)(956004)(68736007)(186003)(446003)(16526019)(5660300001)(11346002)(486006)(36756003)(52116002)(6116002)(7696005)(53416004)(386003)(76176011)(69596002)(6486002)(66066001)(476003)(105586002)(25786009)(478600001)(3846002)(8936002)(86362001)(16586007)(316002)(97736004)(39060400002)(47776003)(81156014)(4326008)(23726003)(106356001)(8676002)(81166006)(50466002)(21314003)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:TY2PR01MB3324;H:morimoto-PC.renesas.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;TY2PR01MB3324;23:j4WWMcNz6I1cr+XHtzWy8REvPi6CkDwpeHmMPe5zRRxYXUa+z0nGHH+ynTmgFNlelSR+8p80R9wRm8jUledBEUuwGr7ZuBCPoERFMp9EC7x0HaMYrRPHfhlOpRqnfX3B9vTFE17YY6+I6p7aIKkohQlu27ty1WTNJPZy80fOY+KrP4Gfcn8gz8JIJdRbPSUH9l4zMaWD9NUvKjY3t6+Ku3WdJZ56VuKU+PKWNuEBP8P4oUt+WwzGVJclp1qdayJhZvuMrHNHD3K9+fsM8uYkvBtIuT6qGlNUba5/DAOhdzm1cnlGYIiqVuXx1mdFgRNwF1zUbOwBVkTs1ArzfD6vW4B1csVy21Q1HQJnFT9+ChMMT0OR8x5Wo68FQvRlpWLITX7pq7KEOYMuFpswT6tyYebYXa7sCTgATnuPap45zSynE5+kNZ7pOrXiM2kS7bq0u3jmD3meZy5xxIV5g3cip5Kc80dZGXFo+gdKnS56BrrZ9ZCh0A2P4aMfMY7v6LK9hxEFiGi3B6/txhP6RbOFRk1e69mdoyFg66QX61XAPcVhXD6UccBb3Iimd9LNsOxSN+0jz5/blsNaPC6Sa9jSGKPNuxYqMojPaaJ9nldreLcQma9tiK4VNuaN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ufp3RXP7ctvdeN7ILZiN/nWOI9sXjIcIx52apUQY3wVxhSzps3QxbnhtNsJAH5aaETKBmPlSS7fh4HQwGGu+z4W3s5ACnYzHQ+e3xFpe4Wl8PgGoeIZE2zwmB2uoypvpeNKHe2/XefywCaerd+H2Aq1gY/CyKvuBm3a5/XTOSQb9SpzFS2EUrn9sOv82iGWyuDCEN/PDYNwpHiuzq1T/feODwN4R/bJITyYCirJzd1KsTn7+HABQjY+MNzKcwiPDa7nxfTLVzgQ4+SeGEf1LX34SePPghOL1joavwv2BYCbD8aagq1QKG4MQEieZBfW3qvpOTMe2jCCnQhDp476ksxAWJA6BzjHAda5fCBeJLrVRnud5p3iizXkoRv9CiEI1JZM1pF9EuDREjvLIEB4hKFN1WWPR5kjnSF/OEMYJwOYeWWkbDuxCtEyr/PiOpA2A==;5:1Ed/7nKyuyAI3GXZSAF+NATFtxunDbys/EEy4+RKvpiEPuj+oln908F4A3HOgARbQ/TUbCmfv3MRJ0BME0DSAvgCLzOOlzL2KfgHGDIt7j4yP0P3YgEax8Ukz/UQBEwNG+J2H5zHw4vMX680zdUBAfNlSM+wDTbf/dKUr8y2U3g=;7:sd9JHr10qDQ3sgwE++zNxp2Q/XyhTJdiLN9JHNfrlhdsmvjt9HGe9PTYT64BzdntNauy1uSwIcyTQBabVBD6C0eCo68mp7CIlqcLeXsmu4J+CA6DV5ErAakaF1jIUve1mmfs+Bliq9ACRL/TUF6tkQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;TY2PR01MB3324;20:ldG3nFf/8rtv9baRBxWdSDI5DTkPxARjIZ+IOV5rvpgVxlfMy+QHKR4llIqCtXO0cVC+rF/FBDRZ6lX6azgoJQIvH61+c/rEW0me0IpEqbOk7/TshHrjVUIo/hp7hWzPafm/BtbnkiEr5z+P8EPw9Qw04w0tvGEmzJr71m2nOsM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2018 01:58:55.8617 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e03e2f6e-7665-4034-6049-08d6451dbdbe X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR01MB3324 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto This patch adds missing ULCB HDMI sound support. To use sound card, HDMI video is mandatory. Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/ulcb.dtsi | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index a936f06..de49b2a 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -6,6 +6,14 @@ * Copyright (C) 2016 Cogent Embedded, Inc. */ +/* + * SSI-AK4613 + * aplay -D plughw:0,0 xxx.wav + * arecord -D plughw:0,0 xxx.wav + * SSI-HDMI + * aplay -D plughw:0,1 xxx.wav + */ + #include #include @@ -87,7 +95,9 @@ compatible = "audio-graph-card"; label = "rcar-sound"; - dais = <&rsnd_port0>; + dais = <&rsnd_port0 /* ak4613 */ + &rsnd_port1 /* HDMI0 */ + >; }; vcc_sdhi0: regulator-vcc-sdhi0 { @@ -173,6 +183,12 @@ remote-endpoint = <&hdmi0_con>; }; }; + port@2 { + reg = <2>; + dw_hdmi0_snd_in: endpoint { + remote-endpoint = <&rsnd_endpoint1>; + }; + }; }; }; @@ -403,6 +419,18 @@ capture = <&ssi1 &src1 &dvc1>; }; }; + rsnd_port1: port@1 { + reg = <1>; + rsnd_endpoint1: endpoint { + remote-endpoint = <&dw_hdmi0_snd_in>; + + dai-format = "i2s"; + bitclock-master = <&rsnd_endpoint1>; + frame-master = <&rsnd_endpoint1>; + + playback = <&ssi2>; + }; + }; }; };