Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp301603ybl; Tue, 27 Aug 2019 20:49:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwm9t2eoDX41l8UrPpmhMzui4z/8iZev1Of9+IiKQ4QGLYbFBidQX4o2+SIRgA0D4YWZEsE X-Received: by 2002:a63:1c22:: with SMTP id c34mr1661659pgc.56.1566964149315; Tue, 27 Aug 2019 20:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566964149; cv=none; d=google.com; s=arc-20160816; b=hDWrSdjv/DhY+McQgo8FHiLDSX0pEsw+28sbxjSn73h1W8Bjcc3Goff5JvGLwSJXI3 xLfVP/Oz5cxuuNehYb5iBN5SyuWj58e2QfSmiaXpQjdztXI9r4xWGgMxicskPJeYQZrX ezFrOZQiH0/fk3ovm9ven5z64SYFB8CYFUdzxJIoa4RQVGhXDkDSe8HljugK00YUJbpE OVjeCDMt9RP/i6KdzHvk5qFWPPD6Pt+3/COeFnhTwGWwNY7oQqlqFosqZt+T7gtj/hS9 zbVHR6g/VnM6Edo5vcQUGGjF3W/Qye+h5cFWbLvLehl6UzmHYYuSBAu54O10dhaX7y8p +ipg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=qVN8KnReByFcyl/BC826drgeYLdIu3LiOqXR+CbQLL0=; b=u900TpKcCmqo2t9QKAVDZGUCeqO+84T+LUw5SD0w2VwjK+WJweHGU9/N2BdW2028mH 0txiDQloO0jKhMZtYAW6RFEN9TahiaJc9w9wYrpitlSf77hw+iXRUC1oQm6bpXvyTNRc jOpRmr4785vijelxSEJURbzsy0NAgq1f9Gk28LQsD9tPCTnndBmkq5JOT5CkvNK1fvbD JJm53U5KvNwl6pMmYQ2eHPlIyrtNUo/lgGfnYXqaXIUO9nPJof2OsoJw/lUcUp5JhdQZ 5V9//b1PEx7pR+Ug4Lhe8U31OQ1TzWsYisX9ZvDxvRYS2+jC9yEUNAb03EpKzrs6hZq6 IGpg== 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 j21si1278918pfe.32.2019.08.27.20.48.53; Tue, 27 Aug 2019 20:49:09 -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 S1726278AbfH1Dr6 (ORCPT + 99 others); Tue, 27 Aug 2019 23:47:58 -0400 Received: from mga06.intel.com ([134.134.136.31]:18265 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbfH1Dr6 (ORCPT ); Tue, 27 Aug 2019 23:47:58 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 20:47:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,439,1559545200"; d="scan'208";a="192458391" Received: from linux.intel.com ([10.54.29.200]) by orsmga002.jf.intel.com with ESMTP; 27 Aug 2019 20:47:57 -0700 Received: from [10.226.38.21] (vramuthx-mobl1.gar.corp.intel.com [10.226.38.21]) by linux.intel.com (Postfix) with ESMTP id A10515800BD; Tue, 27 Aug 2019 20:47:55 -0700 (PDT) Subject: Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY To: Rob Herring Cc: Kishon Vijay Abraham I , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Andy Shevchenko , cheol.yong.kim@intel.com, qi-ming.wu@intel.com, peter.harliman.liem@intel.com References: <20190827082652.43840-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20190827082652.43840-2-vadivel.muruganx.ramuthevar@linux.intel.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: <2a915595-be5f-83f4-34e8-34d667875cc2@linux.intel.com> Date: Wed, 28 Aug 2019 11:47:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 27/8/2019 8:39 PM, Rob Herring wrote: > On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX > wrote: >> From: Ramuthevar Vadivel Murugan >> >> Add a YAML schema to use the host controller driver with the >> SDXC PHY on Intel's Lightning Mountain SoC. >> >> Signed-off-by: Ramuthevar Vadivel Murugan >> --- >> .../bindings/phy/intel,lgm-sdxc-phy.yaml | 50 ++++++++++++++++++++++ >> 1 file changed, 50 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-sdxc-phy.yaml >> >> diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-sdxc-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-sdxc-phy.yaml >> new file mode 100644 >> index 000000000000..be05020880bf >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/intel,lgm-sdxc-phy.yaml >> @@ -0,0 +1,50 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/phy/intel,lgm-sdxc-phy.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Intel Lightning Mountain(LGM) SDXC PHY Device Tree Bindings >> + >> +maintainers: >> + - Ramuthevar Vadivel Murugan >> + >> +description: Binding for SDXC PHY >> + >> +properties: >> + compatible: >> + const: intel,lgm-sdxc-phy >> + >> + intel,syscon: >> + description: phandle to the sdxc through syscon >> + $ref: '/schemas/types.yaml#/definitions/phandle' >> + >> + clocks: >> + maxItems: 1 >> + >> + clock-names: >> + maxItems: 1 >> + >> + "#phy-cells": >> + const: 0 >> + >> +required: >> + - "#phy-cells" >> + - compatible >> + - intel,syscon >> + - clocks >> + - clock-names >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + sdxc_phy: sdxc_phy { >> + compatible = "intel,lgm-sdxc-phy"; >> + intel,syscon = <&sysconf>; > Rather than a phandle, can this be a child node of sysconf? You need a > binding for sysconf first anyways. intel,syscon is phandle, emmc_phy is not child node of sysconf, access emmc_phy register over sysconf so made as reference here. Best Regards Vadivel >> + clocks = <&sdxc>; >> + clock-names = "sdxcclk"; >> + #phy-cells = <0>; >> + }; >> + >> +... >> -- >> 2.11.0 >>