Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp144621ybg; Thu, 11 Jun 2020 20:05:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqMMf1wwTnbzZaVyHVSeNbmvLKp0GJ3gQ2TOzRoHxtAEwrmFWvyrhfjfvZYhBZSmcG2g90 X-Received: by 2002:a50:9fc2:: with SMTP id c60mr10083737edf.319.1591931152440; Thu, 11 Jun 2020 20:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591931152; cv=none; d=google.com; s=arc-20160816; b=O/VhT8ZBYdNMcXo7ZeHReBJ5cEky6hckgLw93mWX7G7gIN2mgcUhthCIbeSJMRaKkl ziPxSYhjbu5ExwMR26iNLcqsbgHAZVojG26ZUQf6hhYPp5XPvAhLwjslIjOZzIh0cIEb /2FDDvcrfaJsJEEMqmsl6lLWFufzKIH/jRZZ3cRU6P8w27uQzB2utdZqULdyiBd9t9Dq DfnciPbbMq+/VRgtJtmp4KTQt5k1pXB9m2f7iJWK6M+8QRy4HAw/3dmXd+3/YlAhXvhP KYCFYCCMJvLo+PaWaUoTJy/XG1bDnOkleIgad8dnvHm/bncTYgUsULtb1cbg63PU27E7 1sBg== 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=koDFvjjJkloq6ngSlmVswKA04AkDw/swtiOq86Two5c=; b=uMp3g6RF9w4p1bhZi//Eo9ZJ59g4+Vq4o1DFTvsDr3c4eJ215eqaWxUq73tYd0GYbo SNbs/xMH1082YqY7gUTtvqMp6uDxqCRlFwRajEmoRsI011d34cYgNyYetBnaXJ3DSUcy nSOtQhePqBiA10oXoVvbI7kYL6S8k1HPDWEW1wHeY1r36+0MO1NjmegsodaEluOytFZQ SmDyxKUWesZM9miUV+SAcdqodYm0PthtJwCcJwZWU48+2X/XTHikDnrEXLNIo/fAX64H MeSKJPK2aufsTNxbJd7Hf2+UWHGwRGYSoowmkQ0K85OYtmIk+cr53jFxjNqhC0A2Ypm3 sKNQ== 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 gl8si3165078ejb.327.2020.06.11.20.05.00; Thu, 11 Jun 2020 20:05:52 -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 S1726505AbgFLDB0 (ORCPT + 99 others); Thu, 11 Jun 2020 23:01:26 -0400 Received: from mga17.intel.com ([192.55.52.151]:2926 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbgFLDBZ (ORCPT ); Thu, 11 Jun 2020 23:01:25 -0400 IronPort-SDR: 2/cEFwZ2VqoXrvPPPsl0dGhfx/jEIR36wgkDy144Xy3nx52y3QByFE/F7lmshNxmssREYsI4Zg GPzEqLhR7Xhw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 20:01:25 -0700 IronPort-SDR: zo88p/9E76JfpFoxXJB/+Wa/AYaDMmxlyL/Qb5PoBDF65/GT7aYrE3bSnCS8EmkvMqlKqux2Ii cx3rPgPSBOcg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,501,1583222400"; d="scan'208";a="275544795" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga006.jf.intel.com with ESMTP; 11 Jun 2020 20:01:22 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-kernel@vger.kernel.org, balbi@kernel.org, robh@kernel.org, p.zabel@pengutronix.de Cc: gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, andriy.shevchenko@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v3 1/2] dt-bindings: usb: Add USB PHY support for Intel LGM SoC Date: Fri, 12 Jun 2020 10:59:40 +0800 Message-Id: <20200612025941.5484-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200612025941.5484-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200612025941.5484-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 --- .../devicetree/bindings/usb/intel,lgm-usb-phy.yaml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/intel,lgm-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/usb/intel,lgm-usb-phy.yaml b/Documentation/devicetree/bindings/usb/intel,lgm-usb-phy.yaml new file mode 100644 index 000000000000..0fc76cd23774 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/intel,lgm-usb-phy.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/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 + +required: + - compatible + - clocks + - reg + - resets + - reset-names + +additionalProperties: false + +examples: + - | + usb_phy: 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"; + }; -- 2.11.0