From patchwork Wed Nov 10 15:31:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 12692172 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37FDFC433F5 for ; Wed, 10 Nov 2021 15:33:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 047C8610CF for ; Wed, 10 Nov 2021 15:33:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 047C8610CF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=y/XaeUkIuUXAU3+6nXB1HUhoiS1BdInUc0acTIZ0EBU=; b=wVeHsyRyxFzI+v Ffli+zQQXlZxwn6xTy7RtwkFiIQTrqPT507UBzBVPXg3pkvj/0EI6bwwCQAdJiCv+f7yuzPBmO47r 317N91tM8GGJoJni++JiOVb+FXQyWGRPJqmRCLema7RflHufMT4xOx8fZ+yNkN2VcDfw1fEQ4uYQ0 ikAjaahkMBPGXY/rX/+kkc7Q1We6xSSigJK8ccqrf/iVplP/SDhpK9JZZ6ygastu/Ml6LIXVYWN7S 5pgDHTPydvlUqQiRWeIcyuC/EEnQjEEE+Uhg8s3P81Zka89hzgwGbzKs8+xC/s9CCT4cP5FRE2eh/ GrAPHQ5pHKN3f5m7zIzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkpZq-005jzU-DX; Wed, 10 Nov 2021 15:31:54 +0000 Received: from relmlor1.renesas.com ([210.160.252.171] helo=relmlie5.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkpZm-005jzB-Jg for linux-arm-kernel@lists.infradead.org; Wed, 10 Nov 2021 15:31:52 +0000 X-IronPort-AV: E=Sophos;i="5.87,224,1631545200"; d="scan'208";a="99810480" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 11 Nov 2021 00:31:48 +0900 Received: from localhost.localdomain (unknown [10.226.92.40]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 37F7F40065AE; Thu, 11 Nov 2021 00:31:45 +0900 (JST) From: Biju Das To: Maxime Coquelin , Rob Herring , Alexandre Torgue , Philipp Zabel Cc: Biju Das , Daniel Lezcano , Thomas Gleixner , Chris Brandt , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , Chris Paterson , Biju Das , Prabhakar Mahadev Lad , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 0/3] Add RZ/G2L OSTM support Date: Wed, 10 Nov 2021 15:31:39 +0000 Message-Id: <20211110153142.3451-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_073150_814935_5F2555EF X-CRM114-Status: UNSURE ( 7.45 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series aims to add Generic Timer Module (a.k.a OSTM) support for RZ/G2L series. OSTM modules needs to deassert the reset line before accessing any registers. v1->v2: * Added of_reset_control_get_optional_exclusive API * Updated dt-bindings to use renesas,ostm * Added reset handling in ostm_init Biju Das (3): reset: Add of_reset_control_get_optional_exclusive() dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2L OSTM clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM support .../bindings/timer/renesas,ostm.yaml | 20 ++++++++-- drivers/clocksource/renesas-ostm.c | 37 ++++++++++++++++++- include/linux/reset.h | 20 ++++++++++ 3 files changed, 73 insertions(+), 4 deletions(-)