From patchwork Tue May 25 08:46:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12278183 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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 15A1DC2B9F8 for ; Tue, 25 May 2021 08:49:51 +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 D44CD6117A for ; Tue, 25 May 2021 08:49:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D44CD6117A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=j/IG9kS8YtzT3QTiosnlAa3LVjaKkamgndwWpBe/lgI=; b=tImCcbuIUXNPWV /ZwHeCEmOVRsINPyZgT0N6gaRh9yXk5C7oAEqXbvt3UA9FoEK6BK3/4uLtexbCw7Cj23xYVk3qMks KEkmhOCDjHrlWWxfRIstCma0Ftg1lEXCcLzZG7rN4OPwlsT73y9s0/DsuKeo5c1u4itjDNud8d7PS s1PK0WETW9hki2lEo9vRQCO5l9pYKRYZoS4VBRZAPX4iUQAXsj96RY5WnZ/iSDoVbVgmTON1NxNFd x4IPR54Mo2Bu4UAlB3VCA/Sew8nYB8i76AxsYHYzM/+imCbrUjI6f4iOTZQ3tuzw5MuFFiu/m/3xg HFhmxU6WqjDvPaK//Nfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llSic-0049ZS-LK; Tue, 25 May 2021 08:47:18 +0000 Received: from mo-csw1515.securemx.jp ([210.130.202.154] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1llSiX-0049Wa-97 for linux-arm-kernel@lists.infradead.org; Tue, 25 May 2021 08:47:15 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1515) id 14P8l9rO000750; Tue, 25 May 2021 17:47:09 +0900 X-Iguazu-Qid: 34tKrQY1yxL0vbPXAl X-Iguazu-QSIG: v=2; s=0; t=1621932428; q=34tKrQY1yxL0vbPXAl; m=XDWCjUbFeO2JukKi+ckoT0wPMScNVahclJwFnE0Qccg= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1513) id 14P8l890013828 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 25 May 2021 17:47:08 +0900 Received: from enc01.toshiba.co.jp (enc01.toshiba.co.jp [106.186.93.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx2-a.toshiba.co.jp (Postfix) with ESMTPS id 61D0D1000BF for ; Tue, 25 May 2021 17:47:08 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 14P8l846018066 for ; Tue, 25 May 2021 17:47:08 +0900 From: Nobuhiro Iwamatsu To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH 0/4] clk: visconti: Add support common clock driver and reset driver Date: Tue, 25 May 2021 17:46:51 +0900 X-TSB-HOP: ON Message-Id: <20210525084655.138465-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210525_014713_553774_2C415B6D X-CRM114-Status: GOOD ( 11.90 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series is PLL, clock and reset driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html Nobuhiro Iwamatsu (4): clk: visconti: Add support common clock driver and reset driver dt-bindings: clock: Add DT bindings for PLL of Toshiba Visconti TMPV7700 SoC dt-bindings: clock: Add DT bindings for SMU of Toshiba Visconti TMPV7700 SoC MAINTAINERS: Add entries for Toshiba Visconti PLL and clock controller .../clock/toshiba,tmpv7708-pipllct.yaml | 49 +++ .../clock/toshiba,tmpv7708-pismu.yaml | 50 +++ MAINTAINERS | 3 + drivers/clk/Makefile | 1 + drivers/clk/visconti/Makefile | 5 + drivers/clk/visconti/clkc-tmpv770x.c | 230 +++++++++++ drivers/clk/visconti/clkc.c | 215 ++++++++++ drivers/clk/visconti/clkc.h | 75 ++++ drivers/clk/visconti/pll-tmpv770x.c | 94 +++++ drivers/clk/visconti/pll.c | 373 ++++++++++++++++++ drivers/clk/visconti/pll.h | 62 +++ drivers/clk/visconti/reset.c | 111 ++++++ drivers/clk/visconti/reset.h | 35 ++ include/dt-bindings/clock/toshiba,tmpv770x.h | 181 +++++++++ include/dt-bindings/reset/toshiba,tmpv770x.h | 41 ++ 15 files changed, 1525 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/toshiba,tmpv7708-pipllct.yaml create mode 100644 Documentation/devicetree/bindings/clock/toshiba,tmpv7708-pismu.yaml create mode 100644 drivers/clk/visconti/Makefile create mode 100644 drivers/clk/visconti/clkc-tmpv770x.c create mode 100644 drivers/clk/visconti/clkc.c create mode 100644 drivers/clk/visconti/clkc.h create mode 100644 drivers/clk/visconti/pll-tmpv770x.c create mode 100644 drivers/clk/visconti/pll.c create mode 100644 drivers/clk/visconti/pll.h create mode 100644 drivers/clk/visconti/reset.c create mode 100644 drivers/clk/visconti/reset.h create mode 100644 include/dt-bindings/clock/toshiba,tmpv770x.h create mode 100644 include/dt-bindings/reset/toshiba,tmpv770x.h