From patchwork Sat Jul 14 19:37:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 943992 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="JGV0IgK4"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41Sg1m1nD6z9s3R for ; Sun, 15 Jul 2018 05:37:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729201AbeGNT5v (ORCPT ); Sat, 14 Jul 2018 15:57:51 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36551 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbeGNT5v (ORCPT ); Sat, 14 Jul 2018 15:57:51 -0400 Received: by mail-wm0-f68.google.com with SMTP id s14-v6so12211269wmc.1 for ; Sat, 14 Jul 2018 12:37:45 -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=qEeKwNTomTgrMS93hodV0xT6dFDejafWOfNjlg3dHb4=; b=JGV0IgK4qVh/0e4EJTEIewyU7WRXdm8qbsyaGMxF0DkCAmLRfSDVBcM3b4iFl48Uzb njWCOK9Bfq95gukx5zqe87vvLti2lZFXrm59W3x+2nKUahLoijgoGSN/1w2wJQ1nvQ/v JhJA9q8PRBXoFYXYzIi7ZtRk0HhHxaZg/DWc8jTHOfa5q2Sluq/5qUHDJt3vl2HS9i8Q y6ZqHrXv5whL359PV2O7vlqJlEZ2eNQz5j4SMUGAIL48trMkhsUUzhleBDVx+CCTuvvk NDHXTxYkRtlbavmAD47ndh9R9rhIEVbsDaJ+1Up7aj2vbcnq9vHf4SPDN1aRWBN5Nahf 6hlA== 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=qEeKwNTomTgrMS93hodV0xT6dFDejafWOfNjlg3dHb4=; b=J1CLF8AohNOfq6MOd3RdQb0SnH1A+Dn87HhrHHYR17QXmGKYP0CeG/N0OkDtmJcUhV ggxs/EVdstUjUzOcXQKr1KxADeurok4B8I+GVALjniQ2bY4xunDo9L7PiFW2ZLGCH2a4 D/TH9rOC725WOcKt2stEd2AGQNFJVSd7V+PUEUjoWbeot0F2+pzIeJ8BxYMuxqha+yNk BWbzORt9/nVvB9Nd75qqyv/bFPDBLjpq+31pD3NLcHinrPVk9dorWuQApbi8CLBApOWt DTU3bd19uMxBUnpCTPtNvZAEWQftyHowtVRaFVQWtYqKvTDfAC7vEhLHOT+dDdeUkhcF hEZA== X-Gm-Message-State: AOUpUlEJLDsOp7XHxUPZyfzu4Xf2sb+Gcn4gbNalTDJ7TN1nhX93rH/5 Z9V68Rbhhm/ABc6TB7UijUM= X-Google-Smtp-Source: AAOMgpdtZff5zKg02iSmnA4pJxjKCHQPH30oBRevBcs8c8f300jQe/h2d5Nj+8vSo5UTeedu5ShfAQ== X-Received: by 2002:a1c:d942:: with SMTP id q63-v6mr6930358wmg.78.1531597064513; Sat, 14 Jul 2018 12:37:44 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Jul 2018 12:37:43 -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 1/5] dt-bindings: add vendor prefix for Shenzhen Oranth Technology Co., Ltd. Date: Sat, 14 Jul 2018 21:37:21 +0200 Message-Id: <20180714193725.17837-2-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 According to their website (http://www.oranth.com/about-oranth/) Shenzhen Oranth Technology Co., Ltd. (or simply "Oranth") "is a professional Design House & Manufacturer for Android TV Box established in 2014". One of their brands is Tanix (sometimes also spelled "TANIX"). One of their most popular devices is the "Tanix TX3 Mini" TV box (which uses the Amlogic S905W chipset). Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 7cad066191ee..5b9a96d863ee 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -271,6 +271,7 @@ opalkelly Opal Kelly Incorporated opencores OpenCores.org openrisc OpenRISC.io option Option NV +oranth Shenzhen Oranth Technology Co., Ltd. ORCL Oracle Corporation orisetech Orise Technology ortustech Ortus Technology Co., Ltd. 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) From patchwork Sat Jul 14 19:37:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 943994 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="dJG25Nzr"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41Sg1n5006z9s3x for ; Sun, 15 Jul 2018 05:37:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729422AbeGNT5x (ORCPT ); Sat, 14 Jul 2018 15:57:53 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38727 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbeGNT5x (ORCPT ); Sat, 14 Jul 2018 15:57:53 -0400 Received: by mail-wr1-f68.google.com with SMTP id m1-v6so15387349wrg.5 for ; Sat, 14 Jul 2018 12:37:47 -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=PsRR2K7OeMsdi/pj2JKzplf/10cNgWLTyhQ4z86Tgxw=; b=dJG25NzrNQModR6WQYElnRoSj4eD27ybXOax4MteNm3Tw6bCnBWyuYTKc5qiNk+1WN rGxESmfjUZEw908qbujGpYIX9rMTTzyvcJjMDuxJZhDBbCZvN5kB4nywyTz8JlWhty2P dhdQxAatgSBpkjaZmWW8rKY4se/73A2c9csENJae/WtDbsogd9KN7JoiQmsuE3Y/VwuX QllhYkVw1gW8sHjoGUTeNfPAWMakf1RBLsw2X31dO+ZXm9HwwrQr1/C7gVDkRWVZeQzf l+pukC5uhkZ2i5JaXqMsFb6buUq+bmQZOb53KMYVFKktJAwOR45HzQHgnx2aCbeDz54l mXcg== 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=PsRR2K7OeMsdi/pj2JKzplf/10cNgWLTyhQ4z86Tgxw=; b=SFwfw6l6oIPlRhlFbdVA5C6vGvE0lr+nHGT4Iq+/CAH1u+nW1OWOc+N+4j7aR0MRb1 qo4I43QGPEsV22Qikkcd8mfYR3wbksVdj6RHbai4Ro8inbTGOyNe6pWmvKrN9Qzv0fjd 8BVNShFs78S/ayOtf4nti0S/+kqQDiMbz3A/Uz/dNBLcMQCKUqXIhwgX2PnHu2cExp1X zxGmvY7YajY+bKB8bi1OcCwg/XWDJR/Jwxbxof+RVzVmdOkAvqG+P7z2PKH4BqY/KXF6 9SdDw5p4piHrAcsBpzDAi5GtTz25EdkQGhywPaHKRNzr9ROI3wg93hZmjr83+eR3/TTn 760g== X-Gm-Message-State: AOUpUlEQh4ovNj4jfGN95h8iAzJokL3/CJrXqC93ZZwjI8f4URsgWRB8 nSCoM4o/6Kvsnqb4xmNucIg= X-Google-Smtp-Source: AAOMgpdwuyoTyAMre84JEFbtDlcDE+r8NPORzs454g/lXszni95fpUiyKfxpSj70SAayvlJvbjipxw== X-Received: by 2002:adf:9485:: with SMTP id 5-v6mr3340893wrr.82.1531597066772; Sat, 14 Jul 2018 12:37:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Jul 2018 12:37:46 -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 3/5] dt-bindings: arm: amlogic: Add support for the Oranth Tanix TX3 Mini Date: Sat, 14 Jul 2018 21:37:23 +0200 Message-Id: <20180714193725.17837-4-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 The Tanix TX3 Mini is a TV box based on the Amlogic S905W chipset. It comes with: - 1 GiB or 2 GiB of DDR3 memory depending on the model - 8 GB or 16 GB eMMC flash depending on the model - 802.11 b/g/n wifi (Silicon Valley Microelectronics SSV6051, does not support Bluetooth, not supported by any mailine driver) - an LED 7 segment display with an FD628 controller (not supported by any mainline driver) - HDMI and AV (CVBS) output - 2x USB (utilizing both USB ports provided by the SoC) - micro SD card slot The board seems to be very similar to the P23x and Q20x reference boards: - eMMC reset routed to BOOT_9 - the SDIO wifi chip's reset line is routed to GPIOX_6 and the reference clock is 32.768KHz on PWM_E - SD card detection is routed to CARD_6 - vqmmc of all MMC controllers is hard-wired to 1.8V (VDDIO_BOOT) - uart_AO can be accessed after opening the case and soldering RX, TX and GND lines onto the exposed solder points (marked with RX, TX and GND) Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring Reviewed-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 8178da8742c3..b5c2b5c35766 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -90,6 +90,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p241" (Meson gxl s805x) - "amlogic,p281" (Meson gxl s905w) + - "oranth,tx3-mini" (Meson gxl s905w) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912)