From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 2505F2E832; Mon, 19 Feb 2024 12:28:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708345734; cv=none; b=DL9LN1UhO8gd+iFnB/YbXYLnLM9hn4ypB01NT4kZV70rHGe+5xxNpNK+JHdIsrFrauZKqSkqvk6ByPSXVs31NSpz7sTKiFa/D28abO2ewDh15wOMQE0lli9PcZc5wW/Qdb7s+5HZFChed1m4PjeHC1M7ny15swbdin14g5iZtY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708345734; c=relaxed/simple; bh=ldtcDeRxUwJgADZNUFjdHdosag5VORxjVngR/8kNA9U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=A9vIp4HZG7HDHjVarC0OyxrkGDb7PWlcTMp7bE1xB40ZCZO4UqoSk7tHUuecJZNScj8R3ALKhIz2A+q8Q9UEwLA8fgxrrki1TC7W3C6SrQJjK1p7fMD7sxl6eWFNH06rMVouT1y8lKHIYAovg/eveVWKtYh8ZKVNSFG0YIQzv/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=2QX/h5dE; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="2QX/h5dE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1708345731; bh=ldtcDeRxUwJgADZNUFjdHdosag5VORxjVngR/8kNA9U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=2QX/h5dEf+sZCPTssHqe4dMsez1TlRUdreDjiL3PuaWPku2qKDhgQiv6Pwnea66Tz zlV8hy+QUnQKLwTOMpVz3Oopr/+x+hnCUEAoBJs8C7jQ0KJBXGfSKUa5lzGMEWiBrM 5Z0XZLYbS9nw5r8oo3ktPzlQbOI+OFqZgQiOC7yYi1b4ebBs76c4CpXJMo2SC7ZsrO 4cvj5Hfuu63NY2ulHS2EN3DJgEXdBjEHauDSvJ055yavjB/d9HEWgK9KqGb9HhaBun V71hk03C/hdk1SeNTor0NWPmCWrj3ei6zEe0ZOV0FXtiCPgtEIa+RrwykipBUeY6zF HKd3Pq8rZJ8fA== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 84BA43780BFE; Mon, 19 Feb 2024 12:28:50 +0000 (UTC) Message-ID: Date: Mon, 19 Feb 2024 13:28:49 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: mediatek: mt8183: Correct parent of CLK_INFRA_SSPM_32K_SELF Content-Language: en-US To: Chen-Yu Tsai , Stephen Boyd , Matthias Brugger Cc: linux-clk@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240219105125.956278-1-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20240219105125.956278-1-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 19/02/24 11:51, Chen-Yu Tsai ha scritto: > CLK_INFRA_SSPM_32K_SELF has the "f_f26m_ck" clock assigned as its parent. > This is inconsistent as the clock is part of a group that are all gates > without dividers, and this makes the kernel think it runs at 26 MHz. > > After clarification from MediaTek engineers, the correct parent is > actually the system 32 KHz clock. > > Fixes: 1eb8d61ac5c9 ("clk: mediatek: mt8183: Add back SSPM related clocks") > Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno 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 6B114C48BF8 for ; Mon, 19 Feb 2024 12:29:11 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k6tZTVf92/L3L8wf3tz5GtAHPhohQm8TIORl3qa/Eqs=; b=ej3VNvNnu28m6Z eJ/mSlUFTsRCYVaARAdcbsGlodgV80dGeoSFGWhu5RjJ+Z9gsZTdIFbiSvsEUhoa3zxUn31H2V1a5 tdxwkSs8C+z8KwsiatV3eY+Gfq7DDLUzoqR4fXwgcW3cs6ZOWtSh+hwOSx54yXtTmxb2Gc7L61F7q wwawlNju8vGs/xHZj0k96Hk0UZsdrLIZ1BamCv8x27d3M+kEwjf946rXl/z31R4P52mnkwNtyFMPx LeroVtZeS4BIq1ZqbFpYb32q+GgowF3huANQG8nwCnQa+IvzdspfHtyy8RvQB0+LYuFMkOa3sYrsn eBXW1DCRlWoXT8EnUNAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc2lU-0000000AOfw-1rJi; Mon, 19 Feb 2024 12:28:56 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc2lR-0000000AOed-0h9R; Mon, 19 Feb 2024 12:28:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1708345731; bh=ldtcDeRxUwJgADZNUFjdHdosag5VORxjVngR/8kNA9U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=2QX/h5dEf+sZCPTssHqe4dMsez1TlRUdreDjiL3PuaWPku2qKDhgQiv6Pwnea66Tz zlV8hy+QUnQKLwTOMpVz3Oopr/+x+hnCUEAoBJs8C7jQ0KJBXGfSKUa5lzGMEWiBrM 5Z0XZLYbS9nw5r8oo3ktPzlQbOI+OFqZgQiOC7yYi1b4ebBs76c4CpXJMo2SC7ZsrO 4cvj5Hfuu63NY2ulHS2EN3DJgEXdBjEHauDSvJ055yavjB/d9HEWgK9KqGb9HhaBun V71hk03C/hdk1SeNTor0NWPmCWrj3ei6zEe0ZOV0FXtiCPgtEIa+RrwykipBUeY6zF HKd3Pq8rZJ8fA== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 84BA43780BFE; Mon, 19 Feb 2024 12:28:50 +0000 (UTC) Message-ID: Date: Mon, 19 Feb 2024 13:28:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: mediatek: mt8183: Correct parent of CLK_INFRA_SSPM_32K_SELF Content-Language: en-US To: Chen-Yu Tsai , Stephen Boyd , Matthias Brugger Cc: linux-clk@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240219105125.956278-1-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20240219105125.956278-1-wenst@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_042853_537494_2515484F X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Il 19/02/24 11:51, Chen-Yu Tsai ha scritto: > CLK_INFRA_SSPM_32K_SELF has the "f_f26m_ck" clock assigned as its parent. > This is inconsistent as the clock is part of a group that are all gates > without dividers, and this makes the kernel think it runs at 26 MHz. > > After clarification from MediaTek engineers, the correct parent is > actually the system 32 KHz clock. > > Fixes: 1eb8d61ac5c9 ("clk: mediatek: mt8183: Add back SSPM related clocks") > Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel