From patchwork Sun Oct 11 19:46:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 7369581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D20D9F302 for ; Sun, 11 Oct 2015 19:49:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F2CB2077E for ; Sun, 11 Oct 2015 19:49:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA8C320721 for ; Sun, 11 Oct 2015 19:49:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZlMaQ-0001uR-O1; Sun, 11 Oct 2015 19:47:14 +0000 Received: from shell.v3.sk ([92.60.52.57]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZlMaM-00015Q-Ua; Sun, 11 Oct 2015 19:47:12 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id D569D44788; Sun, 11 Oct 2015 21:46:47 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id GaKpKXpsK9LD; Sun, 11 Oct 2015 21:46:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 2C1E84478B; Sun, 11 Oct 2015 21:46:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ENZyMygpk9yb; Sun, 11 Oct 2015 21:46:42 +0200 (CEST) Received: from odvarok.lan (ip-89-176-114-212.net.upcbroadband.cz [89.176.114.212]) by zimbra.v3.sk (Postfix) with ESMTPSA id 3D36044788; Sun, 11 Oct 2015 21:46:42 +0200 (CEST) From: Lubomir Rintel To: linux-rpi-kernel@lists.infradead.org Subject: [PATCH] bcm2835: Add Raspberry Pi CPU frequency control to the device tree Date: Sun, 11 Oct 2015 21:46:35 +0200 Message-Id: <1444592795-15129-1-git-send-email-lkundrak@v3.sk> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151011_124711_209422_13A1A5EA X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lee Jones , Stephen Warren , Lubomir Rintel , linux-pm@vger.kernel.org, Eric Anholt , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds a device tree binding for Broadcom BCM2834 CPU frequency control driven via Raspberry Pi VideoCore 4 firmware interface. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Lee Jones Cc: Eric Anholt Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-pm@vger.kernel.org --- Depends on the RPi Firmware driver submitted on linux-rpi-kernel a while ago. Can't see it in arm-soc or linux-next yet though (?). Available in branch 'rpi-firmware' of https://github.com/anholt/linux .../bindings/cpufreq/raspberrypi,bcm2835-cpufreq.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/raspberrypi,bcm2835-cpufreq.txt diff --git a/Documentation/devicetree/bindings/cpufreq/raspberrypi,bcm2835-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/raspberrypi,bcm2835-cpufreq.txt new file mode 100644 index 0000000..eb126d3 --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/raspberrypi,bcm2835-cpufreq.txt @@ -0,0 +1,13 @@ +Raspberry Pi Broadcom BCM2835 CPU frequency control + +Required properties: + +- compatible : should be "raspberrypi,bcm2835-cpufreq" +- firmware : the Raspberry Pi firmware node + +Example: + +cpufreq { + compatible = "raspberrypi,bcm2835-cpufreq"; + firmware = <&firmware>; +};