Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3116828ybl; Mon, 19 Aug 2019 12:29:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdtM5HQA97nnTucAaGmDzwEh2+er1zJ8nVzE5SClMd/135tTymj4M7kvYleZdckhMrk87s X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr24732658plo.267.1566242978554; Mon, 19 Aug 2019 12:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566242978; cv=none; d=google.com; s=arc-20160816; b=go1eylAD0HWTQ3t9KRZcCKDQ4rbEnDqu1dFKZCFyDwKjkAr5NLDF9hPy//9gnQn1Qz zcaysb/81cPtAV/GqiPI9s/NXYZYSI7uFProQ+OFo2S+3/zoHR+yLlANDj/+E11Foazk dwCePg2Iqr+EjNAs0fThryxxQK+L9Y9m1XF2Drv9HwueVsowWijzPM3oC39AH18UuXJM PCFB8x6zXfayKZkyN2QJwbcskVFEQlhpiNvALHrrZFm7P8Z9Qt54ogByoeBd1pPWa9NX mVe9dgZvPoaByooKJD/I0se1KUd5THW1xuWDM/B3nRBd2s0pO+YlVF49Bng6ErBuZwRU 76tQ== 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=EQlqDrfm73dq8sb6PTRAvvOUuiYxZGUwMg5vfyL0dMc=; b=K97jYxlJybUZtgOKUHrct6B9VpE8TrePuI6dlBW/c8++yZl6+D03j0Nv09AVDOO8KM +x4Da7CJuUQmd4XxGj9WY2b0nAQEVBTt4ACCSbfPFY5/21zoAGvbCY73po+wAsXk+laD ROyd0MuutwVLw4aAaV0EcWLuXVLSO92eLc9TMtoR96/SmaFfNPnqG00ZZ3xEsQErCopW k24ayIEbR9verS1jsqM2FphBUiejXUwRlWRa83v9zJMM9Am3JzTWGIhKnJVKqYvIDBRz MJi7bpXyx1/REKbpCTPqHDGB0o+Sny1aIDJlPEz9NXioMlUngk0ZUNrWmqTHEXVSZP0I qm1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oDhAYrrH; 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 k33si10355049pgi.563.2019.08.19.12.29.23; Mon, 19 Aug 2019 12:29:38 -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=oDhAYrrH; 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 S1728568AbfHST1X (ORCPT + 99 others); Mon, 19 Aug 2019 15:27:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:43334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728545AbfHST1V (ORCPT ); Mon, 19 Aug 2019 15:27:21 -0400 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (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 C050B22CF8; Mon, 19 Aug 2019 19:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566242840; bh=FF7jXADl84/ZQ3CFgtiednouzYk9TDZ2FJb5brLwjMA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=oDhAYrrHJn9W/xjZigWqHbp3pAjlyPSiIZ+wMSAmClpjErlDU92gJfu5ZtVblU0vm AZKL2bXeEoM4hi5dxSThm9D1o6XPFvsW9yysClIH20DK4sdB2VWk7eDTQxdrM+UX2s YreNUFl40iqFlh5518gwvt+Vin7uP9zJZ6FnvWGQ= Received: by mail-qk1-f169.google.com with SMTP id s145so2408909qke.7; Mon, 19 Aug 2019 12:27:20 -0700 (PDT) X-Gm-Message-State: APjAAAXdodp6NSYFNfRZoe66cFaF5rsTfMJ8SXlzk87fWeJyZlv+T2+Y JVpkqfi2iC21ppbj3+bHcd4nIPHIWYFA5QkaTw== X-Received: by 2002:a37:d8f:: with SMTP id 137mr21577181qkn.254.1566242839962; Mon, 19 Aug 2019 12:27:19 -0700 (PDT) MIME-Version: 1.0 References: <20190819034416.45192-1-vadivel.muruganx.ramuthevar@linux.intel.com> In-Reply-To: <20190819034416.45192-1-vadivel.muruganx.ramuthevar@linux.intel.com> From: Rob Herring Date: Mon, 19 Aug 2019 14:27:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/2] dt-bindings: phy: intel-emmc-phy: Add new compatible for LGM eMMC 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 Sun, Aug 18, 2019 at 10:44 PM Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Murugan > > Add a new compatible to use the host controller driver with the > eMMC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > --- > .../bindings/phy/intel-lgm-emmc-phy.yaml | 70 ++++++++++++++++++++++ > 1 file changed, 70 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..52156ff091ad > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/intel-lgm-emmc-phy.yaml > @@ -0,0 +1,70 @@ > +# SPDX-License-Identifier: GPL-2.0 Preference for new bindings is (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/intel-lgm-emmc-phy.yaml# Preferred filename is the compatible string (plus .yaml). > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Intel LGM e-MMC PHY Device Tree Bindings LGM is what? > + > +maintainers: > + - Rob Herring > + - Mark Rutland I don't know anything about this h/w. Please put yourself here. > + > +intel,syscon: This will throw an error with 'make dt_binding_check'... > + $ref: /schemas/types.yaml#definitions/phandle > + description: > + - | > + e-MMC phy module connected through chiptop. Phandle to a node that can > + contain the following properties > + * reg, Access the e-MMC, get the base address from syscon. > + * reset, reset the e-MMC module. > + > +properties: > + "#phy-cells": > + const: 0 > + > + compatible: > + const: intel,lgm-emmc-phy > + > + reg: > + maxItems: 1 > + > + 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 > + > +additionalProperties: false > + > +examples: > + - | > + sysconf: chiptop@e0020000 { > + compatible = "intel,chiptop-lgm", "syscon"; > + reg = <0xe0020000 0x100>; > + #reset-cells = <1>; > + }; > + > + - | Looks like 1 example to me, not 2. > + emmc_phy: emmc_phy { > + compatible = "intel,lgm-emmc-phy"; > + intel,syscon = <&sysconf>; > + clocks = <&emmc>; > + clock-names = "emmcclk"; > + #phy-cells = <0>; > + }; > + > +... > -- > 2.11.0 >