Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1096143ybv; Fri, 7 Feb 2020 14:25:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwTDrHCa1EEzBY1rkvb742z9ajpBWJkO/Poqm3RqmvxK4aS98ElVftuA5URPG4SG/DMv2Pq X-Received: by 2002:aca:afd8:: with SMTP id y207mr3438784oie.96.1581114341500; Fri, 07 Feb 2020 14:25:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581114341; cv=none; d=google.com; s=arc-20160816; b=TZesxA7g2yj6S7g1hZZc/GtzAJzkA7XkqWZj7y8Fp8ZPWqw8Qh480X6jV+FvJEE99f k+Fy26ouoLZOcLDk5Ltc4rZQ+RS9uMfKBtnD8Cv+UG2sGVYGewnItlKPB7cGoQkzBOzu FFpCctoeRY50MLAaeIvPKNknfl/89qGewhpO/OjPLl1GVCHyurhtGQSPE9YZmd6iHJY5 x3cXlmEiatdYTW7kzkaNKakYxaL0SiuKg7jPuDLs07K9J+zoXCnzv8Gy7C5ElpBARNt2 fw49pP0vBjHUcXE3k1bnkoSuqcHPc6yLAfPclcwN032PQSjKVFTkJvgFFN5go5DtNN1F QIdg== 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=lrMmzrlT4r4sB5jP5tEnf9v4YpBQgTe2ZlymgZb3j04=; b=JOIFw4dzQffWwSWu/ilHBHDy4ejsFPm3yl2BMb4p0YXgYhbkfPGDG3ar1I6XWCQTk6 DmXWP6tMq7onIa9jkfEWTPUYmIvWesjFpFwD/1tKtfLBe+mV9smrd3cLEn5E9c1eQdx7 C3bz+7nG7uHn91UxzQcVJiWM/yf0kp9jvYyIfXZACGeE5Pjlogy0lf5Ij2JoVwaE03pn srkvDdi3NXVR1xBaOR/Rb8h+o05Lfbb1eHvy8nw2q+5MUIe4LekRMjEon92G+lKbrH8h qSctMss3yHInORKtU5Y2g0DsWRlrMdEgKill+hzbWSGP+dYaihegwBgGq5mraOKv6q7n K3RA== 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 n2si343125otq.315.2020.02.07.14.25.29; Fri, 07 Feb 2020 14:25:41 -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 S1727347AbgBGWYj (ORCPT + 99 others); Fri, 7 Feb 2020 17:24:39 -0500 Received: from mxout2.idt.com ([157.165.5.26]:60256 "EHLO mxout2.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbgBGWYi (ORCPT ); Fri, 7 Feb 2020 17:24:38 -0500 Received: from mail3.idt.com (localhost [127.0.0.1]) by mxout2.idt.com (8.14.4/8.14.4) with ESMTP id 017MOSXV028453; Fri, 7 Feb 2020 14:24:28 -0800 Received: from corpml1.corp.idt.com (corpml1.corp.idt.com [157.165.140.20]) by mail3.idt.com (8.14.4/8.14.4) with ESMTP id 017MOSvu009547; Fri, 7 Feb 2020 14:24:28 -0800 Received: from minli-office.na.ads.idt.com (corpimss2.corp.idt.com [157.165.141.30]) by corpml1.corp.idt.com (8.11.7p1+Sun/8.11.7) with ESMTP id 017MORV16714; Fri, 7 Feb 2020 14:24:27 -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 v2 1/2] dt-bindings: ptp: Add device tree binding for IDT 82P33 based PTP clock Date: Fri, 7 Feb 2020 17:24:15 -0500 Message-Id: <1581114255-6415-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 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..4c8f87a --- /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 + +examples: + - | + i2c { + compatible = "abc,acme-1234"; + reg = <0x01 0x400>; + #address-cells = <1>; + #size-cells = <0>; + phc@51 { + compatible = "idt,82p33810"; + reg = <0x51>; + }; + }; -- 2.7.4