Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2345739ybv; Fri, 21 Feb 2020 13:49:13 -0800 (PST) X-Google-Smtp-Source: APXvYqxMN/jB88Q4ZgnzxY7hGmrJzheZ34fLu3FFu71/sfnjymT9BC0aOEhLNHtnLGbqhe1empku X-Received: by 2002:aca:1c01:: with SMTP id c1mr3820780oic.18.1582321753693; Fri, 21 Feb 2020 13:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582321753; cv=none; d=google.com; s=arc-20160816; b=shgLIHGhuSEcd/t2yZmpWRx8J6rTfsn4junPypupvRQ7kxDff/XQGr12WHREsv4NJ5 L2Q89Bce1rfjpHs/H2P/tnL8VT8Fyi5hCQIb/QDV8e4sdwQ1n8rk2n6IiEapXMCK5FQD fNKw+VzYOr4WY/+roJA9ZF8ky//pz12Ollab0gkM5IEsVrrd1ZOEvinPffYk7mlAmJoJ iPDQtqDvLf0nDjGjnUGGWt50MkrGTazxKJzQDXnuEab2r2WkXRdpD6dgolLdHAVybvHh 1YLk7Rlq4ixtcXbobMsrgjZe/c0BvnoUANx9YzQigx6Jk2bf7J4VALfN0v1chwNAGYko fWKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ItaRtZh+nxLxfvnOPTUDXQvwUY7fTKDqmBSRzPtP0wc=; b=gSIEVw4U4/FyEBkX9p5HIxepf9luV5XPuSkrlEHPkvB0u9+wBstq8n1cmoY/ZO8HQT 2e80fYNRiNU7IlG7P4RmRN+6JApGkXaMq+gC/UVxcB2eCGCUkTffzhavUoRt0TsvjJk4 uiRzprikrJdWX0DmEuyBgw0wqVXzsyLFUi30acgDPFzqF+NxNenxlvbvpkt7eywQHbZA iYHkOKFleLjwVI+cDH0wi37htSG3ocid6S9lZqykAzN4xv3HFp+uvLYW4P+nWm3KKkEK BDw3Dz7DgnycVpBubWlyMGSv/fnJEiHRBAmEhQ7nCxVfgzN1V7ao1fhnlTzlJQjmzpSN P4VA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si2097544oto.170.2020.02.21.13.48.58; Fri, 21 Feb 2020 13:49:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728781AbgBUVst (ORCPT + 99 others); Fri, 21 Feb 2020 16:48:49 -0500 Received: from mxout2.idt.com ([157.165.5.26]:45584 "EHLO mxout2.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728135AbgBUVst (ORCPT ); Fri, 21 Feb 2020 16:48:49 -0500 Received: from mail6.idt.com (localhost [127.0.0.1]) by mxout2.idt.com (8.14.4/8.14.4) with ESMTP id 01LLmgEO018488; Fri, 21 Feb 2020 13:48:42 -0800 Received: from corpml3.corp.idt.com (corpml3.corp.idt.com [157.165.140.25]) by mail6.idt.com (8.14.4/8.14.4) with ESMTP id 01LLmfME013329; Fri, 21 Feb 2020 13:48:41 -0800 Received: from minli-office.na.ads.idt.com (corpimss2.corp.idt.com [157.165.141.30]) by corpml3.corp.idt.com (8.11.7p1+Sun/8.11.7) with ESMTP id 01LLmeW21670; Fri, 21 Feb 2020 13:48:40 -0800 (PST) From: min.li.xe@renesas.com To: robh+dt@kernel.org, mark.rutland@arm.com, netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Min Li Subject: [PATCH net-next v4 1/2] dt-bindings: ptp: Add device tree binding for IDT 82P33 based PTP clock Date: Fri, 21 Feb 2020 16:48:38 -0500 Message-Id: <1582321718-27516-1-git-send-email-min.li.xe@renesas.com> X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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..9bc664f --- /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 + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + phc@51 { + compatible = "idt,82p33810"; + reg = <0x51>; + }; + }; -- 2.7.4