From patchwork Tue Jul 22 10:56:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 34040 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 23F8320540 for ; Tue, 22 Jul 2014 10:57:44 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf49321677oag.8 for ; Tue, 22 Jul 2014 03:57:44 -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:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=WCoB7RJD+HT2q71dDND6XEnwBk0QxvxU8pUshdCWAVQ=; b=m+6qd2U3OtK4oY55BBaO7Enq4iU5dDFNTfCx0DISl4dCZlq6zrde/o1tRXd2DfslDm nS0mKhQKDwN+3NahjOpTtW1DMWZLOhJWyy9eT8QXpwNvYQpOUvPHAnTZ1bd79UChVdpr PwbsXEViqIDNojPMEY2QJ/W6TSXWqmY7puXsZ2DTyTvChyd4I8a0jpnp5ljl4cObNsD7 kyoknM8DWuMNrSSMt5p9JxQx8IFBFxo5FJ4ui+I2eZUsVIXNwH5rzjQyqFMY4Wr0eRBe nqH4TdRJFNU2CRvI1EYCzZuZHqR8VrcHurgam6NRps4SLCrJmmDs7sEPIqL2oqAxMzj3 qqfA== X-Gm-Message-State: ALoCoQkye7yQ5dH8H4JxiNQuaLIzmqB4QuUkoevL672K9etsj7AU8fs8zjhy8my0ls3Im33pushg X-Received: by 10.43.149.193 with SMTP id kl1mr6992408icc.5.1406026664114; Tue, 22 Jul 2014 03:57:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.54 with SMTP id b51ls2403547qgf.48.gmail; Tue, 22 Jul 2014 03:57:44 -0700 (PDT) X-Received: by 10.52.228.163 with SMTP id sj3mr32393779vdc.30.1406026663965; Tue, 22 Jul 2014 03:57:43 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id xq7si18806veb.103.2014.07.22.03.57.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 03:57:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so13013654vcb.16 for ; Tue, 22 Jul 2014 03:57:43 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr21304103vcb.48.1406026663903; Tue, 22 Jul 2014 03:57:43 -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.221.37.5 with SMTP id tc5csp185659vcb; Tue, 22 Jul 2014 03:57:43 -0700 (PDT) X-Received: by 10.69.19.193 with SMTP id gw1mr16883742pbd.106.1406026661675; Tue, 22 Jul 2014 03:57:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dn2si8668784pdb.500.2014.07.22.03.57.38 for ; Tue, 22 Jul 2014 03:57:38 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754571AbaGVK51 (ORCPT + 12 others); Tue, 22 Jul 2014 06:57:27 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:34874 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754448AbaGVK5Y (ORCPT ); Tue, 22 Jul 2014 06:57:24 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6MAvNDk012184; Tue, 22 Jul 2014 05:57:23 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6MAvNH7018608; Tue, 22 Jul 2014 05:57:23 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Tue, 22 Jul 2014 05:57:23 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6MAv7qm027221; Tue, 22 Jul 2014 05:57:22 -0500 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 09/28] Documentation: Document Hisilicon hix5hd2 sata PHY Date: Tue, 22 Jul 2014 16:26:32 +0530 Message-ID: <1406026611-30493-10-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1406026611-30493-1-git-send-email-kishon@ti.com> References: <1406026611-30493-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Jiancheng Xue Add necessary binding documentation SATA PHY on Hisilicon hix5hd2 soc. Signed-off-by: Jiancheng Xue Signed-off-by: Zhangfei Gao Signed-off-by: Kishon Vijay Abraham I --- .../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>; + };