From patchwork Thu Mar 19 01:23:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 6045001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01CC1BF910 for ; Thu, 19 Mar 2015 01:35:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C5E62026D for ; Thu, 19 Mar 2015 01:35:13 +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 2BEBF20444 for ; Thu, 19 Mar 2015 01:35:12 +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 1YYPIG-0003fh-8y; Thu, 19 Mar 2015 01:30:40 +0000 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YYPCZ-0006ni-04 for linux-arm-kernel@lists.infradead.org; Thu, 19 Mar 2015 01:24:47 +0000 Received: by pdnc3 with SMTP id c3so59734912pdn.0 for ; Wed, 18 Mar 2015 18:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ihszEF7OpTTmlHLdog/kOZ7LnUS6fJQ0Pp4dB94balg=; b=wfibecWNrdcuQ35tfn1pbN2cAuBR4eUnP55dgY73qVtjTJGHg/Lg0opAPaMVAWd4j+ s91zo5TZTUaGkh9SS5n6E/YPQgppct9fodb0kvyDUe4SsseoXkhXo0Y/KiKsWA2IXFKM /guZ8KmgI6xdxw1cS3N7APDccDg1+B6OasRz9MBLRyqBUZMif7PmqsL59CUIaCavKgf8 BSO+s4EKKpyiCFOCYMvJxM6tNcApB9tND6+iMLYQjSPpVfzcDm30D2B1YYI+wUVEp7JN AYzBXIYblNydEcEMVUKFb/emMSHIqCvkRvhkviKviCprhhp7ZlNcw+wi7tv9f2wKC+aV KCTA== X-Received: by 10.70.21.195 with SMTP id x3mr27095591pde.73.1426728264678; Wed, 18 Mar 2015 18:24:24 -0700 (PDT) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id v7sm29585434pds.72.2015.03.18.18.24.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 18:24:24 -0700 (PDT) From: Brian Norris To: Tejun Heo , Kishon Vijay Abraham I Subject: [PATCH 2/5] Documentation: devicetree: add Broadcom SATA PHY binding Date: Wed, 18 Mar 2015 18:23:39 -0700 Message-Id: <1426728222-8197-2-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426728222-8197-1-git-send-email-computersforpeace@gmail.com> References: <1426728222-8197-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150318_182447_110325_B4CD8294 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Rob Herring , Gregory Fong , Kumar Gala , Brian Norris , 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 For 28nm STB chips, based on BCM7445. Signed-off-by: Brian Norris --- .../bindings/phy/brcm,brcmstb-sata-phy.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-sata-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,brcmstb-sata-phy.txt b/Documentation/devicetree/bindings/phy/brcm,brcmstb-sata-phy.txt new file mode 100644 index 000000000000..39eddd53b318 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,brcmstb-sata-phy.txt @@ -0,0 +1,40 @@ +* Broadcom SATA3 PHY for STB + +Required properties: +- compatible: should be one or more of + "brcm,bcm7445-sata-phy" + "brcm,phy-sata3" +- address-cells: should be 1 +- size-cells: should be 0 +- phy-cells: generic PHY binding; must be 1 +- reg: register ranges for the PHY PCB interface, and for the PHY port control + registers found in the SATA_TOP_CTRL block (i.e., PHY_CTRL 1/2/3/4) +- reg-names: should be "phy" and "port-ctrl" + +Sub-nodes: + Each port's PHY should be represented as a sub-node. + +Sub-nodes required properties: +- reg: the PHY number +Optional: +- brcm,enable-ssc: use spread spectrum clocking (SSC) on this port + + +Example: + + sata-phy@f0458100 { + compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3"; + reg = <0xf0458100 0x1e00>, <0xf045804c 0x10>; + reg-names = "phy", "port-ctrl"; + #phy-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + sata-phy@0 { + reg = <0>; + }; + + sata-phy@1 { + reg = <1>; + }; + };