Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp917109ybg; Mon, 27 Jul 2020 03:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuQRdww0UrGBsSWrm/cz9Vmo0WsZb3CMcaUR1HM7j6Tda4AKQ42zx4DSd0+aAm0rBuISMP X-Received: by 2002:a05:6402:899:: with SMTP id e25mr8405208edy.311.1595844569760; Mon, 27 Jul 2020 03:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595844569; cv=none; d=google.com; s=arc-20160816; b=w2a5G32nGvS4myYHEjzuIYowTM3lkaer6vl5DuhrT8rHHpAofodmJTY86AOZcl6L5P UYKEpfuk2uz9qtwwNJ/5284/kqsBRaueDm44Y5baSgU0zL5GdINzCi+tDHz78f+hcEea kVr9B2FsKVJWj8HXwFHWYuZqNC8lBjnX6R+nCMsnhC9VlMOY+HEJNjrBFPNb9qksacuf n8pXjSvVEWH4wb8ddk+XLL9gK9I921ZYute/CllPfBFIpWqoeW7g3XnH+NiXG1HK7VRc SzWYJiYNtXtC7RpntFM8haeH9N//B0UZCrVF8sdS9jm+Eniofxpla67DMItlollCJ6VQ Udaw== 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:ironport-sdr:ironport-sdr; bh=9ZGUO6xeFe/99xvNDQZV/K5FreaRmeCEhWSwKmZIrTY=; b=bhplYm4uDK4LJy2xS037ACW9JHMczzQsYfYPsp5HXkxo89BL7yQOQrIxTYnMeVnPXM tTf1jDdpgPNjWuxuN1qDrdLYcW67HvbWNcdF2AtykDktmktrDe0aFqwuSZv/YcdBwPKC pcXnkLsElP2gBAvXtiOlvWp2WIHJlgY6krMPTvJebd0MfA5DScNIYWfsDQt2yLkBA5Ib w7/tZ4Oo60UjEmm2jfojPNVy0GGRScvYXPZ8ao6DDFVlXFBuAmE+x2/Uh6BsPUNtNLhZ DDAwu4Hb1CJ9AcP3Z2MfUbXDG0/V8eU+RLDrgePFh39ULIzkkGkNyuyd7G845o39QdnF 4frQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b23si5187693ejv.299.2020.07.27.03.09.07; Mon, 27 Jul 2020 03:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728010AbgG0KGG (ORCPT + 99 others); Mon, 27 Jul 2020 06:06:06 -0400 Received: from mga01.intel.com ([192.55.52.88]:15382 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726976AbgG0KGG (ORCPT ); Mon, 27 Jul 2020 06:06:06 -0400 IronPort-SDR: SAHoFDxF+r8A/ytAlcB0lBaHNE1/msK6ODsalE+glboE5ilbgAlFeeD01+iQuZ95tkAfExmoAd YYMSk3PwQvOw== X-IronPort-AV: E=McAfee;i="6000,8403,9694"; a="169097703" X-IronPort-AV: E=Sophos;i="5.75,402,1589266800"; d="scan'208";a="169097703" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 03:06:04 -0700 IronPort-SDR: G/AfYG8CXVhpbfQeBIr8mvXcffkYyOYw+y6JiqwFGp0uiAP9hb4WN50CnwAcSFjFraBiaMdFfZ UkG+2TlG1lFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,402,1589266800"; d="scan'208";a="321752359" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga002.fm.intel.com with ESMTP; 27 Jul 2020 03:06:01 -0700 From: "Ramuthevar,Vadivel MuruganX" To: kishon@ti.com, linux-kernel@vger.kernel.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, andriy.shevchenko@intel.com, balbi@kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v7 1/2] dt-bindings: phy: Add USB PHY support for Intel LGM SoC Date: Mon, 27 Jul 2020 18:03:35 +0800 Message-Id: <20200727100336.32153-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200727100336.32153-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200727100336.32153-1-vadivel.muruganx.ramuthevar@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ramuthevar Vadivel Murugan Add the dt-schema to support USB PHY on Intel LGM SoC Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/intel,lgm-usb-phy.yaml | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml new file mode 100644 index 000000000000..ce62c0b94daf --- /dev/null +++ b/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/intel,lgm-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel LGM USB PHY Device Tree Bindings + +maintainers: + - Vadivel Murugan Ramuthevar + +properties: + compatible: + const: intel,lgm-usb-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + items: + - description: USB PHY and Host controller reset + - description: APB BUS reset + - description: General Hardware reset + + reset-names: + items: + - const: phy + - const: apb + - const: phy31 + + "#phy-cells": + const: 0 + +required: + - compatible + - clocks + - reg + - resets + - reset-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + usb-phy@e7e00000 { + compatible = "intel,lgm-usb-phy"; + reg = <0xe7e00000 0x10000>; + clocks = <&cgu0 153>; + resets = <&rcu 0x70 0x24>, + <&rcu 0x70 0x26>, + <&rcu 0x70 0x28>; + reset-names = "phy", "apb", "phy31"; + #phy-cells = <0>; + }; -- 2.11.0