Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1070355ybv; Thu, 20 Feb 2020 12:34:24 -0800 (PST) X-Google-Smtp-Source: APXvYqy62v9p92exaVZuyivt0lJ+yMMHUvRdoBV5aYAhtoiW0rFINji+AOOuN4Wi/kO3pXXBqteG X-Received: by 2002:aca:c3d5:: with SMTP id t204mr3564860oif.80.1582230863859; Thu, 20 Feb 2020 12:34:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582230863; cv=none; d=google.com; s=arc-20160816; b=ONe9yOeXxjb7K6R46n2gl234xqQJwiJ0B9DMBYC0uDg6bEMOFkAjPsU96Rcpa7n8Ef A5a4S9WGWPFDH5FeYX/qE2qr1DumYOt2+DSfxLRF6tfI3wFJ3C4LQRmln0iTa8rAYhO5 THJ+8ZjgGrLCdDWrs8hl2/jLDEPbTZmCoz2hnynBIXZFU4zRWJUv4TwHw8VEXL5zeKRg SCpSHrHUvbUcdIKhqKwuj7XPIOidlYujuslekV12al43h6G/mOn6veoaWo7qq+BZbbIF lSAxIoblas0ZyxZHflgCkquuj/0Kd7j6WupwlIK6uiX/M1ToVj9Y2KA8uTtrjC5ETPqD My6Q== 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=Hkd9C9uM7I5N5N1M4lkGFRcBEtmwtCt/06+G542D6HY=; b=QaBSSBN9WcxcxjgnYDp9wFsQCg59L11gT7FYxaNQNUmgJkdGoUZkNmU19IZPzkcjDS 0n8LdFhW1X29fdM12/AJu7fBW9E/1TjXHYipspwD+77V8RWzjF6SgkKOCnN9a/tJI5FB T3UuV7JzF2jF5sXhyfKYACYtHp6bkQoCHXcgVgu6FmREWOoMjWecHOvvgz2/AwZ87IVt VHFw0qaGH0pDKpGdDVv5ajPtMnD2vygTx7vVq5L14QxvvOVsx3JAqiQ7zujgDRBirsD0 I+aA1Bh+FittexoQGoihmvje6NA/wJ4hCOYQQa0qiW4ORmY4mUcqVtYeDC5gYtiDie+E o9Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fzojo25+; 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 x23si196948oie.50.2020.02.20.12.34.10; Thu, 20 Feb 2020 12:34:23 -0800 (PST) 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=Fzojo25+; 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 S1728958AbgBTUeG (ORCPT + 99 others); Thu, 20 Feb 2020 15:34:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:55470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728400AbgBTUeG (ORCPT ); Thu, 20 Feb 2020 15:34:06 -0500 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (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 74D1C206F4; Thu, 20 Feb 2020 20:34:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582230845; bh=F9tVkLvbTtnyCTkxjsPTjMJF2s7fBBIXy1nkIivydXQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Fzojo25+IjDEp2m6iOVojDJPHo1QvMn9XtQv6ZtEtVPZLqeqdjjzoSAD8FkGHAyiX yDkB5RlnIycJb61BjYKdmDrtqZ7RzYGm9stKn5EdX7cdiZmQI808A89TXfm+LXKyHr M8/7HAVdNgbGyMGxU6dZrA8Zun5Q4883PBPRq8so= Received: by mail-qv1-f43.google.com with SMTP id ff2so25860qvb.3; Thu, 20 Feb 2020 12:34:05 -0800 (PST) X-Gm-Message-State: APjAAAV5+BXWy/nZNO9dqpOksAkjRBzsxxA3M57Ke/KWF9NncR9YiJYK JHaM4YlqP6D8CW4DPPLZCufEhOIcBe6X7hvBIw== X-Received: by 2002:a05:6214:11ac:: with SMTP id u12mr27585073qvv.85.1582230844675; Thu, 20 Feb 2020 12:34:04 -0800 (PST) MIME-Version: 1.0 References: <1582149375-25168-1-git-send-email-min.li.xe@renesas.com> In-Reply-To: <1582149375-25168-1-git-send-email-min.li.xe@renesas.com> From: Rob Herring Date: Thu, 20 Feb 2020 14:33:53 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: ptp: Add device tree binding for IDT 82P33 based PTP clock To: min.li.xe@renesas.com Cc: Mark Rutland , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" 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 Wed, Feb 19, 2020 at 3:56 PM wrote: > > From: Min Li > > Add device tree binding doc for the PTP clock based on IDT 82P33 > Synchronization Management Unit (SMU). > > Changes since v1: > - As suggested by Rob Herring: > 1. Drop reg description for i2c > 2. Replace i2c@1 with i2c > 3. Add addtionalProperties: false You copied my typo. Should be 'additionalProperties' 'make dt_binding_check' would have caught this for you. Please run it. With that fixed, Reviewed-by: Rob Herring > > Signed-off-by: Min Li > --- > .../devicetree/bindings/ptp/ptp-idt82p33.yaml | 45 ++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml > > diff --git a/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml b/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml > new file mode 100644 > index 0000000..25806de > --- /dev/null > +++ b/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/ptp/ptp-idt82p33.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: IDT 82P33 PTP Clock Device Tree Bindings > + > +description: | > + IDT 82P33XXX Synchronization Management Unit (SMU) based PTP clock > + > +maintainers: > + - Min Li > + > +properties: > + compatible: > + enum: > + - idt,82p33810 > + - idt,82p33813 > + - idt,82p33814 > + - idt,82p33831 > + - idt,82p33910 > + - idt,82p33913 > + - idt,82p33914 > + - idt,82p33931 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +addtionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + phc@51 { > + compatible = "idt,82p33810"; > + reg = <0x51>; > + }; > + }; > -- > 2.7.4 >