Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1112138ybv; Thu, 20 Feb 2020 13:28:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxZSKBvjpw98vmhFC4/d00CpX87z/Ay7uvRSor+T1Y+R/Rfty5SBiTTNqz3sHpfnuJVzW09 X-Received: by 2002:a05:6830:1e86:: with SMTP id n6mr25627531otr.321.1582234088348; Thu, 20 Feb 2020 13:28:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582234088; cv=none; d=google.com; s=arc-20160816; b=RQPOMstSzuK48fHBbw0qNZbrC3/20ChCiKWwxIDbEB8K/X2ap5yANhrPOlCPNU79+l gKJ9imeSlhDc2KJmwV/Lakc9k+SslBn274P8ut0sqrfIlvCE8E+hamMhWcG7wZOs5TPD I13EC+bSh5OxXj359Uexbs9vp38u8NJsA/6UTavJJE1pUMU4Pf6TULjQgqd9eWDsCVY/ H2H8f495EfvbD26KnQndgD0ebQeEH8QMUMuHLZ128Ov2ae1aDzYX5RYdI/btVMcDfjNQ 0SFt93sOJUPX2XDK+pqignYkaLUJtIyOemGm4llI45POlyGUdeuugNt2YejujAsB0R6L 2Uvg== 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=X5KPqu6x9KsRXRSceByxemEuK4eT9OHZOxSo6eAUqFKLpUnDUK4lmwm3LOsTX93406 FPPc4REzNb4iAjiItuCL/LldK99mr3hnhBFMY+gXBk7mQeJqdTIowtJbqSYNAphhk4NA E/qsnw3p3fkvYqGbH3535z1bGMGjwCtzS8gs2KjjENRbfN5PTTePugane80fLRMundWm sDW9DnfTuI15MMRJucio3oryeb9qcElzGsUZ2l/caS9040cOy00EU4IcIUP4XZALw3Hr T9Vr0thb5sN6TR7yVOjWbEFQslEhrNyBhiSKokc03gq1kFYc82NYHVeqpaSmNEM518rX 88Kg== 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 y19si329748oto.102.2020.02.20.13.27.55; Thu, 20 Feb 2020 13:28:08 -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 S1728992AbgBTV1s (ORCPT + 99 others); Thu, 20 Feb 2020 16:27:48 -0500 Received: from mxout2.idt.com ([157.165.5.26]:44673 "EHLO mxout2.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbgBTV1s (ORCPT ); Thu, 20 Feb 2020 16:27:48 -0500 Received: from mail3.idt.com (localhost [127.0.0.1]) by mxout2.idt.com (8.14.4/8.14.4) with ESMTP id 01KLRfuQ021297; Thu, 20 Feb 2020 13:27:41 -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 01KLReAw029767; Thu, 20 Feb 2020 16:27:40 -0500 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 01KLRdV06567; Thu, 20 Feb 2020 13:27: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 v3 1/2] dt-bindings: ptp: Add device tree binding for IDT 82P33 based PTP clock Date: Thu, 20 Feb 2020 16:27:37 -0500 Message-Id: <1582234057-6250-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