Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp678269ybl; Wed, 21 Aug 2019 04:01:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyooJDYKP6mWD30p+/wabc/bvcSO4AvB5zA1doOS74UUve07uVWhwDJfPqAYzHmOasXxlat X-Received: by 2002:a62:1ad4:: with SMTP id a203mr34336761pfa.210.1566385316093; Wed, 21 Aug 2019 04:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566385316; cv=none; d=google.com; s=arc-20160816; b=UhvfJFQUHeCTCx5f63IBXKuswdES544PLpu5VauM8buPfQFrVybn3MSx8OSpiFJwqw 5D7fEOV5kRmR6VlWjjtRDAbGi5mXO+kWCLXCxMy1hY3WJp+NfzLOiQPWhxsmiS+1cFy9 2bYdqw/xWa0MfkRo2p2eQ72KF5LthhUKDUgLYlVqHGEVyHssg71ICwO8Pr1QCJ8hXiyH xRXyMvOjeHzF154diz77lTub1eLlcfE3nRNEuos1Yp6ql9HpL+aNQ8MjEaAxm+8eCdza qLsPqoa7UBED0Tb7RvFeBjE6fk1K7/E1ncUfXbHPsYn7gln3Pd4uGU2SsgiDcAwffXub n8gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=yJsv3cnw/OpHlM0nHCCYQw9HGDrrGrYTioSHOrk1SWQ=; b=mPmpxbYrZGoPvpHZRcNZF1O7BQqv7YyMFWcNOtzeSrE1JZIw9CXYm5/0Y4MOw7I5Bn QbN8XyJqTboBwTapm5o9WbD2LWrTKKQ0IggHST9BeErUlYkP5GEZUOtQ00uafTDqAI51 zNGRKmNI2hbiYlLpBRpA3P3ZmBXrXbzS4GA+k8yuJEURKjkWZ9hBM08SPKganf3Yktc0 oP+/aMpjJ0+N4zXF/fTI6XHVwZkZiA1tW33KjOrmyVlCdXIvKIkDZFswCwYu9yLt10/y U8FkGXWImBtoRlpVaMvt2IC+PheJSYk6PC9uwLQnoXbvMMVcfbTp7W8UUUtDMw15DnA3 OUUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id o93si2071035pje.38.2019.08.21.04.01.37; Wed, 21 Aug 2019 04:01:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727548AbfHUKL0 (ORCPT + 99 others); Wed, 21 Aug 2019 06:11:26 -0400 Received: from mga01.intel.com ([192.55.52.88]:27940 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbfHUKLZ (ORCPT ); Wed, 21 Aug 2019 06:11:25 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 03:11:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="172733736" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga008.jf.intel.com with ESMTP; 21 Aug 2019 03:11:22 -0700 From: "Ramuthevar,Vadivel MuruganX" To: kishon@ti.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, peter.harliman.liem@intel.com, vadivel.muruganx.ramuthevar@linux.intel.com Subject: [PATCH v3 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY Date: Wed, 21 Aug 2019 18:11:17 +0800 Message-Id: <20190821101118.42774-1-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v3: - resolve 'make dt_binding_check' warnings changes in v2: As per Rob Herring review comments, the following updates - change GPL-2.0 -> (GPL-2.0-only OR BSD-2-Clause) - filename is the compatible string plus .yaml - LGM: Lightning Mountain - update maintainer - add intel,syscon under property list - keep one example instead of two --- .../bindings/phy/intel,lgm-emmc-phy.yaml | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml new file mode 100644 index 000000000000..9342e33d8b02 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Lightning Mountain(LGM) eMMC PHY Device Tree Bindings + +maintainers: + - Ramuthevar Vadivel Murugan + +properties: + "#phy-cells": + const: 0 + + compatible: + const: intel,lgm-emmc-phy + + reg: + maxItems: 1 + + syscon: + items: + $ref: "/schemas/types.yaml#definitions/phandle" + + clocks: + items: + - description: e-MMC phy module clock + + clock-names: + items: + - const: emmcclk + + resets: + maxItems: 1 + +required: + - "#phy-cells" + - compatible + - reg + - clocks + - clock-names + - resets + - ref + +additionalProperties: false + +examples: + - | + emmc_phy: emmc_phy { + compatible = "intel,lgm-emmc-phy"; + reg = <0xe0020000 0x100>; + intel,syscon = <&sysconf>; + clocks = <&emmc>; + clock-names = "emmcclk"; + #phy-cells = <0>; + }; + +... -- 2.11.0