Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4832942ybg; Tue, 29 Oct 2019 13:06:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqytfwJTxlKGH0fG8Qh9saFVqQMXdmoZ1kAviRLKBsCDie8mLc4/Ge5zKu5J9ziRnVmTgcY4 X-Received: by 2002:a50:a781:: with SMTP id i1mr27535416edc.17.1572379572898; Tue, 29 Oct 2019 13:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572379572; cv=none; d=google.com; s=arc-20160816; b=YlXDGIpxPOW+2Eygb+ITL5CTJNsSI+Q5/QcuvloJ25SlZLjg4A8lpUppbtp8oTUKTC ybPlCf4l9naG3Uz+MufxS2FRDcOmf1ZX3YBY2ibZ6i7qYXKveYDVohh7+GojtguQZ3b0 XdYGNSrtaONRN7m45OseU0Lkz+5ujxKcKCBuEJ/SVpSxYhdrp2XiRc0azB3Jrj6szCZf FrOM5oFvtguX4M7v1dlYz+RA7nlT/NRqgwzK6qsmIBJJ2XbxeSY5soXWb572M7J6XVix CjE4mNFyjOnE167NPXUpROro9YyYYGWaEzigLeFLPWQIilSB0N70oU9vOqbmvg4Saa5J 0H/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=dZwbF/SbBh6c2Dy0gSgliZ/LGqu5tyPeh1FOp7sb9Kw=; b=RVOKPRc9C3CDf78aFE9Y7kmz2E6Fh+AmOmjs5OHao4VJDdF4UAZ676/Nyyp0Y04PYt aJgwi23HryTxEp9qzA4u2ZM+Kqp0dx88HRhouPP0bATxO2KmlYmogT63VuWRvXnz1iaR 2z81dVt+ONejViE4sYnymLiJB8D091E1M0lB7mZ0H3wE/JdKHIkxUUr3zMRSFpa1RfKx bxZ6nidzroBSmrEl0pE+qey8RRkvoizVuYIz5QypGxl7lJhSgUxAVlAZe+A9yr/R1P37 ImRgbnARpEjELQyUVLRHlviSVNuarirJLy822s0P5Y1+kA++9auwz840mjJe3e3qjIJP 54HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rDap4f8X; 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 q19si9565401ejn.299.2019.10.29.13.05.49; Tue, 29 Oct 2019 13:06:12 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rDap4f8X; 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 S1731344AbfJ2TR6 (ORCPT + 99 others); Tue, 29 Oct 2019 15:17:58 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39577 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727987AbfJ2TR5 (ORCPT ); Tue, 29 Oct 2019 15:17:57 -0400 Received: by mail-wm1-f68.google.com with SMTP id g19so185495wmh.4 for ; Tue, 29 Oct 2019 12:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dZwbF/SbBh6c2Dy0gSgliZ/LGqu5tyPeh1FOp7sb9Kw=; b=rDap4f8XVs+sdZ1jZm/SNk4IDXdR6CXWr4/wcFisDwgqQZtBpFnrrc5kdBcEREmeC3 OKcHSwCWwvEvJe0LyN8pOutiDGI5hifkUi/azcjr1/WnI+BldZ+z5UugtgMrfzvW37Qs U/9vUgbdhjJRB+PYg86ryT2vHQ4nqX4sskxmux0s9Prz/JglQIqK+ZNUaCl8qI6lS0Rs a4QssVPOvSgxy1+vl0FgUpsVKSjrcuKGxdJ1BcCSjAPE6P/1O7S/EzhDvFclwdh/vsJ1 Qp30U5vUnFOVih1FeTW73jUO8mx5OmULlV3cvcWnBYq97U1fxms6II0djHc40TaKq5be 6I7w== 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; bh=dZwbF/SbBh6c2Dy0gSgliZ/LGqu5tyPeh1FOp7sb9Kw=; b=IcN7vPBUzwdTqFb6pTU6dm1Z3tfEvVTmJA4QHBu323yqRmDyPi7wRrqg4tyAZiPCPt QSgbzGlyWhdQSR/QSJavuS9diMwgCBB7JoiHSMFNjNvg4EcBYMgHIjWznQkJP4qE1R81 uXYmZYzehTgiAHaajbEYZFsPWlK3GlQ3b+s65AAmilk5UhQtUgZHnFewjeluIL3YVF0R kRwtws8q7b/Rdkk3z5/blIn6ymt0umYDXMScfPc9BiOXT+wIqQy752vl06IhLYHbFk2m b7M8oj/ohrx3e0hfgnxoYDz7D4J8vUbJbVtRPFKULuZanTcCyECzHK4eQcPgfyWFcDi4 wlOQ== X-Gm-Message-State: APjAAAXJmRXBew7hwHdBlxc7A+mjZWvC3fRTaoRRUMzhZ5KIH6/+cAlb ymf+oC+37ocowM87sKG+/SnU2g== X-Received: by 2002:a1c:7704:: with SMTP id t4mr961210wmi.4.1572376675429; Tue, 29 Oct 2019 12:17:55 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id v128sm5493043wmb.14.2019.10.29.12.17.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Oct 2019 12:17:54 -0700 (PDT) From: Corentin Labbe To: mark.rutland@arm.com, maxime.ripard@bootlin.com, robh+dt@kernel.org, wens@csie.org, jernej.skrabec@siol.net Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v2 1/2] ARM64: dts: sun50i-h6-pine-h64: state that the DT supports the modelB Date: Tue, 29 Oct 2019 19:17:42 +0000 Message-Id: <1572376663-22023-2-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1572376663-22023-1-git-send-email-clabbe@baylibre.com> References: <1572376663-22023-1-git-send-email-clabbe@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current sun50i-h6-pine-h64 DT does not specify which model (A or B) it supports. When this file was created, only modelA was existing, but now both model exists and with the time, this DT drifted to support the model B since it is the most common one. Furtheremore, some part of the model A does not work with it like ethernet and HDMI connector (as confirmed by Jernej on IRC). So it is time to settle the issue, and the easiest way is to state that this DT is for model B. Easiest since only a small name changes is required. Doing the opposite (stating this file is for model A) will add changes (for ethernet an HDMI) and so, will break too many setup. Signed-off-by: Corentin Labbe --- Documentation/devicetree/bindings/arm/sunxi.yaml | 4 ++-- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index 972b1e9ee804..9a1e4992b9e9 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -594,9 +594,9 @@ properties: - const: pine64,pine64-plus - const: allwinner,sun50i-a64 - - description: Pine64 PineH64 + - description: Pine64 PineH64 model B items: - - const: pine64,pine-h64 + - const: pine64,pine-h64-modelB - const: allwinner,sun50i-h6 - description: Pine64 LTS diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 30102daf83cc..f9070d9e6c43 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -10,8 +10,8 @@ #include / { - model = "Pine H64"; - compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; + model = "Pine H64 model B"; + compatible = "pine64,pine-h64-modelB", "allwinner,sun50i-h6"; aliases { ethernet0 = &emac; -- 2.21.0