From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8722399364 for ; Wed, 5 Aug 2026 16:54:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785948857; cv=none; b=cdyElbKCvaicaXYUM5Dq+K1jcZRF8U2qg1LTShsNumhQVUJlOT+HtiT6rDVGUL8FrymxMzs8gu+ZBVGQIGlmTidahkIfAhuGCrWIj433nRItDU+5YgdJVWIBXPXLDTEZlWclgO8upYMKuP8QuflDDzdVxbZasTaxqELfpPdilhU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785948857; c=relaxed/simple; bh=s0lx5fgW992e5Cz/cU4YqatMbomgvYAN8oH/xxnURBY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KjuirHI8UmkPAugR89OEZiSJk7cYuFBw85iK6pkngpmp5mWjCBPHL1/cX00/bzUHv9zLAT3PEG1NG0MlyiI8kXe/OlU8FHoBY+Qr2mHejZnlQv6bhIbJftc8/us4tA+7yyB2KtIOhKXFiJZr1/u4sjF+VBoCUNWbNZaUdMPGcYo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NqGIuUr6; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NqGIuUr6" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-4706f016316so70095f8f.3 for ; Wed, 05 Aug 2026 09:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785948854; x=1786553654; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=s0lx5fgW992e5Cz/cU4YqatMbomgvYAN8oH/xxnURBY=; b=NqGIuUr6lio83NuAz7TtTSEKMoaq/E6CgVPh3/lfw3E+esf+tB7wyDmxalmqWfFstE X+T/NEvD2ZUOtvCJ8Gg9HF+8pcLhAi0eftbU1KHO/CWOQ6If7TPELsqQ4sotiVdkRMgi 6f7x3THxuD/9NW5NS9jHxjP6UOxCjztz4oSpmHdrgAUKjy7QNuvZ6dJ7/C/jjFWYUjux 2KNgBjMd6yECB1y6zSwV8yCGQx3OLWjBAFbifEYZKLY81BmcZCye30Neo6ji6Bd2Sw4i hIDR4ka7KGfdhqyTT2qLRx8rTCUkRRZj3PD/iw4/OmbwAJwIPeEb0vQUspGVIQA6Bd5N mVtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785948854; x=1786553654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=s0lx5fgW992e5Cz/cU4YqatMbomgvYAN8oH/xxnURBY=; b=dL+PN9j7rbuHyg5D+UzVSi7QdHTmSnPA2kWqlspr5jWxVv1iedorg9bwmSFObdjTeG JRW80/+JJf3mfgUCjCLSbKoctH1etAMOQ3OjlB9Z4/16v59al3aMPYgSMcWObVjB7sRf dxtOcCMcRfkkNOURWcpprgRJ7YI/wqL/AL+brm0KQtsc6IxXjbCCZhfPIBdlzYVHXsWg GMt6E8LNzF6U0rB6QPmdUn6Om7y4w97KisPCm8Mq96j6n9MBoYJbNTHsvQSgvPStpWDi oi3oEWZ1yYI5uOgJIFPcWMynFI3AUvhUQgIUhsJwC/LyUo21ckafrJ0l8BVwnoD3LrLn rLyg== X-Forwarded-Encrypted: i=1; AHgh+RqQSZLah2AJIo0cuJ6lhVZtQ1EBMTbzcaSzo1gCvG2V2SHT48j8HuG75PXQNqxiMJPj7jKLbAjWYvtNy90=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0t8QvzHzSkq9br5fWf9xiLKMy6GAaVwLF07EclZ9/fho00Lfg kq5M7Fr+Ory6FHyH6XaFS0BlLW3qhQiLj5YGwFRu6uNc2qgfLB8V13qXPGNi61H6 X-Gm-Gg: AR+sD10gHYDKIVWf02uogHPCOteRLCFD2cqTXnY4qZT6Pk8pl5d+HFO//BSOhHFa3xp ty6a6hNa0kllkcvXFAB1Re9/hz9rqm2dhBYg9whjyJdiNZb5cmOg1N0Gqqq5DVhGY51jnzSRRkA feDMUn9imTRpAcBT+WrC5ShOq5UE9XhluFDy2OTXAkoBxjbNQ+BJgC89zyb6EKBxFrSRvZ+NU9g 5hTSlRHrNaqaqPUWlf1H2l/He3yoNfAjX8LHplvsBflAqF8IY1i9bh8Qkz/phTu1yuPuMHuja55 i4laUVY79aCxu7/mKbqhgyKHcPWaFc3wZoDhHkHWkDmh8pD9AXHoqrXw7Dm3WYgDE/OctYr0ujO swl1McEbFVbpQcQ8M2UTZvyG/9A8SRNbpTgX5atLuyrYgPoKFP6/iWjamvMraMAxgpLjMz3noCR 9CB08+LomkAm4Ymyrr14ftg4GGjj+uOgqDvwru/P++We/vlTzwoWN0+X8ciM2IEtSkvlqw8/d+y CWToW7hQX/s3qZlEsXjWTZAduuJ394syrt2S7YVkyFuvOLCkU9D0mIQ/oulYO3x2vDdLDgQTgUK CTk= X-Received: by 2002:a05:6000:200f:b0:46f:7d90:8124 with SMTP id ffacd0b85a97d-47fec528a60mr6555260f8f.2.1785948853795; Wed, 05 Aug 2026 09:54:13 -0700 (PDT) Received: from OrangePi5-Plus.BB-HOME (20014C4E1B86F10001BE789C6EE938EE.dsl.pool.telekom.hu. [2001:4c4e:1b86:f100:1be:789c:6ee9:38ee]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47febfda0d7sm9829057f8f.2.2026.08.05.09.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2026 09:54:13 -0700 (PDT) From: Igor Paunovic To: Heiko Stuebner , Michael Turquette , Stephen Boyd , Daniele Briguglio Cc: Ricardo Pardini , Diederik de Haas , Nicolas Frattaroli , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Igor Paunovic Subject: Re: [PATCH] clk: rockchip: rk3588: don't disable unused I2S MCLK output gates Date: Wed, 5 Aug 2026 18:53:47 +0200 Message-ID: <20260805165350.14710-1-royalnet026@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <6cc68287-ee87-4db6-8f40-531ec2d92fb2@pardini.net> References: <6cc68287-ee87-4db6-8f40-531ec2d92fb2@pardini.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, Independent reproduction and a Tested-by for this fix, on a third board family: Orange Pi 5 Plus (rk3588, es8388 clocked from I2S0_8CH_MCLKOUT). On v7.2-rc6 without this patch the analog codec is completely dead in both directions - playback silent, capture records exact digital zeroes - because clk_disable_unused() closes the new i2s0_8ch_mclkout_to_io GRF gate at the end of boot: SYS_GRF SOC_CON6 reads 0x7c7 (bit 0 set) while the clock tree shows i2s0_8ch_mclkout enabled for the codec and i2s0_8ch_mclkout_to_io with an enable count of 0. Re-opening the gate by hand over /dev/mem brings the codec back the same second, and with the gate held open the board plays and records normally. Tested-by: Igor Paunovic On scale: grepping v7.2-rc6, every rk3588 board DTS that clocks its codec from an I2S MCLKOUT still references the plain id rather than the _TO_IO one - I count 21 files (es8316/es8388/es8323/rt5616/nau8822 across the Orange Pi 5 family, ROCK 5A/5B/5B+/5T/5C/ITX, NanoPC-T6, CM3588, ArmSoM, CoolPi, the EVBs, QuartzPro64, Gameforce Ace and Firefly) - so all of these ship with broken analog audio if v7.2 goes final without this fix. Is anything still blocking it from going in with the next -rc? Thanks, Igor