Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1021102iob; Fri, 13 May 2022 19:57:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBPgceRn8zTMTKASo/cabFhKALOX5CDqlkZPZMhBWy2wixTWRR0E1yE1WysiFIv1uNbOBA X-Received: by 2002:a05:6000:1e0e:b0:20c:59b4:e9db with SMTP id bj14-20020a0560001e0e00b0020c59b4e9dbmr6307589wrb.524.1652497025334; Fri, 13 May 2022 19:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652497025; cv=none; d=google.com; s=arc-20160816; b=wqXLYeGtAO/vS0gnt6tPkjTJCY66w316hBSHbWqE3+CKfuY/G3Yay1qIKi/iqhDttY nOScRZQ5v7wacDUmWQeXfqa7YOzT/JXE8O/4iCc/g20DYyAojWGO6clnPan49DTyM65k Dtvm1Io8sI1YKb+hEX1lvIsa0cND6rEMpB5e6lZuM2BAdwhYDn+w9LVkZjjiOrLrCner gnBbJYPMtlbzG5zxPV3/9KxONztbs4yPUuA82Z7NmLpYXZ3eOON5VlCnvwf8rnth3ibM WiA6tNQCzv1OnnQ8muq11iZnCxTVmHQVXj5e+kYim2n9osFTVBqAc2ZUpXLstnVzepk3 0PLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9YzZvCjzSx23GCo5tj+e9SggYb8gkEkdJyT+dWl4gnY=; b=qHm6f70BSTAYIhrHM9dZzWEgzJY2KI/kghXSoCTWGV6OWqPOHOqMoIcQaM4LJG90+i XJHgD99rPyk1ydsW2y2akdIy1TPATL8gtf1W0qx6UC0aaWFHc82mpG7yXNiLDxcSJR7C uZ1Go2sIc9zYikBskMd/deZewxcVk2PvSY9k1CtlSyH1eE9ckyK6Fj7jJWtm2bKd4A/W 4enEvrg5nOCWNDcewOn/oJLTyafiorvy7pzi344XjtyYC4uoMh1rTyA3sPclRPvJAN4F AUAbCHr7ms+SEr0NUY96EfIcEqWCU4RiKtJUgMQNTXQhmFfClEvzWndlxettHwcUZedm xeXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cJcPiPXq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b3-20020a056000054300b0020ad2bae479si4058830wrf.114.2022.05.13.19.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:57:05 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cJcPiPXq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C2DA939388E; Fri, 13 May 2022 16:42:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379507AbiEMK1z (ORCPT + 99 others); Fri, 13 May 2022 06:27:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378752AbiEMK1I (ORCPT ); Fri, 13 May 2022 06:27:08 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E1A50450; Fri, 13 May 2022 03:27:06 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id p18so9410326edr.7; 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=jfrH8vIJ7CNsWhg0rhXuKi8UD6hLEMDlV5uwDMoAbkrlMF226xzSh/K9NKQ5p5dIxU t16FCfvaRls1ZSpNZ8uxvR5U6Rl88TVIyWYZzcOkdAjernk13SQXUbcHN2dDUJRQ2tZG e4bWAuaaHBvYt1LHY+28mgUzlFNM0COSmqWzQwS4BtyclCklrfStOXFH1l5UMCl5go0r ftaB3r2vLj8r6sbMAGJaQ7L3xs4s1MduO4qrKuiLd1Q7xe/nMIICPDlnNbPQ72P1pLe/ AEjKAXdQj2jMFn6B7uqqF2Ap06fFZJG9Z3gYDNvL0mirfPVmedVy717Wz2hujAYG2tZ6 AL8g== X-Gm-Message-State: AOAM533OMmEBPTT0H+DW+acfC/9coKCUmZJAxAXuMS/bWzH8GTQWSjEH 5OMyYWvf55WcXCMA64H24yY= 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.20.1