From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fr5000-r.dnsiaas.com (fr5000-r.dnsiaas.com [92.42.104.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15285380FF3; Tue, 23 Jun 2026 14:10:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.42.104.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782223805; cv=none; b=DSmfoomTlFAVqCQ+zb/ntGf/31dalVLF/p6QDKKaugsUptdnGXFzHkLviNn4AedTmVUQqg+pKwQgAVNJ+Gj26CHhD6yVfY67JfflvPBazDYezyLHsmlOf2B92ZXVprU7b1NpG83obqaDxyCMGVgEvW/NbSis4sZh89qqeD5ip3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782223805; c=relaxed/simple; bh=QzZ/eVkAfrxKfCLuLelvePEFPRb5OS3MmMKbZz3YN1o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lJYnXapGxTosEiGvTqvYuDL8W5gtp0N5chdpsAJe/l+M4FPpKGAVO3PwBp+ePBEXQ3doBfT61awLkHWA0JfoR2GKDdd831R8DJW0hLKfyBv5I5HU8WhXaoVVaxBSCDAaek212aUBV0qxrZb3PeR9/X7lZoFzZMn0+HoLATamCMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=superkali.me; spf=pass smtp.mailfrom=superkali.me; dkim=pass (2048-bit key) header.d=superkali.me header.i=@superkali.me header.b=lB1sH8Fg; arc=none smtp.client-ip=92.42.104.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=superkali.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=superkali.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=superkali.me header.i=@superkali.me header.b="lB1sH8Fg" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=superkali.me; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QzZ/eVkAfrxKfCLuLelvePEFPRb5OS3MmMKbZz3YN1o=; b=lB1sH8Fg4D035v/eEGjsmD/nds 1qjTMd1aOWqyYCSUoOuu5NowhENS5PNqJPPWFrt1J8WfM+rUzw3OOA5Zay9XD912Bmy7qKh4jRPzT iYEiKZNTrRjQnajOwDdSd0ToNDN7tB3jf78OOV3cSmWEpLtkbMErlT5Xt2Q3N+c9m8AueJkGhlHCZ jAxfZWU0/iDNXR/lj97U1DXYcpwTfYk3ttdJuKAu50qoUS+oYYsZiGAn3ajjV3KbPDFVucZrXNcUh VwQFbJ/BNH4F7nwtO8m45QajKORSqAQeT+BeMa6bJ63ntnD04XjnzAvRQW3GrP7npeJKTaKEb5oz/ lZ1xcw/Q==; Received: from [81.57.40.39] (port=50640 helo=superkali.me) by fr5000-r.dnsiaas.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.4) (envelope-from ) id 1wc1pD-0000000AngH-03t6; Tue, 23 Jun 2026 16:10:00 +0200 From: Daniele Briguglio To: Diederik de Haas , Heiko Stuebner , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Nicolas Frattaroli , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Ricardo Pardini Subject: Re: [PATCH v4 5/5] clk: rockchip: rk3588: add GATE_GRF clocks for I2S MCLK output to IO Date: Tue, 23 Jun 2026 16:09:58 +0200 Message-ID: <20260623140958.4181297-1-hello@superkali.me> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: <20260419-rk3588-mclk-gate-grf-v4-0-513a42dd1dcc@superkali.me> <20260419-rk3588-mclk-gate-grf-v4-5-513a42dd1dcc@superkali.me> <2100447.PIDvDuAF1L@diego> <20260623123316.4111002-1-hello@superkali.me> <20260623132351.4144457-1-hello@superkali.me> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - fr5000-r.dnsiaas.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - superkali.me X-Get-Message-Sender-Via: fr5000-r.dnsiaas.com: authenticated_id: hello@superkali.me X-Authenticated-Sender: fr5000-r.dnsiaas.com: hello@superkali.me X-Source: X-Source-Args: X-Source-Dir: Hi Diederik, > My suspicion that more RK3588 based boards would be broken is because NONE use > I2S0_8CH_MCLKOUT_TO_IO; they all use I2S0_8CH_MCLKOUT. These bits reset to open (SYS_GRF_SOC_CON6 = 0x4600, i2sN_mclk_ioe_ clear, 1'b0 = "Output enable"), so a board doesn't need to reference the gate to get MCLK. They're RW, so firmware can go either way, but your 0x600 has them clear, which is why audio works today. The series made the gate a managed clock, so with no consumer clk_disable_unused disables it at boot. CLK_IGNORE_UNUSED leaves an already-open gate alone, so nothing changes for those boards. Only the ones that come up disabled, like the YY3588 and Ricardo's R58X-Pro, need _TO_IO for the kernel to turn it back on. > So IIUC that means I'd be testing both variants. Right, that covers both: the mux path and the consumer path. Looking forward to the results. Best regards, Daniele