From patchwork Mon May 9 11:11:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12843348 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06B99C433F5 for ; Mon, 9 May 2022 11:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G9y1tV0DWtjkBJTX2y1svvG1B2d2BhqTJJWaUWqRUuM=; b=N54qcWJXas4xmI RH2DrzfEGBkyUDwQ/XSszm9Mxkab8UN7d3d9thjRnmusJPTLznR6fHbbRlJhox3odcgB8U5EnJEYU jlzFORcILmd9ahVLqNdmaQvKC0rcxAoVXJquKqqV3ACj4Zrmzerkao34azsseyVFeLUoFsr1FYNRb goz5E/WEQe4utFRV+IItrHeCRLiNaTSTY55rI2VDt4Eh0jDUycHZSKsOsHeC2dxzTzDTIHDe7M3U1 nvj7obNJWI+VD1I6E+VL5LMg3OBR5QpfZdvFgRmacoC/3M+hGagVsT8wOQwcDfD1+10/Y5fRTzGwG AcmP04SrgdoAUhQV/FXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no1JS-00E132-Ti; Mon, 09 May 2022 11:12:27 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no1JB-00E0wT-9y for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 11:12:10 +0000 Received: by mail-ej1-x631.google.com with SMTP id dk23so26105160ejb.8 for ; Mon, 09 May 2022 04:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bXlbOejj9Sna5Dfj4lSOONGUdBd9cH72j0nYofArQyo=; b=IMk7Nf4Mkgfm01ZACxlWd2nUwAmrsiP2uDe6RHrrYFj+WGLqUkHAYNvBCj0VzulJYH 0OX8ZAcFIINYgYvMoagWxurz1K6ZT2Wgu6hoDFGdcd5N2olNxtPuqvioZMsdAlZKa/3u zWjjPysZAEcIr+/yUXrddeajESnMM/b4UYsI8oVNAi7qnLchl045zja3xaFDu3YKQ9/F JHjXLZxdcPXs4gAiPMcYciCiPW9fLT7VxyQk6DbUnc3mkXBCCSy+oTWNgmYF+cYGSPAQ u0Ve6+Soq3plc+xkXULtAwB81JlDKOr9Px32EPo+d8rksbninqC1W0gGHjd5qNnHbf/b dKpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bXlbOejj9Sna5Dfj4lSOONGUdBd9cH72j0nYofArQyo=; b=VIGXzO6k+myyvdHBtHmwHiJXX/0TgsrJ9KI5ViuB5XEE9PLSZwBYv+JKew1xwBLJbW lJvuI5Ga9q07NZEwiaqEg4UyJN8PiaYa1SlxYa2P1WZUkWIZZ+2puxdOa892kwGQgKre KG0QpAZnj7WFPKKSCqf50/ANCLThhoXs12jaLLkUA8uZk9mP7Y7qJe6iD1rk4d/4D9NP nTgJQYKBg+/Y+TadvTa4AT0cTyuFda6A8fEU8DsKJPai8l+ER+3HOFwtdMTNADp5lXti MIjo/9eSRqwLr0LV5C/plSkQ5K6L+3u5PbPpDMTCCrcKZ1954SxId8m87S6b7i92g1mp RkqQ== X-Gm-Message-State: AOAM531VaxxBmeEFiGX5qY3Nz0xkW0U43YKCrDi0pgER+rDH6xpQyT3m kILXJfOdU6WeXcIRzs2T3X0= X-Google-Smtp-Source: ABdhPJxHRk3zNzRPO3XitFUCSqKBphxtUV8etOHwuIAJF8BCkcOYE0RQy41AYx3b5X9aw6U6CGIz9g== X-Received: by 2002:a17:907:2ce5:b0:6f5:64f4:91d8 with SMTP id hz5-20020a1709072ce500b006f564f491d8mr11795154ejc.675.1652094727083; Mon, 09 May 2022 04:12:07 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id c24-20020aa7c758000000b0042617ba63b4sm6075672eds.62.2022.05.09.04.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:12:06 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/3] ARM: dts: imx6qdl-colibri: Mux mclk for sgtl5000 with the codec node Date: Mon, 9 May 2022 13:11:25 +0200 Message-Id: <20220509111126.7032-3-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220509111126.7032-1-max.oss.09@gmail.com> References: <20220509111126.7032-1-max.oss.09@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_041209_415941_5B37D610 X-CRM114-Status: GOOD ( 14.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Max Krummenacher Move the pin muxing for MCLK used by the codec to the codec node instead of placing it inside the audmux pinctrl group. While no negative effects have been observed this should make sure that MCLK is provided when the codec driver is probed. Follows commit fa51e1dc4b91 ("ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue") Signed-off-by: Max Krummenacher Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-colibri.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 7df270cea292..f0908b530f86 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -520,6 +520,8 @@ compatible = "fsl,sgtl5000"; clocks = <&clks IMX6QDL_CLK_CKO>; lrclk-strength = <3>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sgtl5000>; reg = <0x0a>; #sound-dai-cells = <0>; VDDA-supply = <®_module_3v3_audio>; @@ -739,8 +741,6 @@ pinctrl_audmux: audmuxgrp { fsl,pins = < - /* SGTL5000 sys_mclk */ - MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0 MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0 MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x130b0 MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0 @@ -991,6 +991,13 @@ >; }; + pinctrl_sgtl5000: sgtl5000grp { + fsl,pins = < + /* SGTL5000 sys_mclk */ + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0 + >; + }; + pinctrl_spdif: spdifgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0