From patchwork Sat Jul 14 19:37:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 943993 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="c8Ivtw/7"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41Sg1n0FHdz9s2x for ; Sun, 15 Jul 2018 05:37:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727955AbeGNT5w (ORCPT ); Sat, 14 Jul 2018 15:57:52 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50456 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727684AbeGNT5w (ORCPT ); Sat, 14 Jul 2018 15:57:52 -0400 Received: by mail-wm0-f68.google.com with SMTP id v25-v6so11605802wmc.0 for ; Sat, 14 Jul 2018 12:37:46 -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=QO15FxUdjntMA5Lil1N3XSi5Sc+2rK7Tlx6/4efJOZw=; b=c8Ivtw/7PfzOyCu68L5upKvwcBpFVyUnMmE0UkXfR1S7rgmjzyRBdSryQoQGbkyMSz hIZlzFaBwqH6J6Tgyi02lsKNqHEWLHBf+X+9uviOnK1FEGS0EKL26s4PT2Z99UgV+EJ6 6Jx+6XEn8qUOD+oI/jB8B/K0U1sk+70DvC9s3mp9KTUTygwI1xmrG/p2QbTPajR/FTnk 4kxwWrMLY+ijJLqn8QZlS+d5JxJIW1BOIzTYY2OEtXDISJRr0gFiFRQuK7fL718r8ia/ pqujVZWQMc+Vvi3cTpMu4kvHv3bl6kHioBT3EpB1fRrwJO+yFdzKbuNLBzPLiYMGaLFe VlIQ== 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=QO15FxUdjntMA5Lil1N3XSi5Sc+2rK7Tlx6/4efJOZw=; b=O+vkNlGUfLxCWwmVsP0s0CDRGVM3y/IooK++roUFIoIDuUEDdQ2X8l87FhjWVWdtG0 0Wf6ZnArT6WGnyoozYKCJgs5/I12ibMNMHBUoeq4PH8rjGzNyfMJKG1J+KQsevsFRv0v Jz1WooYxPkkZvBPFk3FROQ4PxQTlemhYgGduy3yFSXBldsvNMlkR6ZtwH/XSNHZlSgts 2gq6Kv2DAKRgQDDAsgJnZzuF2eJDJzFWgG/yALh0i2FDqRRunPolzVB+7AB8D66gNAXU JMKaLPe+jcZNF2vg9JP7TBtQWUQ3aIQ0DdSbZXXoQ2eBnjYp0a99oZUwtoesQZFUepJZ S22g== X-Gm-Message-State: AOUpUlFSqAZmfH7nZ5RyRnhRJdp4nCBT3fz6aisgVOX6IXrqBqTK8c8E Ox34pVtpudrZwYuhAnFDbtM= X-Google-Smtp-Source: AAOMgpcZVj7sRojXQO/4r1pqLxU5q9RiZo5JGkbvYbaic4zQwnyfn3KM6QRKOG3F5kB7iaGj6TW6Uw== X-Received: by 2002:a1c:8010:: with SMTP id b16-v6mr6991775wmd.41.1531597065669; Sat, 14 Jul 2018 12:37:45 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD71B5B00B1229D85769AEDA3.dip0.t-ipconnect.de. [2003:dc:d71b:5b00:b122:9d85:769a:eda3]) by smtp.googlemail.com with ESMTPSA id o4-v6sm51194835wra.3.2018.07.14.12.37.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Jul 2018 12:37:45 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, carlo@caione.org, linux-arm-kernel@lists.infradead.org, narmstrong@baylibre.com, jbrunet@baylibre.com, yixun.lan@amlogic.com, Martin Blumenstingl Subject: [PATCH v2 2/5] dt-bindings: arm: amlogic: Add support for GXL S905W and the P281 board Date: Sat, 14 Jul 2018 21:37:22 +0200 Message-Id: <20180714193725.17837-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180714193725.17837-1-martin.blumenstingl@googlemail.com> References: <20180714193725.17837-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 Reviewed-by: Neil Armstrong --- 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 849834cb1766..8178da8742c3 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -45,6 +45,10 @@ Boards with the Amlogic Meson GXL S805X SoC shall have the following properties: Required root node property: compatible: "amlogic,s805x", "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"; @@ -85,6 +89,8 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p241" (Meson gxl s805x) + - "amlogic,p281" (Meson gxl s905w) + - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - "khadas,vim2" (Meson gxm s912)