Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp878433pxa; Thu, 27 Aug 2020 19:24:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlIrUeQ5a09/VHbi3x7CK8dJjMY0RzEvCvsGRiTUZHNWE5rq1El9zzmSB7FV8NA2ocTQf5 X-Received: by 2002:a17:906:7492:: with SMTP id e18mr23612974ejl.375.1598581469848; Thu, 27 Aug 2020 19:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598581469; cv=none; d=google.com; s=arc-20160816; b=GDRYewJ2VmidoQSQZoD55kmYzTwYQInIlQVUTEee9vEyBkEUPLcAgtxnKfzhWgVCTI B66JR6lX94S9ey8HkJMIcLa+N1UdLw32TyplmZJJvc2+h8ddR+JJ47WO9Ed/GFBi9zkV lmEAge1j6pE2dOfurBAbaNNuGl4Tffp7tqBfsmMqbwCm69VSy6sWPLXIVHQW4sQoFtpf LtnpI4rzh7fImN9Jeek4pWtipxoSAdUwgNuNkibgvks+gcUX716bKjM+Pe+0/VoEAokn dP4EaYzSXbRM5++G0qeU3/z29J55/nSBOcCfwsbfhXRX6UJyAcaA7Iwnbu6Fg6E0kLmT kKFw== 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=Jh+2/RBV047HV4Jt3TXQ4tVY2MHNI5+YHHOGxl1I7qBns/AGImTCTflqYtbtPfLBEA rUP9o6FP0lsQnqzgo9PUh3yTr+1OxWoTq8CyNiNc7+68U1m/0hJ1Q/uRdAx/OtAcHG/B cnKmGSm8ZuaTR92pobmWtEn0oYFovPL1DwOB5q07JGSP4UV8SA2ntMisRw/D84HgeLdX McEGPLFOJAfzmJOBfnEEyu+RnPu5XOeLkna6bBK6i2yvTBtv7x2tTSiAvX1/CM4Gkxei /vsP/2whTppLd9pao/+RjSEvggG2nwqC57m6cRLJL529FUaNG1YRLp61aLMqM4XXs19v J4pA== 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 t11si2502571ejx.100.2020.08.27.19.24.07; Thu, 27 Aug 2020 19:24: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 S1728356AbgH1CXZ (ORCPT + 99 others); Thu, 27 Aug 2020 22:23:25 -0400 Received: from mga12.intel.com ([192.55.52.136]:43689 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgH1CXW (ORCPT ); Thu, 27 Aug 2020 22:23:22 -0400 IronPort-SDR: KG1qOdteCZHn0h5okk4vtVd1uFQ3CWplVUNiStxziksvEJYUNbm5x5NjkufYnNdOlLYkgVDMbL ZEmeCG62AOxw== X-IronPort-AV: E=McAfee;i="6000,8403,9726"; a="136141623" X-IronPort-AV: E=Sophos;i="5.76,362,1592895600"; d="scan'208";a="136141623" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2020 19:23:22 -0700 IronPort-SDR: XVLI9TFoFx70WQs8U7Un4I1LeyyksgUWi8hAB59hfJq6JSq4UVItoMWYwGmuH73U+9PZn+K9AD cOGLxEHcJu4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,362,1592895600"; d="scan'208";a="475479860" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga005.jf.intel.com with ESMTP; 27 Aug 2020 19:23:19 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-kernel@vger.kernel.org, kishon@ti.com, vkoul@kernel.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, p.zabel@pengutronix.de, balbi@kernel.org, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v9 1/2] dt-bindings: phy: Add USB PHY support for Intel LGM SoC Date: Fri, 28 Aug 2020 10:23:11 +0800 Message-Id: <20200828022312.52724-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200828022312.52724-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200828022312.52724-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