Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbbF3C7J (ORCPT ); Mon, 29 Jun 2015 22:59:09 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:37014 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752689AbbF3C7B (ORCPT ); Mon, 29 Jun 2015 22:59:01 -0400 X-Listener-Flag: 11101 From: James Liao To: Matthias Brugger , Mike Turquette , Stephen Boyd CC: , Daniel Kurtz , Ricky Liang , Rob Herring , Sascha Hauer , , , , Subject: [PATCH v2 0/4] Add Mediatek MT8173 subsystem clocks support Date: Tue, 30 Jun 2015 10:58:43 +0800 Message-ID: <1435633127-31952-1-git-send-email-jamesjj.liao@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2322 Lines: 51 This patchset is based on 4.1-rc1 plus [1], and contains subsystem clocks support for Mediatek MT8173. There are many different implementation suggestions due to each subsystem HW contains multiple functions, such as clock and reset controllers. In this patch, I still put subsystem clock implementations in drivers/clk/mediatek, no mater reset controllers may need to implement in the same directory in the future. That's because many other vendors also implement clock and reset controllers in drivers/clk, and it looks like an acceptible way. changes since v1: - Add CA7PLL and CA15PLL as critical clocks. - Use the same register descriptor for imgsys, vensys and vencltsys. - Generalize apmixedsys special clocks registration. [1] https://lkml.org/lkml/2015/5/21/97 James Liao (3): dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers clk: mediatek: Add subsystem clocks of MT8173 clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS Sascha Hauer (1): clk: mediatek: mt8173: Fix enabling of critical clocks .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 + .../bindings/arm/mediatek/mediatek,mmsys.txt | 22 + .../bindings/arm/mediatek/mediatek,vdecsys.txt | 22 + .../bindings/arm/mediatek/mediatek,vencltsys.txt | 22 + .../bindings/arm/mediatek/mediatek,vencsys.txt | 22 + drivers/clk/mediatek/clk-mt8173.c | 467 ++++++++++++++++++++- drivers/clk/mediatek/clk-pll.c | 7 +- include/dt-bindings/clock/mt8173-clk.h | 94 ++++- 8 files changed, 664 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt -- 1.8.1.1.dirty -- 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/