From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0551F26A0E8; Tue, 8 Apr 2025 12:36:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115811; cv=none; b=gEWxaAZY7PFJVJ75OD9Tj3wdltiGAsGsWgsl7NgcwlXPXgUo1IGc7ZFzgcsVa03f+gzR77BLVjmiuv//bwPlZjIzJ+93rwjW2EvL+c/5jYzA6jAuxAo4jWUvGOmo2gScnTW2niOyfpXlpdtvXe8hBE/jEY19gLR9j5/a5WwkmJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115811; c=relaxed/simple; bh=o2KFXRyp6QxpVeNq6VUn1HunwPCH+wRDtnFfutmC5+g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V8a0VwNgEYrSnMmKn1OCJIhS8s3QFlQoR4i78oZ3kqdVcHZklyHApsjkOlY2ZMZ8nsZge3L+bQHXCKqMYWv3hhlCMBhd+hqryHJvX98/uYuXpLSZOxQOHHa3m9Xshs2VTQDI0b8dc+QPSMnhrqEoQRFJLe/x1emBU/n4YAfj9iM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dvDBNbe5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dvDBNbe5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 889CDC4CEE5; Tue, 8 Apr 2025 12:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744115810; bh=o2KFXRyp6QxpVeNq6VUn1HunwPCH+wRDtnFfutmC5+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dvDBNbe5cj7xqmRna6shve1QWp+uyY0sqJgU29CVUhZnc+m3TH/XxOc+3MjPLgS+8 uyxRRczAYYE+vCUuePn/x3QnItq7vAOfLlJFdHeSUYOES0kV26YRpftCeb2UPrCLrx KRoalOY0X9L/nUHfBpJnmWlOW5NKpdt2XkHjlIE8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Neil Armstrong , Jerome Brunet , Sasha Levin Subject: [PATCH 6.1 076/204] clk: amlogic: g12a: fix mmc A peripheral clock Date: Tue, 8 Apr 2025 12:50:06 +0200 Message-ID: <20250408104822.591556868@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104820.266892317@linuxfoundation.org> References: <20250408104820.266892317@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jerome Brunet [ Upstream commit 0079e77c08de692cb20b38e408365c830a44b1ef ] The bit index of the peripheral clock for mmc A is wrong This was probably not a problem for mmc A as the peripheral is likely left enabled by the bootloader. No issues has been reported so far but it could be a problem, most likely some form of conflict between the ethernet and mmc A clock, breaking ethernet on init. Use the value provided by the documentation for mmc A before this becomes an actual problem. Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20241213-amlogic-clk-g12a-mmca-fix-v1-1-5af421f58b64@baylibre.com Signed-off-by: Jerome Brunet Signed-off-by: Sasha Levin --- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index a623596c1e490..d13a60fefc1b8 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -4199,7 +4199,7 @@ static MESON_GATE(g12a_spicc_1, HHI_GCLK_MPEG0, 14); static MESON_GATE(g12a_hiu_reg, HHI_GCLK_MPEG0, 19); static MESON_GATE(g12a_mipi_dsi_phy, HHI_GCLK_MPEG0, 20); static MESON_GATE(g12a_assist_misc, HHI_GCLK_MPEG0, 23); -static MESON_GATE(g12a_emmc_a, HHI_GCLK_MPEG0, 4); +static MESON_GATE(g12a_emmc_a, HHI_GCLK_MPEG0, 24); static MESON_GATE(g12a_emmc_b, HHI_GCLK_MPEG0, 25); static MESON_GATE(g12a_emmc_c, HHI_GCLK_MPEG0, 26); static MESON_GATE(g12a_audio_codec, HHI_GCLK_MPEG0, 28); -- 2.39.5