Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5909914ybi; Wed, 31 Jul 2019 05:18:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtCSiCXoVC/teJPKgemR9lvAWBEpBq4D4gI/W5vZ+xhOF96KVGYSIJHLviO2oYEwrqvsNx X-Received: by 2002:a62:26c1:: with SMTP id m184mr45242780pfm.200.1564575530361; Wed, 31 Jul 2019 05:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564575530; cv=none; d=google.com; s=arc-20160816; b=mOEiJAEupBH7aXuwdZdzVGacwyIl03/kNU1ZIEDSir1juH3L0eNHX1WYK5S/aLksep 4ZUw7sWjIJoh5vDqu8Tcx7kmWuQCc69bjK9g+jZKqaKXxMXR47KILS32PY/ku54zCFEN nm6tVPXHlofHEcqcXsLdy29MUGegako7fW33JNEEhCGblAS9SIFs9cALgfnncCg5xObA +C4sAFPvOYFbmS9TakJUmtFJrS10eQy3QC3/BLDhmTRNjvlKWMENmfd/qqoQQxME8FBV gJ5dBkpf5/JQ1ScSJuQQnOmqsCckjHaKEQNSMfJzviHQCAJgbURw0obQTarp/CJzeG3k 2V4g== 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=1hFW261EdAqqhHx0R9omLG8cea6wI1AtJQwshss1NJ0=; b=OzwtHyvmCcWcNLE7UzUN4j8i7BYbOXLQR/mkyq3l0gZvtjEosHmTXC3vZrtqGhGM0I fCgUCecAvRmo/yuYJaSZtx/c7ZhkjcZv0t7rtONzmCvkrBTaV1aWQVhP1BiohJc8uapi ycFYbWK25YJHyVT682xOmvsAO3m7Qu+uyMt90ouF6AFtD7G7W1BtqZNFaEnNxQlrKI2r S2U01ijFbqkFyzZfc3eKKxFYOZVMh4kqh+Jwf0e3PY49PGkb/caIr+87fo0H4aTLSEx+ 4euhX/hHMBol9RxFz7xUBPHeMCV+cFo1EG0HA718StGdIhqbLOIt6fqOARbgZg0bm9rz 9Ovg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=ZnHxKlYH; 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 a191si31973820pge.93.2019.07.31.05.18.35; Wed, 31 Jul 2019 05:18:50 -0700 (PDT) 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=ZnHxKlYH; 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 S1728224AbfGaKUY (ORCPT + 99 others); Wed, 31 Jul 2019 06:20:24 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41695 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728120AbfGaKUU (ORCPT ); Wed, 31 Jul 2019 06:20:20 -0400 Received: by mail-pf1-f193.google.com with SMTP id m30so31622230pff.8 for ; Wed, 31 Jul 2019 03:20:20 -0700 (PDT) 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=1hFW261EdAqqhHx0R9omLG8cea6wI1AtJQwshss1NJ0=; b=ZnHxKlYHCG2JqkdO1qYbMKw0Igq/zrkMr/66ZX3a3OBAcS2HoMJwTxyLFb/zdDXjtZ EpHOIh+NosfgOyztVan1SBci8of22qogiV29Dtq0p3o6g4J8xml+ttpPkJ8gmN6Y5h2m l9iFy3hgGtMzALboGVSKvQju1e+BKKjiOCNyM= 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=1hFW261EdAqqhHx0R9omLG8cea6wI1AtJQwshss1NJ0=; b=FMTrBg5j9777I7WeXLP4pnDhqrAjpDgvzBgH9EXgfdUa0Nrajs1p1ASJc/ttrYsh5N VzHJdTRC7AAiPT3IrR+hmMkCGZd9tCQaIVaZSVbECAY0eR3St5uSo00Pwgytrf+tqod8 6iJ13fm3EVwgQ+IzwyWbiMvKnErTa1Up48zjALeG2NLca811VvFUEVWeMX56rvlYXof8 i5LIUDXxqEq7BfF62wwxff6B6cA/Ik6M4W5OWhtfNL3qvZkW072+Bc2KihVurlaxI7vU jsvIxmIohxPkwbFegJKG7Kd0fhA/XWosuhhfkrK2MJvU+DtMkohfVMH4IkFTZ9ptwBiY KMXw== X-Gm-Message-State: APjAAAV2VrGz32v80fO5d3mbr26PvhhhNFj0shcNNNw0LQbQQMPM9Bet YQjhRPrsa1N+XH4O1VZza5oI0Q== X-Received: by 2002:a17:90a:ad93:: with SMTP id s19mr2216195pjq.36.1564568419949; Wed, 31 Jul 2019 03:20:19 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 3sm71161776pfg.186.2019.07.31.03.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Jul 2019 03:20:19 -0700 (PDT) From: Srinath Mannam To: Greg Kroah-Hartman , Mathias Nyman , Rob Herring , Kishon Vijay Abraham I , Mark Rutland Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells Date: Wed, 31 Jul 2019 15:49:52 +0530 Message-Id: <1564568395-9980-3-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> References: <1564568395-9980-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 Increase #phy-cells from 1 to 2 to have bitmask of PHY enabled ports. Signed-off-by: Srinath Mannam --- .../devicetree/bindings/phy/brcm,stingray-usb-phy.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt index 4ba2989..aeb0568 100644 --- a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -6,9 +6,11 @@ Required properties: - "brcm,sr-usb-hs-phy" is a single HS PHY. - reg: offset and length of the PHY blocks registers - #phy-cells: - - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate - the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY. - - Must be 0 for brcm,sr-usb-hs-phy. + - Must be 2 for brcm,sr-usb-combo-phy. + - Cell 1 - PHY Number, 0 for HS PHY and 1 for SS PHY. + - Cell 2 - Bitmask of enabled ports connected to USB Host controller. + - Must be 1 for brcm,sr-usb-hs-phy to indicate Bit mask of ports connected + to USB Host controller. Refer to phy/phy-bindings.txt for the generic PHY binding properties @@ -16,17 +18,17 @@ Example: usbphy0: usb-phy@0 { compatible = "brcm,sr-usb-combo-phy"; reg = <0x00000000 0x100>; - #phy-cells = <1>; + #phy-cells = <2>; }; usbphy1: usb-phy@10000 { compatible = "brcm,sr-usb-combo-phy"; reg = <0x00010000 0x100>, - #phy-cells = <1>; + #phy-cells = <2>; }; usbphy2: usb-phy@20000 { compatible = "brcm,sr-usb-hs-phy"; reg = <0x00020000 0x100>, - #phy-cells = <0>; + #phy-cells = <1>; }; -- 2.7.4