From patchwork Thu Apr 25 10:40:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sugaya Taichi X-Patchwork-Id: 162843 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1763499jan; Thu, 25 Apr 2019 03:41:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/V4Qg+PyGEqy2AJOlE6HbVH+UuuEHQN13KRrw0wKF26Iqz9q/BypQFenqGlIdYQ+sdpfX X-Received: by 2002:a17:902:7892:: with SMTP id q18mr1876511pll.163.1556188867006; Thu, 25 Apr 2019 03:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556188867; cv=none; d=google.com; s=arc-20160816; b=jXr5bgmLE19hrxuAZt1UjlS4GFbvei+uiwFh9vWKBlmId9HepdMLSAKB9yJWKcsFLB 9Bort5CygPiDPp7MHA303DIiwM6fJ6q4a4CEGugdX5F6Aja6u/ytrgYNLZpEUbMJquwO yW+3AHZdB0sgiPp9U+Mf2G2gVb00Bo7I0oWfNeAUiQfYeKimK3BRTQTGd0IROV42F7ml FAJztoHvk8c1Js6ErEmHnET2BCo0EnuY5myVPgotTLDk859Yybip/fPKKWmJy4cAbyZC coiwyW6OAQXbF6lobvhpaumnZ8AK8bgyYs+nVUMgIG78EBRsNh5MhBC7K8XGR5YnfSed zz5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=x7dsh3r6OG/VzFMNd3jea8X9vpT6cMCfN3NRsOZjXZs=; b=s1PsWLKXG1d3WIe3rB9cgJuqzR2QXVMLIAHKVurt6c47gsh4pU0OhLsep98PYI02J0 0hMrvwuI55mCwxjMHIRtQrUGaGOSo+r/wDQtNkApKYMZJhQPijwIzMLO5ONHX8KHuNDM NVvf1Bi1oamWzyYMPgin1tSLKgpxhSyt4eaHY7aMRJygsvhHKcMBXeQ/qKSjVREQl/il gLhiqD9t2WSwFz4u/ZKvgpotXEAsL1CN0aVUDE5h43iwXoE0jB+AEQqtTsMlQRhv0Yz7 sFKLTySq8K5u0EnxAh1N65f1jfl2Z9lIja30b39aZBScBKsyHpBXl/jin3Bobro8N2I0 uILg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 ba5si21232147plb.24.2019.04.25.03.41.06; Thu, 25 Apr 2019 03:41:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730438AbfDYKlG (ORCPT + 7 others); Thu, 25 Apr 2019 06:41:06 -0400 Received: from mx.socionext.com ([202.248.49.38]:5354 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730396AbfDYKlG (ORCPT ); Thu, 25 Apr 2019 06:41:06 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 25 Apr 2019 19:40:55 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id F03686117D; Thu, 25 Apr 2019 19:40:55 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Thu, 25 Apr 2019 19:40:55 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 7169440371; Thu, 25 Apr 2019 19:40:55 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id 5A3B7121BD0; Thu, 25 Apr 2019 19:40:55 +0900 (JST) From: Sugaya Taichi To: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Cc: Takao Orito , Kazuhiro Kasai , Shinji Kanematsu , Jassi Brar , Masami Hiramatsu , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Sugaya Taichi Subject: [PATCH v3 0/3] Add clk controller for Milbeaut M10V Date: Thu, 25 Apr 2019 19:40:59 +0900 Message-Id: <1556188862-22546-1-git-send-email-sugaya.taichi@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Here is the version 3 of Milbeaut M10V clk controller. Previous versions are here. v2: - driver [1] - binding [2] v1: - driver [3] - binding [4] [1] https://lore.kernel.org/lkml/1549628837-31574-1-git-send-email-sugaya.taichi@socionext.com/ [2] https://lore.kernel.org/lkml/1549628823-31388-1-git-send-email-sugaya.taichi@socionext.com/ [3] https://lore.kernel.org/linux-arm-kernel/1542589274-13878-8-git-send-email-sugaya.taichi@socionext.com/ [4] https://lore.kernel.org/linux-arm-kernel/1542589274-13878-7-git-send-email-sugaya.taichi@socionext.com/ changes from v2: - Fix commit subject. - Insert a line between structs. - Insert a line between for-loops. - Use readl() function instead of clk_readl(). - Drop unused callback struct. - Make internal function for readability. - Convert the binding to yaml. changes from v1: - Refine whole of clk driver. Sugaya Taichi (3): dt-bindings: clock: milbeaut: add Milbeaut clock description clock: milbeaut: Add Milbeaut M10V clock controller ARM: dts: milbeaut: Add a clk node for Milbeaut M10V .../devicetree/bindings/clock/milbeaut-clock.yaml | 73 +++ arch/arm/boot/dts/milbeaut-m10v.dtsi | 7 + drivers/clk/Makefile | 1 + drivers/clk/clk-milbeaut.c | 663 +++++++++++++++++++++ 4 files changed, 744 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/milbeaut-clock.yaml create mode 100644 drivers/clk/clk-milbeaut.c -- 1.9.1