Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4138451ybg; Fri, 25 Oct 2019 13:57:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwia/RywC7/6LlfAmtIRn0HpVLQM8zmff2aWclViNx+VYMLsM0MLFiCvyLHlqLWTHheSWw/ X-Received: by 2002:aa7:ca0b:: with SMTP id y11mr6173550eds.51.1572037051036; Fri, 25 Oct 2019 13:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572037051; cv=none; d=google.com; s=arc-20160816; b=RgVrhNxMVrbDlBhzAJ/69kWusT1KBGk9lXCnvdhzMM8EqIC7E/AooEE9nxBdnO0XxD UhG8ICCQRPWiUKc2g9Jj3frWM26rhihGuxVflBycn2/Dguhf0scmXUjYxZ4OmU9oYxoA lzUSsz3VQ1KwPigNhD7zl4YsNzuubMqQF3zAU8vQudN1PjIqLckoaHiNAPKgy0tVckL6 AJ0OqMKI8m1mInvWtWakwXQtkNYBOQG/jvh5NFlYyoWIbbWGwMAWmadg44IycV2ah9qJ hkmVA5thmRkvOOW1ARjZ+Jnjru0dWH7Uk+EDeJISRUOJYxRjoZXhj7oUGiM61YBsd6o7 GaMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mXGKxFl6d9Tad1bXOR5KQzZcHvU397AW0AArFi6DfxM=; b=i0ETi+2ByIRX8nn5xLDZ2GuHmozyuB5uFFzaKT39/8RX0jLFR6XeLkWG4WLOB4aDe/ 3Uk3+nl7Bx1S2K8Tm+eOEY6a0LhPTt4Z81U7js9uS5Kt57uKRLIUAU3AOx/6cTSqMUct 3FN1qI7SCVA6w5KmjJ++Dn8ST/xrzpbeMzO3s366h2eMiJ/WrdlivvqQK/ptxEjzg4iq Eegu+uyA+hX/7HfyXy3naYb6f49oaH5m82pzbLY6Mnv5Q/gjllPAtQrvBwZTl4BhlQZ2 OOg2wHV79UGdh9wcjL/Npe0OZe8qPwodxyCXHybjL9fbSN1ItVkmCjYlFaHt4u7F2LkJ dIVA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w56si1528667eda.376.2019.10.25.13.57.07; Fri, 25 Oct 2019 13:57:31 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727235AbfJYTcb (ORCPT + 99 others); Fri, 25 Oct 2019 15:32:31 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:33701 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfJYTca (ORCPT ); Fri, 25 Oct 2019 15:32:30 -0400 Received: by mail-oi1-f194.google.com with SMTP id a15so2377864oic.0; Fri, 25 Oct 2019 12:32:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mXGKxFl6d9Tad1bXOR5KQzZcHvU397AW0AArFi6DfxM=; b=WVEnLj2o706lId/1UETsUawHM2H2f2qjEep5xS/nnW9Y++hm4UBhVxl993EH9EbfF/ K7zV14M4qUT8YappXTAE0RR/90F2hVWrv8IHBzb+DjXgLy3Nd3/vcVQjMVWSzixcPQ77 pRZQRiVLyPI92lFGlArtThV9DkiG38Jrb1RRRXGpYWmTdJ5AwFsAEtY+SGcyRRppKcai CXCjchzj5pEnbvoAQDw0WWt2O3McJr6kJZVfDSmoVm+Q4YzuHaJoojLTMvV4xZtn36Qd xN9ASpHsyopqsG2c1A5DyOVBsuyhfNTswGPLu6FU4Jljti5gV7X+eCXgailG7N4VYAre 4gGA== X-Gm-Message-State: APjAAAWv6XCa2hmZSTA3KxPlvsi5b8B0D8bMYkiUw8Z67zgWQ2zcEFz4 mIh/XOu3uOsj+0z6G5VP6O/i38s= X-Received: by 2002:aca:b841:: with SMTP id i62mr4248024oif.123.1572031949663; Fri, 25 Oct 2019 12:32:29 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t18sm990562otm.8.2019.10.25.12.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 12:32:29 -0700 (PDT) Date: Fri, 25 Oct 2019 14:32:28 -0500 From: Rob Herring To: vincent.cheng.xh@renesas.com Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, mark.rutland@arm.com, richardcochran@gmail.com Subject: Re: [PATCH v3 1/2] dt-bindings: ptp: Add bindings doc for IDT ClockMatrix based PTP clock Message-ID: <20191025193228.GA31398@bogus> References: <1571687868-22834-1-git-send-email-vincent.cheng.xh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571687868-22834-1-git-send-email-vincent.cheng.xh@renesas.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 21, 2019 at 03:57:47PM -0400, vincent.cheng.xh@renesas.com wrote: > From: Vincent Cheng > > Add device tree binding doc for the IDT ClockMatrix PTP clock. > > Co-developed-by: Richard Cochran > Signed-off-by: Richard Cochran > Signed-off-by: Vincent Cheng > --- > > Changes since v2: > - As suggested by Rob Herring: > 1. Replace with DT schema > 2. Remove '-ptp' from compatible string > 3. Replace wildcard 'x' with the part numbers. > > Changes since v1: > - No changes > --- > .../devicetree/bindings/ptp/ptp-idtcm.yaml | 63 ++++++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml > > diff --git a/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml b/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml > new file mode 100644 > index 0000000..d3771e0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/ptp/ptp-idtcm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: IDT ClockMatrix (TM) PTP Clock Device Tree Bindings > + > +maintainers: > + - Vincent Cheng > + > +properties: > + compatible: > + enum: > + # For System Synchronizer > + - idt,8a34000 > + - idt,8a34001 > + - idt,8a34002 > + - idt,8a34003 > + - idt,8a34004 > + - idt,8a34005 > + - idt,8a34006 > + - idt,8a34007 > + - idt,8a34008 > + - idt,8a34009 > + # For Port Synchronizer > + - idt,8a34010 > + - idt,8a34011 > + - idt,8a34012 > + - idt,8a34013 > + - idt,8a34014 > + - idt,8a34015 > + - idt,8a34016 > + - idt,8a34017 > + - idt,8a34018 > + - idt,8a34019 > + # For Universal Frequency Translator (UFT) > + - idt,8a34040 > + - idt,8a34041 > + - idt,8a34042 > + - idt,8a34043 > + - idt,8a34044 > + - idt,8a34045 > + - idt,8a34046 > + - idt,8a34047 > + - idt,8a34048 > + - idt,8a34049 > + > + reg: > + maxItems: 1 > + description: > + I2C slave address of the device. > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + phc@5b { ptp@5b Examples are built now and this fails: Documentation/devicetree/bindings/ptp/ptp-idtcm.example.dts:19.15-28: Warning (reg_format): /example-0/phc@5b:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) The problem is i2c devices need to be shown under an i2c bus node. > + compatible = "idt,8a34000"; > + reg = <0x5b>; > + }; > -- > 2.7.4 >