From patchwork Thu Jul 3 14:28:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4474431 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D80F99F387 for ; Thu, 3 Jul 2014 14:32:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A9E1202F2 for ; Thu, 3 Jul 2014 14:32:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 470B72025A for ; Thu, 3 Jul 2014 14:32:42 +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 1X2i2D-0000OE-PP; Thu, 03 Jul 2014 14:30:49 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2i0p-0004uZ-GR for linux-arm-kernel@lists.infradead.org; Thu, 03 Jul 2014 14:29:23 +0000 Received: by mail-pd0-f171.google.com with SMTP id fp1so304225pdb.30 for ; Thu, 03 Jul 2014 07:29:02 -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=otdInoWUE0iGWAkXFt4i9D57Yu9asGq7tmn33Ft2Ozg=; b=PFIfbORZrIDlH25MTtsVJ1fMb3a50iDwUraH1UkEkNAWej4Vdc0cxP3KaTxOxUCPYv rRljrDHjVA4kzI5GlQHrlyH3axAiNLM7F3h30vRSSOYx7E8DKlgmH4DyPEDUG4Sh9UIj eOla7sALUkgc2i1fXmt6kUxyOTDaN8m6hPO/hnk0d/uNcqKDO94/HkYnEhcFTl4r2Mfd PM+2omIZpEaRoXt3/ZZfWGrXpzM8hTjS2x1TK5qiFx8zXN9nCWFVGKESQvsO0cbL62d0 zvbjX3ud9hGfPkUWxE/VL2/eHLjw0IHNr+Vki/xx44DHJ7NrOufbEEJo4OKpVtc6eIGV JbiA== X-Gm-Message-State: ALoCoQmvLwNE5dmKrehr0xLkVuj19hEHjJj2MdIGGOnzsxaL/PDVYpLeSEgKU6BIfnm2alrkwNQU X-Received: by 10.70.91.195 with SMTP id cg3mr4427708pdb.73.1404397742028; Thu, 03 Jul 2014 07:29:02 -0700 (PDT) Received: from localhost.localdomain ([60.166.214.87]) by mx.google.com with ESMTPSA id ph6sm29283731pbc.38.2014.07.03.07.28.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Jul 2014 07:29:01 -0700 (PDT) From: Zhangfei Gao To: Kishon Vijay Abraham I , arnd@arndb.de, mark.rutland@arm.com, haifeng.yan@linaro.org, jchxue@gmail.com, zhangfei.gao@linaro.org Subject: [PATCH v3 1/2] Documentation: Document Hisilicon hix5hd2 sata PHY Date: Thu, 3 Jul 2014 22:28:37 +0800 Message-Id: <1404397718-11495-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404397718-11495-1-git-send-email-zhangfei.gao@linaro.org> References: <1404397718-11495-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140703_072923_587387_CC0D2A13 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Jiancheng Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 From: Jiancheng Xue Add necessary binding documentation SATA PHY on Hisilicon hix5hd2 soc. Signed-off-by: Jiancheng Xue Signed-off-by: Zhangfei Gao --- .../devicetree/bindings/phy/hix5hd2-phy.txt | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/hix5hd2-phy.txt diff --git a/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt b/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt new file mode 100644 index 0000000..296168b --- /dev/null +++ b/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt @@ -0,0 +1,22 @@ +Hisilicon hix5hd2 SATA PHY +----------------------- + +Required properties: +- compatible: should be "hisilicon,hix5hd2-sata-phy" +- reg: offset and length of the PHY registers +- #phy-cells: must be 0 +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Optional Properties: +- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. +- hisilicon,power-reg: offset and bit number within peripheral-syscon, + register of controlling sata power supply. + +Example: + sata_phy: phy@f9900000 { + compatible = "hisilicon,hix5hd2-sata-phy"; + reg = <0xf9900000 0x10000>; + #phy-cells = <0>; + hisilicon,peripheral-syscon = <&peripheral_ctrl>; + hisilicon,power-reg = <0x8 10>; + };