Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5348936iob; Mon, 9 May 2022 14:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzISBdJfKuFQshPMlRgnKgb4m6VaXoZpWNkyuAoKLzI/KBXtxGKCgfNWsVBjwDaANwAgP5x X-Received: by 2002:a50:c01c:0:b0:428:91cf:a90d with SMTP id r28-20020a50c01c000000b0042891cfa90dmr9960019edb.42.1652131684200; Mon, 09 May 2022 14:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652131684; cv=none; d=google.com; s=arc-20160816; b=FwlGODOCMWX6muthNXR0pNhJP/B2B2SO9El1KHEwocyUpll3j3SYQX32yCZnbqYdWP O61MSGN2N34RZZFQa1zYOPzQ53P7LuimXfn8JwFV85ZRqj/hZzvxm7JjqQJvaJSBoy0H 8OA+govlaIAbvWO4SZREe1blrhSrvnzAAxi8lj1+gBxtHV6dULyrfRq2vLVC1GsMqoZn adUv9HGcBQIm+nZslJIkNhTpOjcaU1FhzZg1Va5KI828nCTVDhcKyAdLFrIClWz61uOD AUBwj314vUHrWOfgj/fVfyFezhpqhXY89k2hflVv5voTPQq07VXHb7ZX0TsvKRdIFbzU C2+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6/ghQZRzXnlDnScaLTunKeiH7F8JHl0j2UyEWqZGMBI=; b=xebDjMbedoufG2kus7Hlq3NElZ1TcwtSYN4Li8CE37CVVqGHWRFmP8OyKQVRteBMAU w1Rmm0EyWD11bXy7HUckiaX0szjuzd0UKtyD/IYCI5BwT+b6RnWGDoOm5qlDghhTIy8G fcQWcYdamrxxIFThQ7SBtkYRM+dVnJfTCPsITIOi8fbImTpVpqRSVkaF7tPrSkcWDunE ddA96fPqS8982x6BJ/m9yslekNSk3oD5NKIR1kYwsykKPziWH7NQc13VFaml87VtlQoE BxoXPwalvUVW25JUFzv2yoR46s0QMzd0XsoY7c1+KfGa8QR1HVH7LPQ/1N3w07pGEWHP at5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hrucb9ZE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx15-20020a0564020b4f00b00421c744d1c7si12569696edb.538.2022.05.09.14.27.28; Mon, 09 May 2022 14:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hrucb9ZE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbiEIVLt (ORCPT + 99 others); Mon, 9 May 2022 17:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbiEIVLn (ORCPT ); Mon, 9 May 2022 17:11:43 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDCF6E7328; Mon, 9 May 2022 14:07:48 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id DE5E41F430CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1652130467; bh=74FyHDOOizk+TMT3i3Kx8M2B5GpKxJp/DqS60eMcOH8=; h=From:To:Cc:Subject:Date:From; b=hrucb9ZEUOvcrLczb4CqvrxAcAGDIWXe2oBJDiJDfkI30WAO2cPhDUWIM9tHp3Qqi 1RAuGwyA4d1JrjsAiVAv8kxuyHm7COrblIg0GIfE7v5rqkOWIV/no3ohYRgkSgIhiJ 9/e7vcUnzlL0NiazyVf1JrzpSmSRRr0Hrhff4xbRtsCjCHgzNIZD6aAbvbFiwGqmm4 3yXyuxBxjHkpdHwEJZWltTFVMQDf5xEF19BunbEv1aQMolhdUuuUDGpGW+kFywNqy2 Q+UJJyqOLju4wg74xYC7JBjtsYmdZK98sEE0tzKv9HHkGGD6qp60N9Tvnn3XUKi9tx 0vVlqmd7aaVFw== From: AngeloGioacchino Del Regno To: daniel.lezcano@linaro.org Cc: tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, konrad.dybcio@somainline.org, marijn.suijten@somainline.org, martin.botka@somainline.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, paul.bouchara@somainline.org, AngeloGioacchino Del Regno Subject: [PATCH v2 0/2] MediaTek SoC ARM/ARM64 System Timer Date: Mon, 9 May 2022 23:07:38 +0200 Message-Id: <20220509210741.12020-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In an effort to give some love to the apparently forgotten MT6795 SoC, I am upstreaming more components that are necessary to support platforms powered by this one apart from a simple boot to serial console. This series introduces support to start the System Timer for the CPU cores found in various MediaTek SoCs including, but not limited to the MT6795 Helio X10 - and will most probably unblock many developers for the upstreaming of various platforms. For a broad overview of why/what/when, please look at the description of patch [2/2] in this series. Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone. Changes in v2: - Added back a lost line in commit 2/2 (sorry, commit didn't get amended...!) - Tested again for safety AngeloGioacchino Del Regno (2): dt-bindings: timer: mediatek: Add CPUX System Timer and MT6795 compatible clocksource/drivers/timer-mediatek: Implement CPUXGPT timers .../bindings/timer/mediatek,mtk-timer.txt | 4 + drivers/clocksource/timer-mediatek.c | 119 ++++++++++++++++++ 2 files changed, 123 insertions(+) -- 2.35.1