Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2090884ybv; Sun, 23 Feb 2020 22:31:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxWr9l6+av6WWWMQwkWKexdlSkylluft4QnHMvoIuHareMcuR3Xiw++UprltPSTfZbeFjpp X-Received: by 2002:a9d:729c:: with SMTP id t28mr38536142otj.66.1582525872313; Sun, 23 Feb 2020 22:31:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582525872; cv=none; d=google.com; s=arc-20160816; b=WGHtvQYtROyehJzwPUAd//iXxttnsM9qBrH/qoDFpvwTkHz9ULVBqabEqw68lzsew3 Jmoa35PCUz64ukOLgiUU1xgICMzdTaqfqftsAHALek1wL6GlNgN2H3cOx/IaOvZaiZ8j joa4iykXRfu3dtBoqn8UjCUInjhiQOAgVRplxgpTYSxCnLZBHRbmFja6jiy6JNGaINpk c8mZUFNPDrbBFfuHcYWVjFfiZuNN2EbMcwYKVaOh5OVGMMKfSxjB5LiEaTFEQW5LMkU8 KFRAMjiGMMkfqxmV1LgnYq83wvmRE9J66uUgHcMMJWD0Yp4J32HmrYwznpgMsGfHUc2X 5glg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:message-id:date:subject:cc:to:from; bh=0uVa5Tu2xZvyZOPyqEAShdlNUkzOCUe+68+3QU2cYgI=; b=BrhD+0oECUg43bqCUfBKHmVQQWmdMja2T9vesPQvsN3NjeS26NBdUtDnlkukF8RAG1 1RS3tHaf2ujCGK54g+jQo5uhSeQJLK0MobKCcMffYaqXrEnyIWHZK/ByuL799qKv6Tz6 O10xfMkakKf4RQgVUx3B9Rbt51BGdOatWBErglVxJ5LevUxJECzH0po9zP2mM+RUodIx G+H1xUzUcsOnsI6jRDOW7g9uMZeTus40Q8oeloYhpfe1lo/siXeiPTGGqwmsoWUP7rfg epNXcwlxFa8Ws9AvgR2L6h5eB5sEy55GyInAHgYJylFA6Y8wT6XY6B3kPOItnYCMj6aZ XH9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si5825862otr.265.2020.02.23.22.31.00; Sun, 23 Feb 2020 22:31:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727183AbgBXGaw (ORCPT + 99 others); Mon, 24 Feb 2020 01:30:52 -0500 Received: from comms.puri.sm ([159.203.221.185]:46824 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbgBXGaw (ORCPT ); Mon, 24 Feb 2020 01:30:52 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 01DB5E03AF; Sun, 23 Feb 2020 22:30:52 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QO5qkPPxzVBj; Sun, 23 Feb 2020 22:30:51 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de Cc: linux-imx@nxp.com, Anson.Huang@nxp.com, devicetree@vger.kernel.org, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Angus Ainslie (Purism)" , Martin Kepplinger Subject: [PATCH v3 1/8] arm64: dts: librem5-devkit: enable sai2 and sai6 audio interface Date: Mon, 24 Feb 2020 07:29:10 +0100 Message-Id: <20200224062917.4895-2-martin.kepplinger@puri.sm> In-Reply-To: <20200224062917.4895-1-martin.kepplinger@puri.sm> References: <20200224062917.4895-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Angus Ainslie (Purism)" Add missing sai2 and sai6 audio interface and pinctrl definitions for the Librem 5 devkit. Signed-off-by: Angus Ainslie (Purism) Signed-off-by: Martin Kepplinger --- .../dts/freescale/imx8mq-librem5-devkit.dts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 007c14eec676..25135b08d4f8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -567,6 +567,25 @@ >; }; + pinctrl_sai2: sai2grp { + fsl,pins = < + MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0xd6 + MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0xd6 + MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0xd6 + MX8MQ_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0 0xd6 + MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 + >; + }; + + pinctrl_sai6: sai6grp { + fsl,pins = < + MX8MQ_IOMUXC_SAI1_RXD5_SAI6_RX_DATA0 0xd6 + MX8MQ_IOMUXC_SAI1_RXD6_SAI6_RX_SYNC 0xd6 + MX8MQ_IOMUXC_SAI1_TXD4_SAI6_RX_BCLK 0xd6 + MX8MQ_IOMUXC_SAI1_TXD5_SAI6_TX_DATA0 0xd6 + >; + }; + pinctrl_typec: typecgrp { fsl,pins = < MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x16 @@ -742,6 +761,25 @@ status = "okay"; }; +&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"; +}; + +&sai6 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai6>; + assigned-clocks = <&clk IMX8MQ_CLK_SAI6>; + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; + assigned-clock-rates = <24576000>; + fsl,sai-synchronous-rx; + status = "okay"; +}; + &uart1 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; -- 2.20.1