Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1475266ybh; Mon, 13 Jul 2020 21:29:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfBf24f6y0i/TFFByVpELszb98QmO/eugKYa2Y6OM2WQ/0e+v2mUPOxEXO9wFxT4Ptn3Fh X-Received: by 2002:a17:907:2489:: with SMTP id zg9mr2764821ejb.48.1594700995764; Mon, 13 Jul 2020 21:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594700995; cv=none; d=google.com; s=arc-20160816; b=t89eGmDQqKkMYriZRCTSt1qftAxxjJKWAx7ATEgYLr9pnSi2WzzxAzzSTYPcRlNTXc +h6SqqmJgnGV169xEyTevpuDKrr9T+POpZcXKBm4ciSaeltcf1F7rfKdwaawzNinejyn 6vB+IQw5/co00oxTG1DiofwzY62i1h7jd/ozWbioFTzHxtT8olNk/XFreQjf59iNPc0z ZZNsAIOHDStVJkNBjXyDUr7SpIiLA4EGo2G7scchmJbm70EsAbxutERaFU3eCapOYVWx dt01KFEN+SNP3CuweK4iskcNwpUuHFUZ1vmKzweJ511mwCR4Ia1nPxIg9I7lycdAuvN9 rf6Q== 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=rp17T78yVkmFK5L6dINgMnvg4lEhY6n/cE+7ZfYP9a0=; b=0qHif2pzg+3DECGKSF5L1UDnvKDQ07m7/NawCFAtI/BYjNrAgajowRKomZEIuLT0kA pMXnNSC6zVKZ/qk3PkfgVyB0PnQK8t9LGKesU05axJiCwTA8QTx606tA/iZ7Q1ZBEdVT JyO0x9Vg3PuXKSp7eL2OUupfY0fTjiO0WNoXPWmM71rf2BYJD8Hkmvkr3R9VjWSZWipD DdmKbIsLvexGv2fpg/HyI+sfFcWjjvR/4UgxpU7yXqslFz2OY87QZ+si4Uf/VstBq3rQ elZr6Oki73l9+LKWI3RCFCAYYq2NnVvhzWzWcgjVShUhH5LI/dovv5VHr9TDJY8OS9Pg 85mA== 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 d6si10882883edp.16.2020.07.13.21.29.32; Mon, 13 Jul 2020 21:29:55 -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 S1726414AbgGNE2k (ORCPT + 99 others); Tue, 14 Jul 2020 00:28:40 -0400 Received: from mga02.intel.com ([134.134.136.20]:58653 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726282AbgGNE2j (ORCPT ); Tue, 14 Jul 2020 00:28:39 -0400 IronPort-SDR: W8blPPuHTdfMr+EztulbIWQtgrKkCw03gVrC40KG0Hguwlp7PpOgYW7GznpkFUbdlULHCmqkwG 4fv1HWrQw4Iw== X-IronPort-AV: E=McAfee;i="6000,8403,9681"; a="136949231" X-IronPort-AV: E=Sophos;i="5.75,350,1589266800"; d="scan'208";a="136949231" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 21:28:38 -0700 IronPort-SDR: YEpC3ECeDS1BenpSqapIwg4aJmR65z6WFYYxkNLurQfpLgCAQtSBj92SkyVlmKJpkI1IgfRbrb wKWbfO4v4Syw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,350,1589266800"; d="scan'208";a="268546329" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga007.fm.intel.com with ESMTP; 13 Jul 2020 21:28:34 -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 v6 1/2] dt-bindings: phy: Add USB PHY support for Intel LGM SoC Date: Tue, 14 Jul 2020 12:26:20 +0800 Message-Id: <20200714042621.25850-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200714042621.25850-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200714042621.25850-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 | 53 ++++++++++++++++++++++ 1 file changed, 53 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..18609f50d458 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/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/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 + +required: + - compatible + - clocks + - reg + - resets + - reset-names + +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"; + }; -- 2.11.0