From patchwork Tue Mar 19 17:48:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10860095 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 2C1AC922 for ; Tue, 19 Mar 2019 17:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06D932896D for ; Tue, 19 Mar 2019 17:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EED8429486; Tue, 19 Mar 2019 17:49:00 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A1F2296E5 for ; Tue, 19 Mar 2019 17:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=udTlMr6OJrocrgqZXqv7gO5jz1ZM8oh1JTDwooym6XY=; b=YRazjrzv4eTfpg BgxPuR6kx1KNF6CYVTmcjtnHYVqnovVUaWMq6yoGgYPr4bvneOdprakGnWi57uLl2/Wmde9/V3/9X Hs6UqdtyqWELKtZWA8XQzj3akUlkUhA/wbAZePuSCTCM+0UntGwUDyuCGVLi3iNF+lLOPSlQ9Jv24 DiwR3WrRqsSXAZkaWgQFNID/vVGRwrKAXVCK+oVI9rO2e8ZyUQ6kqxSJD65tSD4oI2ZBKynaDlZbK ndpoU+bH+p4oyP/aT2MN1rk0jZT3MYxGJPhVOvAz7KOWgmqPqaa1mp0Kg5pcIn/ClaJhQPF5AtxbI kkYGeR8uk7vz5oC3STUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6IrC-000690-Va; Tue, 19 Mar 2019 17:48:58 +0000 Received: from mail-eopbgr40078.outbound.protection.outlook.com ([40.107.4.78] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Iqy-0005tJ-SO for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 17:48:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A9RJNXQGHq4PuNNz9Ewshf+Ynpo6oJt6dQQ1SXXSrak=; b=N7JA0qyS6EAv1FVEDN9xAA0AtoebxPCBv/Eq4MlOgriImMIkirWXdS0y0t028l3pPoN8f+AX5/DYcMbDjFnwTWIa7br/sirQPRDByVHY/brc6dH63lpL1Vl97qNRvt5Ly3fG/r/+T8ypmuxIuZ4d9egbsqUf6sSk9Q/ZEObW8Ak= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1SPR01MB025.eurprd04.prod.outlook.com (52.134.2.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 17:48:37 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:48:37 +0000 From: Daniel Baluta To: "S.j. Wang" , "shawnguo@kernel.org" Subject: [PATCH v7 1/4] arm64: dts: imx8mq: Add SDMA nodes Thread-Topic: [PATCH v7 1/4] arm64: dts: imx8mq: Add SDMA nodes Thread-Index: AQHU3nv6Fz4A8MDlIUyG5KWEo7IyCg== Date: Tue, 19 Mar 2019 17:48:37 +0000 Message-ID: <20190319174823.29467-2-daniel.baluta@nxp.com> References: <20190319174823.29467-1-daniel.baluta@nxp.com> In-Reply-To: <20190319174823.29467-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e97dae4a-d468-40c7-32d9-08d6ac931cec x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1SPR01MB025; x-ms-traffictypediagnostic: VI1SPR01MB025: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(366004)(376002)(39860400002)(199004)(189003)(36756003)(8936002)(6506007)(102836004)(305945005)(52116002)(76176011)(6116002)(97736004)(26005)(2501003)(7736002)(68736007)(386003)(3846002)(99286004)(25786009)(476003)(486006)(2616005)(186003)(66066001)(44832011)(1076003)(106356001)(86362001)(50226002)(105586002)(2906002)(81166006)(81156014)(6436002)(11346002)(446003)(14454004)(6486002)(478600001)(6512007)(54906003)(53936002)(71190400001)(110136005)(316002)(256004)(8676002)(4326008)(14444005)(5660300002)(71200400001)(7416002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB025; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ZovpcxVK7sdr+7XMuuRMvh0yTr+pbPahn9m2RUcbCcvRV90+H+9zmLcjO/lDhDbipHMHywHb7khW+2YIjOYLd/k+Q+cVfxhM8RFAeObwt6EBsyc4ZZsn7PsGznQZtS/Gwad80LyQ/IpkCKA3aM6IgvusV2ICKY6Ule4XkR9V6Y4Lb7VSqn9CVkP2fYBrV+0AD0lx6ZjsJLJ33CUhQkywDVih05F8JhzdI32fiwZrykDCZ/vU4jONLaJe/oMP2jrnMUNEgfyVxUAt0ENjHdOSwb5la+R8b7EbTI9DthAjhjG4VMuup2x2VZCrBryAZ1mcV27O0M9SsYOfdG79/W3dbR5zTi0uOJK7R3UXMBa2vp7tPIoUHX5EgGil2OhlXONocbmFPXCn7Lzn2z2NrDQONzY85NHobzounzqG5xaQW9E= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e97dae4a-d468-40c7-32d9-08d6ac931cec X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:48:37.4392 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR01MB025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_104844_916511_A63A426A X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Anson Huang , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "s.hauer@pengutronix.de" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "festevam@gmail.com" , "agx@sigxcpu.org" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SDMA1 is part of AIPS-3 region and SDMA2 is part of AIPS-1 region. Signed-off-by: Anson Huang Signed-off-by: Daniel Baluta Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 32a02027df92..7a62413bc1cd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -251,6 +251,17 @@ status = "disabled"; }; + sdma2: sdma@302c0000 { + compatible = "fsl,imx8mq-sdma","fsl,imx7d-sdma"; + reg = <0x302c0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SDMA2_ROOT>, + <&clk IMX8MQ_CLK_SDMA2_ROOT>; + clock-names = "ipg", "ahb"; + #dma-cells = <3>; + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; + }; + iomuxc: iomuxc@30330000 { compatible = "fsl,imx8mq-iomuxc"; reg = <0x30330000 0x10000>; @@ -600,6 +611,17 @@ status = "disabled"; }; + sdma1: sdma@30bd0000 { + compatible = "fsl, imx8mq-sdma","fsl,imx7d-sdma"; + reg = <0x30bd0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SDMA1_ROOT>, + <&clk IMX8MQ_CLK_SDMA1_ROOT>; + clock-names = "ipg", "ahb"; + #dma-cells = <3>; + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; + }; + fec1: ethernet@30be0000 { compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec"; reg = <0x30be0000 0x10000>; From patchwork Tue Mar 19 17:48:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10860097 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 4802C1669 for ; Tue, 19 Mar 2019 17:49:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2011E291D0 for ; Tue, 19 Mar 2019 17:49:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10FE9292A6; Tue, 19 Mar 2019 17:49:14 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AC658291D0 for ; Tue, 19 Mar 2019 17:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vdl+zGlH4AUw9txj9S4I1Vn9VJABhO1PARqxHVWG7AI=; b=g3Mlb1yd+phXJo 1dE5429hjSJVY3BzIOkNc3IkgZlQzDlS8VcFhLBSAhXaBZqVCcEJeKoGvCOLuRQ/7WrjwU5L3mcHe NTKPOwSkjqp8nMsPspEYHw0pL2dBTPSnspbH3/REtAf4cJTYNlSIwqYeN6H2nKKboCpfbOkWp51Sv 0u1mrU4u7UCyajwRIEZ5sVmR/oLY7ahuO4z060B9j+fqsiEU1sdIHWAqDq1NcBZD8a44UDxBG5NuS Z1n3yHZH3j5IqrWSqGQsbCHcB6gOx7ebMZLUqyibdpQxK6h8PdX6Spno7FDISuXFXO9A5MMbkYZLH wauNhXtLKabiPHe/DKYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6IrO-0006Lz-CK; Tue, 19 Mar 2019 17:49:10 +0000 Received: from mail-eopbgr40078.outbound.protection.outlook.com ([40.107.4.78] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Iqz-0005tJ-U8 for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 17:48:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q0NBVKVhyX/ppGtfTLtqwFT5qFUISZOUUbYjEkgaTY0=; b=rlRbki0sy/e1nVK+fY0zDByrz+YHuG+y5ITGY0kTGaNH/FgN1hyT98M4nRhBk5OpxGl0LczAviTa5rnrX/76rsj5bzMX6UTI55a6nfx5pKNSjlkki/BiE/mVV5ec1FsUBPA102KcfJ3FGW5SsSkwKHLOowPIhBpaOHbTbY7IZ+w= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1SPR01MB025.eurprd04.prod.outlook.com (52.134.2.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 17:48:39 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:48:38 +0000 From: Daniel Baluta To: "S.j. Wang" , "shawnguo@kernel.org" Subject: [PATCH v7 2/4] bindings: fsl-imx-sdma: Document fsl,imx8mq-sdma compatbile string Thread-Topic: [PATCH v7 2/4] bindings: fsl-imx-sdma: Document fsl, imx8mq-sdma compatbile string Thread-Index: AQHU3nv7ZVZuks5rS0ucf51z1gvPEQ== Date: Tue, 19 Mar 2019 17:48:38 +0000 Message-ID: <20190319174823.29467-3-daniel.baluta@nxp.com> References: <20190319174823.29467-1-daniel.baluta@nxp.com> In-Reply-To: <20190319174823.29467-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5eaec4b-8dd3-488a-e916-08d6ac931e1b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1SPR01MB025; x-ms-traffictypediagnostic: VI1SPR01MB025: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(366004)(376002)(39860400002)(199004)(189003)(36756003)(8936002)(6506007)(102836004)(305945005)(52116002)(76176011)(6116002)(97736004)(26005)(2501003)(7736002)(68736007)(386003)(3846002)(99286004)(25786009)(476003)(486006)(2616005)(186003)(66066001)(44832011)(4744005)(1076003)(106356001)(86362001)(50226002)(105586002)(2906002)(81166006)(81156014)(6436002)(11346002)(446003)(14454004)(6486002)(478600001)(6512007)(54906003)(53936002)(71190400001)(110136005)(316002)(256004)(8676002)(4326008)(5660300002)(71200400001)(7416002)(142933001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB025; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r8V8L5gAuhPflwQtd/QUYIC0YlU6Db4b3/LvuGH7m83LpjznH6bSTnJzjfT0CMIO5mUzR/pep7bxDDbiFQEoSOlZoJaEzWQfD6Z8X+a/pDcwj4Ldi8suPAXXQyUUI7mYlj+PImpmoBY03JN/w4hoTH5CQvpfhFIvZ/p601GHmu2jZjhGSUBwXI3Y7wZyS/oVjC0MYQHomCXjEujRa3ZEeU5iU0qAS4H5W6lPWyZTHrAfpzoKE3wSs5XKauY8Q6vdI6EvmfYvkllTAO9HOWU3HLVJAXSv3sDrNv2r69TQgL+YzYo1GfiGqQVPjg382J6c2FizOQZcVi/y5m2c+zBqmj19uwBxP8rUO2I7DQ01Ugq7lK0hgg3HLYcW83kmu4pfu+RE/l3llg5ab1VxCHSZjZD8YEluVgTFgFR6m1iS8No= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5eaec4b-8dd3-488a-e916-08d6ac931e1b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:48:38.8452 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR01MB025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_104845_968936_45D4C423 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "s.hauer@pengutronix.de" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "festevam@gmail.com" , "agx@sigxcpu.org" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add imx8mq sdma support. Signed-off-by: Daniel Baluta Reviewed-by: Rob Herring Reviewed-by: Fabio Estevam --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt index 3c9a57a8443b..9d8bbac27d8b 100644 --- a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt +++ b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt @@ -9,6 +9,7 @@ Required properties: "fsl,imx53-sdma" "fsl,imx6q-sdma" "fsl,imx7d-sdma" + "fsl,imx8mq-sdma" The -to variants should be preferred since they allow to determine the correct ROM script addresses needed for the driver to work without additional firmware. From patchwork Tue Mar 19 17:48:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10860099 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 1D690922 for ; Tue, 19 Mar 2019 17:49:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5DF291D0 for ; Tue, 19 Mar 2019 17:49:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCD63292A6; Tue, 19 Mar 2019 17:49:27 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D42DC291D0 for ; Tue, 19 Mar 2019 17:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tB98fLYA2wr89Q6iD/zRgzUwBf0dzlfASRAmtsKmc3A=; b=n3anoUZzEBoi+v H7Xmypy0V0mi8FggzaKhJfY0baIQmVrh5sEX6IsO2lDM9bFnYH0N6tpunnD9Q5qoVIhiDLFE2KPfD IqBp+xhtYcTEf5v1k+X/tCh2k2tGjXKhlej0ZetIDGrFqzKhc5WhF2rYZzSsGQdbFUooCZcPfVDBk O20vExthw2FsGMi1b4qoTfbqIIZAa5untMf9dVknVSSr2IG0U1p6QamNhtrS1PRIGBlRV7FCzntGG aa+BxH4Ea7g+hEvbHs+fprpRWO2+MjGGWIRc2etRI36QqXCI+Tn7EtIzUSf+B4WdvZNMOwZOsm4L6 oi+rwtGncJvzHwew4abQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6IrY-0006by-18; Tue, 19 Mar 2019 17:49:20 +0000 Received: from mail-eopbgr40078.outbound.protection.outlook.com ([40.107.4.78] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Ir0-0005tJ-Vq for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 17:48:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rvgxvEa8Fe/TzXOW4aP8NSYGyjP1EEXaFMXsNoa/VwE=; b=i32nidkR+yFTwB2kCTg++O+mXIGhUkHtpXPKWu0m/gCk7CogMZP7voOeWKbAeDkh0T1S6JKl5HDLXHPypKkynWgdy68Kj0jOoy/TG+VMMxsZaadHH1wrtPv4vFb5KpiKhAGcMFnMVckE6olBmSXOMK6hL718pzWlkSSVhKclgAU= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1SPR01MB025.eurprd04.prod.outlook.com (52.134.2.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 17:48:40 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:48:40 +0000 From: Daniel Baluta To: "S.j. Wang" , "shawnguo@kernel.org" Subject: [PATCH v7 3/4] arm64: dts: imx8mq: Add SAI2 node Thread-Topic: [PATCH v7 3/4] arm64: dts: imx8mq: Add SAI2 node Thread-Index: AQHU3nv8HgahrXqYO0ijyc6W+9mIjw== Date: Tue, 19 Mar 2019 17:48:40 +0000 Message-ID: <20190319174823.29467-4-daniel.baluta@nxp.com> References: <20190319174823.29467-1-daniel.baluta@nxp.com> In-Reply-To: <20190319174823.29467-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0b347079-a156-4843-76bc-08d6ac931ef0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1SPR01MB025; x-ms-traffictypediagnostic: VI1SPR01MB025: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(366004)(376002)(39860400002)(199004)(189003)(36756003)(8936002)(6506007)(102836004)(305945005)(52116002)(76176011)(6116002)(97736004)(26005)(2501003)(7736002)(68736007)(386003)(3846002)(99286004)(25786009)(476003)(486006)(2616005)(186003)(66066001)(44832011)(4744005)(1076003)(106356001)(86362001)(50226002)(105586002)(2906002)(81166006)(81156014)(6436002)(11346002)(446003)(14454004)(6486002)(478600001)(6512007)(54906003)(53936002)(71190400001)(110136005)(316002)(256004)(8676002)(4326008)(14444005)(5660300002)(71200400001)(7416002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB025; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: KQEsUy5J2VWepOOIwD3FnJuterb9bt/SUgjk3929n+a7yrjnMD423dPXbCZpCqTl4Cogk12/K2kdfDCjoTTSsSj59RAGSra10MqeZWfBtRzHpRaBMIkqbnXo3JGhBqiDQfiAgZ7T5yy/RQJBOUvBJhAwlmkjEDtWdcEAde8oLm0972eBR5vyYgzds1TezhklcoHEHTWYC2IMcCh7ePfvV0WAZMk5mrNCSP06uTskmi+rQHLD5FlJVEQWrpU5a7RDTRMIIrAwVNBkr4Kk/0z2Whyg6C0v8+NYo31n7KP2jhfyv8hASKkgp+XRQHbBcEXu5Cjyd2tFNrB85T353gfwzSwsObA5mYLfvZbLcxd2pB/jj9f0PMLksf9bcMqpDq69UeKYOQ37wfIG8hm1URGyjSA5wEEE/4j2ycamSCuIRb8= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b347079-a156-4843-76bc-08d6ac931ef0 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:48:40.0720 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR01MB025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_104847_184048_60C56A07 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "s.hauer@pengutronix.de" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "festevam@gmail.com" , "agx@sigxcpu.org" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SAI2 is part of AIPS-3 memory region. Signed-off-by: Daniel Baluta Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 7a62413bc1cd..87faf9d2f65a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -514,6 +514,21 @@ status = "disabled"; }; + sai2: sai@308b0000 { + #sound-dai-cells = <0>; + compatible = "fsl,imx8mq-sai", + "fsl,imx6sx-sai"; + reg = <0x308b0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SAI2_IPG>, + <&clk IMX8MQ_CLK_SAI2_ROOT>, + <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; + clock-names = "bus", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma1 10 24 0>, <&sdma1 11 24 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + i2c1: i2c@30a20000 { compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; reg = <0x30a20000 0x10000>; From patchwork Tue Mar 19 17:48:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10860101 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 4CD7D922 for ; Tue, 19 Mar 2019 17:49:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FA75291D0 for ; Tue, 19 Mar 2019 17:49:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 134B9292A6; Tue, 19 Mar 2019 17:49:36 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AAF25291D0 for ; Tue, 19 Mar 2019 17:49:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NP2U5SdAO3hHOk32UDlrW1L/VBkIswNtjXsGO7/D0/Y=; b=eZDkli6F32Vx1u S/c6OY/qENhIwcCUqCGrivDmZuZK2jL7qG+ukZi/r4DzSXTXWVRN8uhAHZdAs67XQDxAljQfTsCca yFBbvB0f333fIn/642wM/9Pljv8P9MAFUCp6YIn6eMV/TQcl/9c7n7oSlGhIiSrrR+yKD+HExx8rv r2Hd1+0y+nWKD+hvDRnk7zYksHxmext43qFCRsz0VX/MuaDxR0IH0SroEVo+swe9gS0Ps8IiEs4Bi rHyX4hCQ6t3MWPXjj23ud//EnB+z7wVo0O6TLs5QNlhbvw9Nc9+mh6VoPjIxQujpAI7meIu7oolko 0ynRxJCRu2cy3chWbzEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Irk-0006up-RY; Tue, 19 Mar 2019 17:49:32 +0000 Received: from mail-eopbgr40078.outbound.protection.outlook.com ([40.107.4.78] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Ir3-0005tJ-VQ for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 17:48:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F6aSuDmOIyD8TfTuRd5cvoTwOP0X42DCZwY7jDA2Wo0=; b=FwERJQ8fc4y3nQYbSEtQbe3El+MTyWAc4QdPNBmTZ/cnh2LEgnE5ppxMTutEI4LemHn16qXZTnqKdBogMKJINqRKWNu8ZTMPNq8tRkGz8YyVXSlWAXxcmv9l7/DCkmIn7K5KgZcSST74+c/n6aLp0AyX7j4qzz+RysLdSOxaSoo= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1SPR01MB025.eurprd04.prod.outlook.com (52.134.2.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 17:48:41 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:48:41 +0000 From: Daniel Baluta To: "S.j. Wang" , "shawnguo@kernel.org" Subject: [PATCH v7 4/4] arm64: dts: imx8mq-evk: Enable audio codec wm8524 Thread-Topic: [PATCH v7 4/4] arm64: dts: imx8mq-evk: Enable audio codec wm8524 Thread-Index: AQHU3nv9zNj885nj2EaiynwBXWQ+Ig== Date: Tue, 19 Mar 2019 17:48:41 +0000 Message-ID: <20190319174823.29467-5-daniel.baluta@nxp.com> References: <20190319174823.29467-1-daniel.baluta@nxp.com> In-Reply-To: <20190319174823.29467-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7f6c66fe-fbb4-4aab-ab5d-08d6ac931fab x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1SPR01MB025; x-ms-traffictypediagnostic: VI1SPR01MB025: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(366004)(376002)(39860400002)(199004)(189003)(36756003)(8936002)(6506007)(102836004)(305945005)(52116002)(76176011)(6116002)(97736004)(26005)(2501003)(7736002)(68736007)(386003)(3846002)(99286004)(25786009)(476003)(486006)(2616005)(186003)(66066001)(44832011)(1076003)(106356001)(86362001)(50226002)(105586002)(2906002)(81166006)(81156014)(6436002)(11346002)(446003)(14454004)(6486002)(478600001)(6512007)(54906003)(53936002)(71190400001)(110136005)(316002)(256004)(8676002)(4326008)(5660300002)(71200400001)(7416002)(32563001)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB025; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 00BLqQSLxiqbU+ZVPej2TTqw9l7OWSRuZjdyexopdYYvXHY4ThrwltFMGoYJsdg9HZltuIWR7F4lm/tIpPcRe2cf+su5jbZYq/hx5aW8A4WYy9LLjUdW4t57hHwivmw9XhjoLYZnSG+Go1C/2T9jpd8htdCHaEPJ0aNx4RqgJDyT+KSbV36fGt92zpAeH2379BOhxLlKbJ2q//qmkkw0SlMCS34Dbw1hVyOtX41RELIiYBZGrg0ahoNyxo5GcVGtnkaKNUki3xBiVCmX57AVIt1nSGaJJq4LKpo5xs40+bxxI7G+Y5iX/v0BU9tp92NNFNRI0plIJaAc7AX+DI6r7neniU0ssUTnQy5DXGfFQe/9jXWluDosc0IEHQher1GQEK0k9FSIZ5yo6KET7K2KNCs3kJRokRfIVmLOF7n3DX4= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f6c66fe-fbb4-4aab-ab5d-08d6ac931fab X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:48:41.3209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR01MB025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_104850_430315_318F288E X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "s.hauer@pengutronix.de" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "festevam@gmail.com" , "agx@sigxcpu.org" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The main Audio DAC used on the EVK board is wm8524 The EVK provides the MCLK to wm8524. Digital interface is SAI2 which includes three signals: SYNC_CLK, BCLK and DACDAT. This patch sets: * SAI2 pinctrl configuration * clock hierarchy * wm8524 codec Then uses simple-card machine driver to connect them into a sound card. Signed-off-by: Daniel Baluta Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 48 ++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index afea110b70a3..304c28034ddf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -43,6 +43,35 @@ states = <1000000 0x0 900000 0x1>; }; + + wm8524: audio-codec { + #sound-dai-cells = <0>; + compatible = "wlf,wm8524"; + wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + }; + + sound-wm8524 { + compatible = "simple-audio-card"; + simple-audio-card,name = "wm8524-audio"; + simple-audio-card,format = "i2s"; + simple-audio-card,frame-master = <&cpudai>; + simple-audio-card,bitclock-master = <&cpudai>; + simple-audio-card,widgets = + "Line", "Left Line Out Jack", + "Line", "Right Line Out Jack"; + simple-audio-card,routing = + "Left Line Out Jack", "LINEVOUTL", + "Right Line Out Jack", "LINEVOUTR"; + + cpudai: simple-audio-card,cpu { + sound-dai = <&sai2>; + }; + + link_codec: simple-audio-card,codec { + sound-dai = <&wm8524>; + clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; + }; + }; }; &A53_0 { @@ -80,6 +109,15 @@ }; }; +&sai2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai2>; + assigned-clocks = <&clk IMX8MQ_CLK_SAI2>; + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; + assigned-clock-rates = <24576000>; + status = "okay"; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; @@ -283,6 +321,16 @@ >; }; + pinctrl_sai2: sai2grp { + fsl,pins = < + MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0xd6 + MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0xd6 + MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 + MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0xd6 + MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0xd6 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49