From patchwork Wed Jun 23 12:34:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 12339783 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7550CC4743C for ; Wed, 23 Jun 2021 12:37:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C06EB61076 for ; Wed, 23 Jun 2021 12:37:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C06EB61076 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw28j-0004TS-Vw for qemu-devel@archiver.kernel.org; Wed, 23 Jun 2021 08:37:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw25M-0008CJ-Ji for qemu-devel@nongnu.org; Wed, 23 Jun 2021 08:34:28 -0400 Received: from mail07.asahi-net.or.jp ([202.224.55.47]:40174) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw25K-0000s1-Hw for qemu-devel@nongnu.org; Wed, 23 Jun 2021 08:34:28 -0400 Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) (Authenticated sender: PQ4Y-STU) by mail07.asahi-net.or.jp (Postfix) with ESMTPA id CB87EC1C8F; Wed, 23 Jun 2021 21:34:22 +0900 (JST) Received: from yo-satoh-debian.localdomain (z215167.dynamic.ppp.asahi-net.or.jp [110.4.215.167]) by sakura.ysato.name (Postfix) with ESMTPSA id C2CF11C04F4; Wed, 23 Jun 2021 21:34:21 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH 0/3] Integrate renesas MCU/SoC timer module Date: Wed, 23 Jun 2021 21:34:13 +0900 Message-Id: <20210623123416.60038-1-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: softfail client-ip=202.224.55.47; envelope-from=ysato@users.sourceforge.jp; helo=mail07.asahi-net.or.jp X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yoshinori Sato Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" SH4 TMU and RX CMT have simler functions. Integrate the sh_timer and renesas_cmt. Yoshinori Sato (3): hw/timer: Add renesas_timer. hw/rx: rx62n switch renesas_timer. hw/sh4: sh7750 switch renesas_timer. include/hw/rx/rx62n.h | 4 +- include/hw/timer/renesas_timer.h | 89 ++++++ hw/sh4/sh7750.c | 32 +- hw/timer/renesas_timer.c | 532 +++++++++++++++++++++++++++++++ hw/rx/Kconfig | 2 +- hw/sh4/Kconfig | 2 +- hw/timer/Kconfig | 3 +- hw/timer/meson.build | 1 + 8 files changed, 657 insertions(+), 8 deletions(-) create mode 100644 include/hw/timer/renesas_timer.h create mode 100644 hw/timer/renesas_timer.c