From patchwork Mon Sep 5 05:06:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: huang lin X-Patchwork-Id: 9313109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3191260760 for ; Mon, 5 Sep 2016 06:04:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18D8528992 for ; Mon, 5 Sep 2016 06:04:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A393289B2; Mon, 5 Sep 2016 06:04:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B304728992 for ; Mon, 5 Sep 2016 06:04:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 035016E35E; Mon, 5 Sep 2016 06:04:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 90AB46E180 for ; Mon, 5 Sep 2016 05:06:20 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id g202so9127056pfb.1 for ; Sun, 04 Sep 2016 22:06:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1/Dtq5rf+bZkIwEfI1nyrHqxhnWF5Sr8TqmvjFKmd5E=; b=Q/bI31NyRtI9a3WeNVDWnBTLRJ3PtHrZlT02DA9YpvVX6Vn4BTfLdfKdtX7Kk1bDcX kzrjABSveSvb6Xa4P2yuK6awQp3KnofteCkprcPtWw1/snDrp6mTw8F2ZG/F3aZDts/P dn++JCMlkYPtCyP47FsMluLt5sHBJaAem8IJTM+EIEs7Wttq33wc6nboat0/e/aVkDY9 2lt7kACQCOnCYmaQ8BCQkb4q/2h9jNByknGqLrRrRgQyelkoLuBCqYOtz4YuzbSvNtcM RpC2vZpB72Ny9vw/G7ky04RVdyKCWiUYU4Y35ZxlIF4ENa8KTjw7wtwTUno0AeOn/djw 8V7A== X-Gm-Message-State: AE9vXwP1EZIqWpJQElsZnQ5s2rJKIv5LsjuQwrNdBl56klD/r0m2zYmQy3HvyNHCzFufUQ== X-Received: by 10.98.158.3 with SMTP id s3mr17390777pfd.117.1473051980231; Sun, 04 Sep 2016 22:06:20 -0700 (PDT) Received: from hl-ThinkPad-X240.corp.google.com ([172.22.52.196]) by smtp.gmail.com with ESMTPSA id g13sm30395288pfb.7.2016.09.04.22.06.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Sep 2016 22:06:19 -0700 (PDT) From: Lin Huang To: heiko@sntech.de Subject: [PATCH v10 1/5] Documentation: bindings: add dt documentation for dfi controller Date: Mon, 5 Sep 2016 13:06:07 +0800 Message-Id: <1473051971-5500-2-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473051971-5500-1-git-send-email-hl@rock-chips.com> References: <1473051971-5500-1-git-send-email-hl@rock-chips.com> X-Mailman-Approved-At: Mon, 05 Sep 2016 06:04:02 +0000 Cc: tixy@linaro.org, mark.rutland@arm.com, devicetree@vger.kernel.org, typ@rock-chips.com, Lin Huang , linux-rockchip@lists.infradead.org, mturquette@baylibre.com, dbasehore@chromium.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, dianders@chromium.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, myungjoo.ham@samsung.com, sudeep.holla@arm.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the documentation for rockchip dfi devfreq-event driver. Signed-off-by: Lin Huang Acked-by: Chanwoo Choi Acked-by: Rob Herring --- Changes in v10: - None Changes in v9: - reorder compatible and reg Changes in v8: - delete a unuse blank line Changes in v7: - None Changes in v6: - None Changes in v5: - None Changes in v4: - None Changes in v3: - None Changes in v2: - None Changes in v1: - None .../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt new file mode 100644 index 0000000..f223313 --- /dev/null +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt @@ -0,0 +1,19 @@ + +* Rockchip rk3399 DFI device + +Required properties: +- compatible: Must be "rockchip,rk3399-dfi". +- reg: physical base address of each DFI and length of memory mapped region +- rockchip,pmu: phandle to the syscon managing the "pmu general register files" +- clocks: phandles for clock specified in "clock-names" property +- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon"; + +Example: + dfi: dfi@0xff630000 { + compatible = "rockchip,rk3399-dfi"; + reg = <0x00 0xff630000 0x00 0x4000>; + rockchip,pmu = <&pmugrf>; + clocks = <&cru PCLK_DDR_MON>; + clock-names = "pclk_ddr_mon"; + status = "disabled"; + };