Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6889385rwn; Tue, 13 Sep 2022 10:21:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR49KTYiQmasJc1RsqiRhX1K+gMViCFPtHNSBvyKp829V4BHMlZbLRivSlQZ5BpQNA380reI X-Received: by 2002:aa7:d6d9:0:b0:44d:e1b7:d905 with SMTP id x25-20020aa7d6d9000000b0044de1b7d905mr27175780edr.32.1663089684137; Tue, 13 Sep 2022 10:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663089684; cv=none; d=google.com; s=arc-20160816; b=eOHIO2dT5GwzOv6lDpmpc1tnK1LWNmM+oVlYuj8G9GIFctAMwWk5zW1qoMuB1aZkSi mTybiErghmFs3PQdkVpxxl07jjse5wWfMJh2p8+K8VOCN4/dILRY4ddIa/eo5xUWK7k4 eQUKluoukCZwsif0/o1QwuAtenM+Bt0ODwnGpuZM1ahS7LQRm8mRhzBD8XLOHV59B9j7 aX7ooZB0ygMNJDLI7xhZBqK7GB039PDU4bPZy8ax+LZQwVSFTZxtiOhjRqtj72vFL19h UK7p17LwND99ck8nHhcTI6a5IG6F5RK33uYXq6+v7cgCJ662uiN79xIn31LUfhAOtHv+ 2v4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=NUa1OR6r2YL7gqnNpqtAfFahv7FW51v7az7dmzd//2U=; b=GYNJMFGXLDtsohwiSbI4nFs1RH3fvtTa89lvgDgG/nq90nCT2z8XRoLF1uLGQuq3v1 dMeDHt8bqQAFrXLud+r8wCAv1F2uXkmLIFqv3tKzJqWuficZkTgxQPdZ+REPWYUtwnVY QVNnm7StvWKXpLxp6N/MVnhaZpfAlVjAltja3O6V7n/1ND1IynGvXosJHwMnx6pGy8du vLW/2euYfqg0pAQy51eiBNuotcIBWFiyGVuEh+bWfeI4oE4zGX7I3WWy7micFDuGjsm7 9dlVUjiCL6OCFMtXTUxgKEIWb6p1gwlDcZWZqx8expBDIBJnf4dynYna8YwP25g/PT85 uLZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Mmg2KKuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga6-20020a1709070c0600b0072aeac5f74bsi11331043ejc.119.2022.09.13.10.20.57; Tue, 13 Sep 2022 10:21:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Mmg2KKuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbiIMQrs (ORCPT + 99 others); Tue, 13 Sep 2022 12:47:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbiIMQrS (ORCPT ); Tue, 13 Sep 2022 12:47:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FFDBD13F; Tue, 13 Sep 2022 08:41:21 -0700 (PDT) Received: from mercury (unknown [185.122.133.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2F1876601FFD; Tue, 13 Sep 2022 16:21:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1663082507; bh=NUa1OR6r2YL7gqnNpqtAfFahv7FW51v7az7dmzd//2U=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Mmg2KKuQgNfwZM4YmjTZs2YlfG3d64XkYl5FYOkjb8zFnmR/fYrb4lQY37gPz8cy5 uwe25u0Jh15EpeNEoOiWdZF3QeeNbbri+AV2m5zUUew85xJIt2pfyWhc60h6RXpUrW LVpMXzEIxkQTTevmotPnYV2inYPafP+Wl055i6loL+Mh1SJIL1ODahKbEGh17ArxrT iQKWNvifQ883mm8eWQjF67vr9ivItdEWa5xFY6pyJ6C3SJBFEJ7QbZgJEzoEkRFsfI kAcTiFXIGkjcO+GwJYaemMX+DiuQpyQpWi9J2103ivv3t5yTNTG9IKh0zPSV45r9OJ fH+r3RkaKTDNg== Received: by mercury (Postfix, from userid 1000) id 6E94C106084A; Tue, 13 Sep 2022 17:21:40 +0200 (CEST) Date: Tue, 13 Sep 2022 17:21:40 +0200 From: Sebastian Reichel To: peng.fan@oss.nxp.com Cc: festevam@gmail.com, linux-clk@vger.kernel.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, marex@denx.de, mazziesaccount@gmail.com, mturquette@baylibre.com, peng.fan@nxp.com, sboyd@kernel.org, shawnguo@kernel.org, tharvey@gateworks.com Subject: Re: BD71847 clk driver disables clk-32k-out causing RTC/WDT failure Message-ID: <20220913152140.iikckob5h3ecagfi@mercury.elektranox.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d6njs6zsqbehlyas" Content-Disposition: inline In-Reply-To: <57b89f2e-dc70-9890-143c-f6da5aaba015@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 --d6njs6zsqbehlyas Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I had the same trouble before for QMX6 system on module, which feeds the i.MX6 32k clock via I2C RTC's 32k output. Here is how it has been solved upstream: https://lore.kernel.org/all/20210428222953.235280-1-sebastian.reichel@collabora.com/ Patch 1 and patch 5 (look for "rtc_sqw") are relevant for this specific issue. Discussion history is linked from the cover letter. -- Sebastian --d6njs6zsqbehlyas Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmMgn/gACgkQ2O7X88g7 +ppZ3w/8COoF/mtQh0ZKXTMdGaUv4W257a1AiVH61kU8s6d4+ud5HyNXrSBqSVw8 qbEyCvIIgLHHpTsanm+/k/WA5GQSy505Fa/EvPWQ+pcD6pOqgttDdERSNMPobSXl UsJyEw2aUgBdHxrhMg03geb0VptS1QuOhgbqL5qRJ/Kel7EqhMnGF4v95f6BtX46 EhhdtkeO+tORGrFN0pISTz6IZjmUHg5MEHFKuVSV4ZRGD1dhTobfoEakV+JRJEOU 4SkhDTCwPaXHAxHTzuPv+vAQPyZhjPZl1gJA8Bi0qfOisydLNvnz4je99J3sx4ki n4Twu8Q/r8TekWPUAxMTKTqWE81l33DR2hsF7Sb3EmIj8XN1NOmjQKhggqTwdB0j xYSjDyEsmTUqFfvbg7OpZaJyyxwGQEpam6NCbwn5P8HwNiPFV9PrTuCyz2RrbvNT voBHYTFj1Pd3eFuzMNWi6eOH20SjWhBvH7larbcr1jgMs+Px3ExxqPeaNnrknteY ipTQcPaIIggG57FyeQO2A+O77aT+IfDGdbKwNnNz/YYihcUhoDi6fDUkpuTD6tEm 4snyhXrkNuu5394w4CKIs3wctQABXXmKY65GVRsVu3aooNtFMfdGsLgVvAss/CyK uXlCo4ix8QjpNGFVLg25ECg4Nc1vzkpcrgc/CYuHCCK6MGz6/Qk= =Yq+I -----END PGP SIGNATURE----- --d6njs6zsqbehlyas--