From patchwork Mon Dec 3 21:32:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152755 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318220ljp; Mon, 3 Dec 2018 13:33:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/XdyGsl9CW06ZEFmbxtHwJDMNwKuNvgQQRK64au0CwYv6TzZRkzYGOpmrCpClufRZKK39A/ X-Received: by 2002:a62:2044:: with SMTP id g65mr17361458pfg.127.1543872780220; Mon, 03 Dec 2018 13:33:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872780; cv=none; d=google.com; s=arc-20160816; b=wzJrHWaS2LoEeefT+j3dE60VAUC67rUBjWNZiJMnZptOus0CXu6aix/6R9z4Rwjaye kROMblbsO1qVLHEP3StW4c05EL5QA745KE/YAL/ZC2c2yCWyp0YqxwI++bs3Gl1J0ZFP SxR3+NkQuDWFbsbRFaTHOY0alZ3oyUkWf+LErCnmmx03Kf9hiB1ZqL4nmQC41Xh1SIKe RPXacyhb96uCG96E+AQUf61055JL0Q/JN3FFz4h84EkG633G5h9oJIFqEDTfDVSa5zi+ mpQSxQuf7ESJpaXy8nXZVENAaLqdyEkg7FpwSctGP79zIrz05DHZ1AfpUZHUHEESjjXm Hv0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=oC6xtxPGgX0vrAEYZdrzvcerpUBFv1AQjT/XCrxTgx0=; b=VG6qNHq6d/4KDVFJlcrJe8rCt9f3oOvnCBcrwBHF8up+o+W3gvJZ/QDujfXjiz1OQd PX9HuZEfKLgB+jvMZNQxBtiEudRd6e8nc8iYrkduYtKbZlKaOlFjW1rQBO05xzTMfaAy r9fid4pj1PQSJVlSCgS8kta7cGhmfolP3Ax80lmbEpBT3VP9xGL53TNdmzWR9zISwpR7 EIeNDrd6ydHPc7klf5EvVIWdm9V2HwJ6Xp5FrFXFu4ItLrQ7Z6FFXjviCW6R0DhLUIjR j+onnULP1bUeUTSX3qsR8wRKMOoLjUWIEtwl13QCFX5aggtr72N0Y8X3ONbkN0jEtapl n77w== 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 d10si4107699pla.222.2018.12.03.13.32.59; Mon, 03 Dec 2018 13:33:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbeLCVc6 (ORCPT + 32 others); Mon, 3 Dec 2018 16:32:58 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:37582 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbeLCVcz (ORCPT ); Mon, 3 Dec 2018 16:32:55 -0500 Received: by mail-oi1-f193.google.com with SMTP id y23so12373680oia.4; Mon, 03 Dec 2018 13:32:54 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=oC6xtxPGgX0vrAEYZdrzvcerpUBFv1AQjT/XCrxTgx0=; b=gKJmNsEr77qWZ8VoS1P+H6WXgEEle0+MP5kMXxtL9G9dEnKojj6GRoZXJWNyQ+ZX7d UaD/AUBhsGYBLaAiaHvodrGrT+59KekZBUiwT5SAklv8jqfVh64GCo0y4e2/8hlBM0FX fVSwQfyGhbtfqGJi5/7w2D53qXmluY8HY7B7sztDCt4jA0/brl8qnWkU0jIXVFgEn8Bh twkkl8DYcYAvR/0fsU/Su8CAoKEolN+dgjRt8+VittM0fgjI+HAXdURGswHRexznpOsU fB2GliQTSrvPZ3zVOlnQnMjhN2HyjI3MtdtRJPuGtuvX4k/OsUHPj/NdWxv3Bvf+jT6T xxGw== X-Gm-Message-State: AA+aEWZvSopBTHTa8YxAY4kMCAhCTzGSmlibnw9L/rVTpxIrO0Rqp3tc mvb6N6DEv4qfZEaBZ81W6incS4k= X-Received: by 2002:aca:5b88:: with SMTP id p130mr10394553oib.96.1543872773873; Mon, 03 Dec 2018 13:32:53 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:53 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Mark Rutland Subject: [PATCH v2 23/34] dt-bindings: arm: Convert Realtek board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:12 -0600 Message-Id: <20181203213223.16986-24-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Realtek SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/realtek.txt | 22 ------------------ .../devicetree/bindings/arm/realtek.yaml | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/realtek.txt create mode 100644 Documentation/devicetree/bindings/arm/realtek.yaml -- 2.19.1 diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/bindings/arm/realtek.txt deleted file mode 100644 index 95839e19ae92..000000000000 --- a/Documentation/devicetree/bindings/arm/realtek.txt +++ /dev/null @@ -1,22 +0,0 @@ -Realtek platforms device tree bindings --------------------------------------- - - -RTD1295 SoC -=========== - -Required root node properties: - - - compatible : must contain "realtek,rtd1295" - - -Root node property compatible must contain, depending on board: - - - MeLE V9: "mele,v9" - - ProBox2 AVA: "probox2,ava" - - Zidoo X9S: "zidoo,x9s" - - -Example: - - compatible = "zidoo,x9s", "realtek,rtd1295"; diff --git a/Documentation/devicetree/bindings/arm/realtek.yaml b/Documentation/devicetree/bindings/arm/realtek.yaml new file mode 100644 index 000000000000..84ee9b22ef7a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/realtek.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/realtek.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek platforms device tree bindings + +maintainers: + - Andreas Färber + +properties: + $nodename: + const: '/' + compatible: + # RTD1295 SoC based boards + items: + - enum: + - mele,v9 + - probox2,ava + - zidoo,x9s + - const: realtek,rtd1295 +...