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: 10484743 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1AC356019D for ; Sun, 24 Jun 2018 18:31:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09DBF2883D for ; Sun, 24 Jun 2018 18:31:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2C9E2886D; Sun, 24 Jun 2018 18:31:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A2CA02883D for ; Sun, 24 Jun 2018 18:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ESHxjQSnUnmdzTpGVupW64b978f4WLq1SCxKiTXsWQo=; b=c3xUfDiVYRq4ObaEVAlRoXZj1Y 8SnFOh8m0+o11fz75tCQAUPrTjOWvtNzR6y3ttX4Am5XmtVnKgcVRmrS+NS8Qnk/e+H4w/eXF1asS PQCN8MAxqRhReX+2/aOob0yr9hOoCjwUmsbOGQ5sv4WkGymDpToXKbu1J70gAcxoXuXcg9+Rgxbwo WQTql4ZZCmmRduCxUqQ7dNpgsXY4w0qcoGi3nVsN8OwPzmTwItRL4AINkBoluoRmwhzUN99UNq+Z3 tcCu9u+3n9i4/88uYjQRM/LDKFL1nwThQTu5TsFJIna9JFn0WExKrpArZnefAkyE3RFlSs++IPXV+ dXqqEFug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fX9mv-00048m-C1; Sun, 24 Jun 2018 18:31:01 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fX9kq-0001mK-Sv; Sun, 24 Jun 2018 18:29:01 +0000 Received: by mail-wm0-x242.google.com with SMTP id o13-v6so6828947wmf.4; Sun, 24 Jun 2018 11:28:42 -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=lefZtQHXX1DcuaX4Yt4TIThdJUz5NoOs7WmLHNiN4rPOWyXQidevfuNyjwNTO1nEXO vkRteug6Z7El5VLqznAN29mD8UCVkev8PQXXbRIRf89buOZPKfv3ig8ZLDEddCqCVNOf Zyl7tp9eNA9o75b7GyK5y04X2CcbMfIs4xiE4HAdbXD5UwXt5XhXYFBFfkMTHK4s0Czj SqaANKXJYgiDhzYL1v+fPmgZJrEJQN2NoCOoZDfePmIq4U0tqN/K8TJKn/JVxghgi5YZ 3JVfC4geRJEtpj+8NRuAFWDCSPF8nJ9TZ8k6aBrAEbDyS7RrJJmIkVsfJtzCUt2XLGl4 i9mA== X-Gm-Message-State: APt69E1xJtXDnZ9yZuWXt9cV2mbFtkqQFQc0Eu+b7J+phXHlAKUj+PiI STUjQfM+AGPzzD6dg2zebBLgggZX 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180624_112852_963550_96E1FFF4 X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , jbrunet@baylibre.com, yixun.lan@amlogic.com, linux-arm-kernel@lists.infradead.org, narmstrong@baylibre.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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)