Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2099637pxa; Mon, 17 Aug 2020 00:06:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8++R88orpGsC4F8zG+f2WCMuT4xRxQ6PDTuMPy7IKXXn/lxxJXz6caSl3+SgOWHlAGv33 X-Received: by 2002:aa7:c88f:: with SMTP id p15mr13961203eds.33.1597647986308; Mon, 17 Aug 2020 00:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597647986; cv=none; d=google.com; s=arc-20160816; b=igCYAgwmdqYUd4DPnYiaxoLfsxC9iNbDsLLd3kQrW+Hk87zQL7MjcRt11lY27RCAiI uW7TFP3arU93+xEn6IBqeiITxlKf/XGLhldzlS2y63Z8zJCxyF0Vb58wP8XawVo3Y6ea /tnBjID2Vmak3RPm6U2rtMRi3I4ymokkaeK/RPtHn68S2wLQ2qrKdi8F3ZMQRyl5mH2I pN6YMWv3R+tD8pORABBJocRnblhajSFRF1mnl5xqVBzdQ4vefIjUOLLLBVc/ZTnxsphX fyj0y9SBulAgRHMeBfMrkEtLe8g0tKEIvMf/M/kJ1JE2lrph1KzkrKSDYHLk9mW/GqBK UhKg== 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=Aa1MLyzyb9iaQzjDR5VUGTnAQk+MX18iBB/6UK9qL4PCjWXQ6KRG+8bT/at+eLMi2L rDlIgb8ImGJjzEwiTC+TPQ/eD1e2x/1hwBpJwHbDvioIcs6KFVDfBj+86XV3iEEUWimb txkrzm5WJImjAGKtw10j7iD+lCo0fMlU12yDheBJmg1Xqnf8zK3zefnqfg14hT9yRHrk rZ9D5OBLHQv3+HB2IU2UckOl90NNZNkDa9oEaRKEcdfPfOau4Eg2nLB/VQIpmvyjx06G qfoDnVX+XaWYA0mM5aOqJOjJKGeKvEJ9jWDTUfQk7x1NWWxDxJ1VMGA/vo7QnQ02IUsG xFhA== 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 v21si11673438ejg.482.2020.08.17.00.06.03; Mon, 17 Aug 2020 00:06:26 -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 S1726688AbgHQHFb (ORCPT + 99 others); Mon, 17 Aug 2020 03:05:31 -0400 Received: from mga17.intel.com ([192.55.52.151]:62957 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbgHQHFY (ORCPT ); Mon, 17 Aug 2020 03:05:24 -0400 IronPort-SDR: e14gWh4QBkE6+VpikAxXjJF/yalOnNAU9Eub4zZziy3DX88z1VY/+sVvJfoPW8ldb1JUPuauXK d/sq9BUoKpew== X-IronPort-AV: E=McAfee;i="6000,8403,9715"; a="134708026" X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="134708026" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2020 00:05:23 -0700 IronPort-SDR: xqUuwHBh6p22HxZZiplVJrFfbRbEWnLLzPcm3kauAukhZfyXDlqcndpsmEWYjhjfEM6dlXdHpo RB2BGln0GLBA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="277689340" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga007.fm.intel.com with ESMTP; 17 Aug 2020 00:05:20 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-kernel@vger.kernel.org, kishon@ti.com, vkoul@kernel.org, devicetree@vger.kernel.org Cc: 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: [RESEND PATCH v8 1/2] dt-bindings: phy: Add USB PHY support for Intel LGM SoC Date: Mon, 17 Aug 2020 15:05:12 +0800 Message-Id: <20200817070513.34376-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200817070513.34376-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200817070513.34376-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