Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1442111imm; Tue, 10 Jul 2018 01:43:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf6V/52c/7pE4ZkUOQs7+zwbCoirkaREmaDGesxMFF/rkxdWYu2DXLksBZXJ4+X5/6ZCa2u X-Received: by 2002:a63:5c52:: with SMTP id n18-v6mr21512144pgm.360.1531212212742; Tue, 10 Jul 2018 01:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531212212; cv=none; d=google.com; s=arc-20160816; b=aApNsphqC/OuN5hBpm6Vi87ncx29J4CNvCJsyVPyvJoThLAVpmutfsUE2azloatfAC ibYxlYd9Xmnz3pej3+DxNvwdkRhyxdOGWbSMOMjO2zRpykQoW1KjZt121am4h9q8UH9B lxDyGCtJWPK5lSJIc0DyAfjRCJdRsDelNjEs8J769M1LHwyTWSSlVVh3mA+T+69TBlmM pKrH6ZbYVwsh3QuEZkE6bfpeCDWljQrRc4IVCmBD1WOP6qEMm4Wr2uf1iBk4zFXTh2RK 85T8WEODXA3UAknlMf4tC94pk/lYKwkZgA9RDkvntzcyfuH2za2Yts/hSqqdMFYxwbsO nKNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=libIixHJE60lD2tAOt4kRfPcQ6HS/sFvbGGeubN8wHg=; b=1Ea7swN1vrNLedKAZo2mWmFIZal+P3x4fF/26dsV4JVzNuhA8Vw/49QVj7cC+O5Wju rnEba/XnDqtqNhcdLBTKKBXTST672exZghBhkR1cmpuNvOuFtYkVdTJ3flgrTOU8Jg85 MFSiT2UVUlqpKcCzMra9wPiD7Sbp+hyJayyWFLC2r+flkAcmP/vj402eOlG9d1F/MqOh ylD55qwnSoir7L/LYbOPrz1NQfd8ywVPMxUCQdAiiSs4CMGfC0CUp/Oc9uOgOdAZzZDH vZ07jFWihl19QqgJJvVGcCMdi2SUCBzKuyL6t5DFbK0FkupVkKq2oa6Q4EgJcViWZlqJ YyHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z33-v6si15486370pga.197.2018.07.10.01.43.18; Tue, 10 Jul 2018 01:43:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbeGJIkO (ORCPT + 99 others); Tue, 10 Jul 2018 04:40:14 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:19720 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbeGJIkL (ORCPT ); Tue, 10 Jul 2018 04:40:11 -0400 Received: from localhost.localdomain (10.18.20.250) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Tue, 10 Jul 2018 16:39:25 +0800 From: Yixun Lan To: Jerome Brunet , Neil Armstrong CC: Yixun Lan , Kevin Hilman , Carlo Caione , Michael Turquette , Stephen Boyd , Rob Herring , Miquel Raynal , Boris Brezillon , Martin Blumenstingl , Liang Yang , Qiufang Dai , Jian Hu , , , , , Subject: [PATCH v2 0/3] clk: meson: add a sub EMMC clock controller support Date: Tue, 10 Jul 2018 16:36:55 +0000 Message-ID: <20180710163658.6175-1-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.18.20.250] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This driver will add a MMC clock controller driver support. The original idea about adding a clock controller is during the discussion in the NAND driver mainline effort[1]. I've tested this in the S400 board (AXG platform) by using NAND driver. Changes since v1 [2]: - implement phase clock - update compatible name - adjust file name - divider probe() into small functions, and re-use them [1] https://lkml.kernel.org/r/20180628090034.0637a062@xps13 [2] https://lkml.kernel.org/r/20180703145716.31860-1-yixun.lan@amlogic.com Yixun Lan (3): clk: meson: add DT documentation for emmc clock controller clk: meson: add sub MMC clock dt-bindings IDs clk: meson: add sub MMC clock controller driver .../bindings/clock/amlogic,mmc-clkc.txt | 31 ++ drivers/clk/meson/Kconfig | 9 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/mmc-clkc.c | 419 ++++++++++++++++++ .../clock/amlogic,meson-mmc-clkc.h | 16 + 5 files changed, 476 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt create mode 100644 drivers/clk/meson/mmc-clkc.c create mode 100644 include/dt-bindings/clock/amlogic,meson-mmc-clkc.h -- 2.18.0