From patchwork Fri Feb 9 03:34:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenyou Yang X-Patchwork-Id: 871194 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zd18D2qRtz9rxj for ; Fri, 9 Feb 2018 14:41:46 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 5AC74C21F06; Fri, 9 Feb 2018 03:41:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EDE0DC21C93; Fri, 9 Feb 2018 03:41:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3F2AFC21C93; Fri, 9 Feb 2018 03:41:38 +0000 (UTC) Received: from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.242]) by lists.denx.de (Postfix) with ESMTPS id E3C5BC21C4F for ; Fri, 9 Feb 2018 03:41:37 +0000 (UTC) Received: from apsmtp01.atmel.com (10.168.254.31) by eusmtp01.atmel.com (10.145.145.30) with Microsoft SMTP Server id 14.3.235.1; Fri, 9 Feb 2018 04:41:30 +0100 Received: from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.atmel.com (10.168.254.31) with Microsoft SMTP Server id 14.3.235.1; Fri, 9 Feb 2018 11:50:27 +0800 From: Wenyou Yang To: U-Boot Mailing List Date: Fri, 9 Feb 2018 11:34:49 +0800 Message-ID: <20180209033452.15448-1-wenyou.yang@microchip.com> X-Mailer: git-send-email 2.16.0.rc1 MIME-Version: 1.0 Cc: Tom Rini , Nicolas Ferre , Wenyou Yang Subject: [U-Boot] [PATCH 0/3] clk: at91: add usb and plladiv drivers X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" In order to provide the clocks UHP48MHz and UHP12MHz to the USB Host OHCI, add the USB clock and PLLADIV clock driver. Wenyou Yang (3): clk: at91: add USB Host clock driver clk: at91: add PLLADIV driver clk: at91: clk-system: add set/get_rate operations arch/arm/mach-at91/include/mach/at91_pmc.h | 6 ++ drivers/clk/at91/Kconfig | 8 ++ drivers/clk/at91/Makefile | 3 +- drivers/clk/at91/clk-plladiv.c | 88 +++++++++++++++++ drivers/clk/at91/clk-system.c | 26 +++++ drivers/clk/at91/clk-usb.c | 146 +++++++++++++++++++++++++++++ 6 files changed, 276 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/at91/clk-plladiv.c create mode 100644 drivers/clk/at91/clk-usb.c