From patchwork Tue Jul 2 13:11:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andra Danciu X-Patchwork-Id: 11027827 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 0C586746 for ; Tue, 2 Jul 2019 13:12:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E572C288D8 for ; Tue, 2 Jul 2019 13:12:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9338288F7; Tue, 2 Jul 2019 13:12:12 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 7947C288D8 for ; Tue, 2 Jul 2019 13:12:12 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=RmH2ej9O6ezJDyNmhQqib2v8KPg6/CrUIkth6PzoyIU=; b=B50 /iRpx3k90FfFyEUWiro+Y3aBGRkapB+t+yEd0f/MaeLXnWtqlaNGEo+5DwTf3guuEht1oM0LpzRl+ wdpp5hUdwrQk5gma2DNxc326Ic6Zi1lB0/A2uRJj2RiVUMf46pEU3kknCgL3WAJWGO+9VK9992An3 Mj6qJgfU7Sbq/6Aoina5m9vnuGHoGZC46acdXFZ6UVk8xwZTsNJoA/MHQHlaL7UkhfW2QnUxXGP1l 9mG62i1TrUwdk57s6RndJYRTJFjp/J9x+DJSno6SveGYEM+GUGn2sipIdob4s4RP3AfHC4t8/AHO4 kjlnIorod31ZyP+CvPfgC31jq62sZEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hiIZw-0008PB-7l; Tue, 02 Jul 2019 13:12:12 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hiIZs-0008O9-Ph for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2019 13:12:10 +0000 Received: by mail-wm1-x344.google.com with SMTP id s15so970293wmj.3 for ; Tue, 02 Jul 2019 06:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xY8o03GKg7yE0EDv+JzNdYmGsRVySZFoyWELDtBrxsQ=; b=L+3dGzZqpQ2QrZyjS0R0EMbctTzpWn30VI9Gk0ULoS0BK1YNpPvtNid+iqGcxesqyS l+OmcE+IikAlMXWGoXhzozhJ4mfxUAVRr6SGz6J5LwK+4rV48vIJDv4UvhaF/fU4y91N vV2juYYeDO2hecTi/Ibtpsf7tl43LAHeIKYjczOSbVny40/yBznTMon/2cpej///nlK7 0kgvQLsfAVG2onOknvNSu1Z+JklA9HHTWyjtWqAciQxCAaThKC2E0k/zZGKh90s5Tc+E /LA2sPJJOg4e9XdEd2aXYOrBOgsmxJRIhNF8ZtvugT3UnYvQ2QWWnCuqGnEAkId4+iyK nauA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xY8o03GKg7yE0EDv+JzNdYmGsRVySZFoyWELDtBrxsQ=; b=hywE1sImUd2KD00ucUq6pIjLE6Pro/NObT34zA8Nxk5gnvUe6dhvEnsvirKvrzQIOL WzK7GPj2IioNZxyoUdItADXGAdRegA8p0UV8NFRuvoa6w7cz9q4CSp77tXLfWn94xdnZ cxVuDn/u4OZpWPgOv8aInCxI8104ZJwZalxVcoKDddh/QoaUBUJpNBWqlgUX4JeaBwGr vWcJbCd9EPhefWADFJkj+0+yGM4Eb3ZXU4nfp3iOqVuDI/EqOpEcqoC/W++fAf+BKjOz IKVrTHBh/lwx+n5KK+xyJx78AcXXmkzRzALpV1szQ0Iuzjk6nZYwZ6xo24YPegrH9y9B gdeQ== X-Gm-Message-State: APjAAAWDY7At62NG3KUlIbEvaTOBZIRzyTv0l0VGJ36j1yX2ki7DndwR SG6NHACQSrRxeHaXc/gNZ00= X-Google-Smtp-Source: APXvYqwN2JTq7fEYVbdkNym5m6nNOaDhPP5LMVErx0F9CCrxHaY3Laf/tTPkWgVzxni8MfZZNBFocw== X-Received: by 2002:a7b:cf27:: with SMTP id m7mr3529000wmg.7.1562073123716; Tue, 02 Jul 2019 06:12:03 -0700 (PDT) Received: from localhost.localdomain ([212.146.100.6]) by smtp.gmail.com with ESMTPSA id h8sm2526416wmf.12.2019.07.02.06.12.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 06:12:03 -0700 (PDT) From: Andra Danciu To: shawnguo@kernel.org Subject: [PATCH v2] arm64: dts: imx8mq: Add sai3 and sai6 nodes Date: Tue, 2 Jul 2019 16:11:55 +0300 Message-Id: <20190702131155.18170-1-andradanciu1997@gmail.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190702_061208_833763_CC976C91 X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, abel.vesa@nxp.com, Anson.Huang@nxp.com, ccaione@baylibre.com, andrew.smirnov@gmail.com, s.hauer@pengutronix.de, angus@akkea.ca, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, agx@sigxcpu.org, linux-arm-kernel@lists.infradead.org, l.stach@pengutronix.de MIME-Version: 1.0 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 SAI3 and SAI6 nodes are used to connect to an external codec. They have 1 Tx and 1 Rx dataline. Cc: Daniel Baluta Signed-off-by: Andra Danciu --- Changes since v1: - Added sai3 node because we need it to enable audio on pico-pi-8m - Added commit description arch/arm64/boot/dts/freescale/imx8mq.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index d09b808eff87..2d489c5cdc26 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -278,6 +278,20 @@ #size-cells = <1>; ranges = <0x30000000 0x30000000 0x400000>; + sai6: sai@30030000 { + compatible = "fsl,imx8mq-sai", + "fsl,imx6sx-sai"; + reg = <0x30030000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SAI6_IPG>, + <&clk IMX8MQ_CLK_SAI6_ROOT>, + <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; + clock-names = "bus", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 4 24 0>, <&sdma2 5 24 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + gpio1: gpio@30200000 { compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; reg = <0x30200000 0x10000>; @@ -728,6 +742,22 @@ status = "disabled"; }; + sai3: sai@308c0000 { + compatible = "fsl,imx8mq-sai", + "fsl,imx6sx-sai"; + reg = <0x308c0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SAI3_IPG>, + <&clk IMX8MQ_CLK_DUMMY>, + <&clk IMX8MQ_CLK_SAI3_ROOT>, + <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; + clock-names = "bus", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma1 12 24 0>, <&sdma1 13 24 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + i2c1: i2c@30a20000 { compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; reg = <0x30a20000 0x10000>;