From patchwork Fri Jan 20 13:25:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9528295 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 ECCF660434 for ; Fri, 20 Jan 2017 13:25:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE9F920952 for ; Fri, 20 Jan 2017 13:25:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2B8C285B8; Fri, 20 Jan 2017 13:25:49 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A87D20952 for ; Fri, 20 Jan 2017 13:25:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995AbdATNZs (ORCPT ); Fri, 20 Jan 2017 08:25:48 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:35947 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbdATNZs (ORCPT ); Fri, 20 Jan 2017 08:25:48 -0500 Received: by mail-lf0-f52.google.com with SMTP id z134so58195741lff.3 for ; Fri, 20 Jan 2017 05:25:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=aZQBfxhf3e8cHgl8Xz3FwA6OFMuDbwp9nfqRf0wlEQE=; b=a799ajgVfB4/njUrv0khK6N23qyHOnwPnnIQmcUvJDGy0wGMOHFzqKdUvaAJHRhXBa l71BNd5Lb8AnGy+72e8QD2M5+b48XqRAEz/MDJsePI8oZnonZEliXsleht2eQRdF+ZsR LI3G8tMGhm0jdQmB1aDelQef0vQWo9kcy00/w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aZQBfxhf3e8cHgl8Xz3FwA6OFMuDbwp9nfqRf0wlEQE=; b=uC84Zrpc2SK0IaJhDWt9EzyekLZ8BBIJ7SANo2uuk0jM8trF+NpLDXR7Q7BA769UIQ S+ZYfzPanOfrrH+W1rHAbpcN8fwEjHvUvVbWE19de9RHK8zs3H2LVDe99G775XnIquHD x5GNf/6w3mAqhA9+UjP7wU9Q+y0EjTiZsDvAYcVLSdzuDN7V8zvO2pmKKkSX3r7c8FW2 fPkh2l5z0Kv6+jgpP8/FALlptR2jVpI9CJurqtRoqNAVqcWcOjE5OskEtp4+N7+iJTti HFdngvL0rOf2gDe+siiRItGwaDtoKWhOtC1NeS234TJr0rnFUjJsXP5PDOhN03UKn2x3 C27Q== X-Gm-Message-State: AIkVDXJ4pPWbHlULyRDwG6zyDP7rVJ8qdQv3gK4T+E6zddkHebGMnzO1qrN+GRWhw1JjbyEn X-Received: by 10.46.80.27 with SMTP id e27mr7043076ljb.33.1484918746434; Fri, 20 Jan 2017 05:25:46 -0800 (PST) Received: from gnarp.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f17sm3537441ljb.13.2017.01.20.05.25.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jan 2017 05:25:45 -0800 (PST) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org, Ulf Hansson Subject: [PATCH 2/3 v2] clk: ux500: Add device tree bindings for ABx500 clocks Date: Fri, 20 Jan 2017 14:25:39 +0100 Message-Id: <20170120132539.3013-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds device tree bindings for the ABx500 clocks on the ST-Ericsson platforms. Cc: devicetree@vger.kernel.org Cc: Ulf Hansson Signed-off-by: Linus Walleij Reviewed-by: Ulf Hansson Acked-by: Rob Herring --- ChangeLog v1->v2: - Indicate that the abx500 clocks need to be in a device tree node under an ABx500 MFD device. - Rename the example node to clock-controller. --- .../devicetree/bindings/clock/stericsson,abx500.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/stericsson,abx500.txt diff --git a/Documentation/devicetree/bindings/clock/stericsson,abx500.txt b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt new file mode 100644 index 000000000000..dbaa886b223e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt @@ -0,0 +1,20 @@ +Clock bindings for ST-Ericsson ABx500 clocks + +Required properties : +- compatible : shall contain the following: + "stericsson,ab8500-clk" +- #clock-cells should be <1> + +The ABx500 clocks need to be placed as a subnode of an AB8500 +device node, see mfd/ab8500.txt + +All available clocks are defined as preprocessor macros in +dt-bindings/clock/ste-ab8500.h header and can be used in device +tree sources. + +Example: + +clock-controller { + compatible = "stericsson,ab8500-clk"; + #clock-cells = <1>; +};