From patchwork Wed May 11 11:59:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12846102 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 531B9C4332F for ; Wed, 11 May 2022 12:01:27 +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=IHi3DF7FkOWGXfjk4zZhBCYtkeh3CyBYJLcsKCTzfN0=; b=RRL7/Dmc4k51Ot 83v6RucOWMoRhinFAbQ49NifHGAPo34HAIutGuEXBPBLPwMftKtI9rMxr5qyvkUpKfgQxD+SaJD7B GtWuhFbZPLXxT5yapqjIjkgJGgnqk9xJXL2/x4pG3dEu/hSHDZkyBQYZiVSrJ8JOA9O6MweB8yQSo g4pKiCnjSlWO7dJouySUqACPN9+ImVvLRynwz1/nf+0HZSP07TRYQPCsTt7zBDjv8mENf+aYkNf/u MlxiCcPwWNJpkn/ka1db0N1ekMyKw+qzsOfIVReIOSxCBVGr+u9vao055mSZXJhu/eHLqhSHmUFId 7iWKFix08fBm5AZZb6Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nol0u-006bcO-Nl; Wed, 11 May 2022 12:00:20 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nol0Z-006bUC-IV for linux-arm-kernel@lists.infradead.org; Wed, 11 May 2022 12:00:01 +0000 Received: by mail-ed1-x530.google.com with SMTP id a21so2285337edb.1 for ; Wed, 11 May 2022 04:59:57 -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=yoXugxNmlSlyrYTc39E+9Noe/h1XX+7WUCIyJignh3o=; b=D026iAc3+EoDUnwWKEQ9HoDKjAWHKuRpOUTVxCk4fCFdz81hkNeDa/JP3Az+cIYC3T G0qCh+RbRrbF+aldPqAMEtZa2QEnfnZKlgHhTrDCObLVtJfzy43FJyDDpLp/Hfl/HbWO 5zXS7WP0sgw+gfsYf34Y7Gh22Ye0a+Wb2M+Oyr57ymkqaXLtoacMV2GeWPEuuLB7vhpT VQ1XEYGVAQU4s7FuEiVBNsoXEwDjmDETPDaNuKCP3Wc48PHvZj61sRYgfCuExSDIEw0i T0zFBG/+O2N+Z2yg9xlv6Fr2VkXMz/+JZ2lUuPbkPJ3Y6ckeWVZyHDYrZZ4ObtvP0dFd RJFA== 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=yoXugxNmlSlyrYTc39E+9Noe/h1XX+7WUCIyJignh3o=; b=fMbm4Bk7TsrmOv/X1LW9gsi2ftXOSjza6VtEqF8B709dd8jnYl4x4hLbbPE9A+ij/O XzachJN/RrHEjYC/m61Ia60ls1LnSAGlmOQYxoDOyM3BIV+DamnkhAxFsX916y1YkY1c KQWqw5u4zDSMfAIEgv/6P5yOu/+pn3WkfNuwhA2cn06zPICzwSTW+YiPnSJPUH+RC41h /QafA99+wE/UnzDkI7GoVNxZHecfH1voforTBXAmxKndreWCZeSG8aUcTs/0t/VVi7Vs ee8Ataq/RJ+8H9ndh4vVJ4diyIEM4rfbdZaSWPrMTQQ4J7Nol9umpk1JL2fc2Skh0sw0 Tu9w== X-Gm-Message-State: AOAM532hSsKdigFaZW++UI5l8qkQqkO12qvJOpfCtbLe8J4jE/jkJe5g 75pgur/n5tRBfeHubGNbJJE= X-Google-Smtp-Source: ABdhPJzgqkvrEDviEwiklNlmmdCAVDvDspKWtkdWOiB4VrnsT8/Vw/77WrUGaK+ioYO2KLRwBqtHpg== X-Received: by 2002:a05:6402:11cb:b0:427:7e52:eba5 with SMTP id j11-20020a05640211cb00b004277e52eba5mr29164454edw.17.1652270396074; Wed, 11 May 2022 04:59:56 -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 g6-20020a50d0c6000000b0042617ba63aasm1089279edf.52.2022.05.11.04.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 04:59:55 -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 v2 2/4] ARM: dts: imx6qdl-colibri: Mux mclk for sgtl5000 with the codec node Date: Wed, 11 May 2022 13:59:08 +0200 Message-Id: <20220511115911.54960-3-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220511115911.54960-1-max.oss.09@gmail.com> References: <20220511115911.54960-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-20220511_045959_648104_1DD1BC09 X-CRM114-Status: GOOD ( 14.62 ) 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 --- 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