From patchwork Sat Mar 14 11:49:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 45815 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 38F3C214BF for ; Sat, 14 Mar 2015 11:54:37 +0000 (UTC) Received: by wesu56 with SMTP id u56sf20355972wes.2 for ; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=sDrJh0HagDfJRolqN4ccfnvabaTcB+JjL4wC6jmiGwY=; b=XWs/qj8IAXezjxFD/iKVptfxxsIkjH2s0YT/s0s/pCAsohfK7iR+CgjHynytWriKH2 GZLaOzsloUSuF2Ih5zFR7XvfpiVPds8L2MVlyny7+0FexYRgkQCylijKCT+CNvr+EHr9 L0Z/o4xsmoMqmQwxvgC9e40xZcyiWAEHVxorsGX1u/wTgiJssnaKqSXbLx8enmRZB2jK APZf8VX68eTPjiozRROQx0cH2IIaCRQABZeSxZudMroH3ceCGUunEcYzzARBDvy8OqsX nxh4IfMGSI/1SwoaGdM1n9UiJ3K0tYi0xvseUpAMXEHGTZo38PCizvXXD9fwpp2nVg8o trnA== X-Gm-Message-State: ALoCoQk4PE4M+kGS8m7IyDeeVhIN6QbyNPl8mAMfiP6LFgZMJwPw6xghy7RCXTzpZWgetewXZgmT X-Received: by 10.180.87.166 with SMTP id az6mr1078174wib.1.1426334076462; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.236 with SMTP id uh12ls480021lac.54.gmail; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) X-Received: by 10.112.26.209 with SMTP id n17mr41856649lbg.84.1426334076298; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id p7si3365776lah.125.2015.03.14.04.54.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Mar 2015 04:54:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labjg1 with SMTP id jg1so8027794lab.2 for ; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) X-Received: by 10.152.197.34 with SMTP id ir2mr46969724lac.36.1426334076160; Sat, 14 Mar 2015 04:54:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1478287lbj; Sat, 14 Mar 2015 04:54:35 -0700 (PDT) X-Received: by 10.70.129.108 with SMTP id nv12mr93667937pdb.71.1426334074462; Sat, 14 Mar 2015 04:54:34 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f2si9425967pas.167.2015.03.14.04.54.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Mar 2015 04:54:34 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1YWkca-0004Z0-55; Sat, 14 Mar 2015 11:52:48 +0000 Received: from mail-pd0-f172.google.com ([209.85.192.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YWkam-0003Bl-Ex for linux-arm-kernel@lists.infradead.org; Sat, 14 Mar 2015 11:50:57 +0000 Received: by pdbcz9 with SMTP id cz9so10873602pdb.3 for ; Sat, 14 Mar 2015 04:50:35 -0700 (PDT) X-Received: by 10.70.45.169 with SMTP id o9mr59246022pdm.81.1426333835442; Sat, 14 Mar 2015 04:50:35 -0700 (PDT) Received: from localhost.localdomain ([107.6.112.156]) by mx.google.com with ESMTPSA id ov5sm7365488pdb.91.2015.03.14.04.50.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Mar 2015 04:50:34 -0700 (PDT) From: Jun Nie To: linux-arm-kernel@lists.infradead.org, mturquette@linaro.org, linux@arm.linux.org.uk, shawn.guo@linaro.org, jun.nie@linaro.org, zte-lt@lists.linaro.org Subject: [PATCH 07/10] dt/binding: Document ZTE zx296702 devicetree Date: Sat, 14 Mar 2015 19:49:42 +0800 Message-Id: <1426333785-3952-8-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426333785-3952-1-git-send-email-jun.nie@linaro.org> References: <1426333785-3952-1-git-send-email-jun.nie@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150314_045056_541032_3EE94D0C X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.172 listed in wl.mailspike.net] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: jun.nie@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Document the new compatible for zx296702 platform and clock control. Signed-off-by: Jun Nie --- Documentation/devicetree/bindings/arm/zte.txt | 9 ++++++ .../devicetree/bindings/clock/zx296702-clk.txt | 35 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 3 files changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/zte.txt create mode 100644 Documentation/devicetree/bindings/clock/zx296702-clk.txt diff --git a/Documentation/devicetree/bindings/arm/zte.txt b/Documentation/devicetree/bindings/arm/zte.txt new file mode 100644 index 0000000..edd6791 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/zte.txt @@ -0,0 +1,9 @@ +ZTE platforms device tree bindings +--------------------------------------- + +- ZX296702 board: + Required root node properties: + - compatible = "zte,zx296702-ad1", "zte,zx296702" + +Low power management required properties: + - compatible = "zte,aon-sysctrl" diff --git a/Documentation/devicetree/bindings/clock/zx296702-clk.txt b/Documentation/devicetree/bindings/clock/zx296702-clk.txt new file mode 100644 index 0000000..9b527b5 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/zx296702-clk.txt @@ -0,0 +1,35 @@ +Device Tree Clock bindings for ZTE zx296702 + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be one of the following: + "zte,zx296702-topcrm": + zx296702 top clock selection, divider and gating + + "zte,zx296702-lsp0crpm" or + "zte,zx296702-lsp1crpm": + zx296702 device level clock selection and gating + +- reg: Address and length of the register set + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx5-clock.h +for the full list of i.MX5 clock IDs. + + +clks: topcrm@0x09800000 { + compatible = "zte,zx296702-topcrm"; + reg = <0x09800000 0x1000>; + #clock-cells = <1>; +}; + +uart0: serial@0x09405000 { + compatible = "zte,zx296702-uart"; + reg = <0x09405000 0x1000>; + interrupts = ; + clocks = <&clks ZX296702_UART0_PCLK>; + status = "disabled"; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 389ca13..e4f96ad 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -197,3 +197,4 @@ xillybus Xillybus Ltd. xlnx Xilinx zyxel ZyXEL Communications Corp. zarlink Zarlink Semiconductor +zte ZTE Corp.