Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp587967ybe; Thu, 5 Sep 2019 02:44:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwr6QdjubF9nVGyLDatR5F/hUoH1X4wIA/ejXgyjIcNM+jpu3neHaKCAhaPSSOYKO3J50L X-Received: by 2002:a17:902:7088:: with SMTP id z8mr2374724plk.307.1567676694358; Thu, 05 Sep 2019 02:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567676694; cv=none; d=google.com; s=arc-20160816; b=ytjlJrvwsrOXoeJJ67x1NBxOPz1WLa6ykVdI3in9LxVP3IPA53nsAVpeovs2Z5dXuL bwcbqgLAg5FpP89igAmV/ANoSaBcNJWWg6sjOAG57bON24QvlbZC+KtSeVq9zNc4BnsH o/pv6yDnXVgxfS3wl6uCgDlo369jeJxvRwMjYsSstMyY2F/NaQBV8Zc1AY+PDDnkAEv2 DElWv5YtBuuMAacunrvza+xiNhIshx2bTpbwHj4EIdTiJ3PVDE7iAUmWUkt9FvOdvePY D6fN53Br6NvTIzXqBHkf80ATxbOW5msBlknV+/+eWd4Rcl1BPNVSEIb/2Vzkx7FwnyrN cvag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=9/BdIi9v9vT+sjdaqY5A0ECHD5U3qpWLnzpWXvofxDY=; b=vQQjCgXLKxB6LjQuMdgs+taG+UTBK0RTKMHQ5i1yD73tJlZ1u39iwj2a0Zuj8QpC5/ emWcLshkK93GTQpu7ShAqy2K+oUSECwAzdQyAP4NHc+4W9XtxfDdCuPHnZtlmaQmIWzJ iVCHrlBrjE0HLtoSxak0Dphi17vUq2INezVFnHLKT/2TyBkFY1CJ4EcrlhsB++yopN2K /FhGYYeG579uaviB4GaGtEYyekqApFC+p+z0AjAZU2iO+kEu58mB7wKGjHKlFt5zlrin WY0cS6rclDygpLPW7yhyFMzoKLld+64sb1Avs/oww6o++VFMv/9z8bRpuWHwWk7DKFdq adJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=r1nLUBGc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si1515178plt.92.2019.09.05.02.44.38; Thu, 05 Sep 2019 02:44:54 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=r1nLUBGc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732546AbfIEIT0 (ORCPT + 99 others); Thu, 5 Sep 2019 04:19:26 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36634 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfIEIT0 (ORCPT ); Thu, 5 Sep 2019 04:19:26 -0400 Received: by mail-pf1-f193.google.com with SMTP id y22so1247636pfr.3; Thu, 05 Sep 2019 01:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9/BdIi9v9vT+sjdaqY5A0ECHD5U3qpWLnzpWXvofxDY=; b=r1nLUBGcm0bfuZZ9Lr7GSA62KRvGRugvYiQ3s1TSi2oyWNKhdrBXHjTf2ZtGebVm1N sh7wZ2uUUHgw84Q64gm7NOKnM0JGC/frypk5e84p9I93pn5Id8i2RviYRI88bsveSHDY ceTGu6jIfXr9Le2TXdJ+7MVGNwyPmLaPPkUmHclpGnhzdzhdqP5K7uzohK6MqPjmYfoN cSif/IsIjUZQxbdq+gMqUnq0Fel1F2/dwk5Bg2aKRRTkuEgPUD0hhrEZmFnxelU/97z/ tbLkUGImiJljqmi2Vnf1sUR9WIOiAuluSIlPrsiRQWDY+2lgmJqYpeo+dU8x/kpG06Lx Q2qg== 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; bh=9/BdIi9v9vT+sjdaqY5A0ECHD5U3qpWLnzpWXvofxDY=; b=KfALPtawcr0CiiVOCKYdYLNrVT7+VNXwDrk2PKpvWAn8pCv7wLgPBaBZoxay0vuy0i 8kk29AY4KU8THN1SOuTxCw3OqbteTMrxh5bat19+6jpCytvjnSZJ1FWCyyXLGRF9aiKZ qHz69xX0CAAJs3uPkGVjlxzg7d9bqIJId4F+NCJMd3Ouj9ebVLZxSFoyzD/OK+GEuPZg MifxJUQPs0GRnj/gD09zp7doQiHPmwopi2b7kfMBHxdbyxv4Sdt6R0YWQ5bm6hhQ51tH y9l/UU3uMQnTBJoWsYKPEkFjLD9zF0EpyUAWYYnuZ9gGtAt1pQZ7clKO37SI+6lEhrsl aPmA== X-Gm-Message-State: APjAAAW8J+Bp25pJjf27bHjE8oYY+UklzriABO28CmzQmXGjH6cevqD4 ZZd4dupuDXXorJJjNvLBlJ/pAzG2 X-Received: by 2002:a63:e148:: with SMTP id h8mr2013798pgk.275.1567671565558; Thu, 05 Sep 2019 01:19:25 -0700 (PDT) Received: from localhost.localdomain ([49.216.8.243]) by smtp.gmail.com with ESMTPSA id h9sm1170401pgh.51.2019.09.05.01.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 01:19:24 -0700 (PDT) From: jamestai.sky@gmail.com X-Google-Original-From: james.tai@realtek.com To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , Mark Rutland , CY_Huang , Phinex Hung , "james.tai" Subject: [PATCH] dt-bindings: arm: Convert Realtek board/soc bindings to json-schema Date: Thu, 5 Sep 2019 16:17:21 +0800 Message-Id: <20190905081721.1548-1-james.tai@realtek.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "james.tai" Convert Realtek SoC bindings to DT schema format using json-schema. Signed-off-by: james.tai --- .../devicetree/bindings/arm/realtek.txt | 22 ------------------- .../devicetree/bindings/arm/realtek.yaml | 17 ++++++++++++++ 2 files changed, 17 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/realtek.txt create mode 100644 Documentation/devicetree/bindings/arm/realtek.yaml 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..ad9b13bc42f0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/realtek.yaml @@ -0,0 +1,17 @@ +# 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 + +properties: + compatible: + oneOf: + items: + - enum: + - mele,v9 + - probox2,ava + - zidoo,x9s + - const: realtek,rtd1295 -- 2.17.1