Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3386401ybx; Sun, 3 Nov 2019 17:42:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyAN90SHez9kejzO4k7rW8TMrmGST3/0jGgGYsR+GMKC+7xifewed6PZHbcqqIBDEdynz8H X-Received: by 2002:a50:ab10:: with SMTP id s16mr26293845edc.118.1572831727162; Sun, 03 Nov 2019 17:42:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831727; cv=none; d=google.com; s=arc-20160816; b=0ulmhpHXzd8m+AkdQcUy+dH/12h9W143Y2x1cLLydCyzvpiTjBOZuJhMmrQhgMAqMS 5YXlUjsEoGzPgm+i3VOog4QMh7alMB1qUAtunzYssOJcn4seN+eZqryEo19/dlQGQu05 gS/IyOhfqMokPHwx//O7Gefp3ZnmOrVj5jW/QgBeBfuIXfMIU6DA/Ma4DrpVwcLX70SE 7ZT3+zuH/UjVjkOk8A7jDXY3GS3vmLAL0vPRwy1S3RKeHSoN4cIC2HGO7eBF7tnwjfLS LreT6Sr//b0iNk6sg/nsNvsNcZBQZs6jRkdP421nF7YRjMC0fbx0/r0voRAOwu73WhgT 2HwA== 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=9EFVlR2K8irAQcKZNpvVpCWAayjVNPm81snP0Ql3hNY=; b=Qm/jr+4GPJn8XbRjuxUWuzYwXtVW3DgJOFPOcZchiqJVTT2USEwqTF24L8Ouof/TGC +o1z6nB08pLHVbbcKJvH08w0ICUEzgFuewwtMZ/Cv+Dpol/dMRMpngvFrVLs0KlNyS+Y PVfLUgrKxYaTAtjM5rjm1Jhw70vTPrI7DIPj/frOw2UDBV09nLbX/E1FmJKkI2QcOJAK OOFYh9A7qAK9+vtItLBlA5ILfoolntJ9YggvFvIe6WJo3q16v0B/hsz1hS7wKRLhkXcP OofFB1KEPVkAZ5AsIWEahwTa0SP2r1XHeE6RTRx3uZrub9Jwc4c3vlF98g2v+VoonVF4 5SLA== 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 k10si6114432ede.132.2019.11.03.17.41.44; Sun, 03 Nov 2019 17:42:07 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728928AbfKDBkm (ORCPT + 99 others); Sun, 3 Nov 2019 20:40:42 -0500 Received: from mx2.suse.de ([195.135.220.15]:55790 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728443AbfKDBk3 (ORCPT ); Sun, 3 Nov 2019 20:40:29 -0500 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 12DE7B22B; Mon, 4 Nov 2019 01:40:27 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , David Airlie , Daniel Vetter , Mark Rutland , Heiko Stuebner , Neil Armstrong , Maxime Ripard , Guillaume Gardet , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 1/7] dt-bindings: gpu: mali-midgard: Tidy up conversion to YAML Date: Mon, 4 Nov 2019 02:39:26 +0100 Message-Id: <20191104013932.22505-2-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of grouping alphabetically by third-party vendor, leading to one-element enums, sort by Mali model number, as done for Utgard. This already allows us to de-duplicate two "arm,mali-t760" sections and will make it easier to add new vendor compatibles. Fixes: 553cedf60056 ("dt-bindings: Convert Arm Mali Midgard GPU to DT schema") Fixes: 1be5b54d26ae ("dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible") Cc: Rob Herring Signed-off-by: Andreas Färber --- .../devicetree/bindings/gpu/arm,mali-midgard.yaml | 32 ++++++++++------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml index 8e00a21b36f5..ffdb24c4ab6a 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml @@ -16,36 +16,32 @@ properties: oneOf: - items: - enum: - - allwinner,sun50i-h6-mali - - const: arm,mali-t720 - - items: - - enum: - - amlogic,meson-gxm-mali - - const: arm,mali-t820 + - samsung,exynos5250-mali + - const: arm,mali-t604 - items: - enum: - arm,juno-mali - const: arm,mali-t624 + # "arm,mali-t628" - items: - enum: - - rockchip,rk3288-mali - - const: arm,mali-t760 + - allwinner,sun50i-h6-mali + - const: arm,mali-t720 - items: - enum: - - rockchip,rk3399-mali - - const: arm,mali-t860 + - rockchip,rk3288-mali + - samsung,exynos5433-mali + - const: arm,mali-t760 - items: - enum: - - samsung,exynos5250-mali - - const: arm,mali-t604 + - amlogic,meson-gxm-mali + - const: arm,mali-t820 + # "arm,mali-t830" - items: - enum: - - samsung,exynos5433-mali - - const: arm,mali-t760 - - # "arm,mali-t628" - # "arm,mali-t830" - # "arm,mali-t880" + - rockchip,rk3399-mali + - const: arm,mali-t860 + # "arm,mali-t880" reg: maxItems: 1 -- 2.16.4