From patchwork Tue Mar 5 11:26:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 10839323 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 3F339180E for ; Tue, 5 Mar 2019 11:30:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 285842BE8E for ; Tue, 5 Mar 2019 11:30:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C0062BE94; Tue, 5 Mar 2019 11:30:33 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E7FB2BE92 for ; Tue, 5 Mar 2019 11:30:31 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BFA6E851; Tue, 5 Mar 2019 12:29:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BFA6E851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1551785428; bh=bh8wgByOvN6sPYKL1DxSaQ5DJhXg0zdEtZDtaYlp3cU=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=N40xsNmu+CGbkH9vjxeluQMsYUIJqLx+phbj0opmbszWBPrf/cYT6sKv4sR9o/3Su CujEbTf0OZ1Iik8YOwnefe5s03I7Wf4Y03ANdzQjjQo2qQkN81cThinuYiptAXYBAn By62us5IwMVjJOJg4zSVzsMFZr+BlNfLb+/D5rAA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 738BFF896F0; Tue, 5 Mar 2019 12:29:37 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 302D5F896CE; Tue, 5 Mar 2019 12:27:08 +0100 (CET) Received: from esa6.microchip.iphmx.com (esa6.microchip.iphmx.com [216.71.154.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E499EF896F0 for ; Tue, 5 Mar 2019 12:26:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E499EF896F0 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="V9MAzuXK" X-IronPort-AV: E=Sophos;i="5.58,443,1544511600"; d="scan'208";a="24834064" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2019 04:26:44 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.38) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 5 Mar 2019 04:26:44 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=myVXLw/9ASojCdyCf1IEv/Hrqc/HX0WSddPg/0VW97M=; b=V9MAzuXKLfDFgniQY/5QxIj+1TGXCwvIAywqs1i3W3IL1ocZtsV6xmppkR2oMd0QElquEh0DuU0H/zTOwuTbGheQ95vQVgKJ0wOfTycNpmIlg1QMHSt9zuOl6RyQO9Se+0dYfWa47YxHiKInH8m5xwn1cc//xZKgZ71DVTVkPnM= Received: from CY4PR11MB1256.namprd11.prod.outlook.com (10.169.252.10) by CY4PR11MB1382.namprd11.prod.outlook.com (10.173.16.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.18; Tue, 5 Mar 2019 11:26:42 +0000 Received: from CY4PR11MB1256.namprd11.prod.outlook.com ([fe80::d9cc:7741:4930:cda3]) by CY4PR11MB1256.namprd11.prod.outlook.com ([fe80::d9cc:7741:4930:cda3%8]) with mapi id 15.20.1665.019; Tue, 5 Mar 2019 11:26:42 +0000 From: To: , , , Thread-Topic: [PATCH 1/2] ASoC: mchp-i2s-mcc: dt-bindings: add DT bindings for I2S Multi-Channel Controller Thread-Index: AQHU00ZO5cHGuq9xqkyVRhygPbt4Vw== Date: Tue, 5 Mar 2019 11:26:42 +0000 Message-ID: <20190305112610.9641-1-codrin.ciubotariu@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0801CA0072.eurprd08.prod.outlook.com (2603:10a6:800:7d::16) To CY4PR11MB1256.namprd11.prod.outlook.com (2603:10b6:903:25::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Codrin.Ciubotariu@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cb3ab6a8-160e-4ef0-bd96-08d6a15d7113 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:CY4PR11MB1382; x-ms-traffictypediagnostic: CY4PR11MB1382: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; CY4PR11MB1382; 23:0wqXiwD354e2EqgqU9U7WFD0yCn1nv1g7tRsGXd?= =?iso-8859-1?q?J+0Uqre1WHeo+oV?= =?iso-8859-1?q?rupBfIFMuENn1YuSQ6Ff6TwtIHJmgroYMNKF9mDe6jonUEXK/T8UpTueCewz?= =?iso-8859-1?q?rNzOmvCF0WjAvTjuUCwgFtFCHzJq6ZrSrOFjx8Ld0j17s9vZ0iG3EaJ+a0ah?= =?iso-8859-1?q?+5IijGAT7jDSf9gNwGdmilfpzGNyaWEidhHTFFvLTtoW3KdMy4TrZYt1V2ka?= =?iso-8859-1?q?YJy/j8zqA76Dr9VdWBBe2pDHepZGuSx8leOLYjvtWHhKa/udvnBLmO9ICvaE?= =?iso-8859-1?q?IbW45ePzk3QuZ+NH4k2AINcqZz/TsZGqi9YhvQQAWq/X8rcpyE1F3zvSOJ+d?= =?iso-8859-1?q?KDECQEAc1JY54c5J06ixkJ7LQLGu5Ptxn2YpbDrU1qbjxdnb21wzfTXNC9Xs?= =?iso-8859-1?q?4NwYF6HDvvArdaO9QCddf5nivJZscF4yE/rg+4xmVd6e4+JBXpKS3plwLy3i?= =?iso-8859-1?q?00DjDIduDKg8qRn2FLRekvrvwmzjjgNXi/1UtepBHi+qdnw14aSdc6umHmdF?= =?iso-8859-1?q?jfTNU1w8Ay8fbOjcjyF2SIhomWIymlxrBc2tgztkFosR5prtyPQpReV/Wj02?= =?iso-8859-1?q?BRGjKMFKWwb36pa5hcyRLTypCoJ9z4DTUjhJBtbFnoRKLPqmQVwbSNyFhRLB?= =?iso-8859-1?q?jfLYcYBinOpvJ/DSgbh85si2bBDf0Yc/U7+5vgC8SwUe+YnJ3reQsULn40MB?= =?iso-8859-1?q?W/DHIxAmoM3BV1P0Pz87T7DGUhdlSFaPXuYDHHfKB81kaxVnhJQNCGQSVZJm?= =?iso-8859-1?q?P2a5UA6+xsdKeGQIMqdbJS4i48zXYBRjbqCGcu9Qg2Mp0GRKGOk3RlK8Up8w?= =?iso-8859-1?q?hYqXB11RTFdNBtNDlZXqP1HW8GOum4cHaahbDhPk7SPkkJSgrp1AUeq/5nAL?= =?iso-8859-1?q?ZFnOULLB39O2rAWWSPLpCz0bcnBTzUl1p36TTa/lTZyEfjfPUGmxzhhvpcqO?= =?iso-8859-1?q?PTZYveGpggreCO/bdVlbGaS38wauVgA+prD5JuaajktVEzOnEm+iZUpnmJ/h?= =?iso-8859-1?q?cmhlWtttWzSv7qk4CDntjSxAOd2mCnrbroWA0tbcjzwsAhGoXU+K6S8t3uc+?= =?iso-8859-1?q?6KKt2GXL2QBK7YENTlDAWzqpLnVetxfLAfUJnX5zVmZJ7Pl8yHwjdaz48/uP?= =?iso-8859-1?q?jcMozD6WVT4rVEixG9jQ1SxihbJd4CeJVcfcvwKE0hyYvGkhNLtelrpaQ7zz?= =?iso-8859-1?q?jGPFnBFUxS8xQq8QTn7QPO/ryZnMBLMjFum4q2nZmgTcAU3gcVzTzIR9AIhX?= =?iso-8859-1?q?XeENc=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0967749BC1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(376002)(396003)(346002)(366004)(189003)(199004)(2616005)(81156014)(5660300002)(6436002)(256004)(110136005)(86362001)(107886003)(386003)(486006)(186003)(50226002)(66066001)(25786009)(476003)(102836004)(6506007)(2201001)(68736007)(4326008)(54906003)(1076003)(99286004)(26005)(316002)(52116002)(14444005)(81166006)(72206003)(8676002)(6486002)(53936002)(6512007)(8936002)(97736004)(71190400001)(305945005)(7736002)(478600001)(2501003)(106356001)(105586002)(36756003)(6116002)(14454004)(3846002)(71200400001)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR11MB1382; H:CY4PR11MB1256.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: S92wkejXv3SLp4E/nR3vW6SHSYh2reijL0r8jYkAm+bg6QpjAJMogEvbn61/+xtcWj+N7T5/9iaIkdvvcpJEV0DJxZ3qC+/ybFHfLwKVM/4eQgBJdi1IwtayOJrydTsb9/gxNPdW2z+AqmbB5lqCr/1Y2zC7FcRbywQ1zKLcZuJVabfqgeElZiIknFNANg/a6V0vBkseXDjh5DYUBiK/vhA9jiO8eJe4HXI5TfQIlYVWj9E0kiRQY8pdVUPjAV1bX44UEg/RN3Aa6E+VfQbukZM5U/4fz7ixX2ZWcHUjKW3d/S6NMB/qb3AJE80nYGs6mkrdr2Sg6+/eaqgiAMnnset6ihAsBA9MwsrwTpp3lqQCJaILoo4IKeRsHbtULUnGpQHLLrCBNeNudQsl5yh5/ljyIYNAYSxIqmmsFWLttJ4= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: cb3ab6a8-160e-4ef0-bd96-08d6a15d7113 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2019 11:26:42.4516 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1382 X-OriginatorOrg: microchip.com Cc: alexandre.belloni@bootlin.com, Nicolas.Ferre@microchip.com, robh+dt@kernel.org, Ludovic.Desroches@microchip.com, broonie@kernel.org, Codrin.Ciubotariu@microchip.com, Cristian.Birsan@microchip.com Subject: [alsa-devel] [PATCH 1/2] ASoC: mchp-i2s-mcc: dt-bindings: add DT bindings for I2S Multi-Channel Controller X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" X-Virus-Scanned: ClamAV using ClamSMTP From: Codrin Ciubotariu This patch adds DT bindings for the new Microchip I2S Multi-Channel controller embedded inside sam9x60 SoCs. Signed-off-by: Codrin Ciubotariu --- .../bindings/sound/mchp-i2s-mcc.txt | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt diff --git a/Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt b/Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt new file mode 100644 index 000000000000..91ec83a6faed --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt @@ -0,0 +1,43 @@ +* Microchip I2S Multi-Channel Controller + +Required properties: +- compatible: Should be "microchip,sam9x60-i2smcc". +- reg: Should be the physical base address of the controller and the + length of memory mapped region. +- interrupts: Should contain the interrupt for the controller. +- dmas: Should be one per channel name listed in the dma-names property, + as described in atmel-dma.txt and dma.txt files. +- dma-names: Identifier string for each DMA request line in the dmas property. + Two dmas have to be defined, "tx" and "rx". +- clocks: Must contain an entry for each entry in clock-names. + Please refer to clock-bindings.txt. +- clock-names: Should be one of each entry matching the clocks phandles list: + - "pclk" (peripheral clock) Required. + - "gclk" (generated clock) Optional (1). + +Optional properties: +- pinctrl-0: Should specify pin control groups used for this controller. +- princtrl-names: Should contain only one value - "default". + + +(1) : Only the peripheral clock is required. The generated clock is optional + and should be set mostly when Master Mode is required. + +Example: + + i2s@f001c000 { + compatible = "microchip,sam9x60-i2smcc"; + reg = <0xf001c000 0x100>; + interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(36))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(37))>; + dma-names = "tx", "rx"; + clocks = <&i2s_clk>, <&i2s_gclk>; + clock-names = "pclk", "gclk"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2s_default>; + };