Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758104Ab3FUGO3 (ORCPT ); Fri, 21 Jun 2013 02:14:29 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:36522 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757862Ab3FUGO2 (ORCPT ); Fri, 21 Jun 2013 02:14:28 -0400 From: Mike Turquette To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, =?UTF-8?q?Heiko=20St=C3=BCbner?= , Matt Sealey , Stephen Boyd , Haojian Zhuang , Tero Kristo , Mike Turquette Subject: [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks Date: Thu, 20 Jun 2013 23:14:11 -0700 Message-Id: <1371795256-16703-1-git-send-email-mturquette@linaro.org> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2033 Lines: 43 This series introduces binding definitions for common register-mapped clock multiplexer, divider and gate IP blocks along with the corresponding setup functions for matching DT data. The bindings are similar to the struct definitions but please don't hold that against the binding: the struct definitions closely model the hardware register layout. This version fixes bugs and incorporates support for the hiword-mask property needed on Hisilicon and Rockchip platforms. Tested on OMAP4460 Panda ES. Mike Turquette (5): clk: divider: replace bitfield width with mask clk: of: helper for determining number of parent clocks clk: dt: binding for basic multiplexer clock clk: dt: binding for basic divider clock clk: dt: binding for basic gate clock .../devicetree/bindings/clock/divider-clock.txt | 90 +++++++++++++++ .../devicetree/bindings/clock/gate-clock.txt | 36 ++++++ .../devicetree/bindings/clock/mux-clock.txt | 79 +++++++++++++ arch/arm/mach-imx/clk-busy.c | 2 +- drivers/clk/clk-divider.c | 127 ++++++++++++++++++--- drivers/clk/clk-gate.c | 43 +++++++ drivers/clk/clk-mux.c | 65 ++++++++++- drivers/clk/clk.c | 6 + drivers/clk/mxs/clk-div.c | 2 +- include/linux/clk-private.h | 2 +- include/linux/clk-provider.h | 12 +- 11 files changed, 441 insertions(+), 23 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/divider-clock.txt create mode 100644 Documentation/devicetree/bindings/clock/gate-clock.txt create mode 100644 Documentation/devicetree/bindings/clock/mux-clock.txt -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/