From patchwork Sun Jun 24 18:28:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 933943 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b="HKxJHOFP"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41DLRH4kGmz9s0W for ; Mon, 25 Jun 2018 04:28:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751352AbeFXS2m (ORCPT ); Sun, 24 Jun 2018 14:28:42 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:52329 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751135AbeFXS2m (ORCPT ); Sun, 24 Jun 2018 14:28:42 -0400 Received: by mail-wm0-f65.google.com with SMTP id p126-v6so6864179wmb.2 for ; Sun, 24 Jun 2018 11:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Zh8p/ZwEBlPTMzmzAU58HloX4Lwgfn89EXo+gHWT1vM=; b=HKxJHOFPlbAMEl9ZtM2K2j4s0H4jIF/04MBQ5fBdIcy94s30UTOqRlg4/YqB95ltnp 1T6D1RFlrmNfGsKh0Wm0hegH47hDMhNsnEV29WxzOi3C1hyEKMQM5IF4lLyRt8UyEOJK JVLBGpHyK1SdxRNbAvPpenbAdukLd3uahH2bKpOYaMyGrvV8RggVKqJtI0S3/uFFN4Ky F1l0jROCfWtEyT9AM9EJn/HvQ1bqYGOKwuBQHkT9TEK3xgVZzi2ut9mhzKDVR/+sPSPI LgOD5IUEsxuPQg4iB9GpvtsZJrAT0OBySsQRsG7K9rnl91oZclWZ6aFllwknKistbZny teog== 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=Zh8p/ZwEBlPTMzmzAU58HloX4Lwgfn89EXo+gHWT1vM=; b=IZECmBIAk6HAJRCKUFA118xU+AlH7S36R4JFvEF+qxnPq1pPGynwRmTgdBU/DJKJTz pOlCTY/RUn2Rrk3STE2IrqwTqxEXtRXQeCeC+D77MrFxJty5kjZxL2TlkX93d7x5nO71 qYOJTdZ+dGDbdBPC57KeEO4MyLOOgn8Ise85/JG+tmkNpY+KIkzoK3X4/igAgA1zj0zF WsBLZY5Vu03NOsZHzE4OJb89J6ekDMJ0yL+FjTpg8P5xAmyC7WdeNhFRftq9HREULmc9 Lba6UquaLoClWkyuvzXv4K+Ywr+mRGiICJH4KqJXYhj7ZWangQR0bxp+efE0gmEzvuHB JTFg== X-Gm-Message-State: APt69E3Ha6mLdp7Q44D6VbxlII0D3OE+tQl+Tpv3ChfJqyI/1yymVAeV Pq0dTIRvEFm/0VuQOUf1TDQ= X-Google-Smtp-Source: ADUXVKKrvvyGcfwedOnirJb9M11+va7XYx1f1F00rUj/Ih9GmgM8D/9dP6O1o1lbbxlsuBXpN0CQfw== X-Received: by 2002:a1c:ee5d:: with SMTP id m90-v6mr7326795wmh.113.1529864920919; Sun, 24 Jun 2018 11:28:40 -0700 (PDT) Received: from blackbox.darklights.net (p5DE38BB3.dip0.t-ipconnect.de. [93.227.139.179]) by smtp.googlemail.com with ESMTPSA id u15-v6sm11416419wma.37.2018.06.24.11.28.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 11:28:40 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, carlo@caione.org, khilman@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, narmstrong@baylibre.com, jbrunet@baylibre.com, yixun.lan@amlogic.com, Martin Blumenstingl Subject: [RfC v1 2/5] dt-bindings: arm: amlogic: Add support for GXL S905W and the P281 board Date: Sun, 24 Jun 2018 20:28:11 +0200 Message-Id: <20180624182814.31691-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180624182814.31691-1-martin.blumenstingl@googlemail.com> References: <20180624182814.31691-1-martin.blumenstingl@googlemail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org S905W SoC is another SoC from the GXL family. It is a cost-reduced version of the S905X SoC. The following differences are known: - S905W supports HDMI resolutions up to 4k@30fps (while S905X support resolutions up to 4k@60fps) - the built-in video decoders of S905W decode up to 4k@30fps (while S905X supports decoding up to 4k@60fps) - CPU speed on S905W is limited to 1.2GHz (compared to 1.5GHz on S905X, this is handled in the SCPI firmware) - the DRAM interface on S905W is limited to 16-bit (GXL supports both, 16-bit and 32-bit) Notes based on Amlogic's GPL kernel sources: - the P281 is a development board from Amlogic which uses the S905W SoC. Amlogic's GPL kernel sources indicate that it uses the same PCB layout as the "P231" board (and simply replaces the S905D from the original P231 board with a S905W SoC). - it is assumed that the S905W SoC is pin-compatible with the S905X SoC since Amlogic's GPL kernel sources use the same driver for both SoCs. - gxl_p281_1g.dts contains a comment which mentions that "max gp pll for gpu is 650M, temporarily disabled". However, it seems to boot fine with 744MHz (as used on GXBB and the other GXL SoCs). Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 69880560c0f0..33c672284963 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -41,6 +41,10 @@ Boards with the Amlogic Meson GXL S905D SoC shall have the following properties: Required root node property: compatible: "amlogic,s905d", "amlogic,meson-gxl"; +Boards with the Amlogic Meson GXL S905W SoC shall have the following properties: + Required root node property: + compatible: "amlogic,s905w", "amlogic,meson-gxl"; + Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: Required root node property: compatible: "amlogic,s912", "amlogic,meson-gxm"; @@ -79,6 +83,8 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,p281" (Meson gxl s905w) + - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - "khadas,vim2" (Meson gxm s912)