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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3BCCC4332F for ; Tue, 13 Dec 2022 11:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234491AbiLML0c (ORCPT ); Tue, 13 Dec 2022 06:26:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235371AbiLMLZz (ORCPT ); Tue, 13 Dec 2022 06:25:55 -0500 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 7FA991D662; Tue, 13 Dec 2022 03:25:19 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id AE3A2660036A; Tue, 13 Dec 2022 11:25:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1670930718; bh=jGEJaC2HHzi3pPy3yaMxUlfwN0oxrlQhb5r/NizcXZo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nO0m+xHZBDmaCWKxPnPPm9BOanyUTdwPiXhZ6stPQ2SjHsiGPoA1YGpY2HMeio5qQ 119yMkqN0eMSgwqPQu+G7DNPNkzu96nipC/xXUdpoAgpgAHTcXQr2hvRdSe1Eey7qh vJbdMjguGdLWlvtpR392ftEErTIRzrGNbsGbroCaEwr56Y/XTMTXvfvLvI4VZN/jn2 +16ucP6YtMQnjeVZdqb7cToIS7RPrRSj/6aPncm2sflcCdCz6fNlSXRC1hr+NsPSdX MAQobd3w1silOk2ka/doS0pLzSDsR+gM8Z02XEXwIjfnD2kuTPuydJDKu9W5Ksa6V/ S85bU55zdrogA== Message-ID: <4e73921f-c8c1-7943-72a7-a95b20a68bbf@collabora.com> Date: Tue, 13 Dec 2022 12:25:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 2/4] arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description Content-Language: en-US To: Chen-Yu Tsai , Matthias Brugger Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?N=c3=adcolas_F_=2e_R_=2e_A_=2e_Prado?= References: <20221201084229.3464449-1-wenst@chromium.org> <20221201084229.3464449-3-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20221201084229.3464449-3-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 01/12/22 09:42, Chen-Yu Tsai ha scritto: > The systimer block derives its 13 MHz clock by dividing the main 26 MHz > oscillator clock by 2 internally, not through the TOPCKGEN clock > controller. > > On the MT8192 this divider is fixed to /2 and is not configurable. > > Making the systimer block take the 26 MHz clock directly requires > changing the implementations. As an ABI compatible fix, change the > input clock of the systimer block a fixed factor divide-by-2 clock > that takes the 26 MHz oscillator as its input. > > Fixes: 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile") > 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 C23B7C4332F for ; Tue, 13 Dec 2022 11:26:45 +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=OQdvsmMZOC9IMKik6FpIDN7weVXcBCuly83D2dhYyLk=; b=hDshsmZDmQAlfN tXhvauZPvEA4gFjfXTw2ZqRUYSRFfzreR/1RrfjXEiXVh4gCUXkmcHy9k00x3N1t15Qx/iJfvC1bn kAG0y3bAD+CXPZu8Oz2ti8povVpEgmcEfwEML1ZxWRwue2LG4qs9ShRHVUNPShl/E8IXzTorJ+RP/ wIpT2J8PNWxU3u2DFU+UsHsWUyVUoQ1TosK23n4tTTt2hcw3S45L6vZpEtd3Ew9gsxg3xvQtYUz00 /AVqYeg632qSBPBSCID/laneAqzRyUDkgdZWqDSFnN07ZwPYX/hXl/2x+Q+PszNOpDrmcmOVg4KXG NLul+WPnwpv7GIZsLAFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p53Pt-00GMK5-BY; Tue, 13 Dec 2022 11:25:45 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p53PT-00GM8C-Le; Tue, 13 Dec 2022 11:25:21 +0000 Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id AE3A2660036A; Tue, 13 Dec 2022 11:25:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1670930718; bh=jGEJaC2HHzi3pPy3yaMxUlfwN0oxrlQhb5r/NizcXZo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nO0m+xHZBDmaCWKxPnPPm9BOanyUTdwPiXhZ6stPQ2SjHsiGPoA1YGpY2HMeio5qQ 119yMkqN0eMSgwqPQu+G7DNPNkzu96nipC/xXUdpoAgpgAHTcXQr2hvRdSe1Eey7qh vJbdMjguGdLWlvtpR392ftEErTIRzrGNbsGbroCaEwr56Y/XTMTXvfvLvI4VZN/jn2 +16ucP6YtMQnjeVZdqb7cToIS7RPrRSj/6aPncm2sflcCdCz6fNlSXRC1hr+NsPSdX MAQobd3w1silOk2ka/doS0pLzSDsR+gM8Z02XEXwIjfnD2kuTPuydJDKu9W5Ksa6V/ S85bU55zdrogA== Message-ID: <4e73921f-c8c1-7943-72a7-a95b20a68bbf@collabora.com> Date: Tue, 13 Dec 2022 12:25:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 2/4] arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description Content-Language: en-US To: Chen-Yu Tsai , Matthias Brugger Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?N=c3=adcolas_F_=2e_R_=2e_A_=2e_Prado?= References: <20221201084229.3464449-1-wenst@chromium.org> <20221201084229.3464449-3-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20221201084229.3464449-3-wenst@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221213_032520_004094_B121AEB5 X-CRM114-Status: UNSURE ( 9.66 ) 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 01/12/22 09:42, Chen-Yu Tsai ha scritto: > The systimer block derives its 13 MHz clock by dividing the main 26 MHz > oscillator clock by 2 internally, not through the TOPCKGEN clock > controller. > > On the MT8192 this divider is fixed to /2 and is not configurable. > > Making the systimer block take the 26 MHz clock directly requires > changing the implementations. As an ABI compatible fix, change the > input clock of the systimer block a fixed factor divide-by-2 clock > that takes the 26 MHz oscillator as its input. > > Fixes: 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile") > 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