Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066AbbHXS6w (ORCPT ); Mon, 24 Aug 2015 14:58:52 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35552 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbbHXS6u (ORCPT ); Mon, 24 Aug 2015 14:58:50 -0400 From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, mturquette@baylibre.com, lee.jones@linaro.org, k.kozlowski@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Vaibhav Hiremath Subject: [PATCH-v2 0/5] clk: 88pm800: Add new clk provider driver for 88PM800 MFD Date: Tue, 25 Aug 2015 00:26:28 +0530 Message-Id: <1440442594-3102-1-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2043 Lines: 54 88PM800 family of devices provides multiple buffered 32.768 KHz clock output. 88PM800 : CLK32k_1, CLK32k_2 and CLK32k_3 88PM860 : CLK32k_1 and CLK32k_2 This patch-series adds new clock provider driver for enabling/disabling buffered 32Khz clock output from 88PM800 family of device. Adds clock device to MFD and updates the binding documentation. The PATCH [1/4], created separately, as it would be easy between maintainers to queue it. Note that, I have access to only 88PM800 and 88PM860 datasheet, so enabling support for only above two devices. Testing: - Boot tested on 88PM860 based platform - Clock enable/disable - Non PM860, to make sure that it won't lead to any issues V1 => V2: ======== Link to V1: https://lkml.org/lkml/2015/7/21/298 - Added new patch to the series [1/5], fixing tabbing issue in the file - Removed unnecessary brackets around macro value - Used devm_kcalloc variants for array allocation instead of kzalloc. - Fixed all other trivial issues. Vaibhav Hiremath (5): mfd: 88pm800: Fix tabbing issue mfd: 88pm800: Update the header file with 32K clk related macros mfd: devicetree: bindings: Add clock subdevice node information clk: 88pm800: Add clk provider driver for 88pm800 family of devices mfd: 88pm800: Add support for clk subdevice Documentation/devicetree/bindings/mfd/88pm800.txt | 27 ++ drivers/clk/Kconfig | 8 + drivers/clk/Makefile | 1 + drivers/clk/clk-88pm800.c | 341 ++++++++++++++++++++++ drivers/mfd/88pm800.c | 150 ++++++---- include/linux/mfd/88pm80x.h | 12 + 6 files changed, 475 insertions(+), 64 deletions(-) create mode 100644 drivers/clk/clk-88pm800.c -- 1.9.1 -- 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/