From patchwork Thu Oct 25 07:23:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Wang, Jiada" X-Patchwork-Id: 10655553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8248715A7 for ; Thu, 25 Oct 2018 07:24:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69A0B26861 for ; Thu, 25 Oct 2018 07:24:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67D9A28113; Thu, 25 Oct 2018 07:24:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA2A426861 for ; Thu, 25 Oct 2018 07:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbeJYPzc (ORCPT ); Thu, 25 Oct 2018 11:55:32 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:64946 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbeJYPzb (ORCPT ); Thu, 25 Oct 2018 11:55:31 -0400 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gFZzo-0002Do-5y from Jiada_Wang@mentor.com ; Thu, 25 Oct 2018 00:23:56 -0700 Received: from jiwang-OptiPlex-980.tokyo.mentorg.com (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 25 Oct 2018 00:23:52 -0700 From: To: , , , , , , CC: , , , , Subject: [PATCH linux-next v1 0/4] Add AVB Counter Clock Date: Thu, 25 Oct 2018 16:23:45 +0900 Message-ID: <20181025072349.15173-1-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jiada Wang on R-Car SoCs there are AVB Counter Clocks, each clock has 12bits integral and 8 bits fractional dividers which operates with S0D1ϕ clock. This patch set adds avb clock provider, which registers all 8 AVB Counter Clocks, and provide them via clock provider. AVB Clock node are added to R-Car ULCB and Salvator boards, so that like Audio Clock Generator (ADG) can use avb counter clocks via common clock framework. Jiada Wang (4): clk: renesas: clk-avb: add AVB Clock driver clk: renesas: Add binding document for AVB Counter Clock arm64: ulcb: Add avb counter clock arm64: salvator-common: Add avb counter clock .../bindings/clock/renesas,avb-clk.txt | 19 ++ .../boot/dts/renesas/salvator-common.dtsi | 6 + arch/arm64/boot/dts/renesas/ulcb.dtsi | 6 + drivers/clk/renesas/Kconfig | 6 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/clk-avb.c | 257 ++++++++++++++++++ 6 files changed, 295 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/renesas,avb-clk.txt create mode 100644 drivers/clk/renesas/clk-avb.c