From patchwork Sun Jul 5 12:34:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 1323022 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=wanyeetech.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4B07Sd0Thxz9sRf for ; Sun, 5 Jul 2020 22:34:57 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726886AbgGEMey (ORCPT ); Sun, 5 Jul 2020 08:34:54 -0400 Received: from out28-221.mail.aliyun.com ([115.124.28.221]:47804 "EHLO out28-221.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbgGEMey (ORCPT ); Sun, 5 Jul 2020 08:34:54 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2241133|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.02944-0.00118996-0.96937;FP=0|0|0|0|0|-1|-1|-1;HT=e01a16384;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=6;RT=6;SR=0;TI=SMTPD_---.HyLYY-A_1593952483; Received: from localhost.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.HyLYY-A_1593952483) by smtp.aliyun-inc.com(10.147.42.197); Sun, 05 Jul 2020 20:34:49 +0800 From: =?utf-8?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, paul@crapouillou.net Subject: [PATCH v4 0/2] Add support for the OST in Ingenic X1000. Date: Sun, 5 Jul 2020 20:34:18 +0800 Message-Id: <20200705123420.20045-1-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v3->v4: 1.Rename "ingenic,ost.yaml" to "ingenic,sysost.yaml". 2.Rename "ingenic,ost.h" to "ingenic,sysost.h". 3.Remove ost_clock_parent enum. 4.Remove ost->percpu_timer_channel/ost->global_timer_channel. 5.Set up independent .recalc_rate/.set_rate for percpu/global timer. 6.No longer call functions in variable declarations. 周琰杰 (Zhou Yanjie) (2): dt-bindings: timer: Add Ingenic X1000 OST bindings. clocksource: Ingenic: Add support for the Ingenic X1000 OST. .../devicetree/bindings/timer/ingenic,sysost.yaml | 60 +++ drivers/clocksource/Kconfig | 11 + drivers/clocksource/Makefile | 1 + drivers/clocksource/ingenic-sysost.c | 539 +++++++++++++++++++++ include/dt-bindings/clock/ingenic,sysost.h | 12 + 5 files changed, 623 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/ingenic,sysost.yaml create mode 100755 drivers/clocksource/ingenic-sysost.c create mode 100644 include/dt-bindings/clock/ingenic,sysost.h Reviewed-by: Paul Cercueil