From mboxrd@z Thu Jan 1 00:00:00 1970 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 99652C433EF for ; Sun, 10 Apr 2022 08:07:43 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cOPzodRMe+ptTHBkZLupfHkGWqiS+WHGt+WIvOthM4k=; b=GVEB9DdvsJ6PD0 xx4G1/ln4GJufzrqSbmuWDUAjk3btpXAY7I5UIrmwxoTLyIrcWSpvpokYg9KOBpN4P4N6P8yfvJp6 h6L+yr1DN6VIz7KF0oU3KgoxxDqdKxzn51rD67KF6eJJHNEKwKacS36TgGbVUP3Etn1nP5HbR5pi0 bUt4lz2mx5XfxBEOt2nEPmrEMenFOnfCbZqQDXbSwDTCojjOJ2WtBH6Zh1VszLXwVSuFiqTijDZ6i czrYDPLQtmqrYZKDbjiSryCsE69/wvdNF5NzIHDkwfvxKwpDKZvQXMhtGGWSYqpxV3hoP34neftqt 4PNihmaMKPszROZ6NdaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndSak-004RpG-2I; Sun, 10 Apr 2022 08:06:38 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndSag-004RoW-P4 for linux-arm-kernel@lists.infradead.org; Sun, 10 Apr 2022 08:06:36 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2631B60EF2; Sun, 10 Apr 2022 08:06:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4494C385A1; Sun, 10 Apr 2022 08:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649577993; bh=A0vMeIC1FI8U4kMbIIdfEdQilDi67/ncdoQMl0nP2Nw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QmV9KFEhmlAcZyNL3IJ+rwwYGo1L9d2klJVt33cBYr1sL96BqpY/2e+xYfr1cIxV1 GIfOH9YDkvwVr7nFWkW8wg/1wua+oGVZZlM6qoGpYgeihjDVXqV7hyWd+UUb3ipwpc AU68hfY0dVZ3Yc16Bz2DE5wijsvhS/JsoGTEl3n69faXCRSUk5tQcD2I+T77yaXXCM mH1loRzFrvxD/Wf+lEclPM2K5oynTMaQXkEgZJAAMddBoY7nVINpxRezdVB2c22C6m KhNC+NZqOvGAqjsI132MKdiS9xAYVyrqH0yY8v/+1MT6SdzMB1NLfMMotpeZLSZp0p hR+iWqJDdxkvw== Date: Sun, 10 Apr 2022 16:06:27 +0800 From: Shawn Guo To: Fabio Estevam Cc: marcel.ziswiler@toradex.com, otavio@ossystems.com.br, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue Message-ID: <20220410080627.GR129381@dragon> References: <20220326151455.1171719-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220326151455.1171719-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220410_010634_888158_24D04D51 X-CRM114-Status: GOOD ( 15.38 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Mar 26, 2022 at 12:14:55PM -0300, Fabio Estevam wrote: > On a custom carrier board with a i.MX6Q Apalis SoM, the sgtl5000 codec > on the SoM is often not detected and the following error message is > seen when the sgtl5000 driver tries to read the ID register: > > sgtl5000 1-000a: Error reading chip id -6 > > The reason for the error is that the MCLK clock is not provided > early enough. > > Fix the problem by describing the MCLK pinctrl inside the codec > node instead of placing it inside the audmux pinctrl group. > > With this change applied the sgtl5000 is always detected on every boot. > > Fixes: 693e3ffaae5a ("ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM") > Signed-off-by: Fabio Estevam Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel