From patchwork Sun Jun 24 18:28:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 933942 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="aPKHMPRw"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41DLRG6QhKz9s19 for ; Mon, 25 Jun 2018 04:28:42 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbeFXS2l (ORCPT ); Sun, 24 Jun 2018 14:28:41 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52212 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbeFXS2l (ORCPT ); Sun, 24 Jun 2018 14:28:41 -0400 Received: by mail-wm0-f67.google.com with SMTP id w137-v6so1527622wmw.1 for ; Sun, 24 Jun 2018 11:28:40 -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=aIfimc+1OeJmc919h477suOjBju427hkTz+S6YafZJA=; b=aPKHMPRw8lIZiE7DMdM57RG4ZostLcTyHzP8507XlXO0BPqdL662+XfXcymARyi67j iLsXcF9wOHymEaXaXoMFAXHTima6FJmov5K+lvyh7/9LgKQuFpLaJpaL0dLwM5oVHtgD N0L3gpZjdQUtl2jt50yVM6gXgKPkpQrS4PMYQ/vDP5pUK5teOeWW/wnTNMRO8XZIDKlB U9D2pCeIx6GJNaC3KiB/EEAhHksvJPPHImc65iZ4akUeRiB57e+Qu0W/R/wnq/Ew7kLd aDBxK9onROt0c1TDbYeoW9RzIIIVtNxSpt+H9+cG9Ju32cbDo3rOHvoE7T2hXfQOGGjf oXUA== 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=aIfimc+1OeJmc919h477suOjBju427hkTz+S6YafZJA=; b=oq7Kxrm4qvjByBaWWU1+NLfdW1tpYXkWSsWhJW13TWtELjpbXUiabyYXtddeTZ1bNY qNuy/SZo7JT440ydqt3zrKQ1vkMCtCW6LwtJsofBKjWjzVicBhmINrUvW1lOVFKiHKhi a8/qJE2ywZ0WoeFBFyu8CF0woikYr17LE+kb5PUq28OHd75ULJgrya5NgmOyHbheJQqu 9GCAsK7xBONAjJbaQ7jGlRakQRVZFlElaf+PEuEEjSsrxRf3M6MFGGQO52d2AANjG1P0 6JHkYSguU2/IBqbA/gm46sWJR0QhBuy3xFJijvH9x8WHujdj4wQdt2cQM8jmI4yPDSUr Sfgg== X-Gm-Message-State: APt69E3gXSUlnp/x48wOWI+fdPZkXoobWeLPvwQ4ZM+7oNRjJ2J6iQsZ DlkCSVqEvyUDG4pf1ICZjsQ= X-Google-Smtp-Source: ADUXVKK00c6GeV53AkmrLMuMom+qBj5HZ9DCFLl0EeYl6eUtIkJRZtSIPFZ5UW3JVHxy4fM0BzqHdg== X-Received: by 2002:a1c:a1c4:: with SMTP id k187-v6mr51331wme.103.1529864919762; Sun, 24 Jun 2018 11:28:39 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 11:28:39 -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 1/5] dt-bindings: add vendor prefix for Shenzhen Oranth Technology Co., Ltd. Date: Sun, 24 Jun 2018 20:28:10 +0200 Message-Id: <20180624182814.31691-2-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 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 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) From patchwork Sun Jun 24 18:28:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 933944 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="e1seyNbz"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41DLRJ5YX6z9s0W for ; Mon, 25 Jun 2018 04:28:44 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751397AbeFXS2o (ORCPT ); Sun, 24 Jun 2018 14:28:44 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35519 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbeFXS2n (ORCPT ); Sun, 24 Jun 2018 14:28:43 -0400 Received: by mail-wm0-f66.google.com with SMTP id z137-v6so1865600wmc.0 for ; 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=wGmxkN+zN6tWwiERK7bR1SFsUF/UhaToBlW2EXVIezQ=; b=e1seyNbzp+Ot5mlGjMgU0PTpca1CX/NzSGNw9wFAnAnEP0QgduYgJJMlLlgnNaCgg6 7kmYEDq8Vf2aqxSOIpVAMDTVDnQOmgBnrbLbRif3tOUGb/tG5qaYC+EW8DnQV2lum3rq p0zF/Oj7Imcm0TIqoP6zls00XGRwFA94zfzePxZ5nVdvbSTAYM1eP1zIO37XIUQa6mF2 99Sef3hC35lWHnkdNWTu+FdLgYAOdOHLtha0xxIOBQ6JkVvw+mneM5swmp+sH+GeNmKG /bh4tYAqbqi1FB/t8YrVsQaFjl1y4imJx2tdZObbwrE0IKafAFOlUzkUmZaJlkWyXJWd jWYw== 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=wGmxkN+zN6tWwiERK7bR1SFsUF/UhaToBlW2EXVIezQ=; b=ErS3wNxzvhwa0oRwyXwiUxQdWW3WT4hXofBReBHpK94eAVzWNO1sEtJy7VnjWCGv+K oSHt77YzaH64GtdZ3NtboBiymcXVzin1+uCGibOxdXkaZS8F9X21Y5FnM5Zq9K6IJ9a6 Lv9knqZjRloAKuQyxPQqLlKnu3up4aVELemKS359xJeE5D7KBUCUsUTizmp/2qgvTz+c VgK+VCdaM4R3EZ86lrCDNlGWLrVR5vjS5mBPvNmJDlg0EvPwTxJ6QZ/uacZmds9Fn8oB Qvx+dEKxF5td9FH1B2MX541zxxwJLjAiXZhNGPEKAW8rN+x5LiGPUwZOtjNmidnzfLKv eBPg== X-Gm-Message-State: APt69E3KDzlaL//i3M9YP7Zhy6kzvx6WzlZ/eN55+jLnhB5/8W5w9HVJ HtWS705oo/4iQBQYQwMQ7YM= X-Google-Smtp-Source: ADUXVKLgMc89Uw7/pOpxVcm9/OQTSg8mYG1JGNXthppKABfUWL4KVZC4+Y0oKuWDIZyPpCTzsT3X+g== X-Received: by 2002:a1c:4405:: with SMTP id r5-v6mr6650739wma.62.1529864922052; Sun, 24 Jun 2018 11:28:42 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 11:28:41 -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 3/5] dt-bindings: arm: amlogic: Add support for the Oranth Tanix TX3 Mini Date: Sun, 24 Jun 2018 20:28:12 +0200 Message-Id: <20180624182814.31691-4-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 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 --- 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 33c672284963..79b8ebe08444 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -84,6 +84,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p231" (Meson gxl s905d) - "amlogic,p281" (Meson gxl s905w) + - "oranth,tx3-mini" (Meson gxl s905w) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912)