From patchwork Mon Nov 4 01:39:26 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: 178383 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851552ilf; Sun, 3 Nov 2019 17:40:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxE+0lO+C3ARgYDO5WWd8QKpLPMZCtZq32dpY+NdxyOJ/NTUd74soWcy1sL6ww8e65WTdeE X-Received: by 2002:aa7:c1d4:: with SMTP id d20mr27061967edp.47.1572831643974; Sun, 03 Nov 2019 17:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831643; cv=none; d=google.com; s=arc-20160816; b=qlGn6TRiPwWr2Gg9wTRBs+gAlUau8O/CyLmF/Di2Oq1kN7ESsoevzyxX6rHFutqtyX 9VxgYJ9htO7fefGs4hToF1DJMqxFsmiBcOEdgCemhGzfCVWPgyGbOUiN7HGwNZo+7PMJ bfkw1AWa1HXI8BgBlPp81ZXzetYE1m2AN4Cb/KSBmVuvCWn86P8srr7vso0jQmGAdI3D Ktq/kEW5ryN9OByblUOpkQcdZV93NAYEWxg2A4yu66IyV08EpLcPa7GZEiyqImi9whAe G/KlQYqIg0qVBtKCYj9f/HMBd6kHjtyBTq/TXnwnm7H4GKFnGKl5GLp5skWBkfnarNdJ lqjA== 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 95si5884041edq.244.2019.11.03.17.40.43; Sun, 03 Nov 2019 17:40:43 -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 S1728935AbfKDBkm (ORCPT + 26 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_F=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_F=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 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(-) -- 2.16.4 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