From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27126C33CB7 for ; Wed, 29 Jan 2020 19:40:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 01ABA20716 for ; Wed, 29 Jan 2020 19:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727415AbgA2Tkf (ORCPT ); Wed, 29 Jan 2020 14:40:35 -0500 Received: from mxout2.idt.com ([157.165.5.26]:50725 "EHLO mxout2.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbgA2Tkd (ORCPT ); Wed, 29 Jan 2020 14:40:33 -0500 X-Greylist: delayed 319 seconds by postgrey-1.27 at vger.kernel.org; Wed, 29 Jan 2020 14:40:33 EST Received: from mail6.idt.com (localhost [127.0.0.1]) by mxout2.idt.com (8.14.4/8.14.4) with ESMTP id 00TJZ4hJ016692; Wed, 29 Jan 2020 11:35:04 -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 00TJZ30M005578; Wed, 29 Jan 2020 11:35:03 -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 00TJZ2W14625; Wed, 29 Jan 2020 11:35:03 -0800 (PST) From: min.li.xe@renesas.com To: robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Min Li Subject: [PATCH 1/2] dt-bindings: ptp: Add IDT 82P33 based PTP clock Date: Wed, 29 Jan 2020 14:34:31 -0500 Message-Id: <1580326471-5389-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). Signed-off-by: Min Li --- .../devicetree/bindings/ptp/ptp-idt82p33.yaml | 47 ++++++++++++++++++++++ 1 file changed, 47 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..11d1b40 --- /dev/null +++ b/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml @@ -0,0 +1,47 @@ +# 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 + description: + I2C slave address of the device. + +required: + - compatible + - reg + +examples: + - | + i2c@1 { + compatible = "abc,acme-1234"; + reg = <0x01 0x400>; + #address-cells = <1>; + #size-cells = <0>; + phc@51 { + compatible = "idt,82p33810"; + reg = <0x51>; + }; + }; -- 2.7.4