Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6677297imu; Mon, 3 Dec 2018 00:38:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9BPap4CHDmnNogRS6TzWyAbYm6URNliVC1ZQv12mAHa6vHzIgg+K6iBZbYeCB5cLEpoYi X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr15060051plo.162.1543826287491; Mon, 03 Dec 2018 00:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543826287; cv=none; d=google.com; s=arc-20160816; b=h4IY+/tBpg+fchrMqaY3m7CJI/8plaztUnK+2O9PFasvTF8TntRXjjGFwnI+YMXeL6 GqjLjwscP3TIC/fSzXZ0IdnIjO3i0w8bLWyqUQOMIMm9myJmv0GyzmRcvm85vsMbLgrX r9ZG0aWHqkfGPxyTqRfdxw4MwcJgQuLyWlTwwcyTepAnmm6qcF7QtbBOmFxeCAO/8hgM lRYPqXVNRYqWWkxmgvvCxEZSwelePiP/tYHa8IPgoa6FcwihxcBsgjVeoUbd+GGa1lRN Qej+PLbrt6vscQ+Mv10LO3ohs0+H4JY5J2z6jyZNMEeWFS2MxQzBymvmVn9AY2PK1hEd XN/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=KNWNRC6c17J5QODJVeN0cMix43HCoE8LiAHF2fgUQKzjLIbgSJtnZBq6D56ihm6Rz2 gRn4Igs/4Gw4Uck6D/8V97Q290ayTuPuUdvJfX3mAWssSYzf9s8VeF0wsNJRNvR23h91 lnwS5Un2DjAmMiAglxay3wONHZ/rA6plYQuW0B7/IXg3XrJxNCpcYliPyNfp33UsRKCW mNW3ahC+e7xOXwaUE/TtW8IKrATMu7CHI0E30UocqHpJ/PLlb8qVB4X/C37mnUKUUQ+u O7CPF9lFZkE61P/jvHhxwEVL4LT+N04xRo0lhjoQTyBYPDDC5WdkO9f7aDYxPHvr1HWd vDqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=KIkbY1UF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t136si15351412pfc.262.2018.12.03.00.37.53; Mon, 03 Dec 2018 00:38:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=KIkbY1UF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726004AbeLCIhL (ORCPT + 99 others); Mon, 3 Dec 2018 03:37:11 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:33784 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbeLCIhL (ORCPT ); Mon, 3 Dec 2018 03:37:11 -0500 Received: by mail-pf1-f196.google.com with SMTP id c123so6004334pfb.0 for ; Mon, 03 Dec 2018 00:37:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=KIkbY1UFcMvlONe/AAdaZIJFccDwoYh8DXhqLPyc9hpthrrt1bxWItXH240JVRvNb2 hHHFeRGLkQBofgF+8YzigYKrYfnIzRxqXQePX7RI/29rl+BGho5s9BZxd771zYCcVq6a QIszAJAO1ziH02foKK9Pc2Ae5ZDcIcf0DJ05s= 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:in-reply-to :references; bh=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=oAq98vi4WMryZetPyOQjGVRs0cO4FjfKHXK7iaqzLAcaDKtl9cW31f6nPjxkm++6NL ZZHNXDd7/Gs2UStU5kGuC47HpqRqs4PmYweXv4uD1gZB2NL9tOySL+7O7IqN1OMNQ16B sFkTBnnyOfzPL4YnJfZkHjgzcbyLOjo10SkVhwB+NlxjHIny4rFMNdfSZeWcxAg/n07u +TCISotjLZg2qYH7mEIBM/FosXa0CBCWDKQe/FYQIQUk9zsjSxGbWnz1b6NzLaC5zsF1 nu93WTh6tTpJ9P74+bPC0LGlRvye2omJ9ajyrMbKCjRfB99yE9CvhrHJAPlwdq2oLIHJ 9OuQ== X-Gm-Message-State: AA+aEWbOt2PYlYu71S+JSYfeoKPk7VvJnE5CUTsYB7GedKw4Eg/ETwet zZYOzo3u1Qoeb09l38O7e1DRiA== X-Received: by 2002:a62:47d9:: with SMTP id p86mr14689186pfi.95.1543826228998; Mon, 03 Dec 2018 00:37:08 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 78sm17304426pft.184.2018.12.03.00.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Dec 2018 00:37:08 -0800 (PST) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Tejun Heo , "Jayachandran C --cc=devicetree @ vger . kernel . org" , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v2 1/3] dt-bindings: phy: Add binding document for stingray usb phy Date: Mon, 3 Dec 2018 14:06:46 +0530 Message-Id: <1543826208-22742-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543826208-22742-1-git-send-email-srinath.mannam@broadcom.com> References: <1543826208-22742-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT binding document for stingray usb phy. Signed-off-by: Srinath Mannam Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden --- .../bindings/phy/brcm,stingray-usb-phy.txt | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt new file mode 100644 index 0000000..bfe1367 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -0,0 +1,62 @@ +Broadcom Stingray USB PHY + +Required properties: + - compatible : should be one of the listed compatibles + - "brcm,sr-usb-phy" + - "brcm,sr-usb-phy-v2" + - reg: offset and length of the PHY blocks registers + - address-cells: should be 1 + - size-cells: should be 0 + +Sub-nodes: + Each port's PHY should be represented as a sub-node. + +Sub-nodes required properties: + - reg: required for brcm,sr-usb-phy model phy. + reg value 0 is HS phy and 1 is SS phy. + - phy-cells: generic PHY binding; must be 0 + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usbphy0: usb-phy@0 { + compatible = "brcm,sr-usb-phy"; + reg = <0x00000000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + + usb0_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb0_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + usbphy1: usb-phy@10000 { + compatible = "brcm,sr-usb-phy"; + reg = <0x00010000 0x100>, + #address-cells = <1>; + #size-cells = <0>; + + usb1_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb1_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + usbphy2: usb-phy@20000 { + compatible = "brcm,sr-usb-phy-v2"; + reg = <0x00020000 0x100>, + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <0>; + }; -- 2.7.4