From patchwork Tue Jun 18 21:22:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 11002871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10642112C for ; Tue, 18 Jun 2019 21:23:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F27C0288E0 for ; Tue, 18 Jun 2019 21:23:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E590C28936; Tue, 18 Jun 2019 21:23:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 80142288E0 for ; Tue, 18 Jun 2019 21:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=b8p6+CSOJeT7pDS8TYDD0eceuHIkyh0kD6IY/qq8Msw=; b=ooDyvcCd947Hz7 4//O4pUbWg0qOglbOUTn3yOmeb26Tn1p5GqTUetpIUr1jRcTOa5yEv3OnknfqlfRR//fbty/GKdpl NJ29hatf84t0tKI4p2+nu+2QDx/ay9lphf0qm2DLXLn1SxT/keE6ulSNayFv7SodIj06nlEjBx2Oi AMakqNcyvbQ8DZtOMOARPR7k/9Ys5YJLl0CD/yDKLJR3ynl6Pn0yalMCi6MYzuXjkZf3BnM6H8+bq jKcAtU6J2BKqmkgOBvl448wGjdWXMuPKq7GyXunseJcm1MYRGO2I9F9Naz69880V5pwPCkJaHLszC XNfWjuZQDyzLhAEp+I8Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdLZd-0000jz-ND; Tue, 18 Jun 2019 21:23:25 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdLYq-0008TM-KB for linux-arm-kernel@lists.infradead.org; Tue, 18 Jun 2019 21:22:38 +0000 Received: by mail-io1-f65.google.com with SMTP id s7so33147955iob.11 for ; Tue, 18 Jun 2019 14:22:36 -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:mime-version :content-transfer-encoding; bh=oMHPI35360QufLzN+4Af6FW7H+HNv6sQR/L9S4vlS8g=; b=r9wK2PmYlB5++TWk+M658vWaed6m7FzZosd5fbJ5v/3LUw3FJq5h+zlGE2jfkdUOOO m8dgYRQHWBmOe1v9OSbhYB+cNwKMYWkeU3X1xAlqRg6GiRitN4b4xYFLbYTndBHeTqyI 627Gf1nZpQ5k7eD6GqSm6Za1eqwb+0N8qd4qA6UErmeX/t6Ejte4A6mnfbcNCnbYg3iF mw1l4XULqs3QjJ63SU+b7+aLvPT8IpCehXtqs+sY0ds9tM1te5QdAwukJD0cPDhy/XY1 DWs7ifl5g1mKAOjvYDokJEEb3dndpshZyLpMGlBP5fYoCMuq1sWGWqbdv8dB/xed0pEK oftA== X-Gm-Message-State: APjAAAWYV310hig2a8+P+CILdJ1RMeNchlyumq2A0GwnFuXHMFkZukrU uZYgNHr5qqyulXyO3ViZew== X-Google-Smtp-Source: APXvYqxzfgOcDR9cnTkVTzVzzuH6pKPixOSFtXOrtwcaLc+HIdWrrCqbV9V68mP6sK4aBGUAPNzzGQ== X-Received: by 2002:a05:6602:220d:: with SMTP id n13mr3726065ion.104.1560892955748; Tue, 18 Jun 2019 14:22:35 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.192]) by smtp.googlemail.com with ESMTPSA id p9sm13233480ioj.49.2019.06.18.14.22.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 18 Jun 2019 14:22:35 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: arm: Convert RDA Micro board/soc bindings to json-schema Date: Tue, 18 Jun 2019 15:22:28 -0600 Message-Id: <20190618212229.32302-4-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190618_142236_682244_AB83887A X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, Manivannan Sadhasivam Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Convert RDA Micro SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" Cc: Manivannan Sadhasivam Signed-off-by: Rob Herring Acked-by: Manivannan Sadhasivam --- Andreas, Update the license on this one too to dual licensed if you want. Documentation/devicetree/bindings/arm/rda.txt | 17 ---------------- .../devicetree/bindings/arm/rda.yaml | 20 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 21 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/rda.txt create mode 100644 Documentation/devicetree/bindings/arm/rda.yaml diff --git a/Documentation/devicetree/bindings/arm/rda.txt b/Documentation/devicetree/bindings/arm/rda.txt deleted file mode 100644 index 43c80762c428..000000000000 --- a/Documentation/devicetree/bindings/arm/rda.txt +++ /dev/null @@ -1,17 +0,0 @@ -RDA Micro platforms device tree bindings ----------------------------------------- - -RDA8810PL SoC -============= - -Required root node properties: - - - compatible : must contain "rda,8810pl" - - -Boards: - -Root node property compatible must contain, depending on board: - - - Orange Pi 2G-IoT: "xunlong,orangepi-2g-iot" - - Orange Pi i96: "xunlong,orangepi-i96" diff --git a/Documentation/devicetree/bindings/arm/rda.yaml b/Documentation/devicetree/bindings/arm/rda.yaml new file mode 100644 index 000000000000..51cec2b63b04 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/rda.yaml @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/rda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro platforms device tree bindings + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + items: + - enum: + - xunlong,orangepi-2g-iot # Orange Pi 2G-IoT + - xunlong,orangepi-i96 # Orange Pi i96 + - const: rda,8810pl + +... diff --git a/MAINTAINERS b/MAINTAINERS index 2c6f4d15805e..56ee276088eb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2111,7 +2111,7 @@ F: arch/arm/boot/dts/rda8810pl-* F: drivers/clocksource/timer-rda.c F: drivers/irqchip/irq-rda-intc.c F: drivers/tty/serial/rda-uart.c -F: Documentation/devicetree/bindings/arm/rda.txt +F: Documentation/devicetree/bindings/arm/rda.yaml F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt