From patchwork Sun Oct 20 04:08:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 176987 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1693082ill; Sat, 19 Oct 2019 21:08:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqz19A0Z0VfIuMkxoL8WQdHyyad05CHHTbQXGVj+TeavNnuXVSg/u4K8lCHK8SLfpUr8tkzD X-Received: by 2002:aa7:d90d:: with SMTP id a13mr17929475edr.2.1571544531578; Sat, 19 Oct 2019 21:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571544531; cv=none; d=google.com; s=arc-20160816; b=YXv2dMyWmMs2L7pWPdygiKz8kDgkIfJZ2txi8AAzt6lrrXr8r+anviNSMWD5eTsfNU p+XqPML15wSqrYOjoBykE2f/VbZ2M1GtHwat1RaXHI4OEHSEn4O6Gk4U00Uus75kjCz9 4kzXJ2RvqC2Ju+a9oXn28CYQJ9jkNFWig0c+3hYoHPzwU4GtSMdvgd8i6G7omdJHmlRB fH+Rlsv1I5NJI/W9/UprzLBnv/j8LHbZQjCOHvz4knNUXH0ak+wzCdDl73HB99Jy95RA VQG42wRSfYiHwr3V4ZN3WrCsd/hOkI7lNvBpNje1tBMwtGKwyTZEztlPoXMcZsKsMK8g a6ww== 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=pz0ODod9BRIJpbTQB0VUGlmO09veL729XqPF3Tc/WiY=; b=EjQLStr/SFiUtGYbU5zPcMQTRKK6QD02CDr+ronlSwBu4UmcTZ+cO20VDkrGISidch Bh59EGqU3QWaqGntd0EtcQja9F+xGfVWTpzgTFgJVnai5XaNRb64Xm9VEjxtJ79kzI9m b1N1okOr/EzlU0utsr4o5SEN+3ffPEul5r40axI5MNJPygRtlrN6jngjKis+W02Oy0o6 /XawrngYbhLfz3huChwHORYX9Kd74D7KRG/4dxyEyevFc0pym2JXmHGS+YVH/AZ8/mRm aQl1QRUwR7ZeuRfRjU4j23OQmHGdlcw5cxlCicEcyrIPIvdeYTBqqtzq+kdT8cl1gygu RHAQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id np3si6208788ejb.384.2019.10.19.21.08.51; Sat, 19 Oct 2019 21:08:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726291AbfJTEI2 (ORCPT + 26 others); Sun, 20 Oct 2019 00:08:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:37136 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725875AbfJTEI2 (ORCPT ); Sun, 20 Oct 2019 00:08:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A90FCAC2C; Sun, 20 Oct 2019 04:08:26 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] dt-bindings: arm: realtek: Tidy up conversion to json-schema Date: Sun, 20 Oct 2019 06:08:12 +0200 Message-Id: <20191020040817.16882-4-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191020040817.16882-1-afaerber@suse.de> References: <20191020040817.16882-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Restore the device names for compatible strings as comments. Prepare for adding more SoCs by inserting oneOf. Fixes: 693af5f3eeaa ("dt-bindings: arm: Convert Realtek board/soc bindings to json-schema") Signed-off-by: Andreas Färber --- v2: New Documentation/devicetree/bindings/arm/realtek.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/arm/realtek.yaml b/Documentation/devicetree/bindings/arm/realtek.yaml index 3528b61963b4..66458a3f422d 100644 --- a/Documentation/devicetree/bindings/arm/realtek.yaml +++ b/Documentation/devicetree/bindings/arm/realtek.yaml @@ -13,11 +13,12 @@ properties: $nodename: const: '/' compatible: - # RTD1295 SoC based boards - items: - - enum: - - mele,v9 - - probox2,ava - - zidoo,x9s - - const: realtek,rtd1295 + oneOf: + # RTD1295 SoC based boards + - items: + - enum: + - mele,v9 # MeLE V9 + - probox2,ava # ProBox2 AVA + - zidoo,x9s # Zidoo X9S + - const: realtek,rtd1295 ...