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: 92082 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp15058qgi; Fri, 20 Jan 2017 05:25:50 -0800 (PST) X-Received: by 10.99.45.3 with SMTP id t3mr16885090pgt.162.1484918749916; Fri, 20 Jan 2017 05:25:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b65si6852443pfb.138.2017.01.20.05.25.49; Fri, 20 Jan 2017 05:25:49 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751993AbdATNZs (ORCPT + 7 others); Fri, 20 Jan 2017 08:25:48 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:32821 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbdATNZs (ORCPT ); Fri, 20 Jan 2017 08:25:48 -0500 Received: by mail-lf0-f48.google.com with SMTP id k86so58089214lfi.0 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=OFeKBG970kc+4/fc2an9n1zetaE2AW3NGJ677jft8xl3FS6gL7etj6LXJN7Oaj0Bfz /dW0Pbq1lJyjPEyCFDa9QthMs4qdSy+2sbWRXgK3AgdVawkicnHMRg4obBCIXxTVmRoQ LcnvPkO/VuNY9tSeM0z89VHo4+wu9J6HB7T3x3BWOpPJj+02WtopZizIY4nyKKCMZBvL 2dwgPHgcAfvxFhYsGjtMJN1hGJVCULSPWSYn1nRsJ1PtHHz0AtJduyxul9NclYudBZsk 1tQb8zwPkETMAn4LOytphesnNjXNYCPJP900HXGE/+FcusZ5vwMuQRfZ7irhWwE4s4GM jMvw== X-Gm-Message-State: AIkVDXJZgl2XTklOUPnMmJqpYvgqXkej9OCLsj8Wl7oRiHYW6OSi2kiBNaBf17IAvTVvDW5C 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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 -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Ulf Hansson Acked-by: Rob Herring 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>; +};