From patchwork Fri May 13 10:26:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12848638 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 04F06C433F5 for ; Fri, 13 May 2022 10:28:31 +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=KXR9yToQOz4XtzYgxtKzswc2eRcuYhYwnZSpzWkbJig=; b=fAWL+bUShyWTdY qUUpt8W64yGoi+uVP2ePUYj5dyAXK/rc2efj3oD/DMCwFEqgT2Qaak+I7rrjRPvI1q0RA1XOPt4Ug bAWtOUlRwK2bLRN3Ug4MM5cCUTkFDPxJ5I6Hi6rj2pWLmcnwkyiTd/0cFowCDhJvKAagx9aoThdeX 3P1A2u1KlIc2rBCaFr13HGE2RLWs0NJ5Fnq0wlKn+RHTJUY81fLcvb+U4asAwWXDXgREc5wSvU5vQ ytCQJ4tsUaS59TKP6ewaVp2Mb9d7HagXGgCNqpEEg5y6IldgBb9m6Z5vU5m8e03EDqVXaBF/AVQO+ GaC1fnUxSI/wFBymGqqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npSW7-00FXdv-Lt; Fri, 13 May 2022 10:27:27 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npSVn-00FXSo-Q3 for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 10:27:09 +0000 Received: by mail-ed1-x535.google.com with SMTP id z19so9415046edx.9 for ; Fri, 13 May 2022 03:27:06 -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=9YzZvCjzSx23GCo5tj+e9SggYb8gkEkdJyT+dWl4gnY=; b=cJcPiPXqp99o/FwSgHSz3dDHbrNByGdaMRoNV0f8aJpS3zg+2rISd3a6PXxKo+wmwD FK3Xn9oICrrm9NlMU1HQ3GlgN/bSqErJ49SydqShN+6HMZj/BccumgW3jNDdB6CTpB7F Lot8D6L90KW1lHnSguAOtEJkp9JWkgE+Hf/SkuGfQ/VMv923goKITVc8VkGRZf+J5jYM r1Vzt8uXbsG/bQOwbSfAet236bz+eLoHrFTnR35Gd+I7otNICzstr9/A9u5FrqoxC2zb MwNeR2FpF2nEQz7Q162KBSh7/+hyMZe0mYPuyIDQFWrHqlqabh4fHdQQEKFsOqYxihHi BpGw== 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=9YzZvCjzSx23GCo5tj+e9SggYb8gkEkdJyT+dWl4gnY=; b=E8Uwe2um08dwvtFBo8Jj2xA37ShvPeSsJ6g5h8Qm30/9NjIQW+6wuwidC5lfYGLc2o Zjsg3lXkP1p6j/RzfR8emweEQbVNqymBl4mO/tJ6d3goucbBlXtFk+Cuky8Z6Uy5noHZ qu0J+CQXs23TzQWs2QCqm5eHQC5jl2to9x3Y7oX/Kq0xpJopYb2v8SduC4Uj8ngT/bDw J1VgKcjY0IsVKTLt7mXmdqjBBf7aIXndxVKCSlHVUOn6CpJfKSbsNLLnrbwM0n8suW2k /sM3e/esG28cljUhN+e1j7kDDOX3vArSDPZUNc0nkpOwJJyTmoxV+ssoFdwpFzXfZgiT gmxQ== X-Gm-Message-State: AOAM532tOo/AIyWuEN9GciaMq1xoUf87GuRFtHu6xaezND3R96UqXGpf or5xQwpljnquYu83fy8Lxbo= X-Google-Smtp-Source: ABdhPJw7MD312KW+pbEyX7ADtYmRXzNeWrJMI2J8c7tAQdrK9Sg6kXBQ/efbGcHhj8qAJoQjQPZ6gw== X-Received: by 2002:aa7:d9c8:0:b0:428:364c:df2f with SMTP id v8-20020aa7d9c8000000b00428364cdf2fmr39587358eds.327.1652437625440; Fri, 13 May 2022 03:27:05 -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 3-20020a170906100300b006f3ef214e40sm609677ejm.166.2022.05.13.03.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 03:27:04 -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 v3 2/4] ARM: dts: imx6qdl-colibri: Mux mclk for sgtl5000 with the codec node Date: Fri, 13 May 2022 12:26:13 +0200 Message-Id: <20220513102616.48040-3-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220513102616.48040-1-max.oss.09@gmail.com> References: <20220513102616.48040-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-20220513_032707_888618_32CFF5E3 X-CRM114-Status: GOOD ( 14.32 ) 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") Reviewed-by: Fabio Estevam Signed-off-by: Max Krummenacher --- (no changes since v2) Changes in v2: - Added Fabio's 'Reviewed-by' 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