Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5494785ybl; Tue, 27 Aug 2019 05:40:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqC3Fbo2U7e96Fx8VkwDssTTgy2vZ29aHln8hP6mgdUOO/AAe36AgjSUXVLSHWRspd+PCC X-Received: by 2002:a17:902:6843:: with SMTP id f3mr23281789pln.97.1566909654255; Tue, 27 Aug 2019 05:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566909654; cv=none; d=google.com; s=arc-20160816; b=AdIo+QXuRxs8CoitC2y/I9GhjWYht5LtcnBCISKDGb/0JCAdjJpbx79ZfmPWdREsju dfbhID2+3EuJIKPS3krt9BzU7ezgGP80t5weKfcEXv9+dx643ZwinsFk03uL1JFQlatk /FwboQOo+r9LSsRUI7ZbMcjQS4jWYIOUSOfD6HjBfs3oLXoepo6fkAc/Ykw+3GTJ67+K KW6m1uWwaRclkMARR7Bn7e3uxwUBIan4pv2PNN8L88oqViWtjm6etc4il+iqsKUvp0MA JlAtf1QZ/qM8cONj5Z7VFXhBBpiCRGrTe1mREvPUyUhMoedevoMtaFUz1qKB6FaHyaHc OLPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vSXrO+0wBp0iM9U69T4YdYpq08t+clHfH9AegYmxPvI=; b=nrRpw4CisGucgBC7NnptMdYuLjF7o8gOjravuglQSG38FoyYvgrbCXNEHkurDOcvJ+ g06o9+ycTDBSXSIqaNYW6E+jgIlPs0rvlMxNLqD/lrm4Zwa4E1HstqKEwR6hgwSmHTIw IQSO+Il0+34fKZzD+V0LDP9Usq0Gfj9lQjAwlthDXtYfcP+RlZx28R8iSqedH0atTNcC ImtlXL4lEvgxWZOJ07PSOJRtwmlYlx0gepmPXxlwT/q4+yn7R6ILEJ4/hxMTgYcVXQTr sdAGlb73z8U41e0383SeYY7UXmT/lBy6h5R43xfk41uMFod4TFJUdBgUJHTgUwi3p+8E OAaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="cAX/tMBD"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si14025328pfg.156.2019.08.27.05.40.37; Tue, 27 Aug 2019 05:40:54 -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; dkim=pass header.i=@kernel.org header.s=default header.b="cAX/tMBD"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729140AbfH0Mjp (ORCPT + 99 others); Tue, 27 Aug 2019 08:39:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:52220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbfH0Mjp (ORCPT ); Tue, 27 Aug 2019 08:39:45 -0400 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0943620828; Tue, 27 Aug 2019 12:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566909584; bh=gLIZt3QBqVQuf+84rdK8Q8Zyrw4B4ptYkFNh+jBJOz0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cAX/tMBD+1cACAn6PI7WwLcPzJ1/XPRN7gQfSmkuq/+5UCxPyREoUYArg/ioTVQfz FrcNULmzSyokQRU04kaPDGrn0ewEo/KNw8SEvmCA/4xzmnDa1WsrVbC1gqkA7GUaqt 3/AuOZq/fSOi/m9mPWMuRL3lmxXdHLuSLbjFj/pM= Received: by mail-qt1-f170.google.com with SMTP id 44so21042510qtg.11; Tue, 27 Aug 2019 05:39:43 -0700 (PDT) X-Gm-Message-State: APjAAAURnSf8p0DL1SLJi4ORVq4wkosLJkJAeXxCxnYZPXG9lDDsFYO3 pC+ipPlJLO/T3QZj2WRYm9mtLYrZpZXvPwyTyA== X-Received: by 2002:ac8:44c4:: with SMTP id b4mr22321665qto.224.1566909583245; Tue, 27 Aug 2019 05:39:43 -0700 (PDT) MIME-Version: 1.0 References: <20190827082652.43840-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20190827082652.43840-2-vadivel.muruganx.ramuthevar@linux.intel.com> In-Reply-To: <20190827082652.43840-2-vadivel.muruganx.ramuthevar@linux.intel.com> From: Rob Herring Date: Tue, 27 Aug 2019 07:39:32 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY To: "Ramuthevar,Vadivel MuruganX" 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > + clocks = <&sdxc>; > + clock-names = "sdxcclk"; > + #phy-cells = <0>; > + }; > + > +... > -- > 2.11.0 >