Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp745911imm; Fri, 5 Oct 2018 11:02:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV60MDCVD/ZP4QcsI7kjmp6wvgWJbkg+qI3Z/DJS6sFl0shpadgunitVArsI9mYEVrQSkqRUF X-Received: by 2002:a62:76d8:: with SMTP id r207-v6mr13223745pfc.216.1538762542135; Fri, 05 Oct 2018 11:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538762542; cv=none; d=google.com; s=arc-20160816; b=iMl/OBj7Z2Y0ryZjKTTfR9I+L+KXQ+n05rr6oSK6vA0++2E86FQWyUhlJqqNWcEVoZ ZNj0eQT0bj/JDGc2AnPAAYETa2GXOjcjLEp2TG6nFfMBUjDx9gRqC7PlL2k7zBXbjdNr 0gdyXu+HAwid0bpnGBy6+91RgqN9iczoh6dOb2Qx86/eUNGMtjNO+ddmoUvth0yonZ5h zfmvL+u0PMqa9z5oG934V4rp1vTkqODZAHKlNfJ/cDHlgCyarm32Xvo0Cc88RlO2TVHn dtHUNN30pfUuA4AwEj/8AkAliTim8TtsoPisSBzj921Q6JiEZsrZD00JNQiybcCFl29s 0zfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=zoNxd1sQf4bhVATt8RklSISv1vp3Ut2WaEzmkh9zdXo=; b=iJnL8yzOkUhmchupY59c/iaN79Xq+D3mZIJz3JKGev4uB857JRBMJv1QtWDVLxYbif 5f2y4TzTS0x7KSYbsPVUXcjNGOdrw7ripZ0TDz4kRkIj2z6K0ukeQky2HhGmtO3SPJMF +dtkfm4mqtrDx9Lfz2Hy2plZfOrRSz102hTk1IejX/zxis2UbW3wWS0f37mtj8grFV1E VTQ47cWh06J1mnB6bF6PzQoYBmBctsHdp5BquKIi2StjgslZUE03RPkzIbVW3K7I3AVY mmu7/YOoaM9qcIgEG0W8Pz3tr6qD3LxY5LIzid1vGFzMI2wi6S6EHX8+/mSdYtn3awah 5COg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si10797794pfd.107.2018.10.05.11.02.04; Fri, 05 Oct 2018 11:02:22 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729590AbeJFABg (ORCPT + 99 others); Fri, 5 Oct 2018 20:01:36 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:43276 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729025AbeJEX6j (ORCPT ); Fri, 5 Oct 2018 19:58:39 -0400 Received: by mail-oi1-f196.google.com with SMTP id s69-v6so10935170oie.10; Fri, 05 Oct 2018 09:59:05 -0700 (PDT) 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:in-reply-to :references; bh=zoNxd1sQf4bhVATt8RklSISv1vp3Ut2WaEzmkh9zdXo=; b=K9NvKJKJnYlPB+/XEOcbDYU3wuADZTRAM2P+mjDRthw/iPWhSEkLDRQaq8HyKYNlT3 i7d3T9ypU4GI/mwF3syhZHkKNvhXEjreNSoyFjNiDAm9j5BE/0CvXY44X6/jMXh0BQdB fNlUX5Y/OOWNaK2v4veQ/sc5KMvb0+1pB8IDoJ7gqcy8ACqDU9YjvQSYbmjgc2fu0xkM 9/g412RvIzNnEfUiGJG0KhPlrG2EGQ06b026CYvRdY0K6eyD6TloszFOsUefZlT379Pg gZ6VH9Q225eP1ZZFnT3g3x5JO+vJy8fAWYoP/ClfP3DJlh29NZaDVDsxUlDBo5AFkQza gnRQ== X-Gm-Message-State: ABuFfoj0qvbB1wZQTT55gThFoM7cAy/XdSxj0GHF9qK0vOBjLV7uI8vF h6GK/VhoxkApcqE4Z0TP4Jf7BghVTg== X-Received: by 2002:aca:754b:: with SMTP id q72-v6mr6275729oic.13.1538758744745; Fri, 05 Oct 2018 09:59:04 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.59.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:03 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Dinh Nguyen Subject: [PATCH 10/36] dt-bindings: altera: Convert clkmgr binding to json-schema Date: Fri, 5 Oct 2018 11:58:22 -0500 Message-Id: <20181005165848.3474-11-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Altera clkmgr to DT schema format using json-schema. Cc: Mark Rutland Cc: Dinh Nguyen Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../arm/altera/socfpga-clk-manager.txt | 11 ------- .../arm/altera/socfpga-clk-manager.yaml | 30 +++++++++++++++++++ 2 files changed, 30 insertions(+), 11 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt deleted file mode 100644 index 2c28f1d12f45..000000000000 --- a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt +++ /dev/null @@ -1,11 +0,0 @@ -Altera SOCFPGA Clock Manager - -Required properties: -- compatible : "altr,clk-mgr" -- reg : Should contain base address and length for Clock Manager - -Example: - clkmgr@ffd04000 { - compatible = "altr,clk-mgr"; - reg = <0xffd04000 0x1000>; - }; diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml new file mode 100644 index 000000000000..37c2cf08fae0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/altera/socfpga-clk-manager.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera SOCFPGA Clock Manager + +maintainers: + - Dinh Nguyen +description: test + +properties: + compatible: + items: + - const: altr,clk-mgr + reg: + maxItems: 1 + +required: + - compatible + +examples: + - | + clkmgr@ffd04000 { + compatible = "altr,clk-mgr"; + reg = <0xffd04000 0x1000>; + }; + +... -- 2.17.1