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.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, 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 ED002C43331 for ; Wed, 1 Apr 2020 13:47:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BFFA1206F5 for ; Wed, 1 Apr 2020 13:47:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nigauri-org.20150623.gappssmtp.com header.i=@nigauri-org.20150623.gappssmtp.com header.b="bxn6fusr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732744AbgDANrQ (ORCPT ); Wed, 1 Apr 2020 09:47:16 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:40790 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732690AbgDANrQ (ORCPT ); Wed, 1 Apr 2020 09:47:16 -0400 Received: by mail-pj1-f67.google.com with SMTP id kx8so2745348pjb.5 for ; Wed, 01 Apr 2020 06:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nigauri-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gpcjNNLQA0WgFogrno8/hAByG7ANx+ntF+/9mZ/TVN0=; b=bxn6fusrh8FVy2J1x16GTpyVB+/j78MoEQlJme2KHWxAyQBGUi18q52lW/oKJmVES5 nlpcRV89pUL0TF2wXgCWm042y5phxbswTlr0vrVpqBUAAvlD1zSwkY8fNdf/JtfImS/e kv3+HC8g9Yof0Dmta4iAmQ4u039SVq5wz9Xb/wWuy5IZ6fFOXzkeel/hYe7NfvfXTPzP dZCAA2S67+LmkFw0eJugL7URDV/RQ6Uv0ffGXc0Ic5EyvEuWrsHLCp+d+91gLMcfSdfx nk+DkMW2lA4Bpxdc5bBXKRH8n3g+OsScOC7pkcVvddsF7dBk/nVm1x7RzPM2U0vjMJRP lWBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gpcjNNLQA0WgFogrno8/hAByG7ANx+ntF+/9mZ/TVN0=; b=RK0JU/az2BRxrXT7WgFN3oVDPquFtCFLPX50yYR5Skfw8pvv2ZL8TiBeMIg5GaTUm2 Va+p/DxfKr22sYXa3/S+DuxNPGVYCFthxGzbo9QRlMSXeFBB89O4Dkd7Le3/t5ctBrNN JLl42l2waW//EE/dcjv42oaZE4xb2hzSXahwDHDGM7PCdIRLyitZ0CKKtZKqbX75MNy1 MUYTx3kg+pBQGtxyN8ewdRXanQJUt/rTOVbrmtkuV0hq4vPJJ28LOh8b6FxXjjgIcGpB Qie6UwD5sGQqtpqG0ulKFXMrQbBniDE99lRAMDsTrq2fTfQ1HvIHh+dIRs2BbE8ksaCS r3JQ== X-Gm-Message-State: AGi0PuY+VqZr39tf6MmYgFVji3zfXDEdfxEN6IT/pEzCmv93geKmzFGb 4F30hfKjPJ7Oj7nL6QPA9ku2DRWpkw== X-Google-Smtp-Source: APiQypLFZPHBpXoYMtd+0WFz5JReMGyPKKF6vkPKqKWUXp48l3vkOnvM3cUBSMhQ3ZV66bG76ztBBw== X-Received: by 2002:a17:902:7788:: with SMTP id o8mr18610843pll.9.1585748834975; Wed, 01 Apr 2020 06:47:14 -0700 (PDT) Received: from localhost ([2405:6581:5360:1800:bf52:1f8e:88d2:6ec]) by smtp.gmail.com with ESMTPSA id b17sm1661930pff.81.2020.04.01.06.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 06:47:14 -0700 (PDT) From: Nobuhiro Iwamatsu To: devicetree@vger.kernel.org Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Rob Herring , Michal Simek , linux-arm-kernel@lists.infradead.org, Nobuhiro Iwamatsu Subject: [PATCH] dt-bindings: i2c: xiic: Migrate i2c-xiic documentation to YAML Date: Wed, 1 Apr 2020 22:47:09 +0900 Message-Id: <20200401134709.60421-1-iwamatsu@nigauri.org> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The document was migrated to YAML format and renamed xlnx,xps-iic-2.00.a.yaml Signed-off-by: Nobuhiro Iwamatsu --- .../devicetree/bindings/i2c/i2c-xiic.txt | 25 ---------- .../bindings/i2c/xlnx,xps-iic-2.00.a.yaml | 49 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 50 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-xiic.txt create mode 100644 Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml diff --git a/Documentation/devicetree/bindings/i2c/i2c-xiic.txt b/Documentation/devicetree/bindings/i2c/i2c-xiic.txt deleted file mode 100644 index caf42e9894625..0000000000000 --- a/Documentation/devicetree/bindings/i2c/i2c-xiic.txt +++ /dev/null @@ -1,25 +0,0 @@ -Xilinx IIC controller: - -Required properties: -- compatible : Must be "xlnx,xps-iic-2.00.a" -- reg : IIC register location and length -- interrupts : IIC controller unterrupt -- #address-cells = <1> -- #size-cells = <0> -- clocks: Input clock specifier. Refer to common clock bindings. - -Optional properties: -- Child nodes conforming to i2c bus binding -- clock-names: Input clock name, should be 'pclk'. - -Example: - - axi_iic_0: i2c@40800000 { - compatible = "xlnx,xps-iic-2.00.a"; - clocks = <&clkc 15>; - interrupts = < 1 2 >; - reg = < 0x40800000 0x10000 >; - - #size-cells = <0>; - #address-cells = <1>; - }; diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml new file mode 100644 index 0000000000000..67c1c84ba3dc2 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: ilinx IIC controller Device Tree Bindings + +maintainers: + - info@mocean-labs.com + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: xlnx,xps-iic-2.00.a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + + clock-name: + const: pclk + description: | + Input clock name. + +required: + - compatible + - reg + - interrupts + - clocks + +examples: + - | + axi_iic_0: i2c@40800000 { + compatible = "xlnx,xps-iic-2.00.a"; + clocks = <&clkc 15>; + interrupts = < 1 2 >; + reg = < 0x40800000 0x10000 >; + + #size-cells = <0>; + #address-cells = <1>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 1fb95a12eda48..ffaf0053aba86 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2673,7 +2673,7 @@ F: drivers/block/xsysace.c N: zynq N: xilinx F: Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml -F: Documentation/devicetree/bindings/i2c/i2c-xiic.txt +F: Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml F: drivers/clocksource/timer-cadence-ttc.c F: drivers/i2c/busses/i2c-cadence.c F: drivers/mmc/host/sdhci-of-arasan.c -- 2.26.0