From patchwork Thu Nov 8 19:43:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 10674943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9859515E9 for ; Thu, 8 Nov 2018 19:45:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 892BC2AE69 for ; Thu, 8 Nov 2018 19:45:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C9D72BE91; Thu, 8 Nov 2018 19:45:32 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham 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 37BEF2B487 for ; Thu, 8 Nov 2018 19:45:32 +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=BNch5dwAJgODlIL53Wk1QpR9BYlsB2Fx0/h1dk6vTjE=; b=GJDapiZ9z+/Jqp/myDbJf7ClBe U3fS5VxPgIWTEz1LTwUOMxFOKknr6hDzJsd0BBpKbPhAygDae1fZMvsSi8HYiVPy6A+oTr8GreWX/ gBXjBc3iV4lGKt/SaEdsOsbVzuGaGNkIf3SGGl9R2I1EIkFJZA0pviuV4vfSPFFx9hFAlqILQ6wyH nNso1kvO+pAt01JPz0QZp8RsgV/xM+Yqe5b2h2iUB8IPtKeF1vlijrOi4q3p9RmNrPYdqQZwGdXgb Vhybwc2HtNzENWXDnNnaL0gKER/GQNNv6lMm0LK/yn3JUjIRxaBMWZiPNJlppZnKbNLf3ImHwpCRa fIE/S2WQ==; 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 1gKqF8-000233-P5; Thu, 08 Nov 2018 19:45:30 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKqEk-0000DJ-RC; Thu, 08 Nov 2018 19:45:08 +0000 Received: by mail-qk1-x742.google.com with SMTP id d19so28658522qkg.5; Thu, 08 Nov 2018 11:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1eYh4NK2z1qfcwmUlO/tJdvXFDGZTwQASuAePKx32ZA=; b=a8bJyUsiMftc8/9vXC5MES9wEZSosOMixRErPThBRcy9iOXPXsCJJUEKpz06mgmeUs qGivEtempMl71jvVLg1nl4Vlo4PQMMkSdqHT8SH8GwD8U/fTjUPeJzMNxxsmdQvXdpTT NVY1vGdFQK3b6ua55PcL1zmlq9STCYL3dn0IPcV/u+DwneEcho4UcFTD9JTJISG0eVMo 4D4GKJgK9+mKuC33Wz2AR4LUzcJcGISNuTrKgPJ9e5iLuP8S4AqLIEGzzJdSUiuU/86G cMX1hCYgMJbtDCNx4QwL0xeZqqZJFs7HB++QSYoGUS0qzAwEitGesYIojKrzhFZzG0F1 CAyw== 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=1eYh4NK2z1qfcwmUlO/tJdvXFDGZTwQASuAePKx32ZA=; b=lqHyB+83pZv2p1k8NET2Km78CYu4nU89gWemggFwkAbTn6IdBUSqs0tRquy5olpU4B /q7rWVUdfovWvcLAyUSVukl0vhmGyEc2mKa3qBasdNXasYOS9/3SmE7C/JStFOKWqf0A z6+1oNmH61IcYPQ4pFpzg34ONpZpt+isxHYa8edq9lRpbjfkcG1X5gkR8ar9U1dBxsgh /A9JCB/PFkLHzSvfVFEZYXwQBSlcTorNz9RwqcLgYLjzKisuqW479RF/f/5YLNGJzYb6 RyRETTavSaMtMgUYDOyCAEsLlVphoBOc7Ez7n5PHf7V7Piyvdr41zyI5fNuITmj6lFyk w8fA== X-Gm-Message-State: AGRZ1gJ0RdPdTy3qAFkZy0y7f44EXMIMG+QvQLszFGGBydudjo8UD3Z+ /rDzdiuaaQMWoUOwemS5ff8= X-Google-Smtp-Source: AJdET5dTYNq5wzuWXFFnY12DDkmcKO1nGFeeOR/LRhL6TwWXSUcaDfDnjgTpT+aJmnfwhAdOwzQgOQ== X-Received: by 2002:ae9:edd8:: with SMTP id c207mr5399081qkg.184.1541706295771; Thu, 08 Nov 2018 11:44:55 -0800 (PST) Received: from localhost.localdomain ([50.224.228.202]) by smtp.gmail.com with ESMTPSA id w52sm3406414qtc.51.2018.11.08.11.44.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 11:44:55 -0800 (PST) From: Christian Hewitt To: Subject: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC Date: Thu, 8 Nov 2018 23:43:51 +0400 Message-Id: <1541706240-30036-2-git-send-email-christianshewitt@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> References: <1541691207-24768-1-git-send-email-christianshewitt@gmail.com> <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_114506_886439_BEA98C52 X-CRM114-Status: GOOD ( 10.61 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, =?utf-8?q?Noralf_Tr=C3=B8nnes?= , David Lechner , Jianxin Pan , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , christianshewitt@gmail.com, Johan Hovold , linux-kernel@vger.kernel.org, Rob Herring , Carlo Caione , linux-amlogic@lists.infradead.org, Thierry Reding , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Smartlabs LLC are a professional integrator of Interactive TV solutions and IPTV/VOD devices (https://www.smartlabs.tv/en/about/). Signed-off-by: Christian Hewitt --- 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 4b1a2a8..c424fe0 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs LLC smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc. From patchwork Thu Nov 8 19:43:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 10674947 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F1C415E9 for ; Thu, 8 Nov 2018 19:45:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 928E72AE69 for ; Thu, 8 Nov 2018 19:45:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86A912E444; Thu, 8 Nov 2018 19:45:52 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham 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 2E8702BF98 for ; Thu, 8 Nov 2018 19:45:52 +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=wlH2WQtoifl3GBVKZW3xqrlDVwYlNESqPhVV3MZRpdI=; b=uof7Ucb0M0anY94NNJjmZyTUzi Oj4FGs0BssxjhGvWTrTEPTZvMt8gqr8Ja8IM9RiAl8MnEds5YV1Y0xfviisdxTW8UeU/O/Q3vC0St KNoNqLzfBwTzv0eNEAML0rUMMRF7SECzEyO9bcatBoDk5jE5heqI8MDUR4R26O3P+0zLNm0FMz9k9 QHTQtkfnrfQlHbTgaqRx3bWs+So87XHVaYjQfmqljgtHRx7kL/+F+qnK/KPC5DDzRHNovQ3Z8C/l+ j1qcBOUmka4EAJOaWuMxcmd3lpdsihOShJBcgc57CnfGIHU/L/QZzSc0JlKi8TpwLqwVr+iRcdGIi BR2dlxXA==; 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 1gKqFS-0002RN-37; Thu, 08 Nov 2018 19:45:50 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKqEs-0000Pb-6h; Thu, 08 Nov 2018 19:45:15 +0000 Received: by mail-qk1-x743.google.com with SMTP id a132so28748311qkg.1; Thu, 08 Nov 2018 11:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y8GXMyTR7MZVo9+2nDy/iUhDA4xLhvp/vOq8kA8CSKM=; b=GGmvgUhqWOLHesO8JSfOiDqqkAeIbrbjvyEVBlZ2ConG8uT0yC5vG8qWY3ju3gw47Q B4q8JOF4tKFpNyRKj9HyzHqWKrHnBzoc9Uw2xDtwWhPCMg35YPOudGs2wzFkBWWy0gxb fNIzIPF0cpCQPpnrvh0dG6iWLoMHyhDlHUgMeAWIvmTKmU3op9N5MGJUzhGpYjt+60JH mPbLvdlxLh1RLnCqE0//r9uBQXaTi6Er1cSbqTWRH16JGz686zSNYBHIqDYJKXRb/Fo3 B36Vnm2nO48/ReoWTO6qNCBM+iEEaj5rBep4qzgSSeNsSdEUmX9YoTASknJ3ppCHRdmz f1Dg== 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=y8GXMyTR7MZVo9+2nDy/iUhDA4xLhvp/vOq8kA8CSKM=; b=YEusaiwqZV6KIOmOt74iyZYHquS1sWOWCAJiKkLumBbK4JhudJuRZc4C0VQKJi65Qi Owtoz0Guw2Lbvl51+y++jQpdu1mXgCiIEZc8DMa9EYL/RfbJU8l1xvghVG0wj+nYK/u7 rVB+UAucwE2EnwUYsQRtTsy78/bp86agBrKWLP7cymEPF0f703ia+S85AipFqHS8gtD7 7YbgyXJ2U8Wj8liHs3u6Gonl/BID6o33fDkXX7EThP4IXHRU+cnH38L6yGhE7LXPUqZv gzqx44K0RqEapMsMnGZPgS1bQhxNK6DiHPv5ltJJcxWaMv+vxMaUx26j6qFjacViKPiz PmBg== X-Gm-Message-State: AGRZ1gLTZ4HJNtF6HCkRA6o+KXDLEMYpYKFTVU3+cuvlE0cjnEIbgtaJ 0Q/U4TLhS5aMmXs25jIMJCM= X-Google-Smtp-Source: AJdET5cIA4U0nABJ5FbBpXWQpOHXQIvzDqFakBWXeuLSTYd9rrJT7QYvwAnz/xaCH1f+QJ0JKffzVw== X-Received: by 2002:a0c:d0d7:: with SMTP id b23mr5853362qvh.67.1541706302682; Thu, 08 Nov 2018 11:45:02 -0800 (PST) Received: from localhost.localdomain ([50.224.228.202]) by smtp.gmail.com with ESMTPSA id w52sm3406414qtc.51.2018.11.08.11.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 11:45:02 -0800 (PST) From: Christian Hewitt To: Subject: [PATCH v3 2/3] dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW Date: Thu, 8 Nov 2018 23:43:52 +0400 Message-Id: <1541706240-30036-3-git-send-email-christianshewitt@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> References: <1541691207-24768-1-git-send-email-christianshewitt@gmail.com> <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_114514_490892_BE67A600 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Lechner , Jianxin Pan , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , christianshewitt@gmail.com, Johan Hovold , linux-kernel@vger.kernel.org, Rob Herring , Greg Kroah-Hartman , Carlo Caione , linux-amlogic@lists.infradead.org, Thierry Reding , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S based on the Amlogic P231 reference design using the S905D chipset. Specs: 2GB DDR3 RAM 8GB eMMC storage 10/100 Base-T Ethernet 802.11 a/b/g/n/ac + BT 4.1 HS sdio wireless module (QCA9377) 2x single colour and 1x dual colour LEDs on the front panel 1x reset button on the front panel HDMI 2.0 (4k@60p) video Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output Single DVB-S tuner (AVL6762/MxL608) 2x USB 2.0 ports 1x micro SD card slot UART pins (internal) Signed-off-by: Christian Hewitt 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 4498292..ad79f2d 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -91,6 +91,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "smartlabs,sml5442tw" (Meson gxl s905d) - "amlogic,p241" (Meson gxl s805x) From patchwork Thu Nov 8 19:43:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 10674951 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C4C7C15A6 for ; Thu, 8 Nov 2018 19:46:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3B6128ACF for ; Thu, 8 Nov 2018 19:46:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7ADE2AE69; Thu, 8 Nov 2018 19:46:13 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 F242A28ACF for ; Thu, 8 Nov 2018 19:46:12 +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=Ur2HKe+VHhQbb94Ma7kOr76a6kmZmKV5WkHD7YDi5Rs=; b=AhPXfYhJtlotZmD2qgUW3h79XG QwRCnuqXPoxEPQG/cEwsfliVPfGDiHTkPFALN0zHUiZgRYF+XHsx1iC9VXGJ7C4KrC6pwmTmbaP+N CswGo75U8u+fM7LtIhy4C8aYqzZVYPQOZOpp9zFcsFkBs9q5FVPfWki4r/WIgkGmnh73v0gpgXxte bD0IK6zzimwaO8QnvvCUOcK6GeL3RHxWt8Dt+M/2Q4dqDKq57IgmgbIpLdcTYYRU59HgirD6brJ2T 0wUoHig0ziX4Sgi7dgg4BYPb0/NTxEq3stWe2Rs6TRmz5CS299SwFsOhYn8l05cL4VR9p7aHU1CxR WExTazQA==; 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 1gKqFm-0002jG-Jr; Thu, 08 Nov 2018 19:46:10 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKqEy-0001cn-VL; Thu, 08 Nov 2018 19:45:22 +0000 Received: by mail-qk1-x742.google.com with SMTP id o89so28718920qko.0; Thu, 08 Nov 2018 11:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JNC8c1LsQLk9TLFAUGgP702ZRS1djpDzhyGI4B/UVTw=; b=LhG7jdeQVKDTvstqktekRy2qpNDvYtM+MqH5a+gq2UCtRNZ8f9/KZ4wS4ocKgqzxF2 ePObAKNnsvXrHuKdnB+9URJwtt7gqFTOiOo+V4sRKFXtA9osspVFrhTkZ+n0O95uoerv zp/wQ2v518dAAW11gCjxytITmEeCWiirAULo+AC0mX8vbHM6PkUzpPUidI8JrzXxcxdH 2UAAF9X9pGatpFPgE5Ap6g7kMCSnxdb+PvR/1EnDrHoj2Jsru4bdC+Ul9JPxhi5pK0Qp aqsVu3KowMxLmjKo43z+noCAa6bOcuMzpDRXdqwOVjaGCxKml4qcR0gQNqR9jVaqBDGQ s91Q== 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=JNC8c1LsQLk9TLFAUGgP702ZRS1djpDzhyGI4B/UVTw=; b=t2AcebWdH8MseU2m1wHaHFNsudcvovOpD/2Eur6RFkcSj+VdP+9pE/CqzwRVQcKCq4 4xS1tJyVYgQ/V5QO+V2yRPDfnzH0uMCAaHGL0oZ5NP/Mbt+V1g6mvQMB6HjZWhH0iBLJ +3LjQZLjEU8f+iTFcSlE1qA8u2+MAIKn6IYheUrC1/LsXBD8kn7ceM8xS9oPvH7oBzrE 0wzFIXYUwZYcpzCvfo8rgSZA7wnptnbR31CDPZsIBnrBDRNUqNx9e70etk0rvhSLBLmz EVxxnBkdSNPPAHyGMkbAf/rzNTFbQd58vb3zY7TXwwD4+kNCCd9waDXdJoW4UWcB92wy Rx+A== X-Gm-Message-State: AGRZ1gJoLbioly8J8PhYiVDrZtO36hjxHCk8DzHvctC7U6snQIb3z0OF FzdeCYbJ/1PrOn1/lp8cd7sqj7TYRZQBnd1Y X-Google-Smtp-Source: AJdET5fhn0GapIHhfWKzm9B72h6BExKFnjaA2mVonk3i924I3nSWQN38EuilYvoFapWMCYj/Nd0Tnw== X-Received: by 2002:ae9:de01:: with SMTP id s1-v6mr5791617qkf.258.1541706309860; Thu, 08 Nov 2018 11:45:09 -0800 (PST) Received: from localhost.localdomain ([50.224.228.202]) by smtp.gmail.com with ESMTPSA id w52sm3406414qtc.51.2018.11.08.11.45.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 11:45:09 -0800 (PST) From: Christian Hewitt To: Subject: [PATCH v3 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW Date: Thu, 8 Nov 2018 23:43:53 +0400 Message-Id: <1541706240-30036-4-git-send-email-christianshewitt@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> References: <1541691207-24768-1-git-send-email-christianshewitt@gmail.com> <1541706240-30036-1-git-send-email-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_114521_024551_AF24568C X-CRM114-Status: GOOD ( 18.63 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, =?utf-8?q?Noralf_Tr=C3=B8nnes?= , David Lechner , Jianxin Pan , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , christianshewitt@gmail.com, Johan Hovold , linux-kernel@vger.kernel.org, Rob Herring , Greg Kroah-Hartman , Carlo Caione , linux-amlogic@lists.infradead.org, Thierry Reding , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences: - Yellow and Blue front-panel LEDs are available but disabled - Red/Green LED is used to signal off/on status - GPIOX_17 is set high to enable the QCA9377 wireless module - uart_AO can be accessed after opening the case; soldered pins exist Signed-off-by: Christian Hewitt Acked-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 292 +++++++++++++++++++++ 2 files changed, 293 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index c31f29d6..37d7dbd 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -18,6 +18,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-sml5442tw.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s805x-p241.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file mode 100644 index 0000000..44d02c2 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts @@ -0,0 +1,292 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + * Copyright (c) 2018 BayLibre, SAS + * Author: Neil Armstrong + */ + +/dts-v1/; + +#include "meson-gxl-s905d.dtsi" + +/ { + compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl"; + model = "Smartlabs SML-5442TW"; + + aliases { + serial0 = &uart_AO; + serial1 = &uart_A; + ethernet0 = ðmac; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + leds { + compatible = "gpio-leds"; + + yellow { + label = "sml5442tw:yellow"; + gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + + blue { + label = "sml5442tw:blue"; + gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + + green { + label = "sml5442tw:green"; + gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + red { + label = "sml5442tw:red"; + gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + }; + + hdmi_5v: regulator-hdmi-5v { + compatible = "regulator-fixed"; + + regulator-name = "HDMI_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + vddio_ao18: regulator-vddio_ao18 { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_AO18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vddio_boot: regulator-vddio_boot { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_BOOT"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vddao_3v3: regulator-vddao_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vcc_3v3: regulator-vcc_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + emmc_pwrseq: emmc-pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; + }; + + wifi32k: wifi32k { + compatible = "pwm-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ + }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; + clocks = <&wifi32k>; + clock-names = "ext_clock"; + }; + + cvbs-connector { + compatible = "composite-video-connector"; + + port { + cvbs_connector_in: endpoint { + remote-endpoint = <&cvbs_vdac_out>; + }; + }; + }; + + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_tmds_out>; + }; + }; + }; +}; + +&cec_AO { + status = "okay"; + pinctrl-0 = <&ao_cec_pins>; + pinctrl-names = "default"; + hdmi-phandle = <&hdmi_tx>; +}; + +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; +}; + +ðmac { + status = "okay"; + phy-mode = "rmii"; + phy-handle = <&internal_phy>; +}; + +/* This will enable the bluetooth module */ +&gpio { + bt-en { + gpio-hog; + gpios = ; + output-high; + line-name = "bt-en"; + }; +}; + +&hdmi_tx { + status = "okay"; + pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; + pinctrl-names = "default"; + hdmi-supply = <&hdmi_5v>; +}; + +&hdmi_tx_tmds_port { + hdmi_tx_tmds_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; +}; + +&i2c_A { + status = "okay"; + pinctrl-0 = <&i2c_a_pins>; + pinctrl-names = "default"; +}; + +&internal_phy { + pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; + pinctrl-names = "default"; +}; + +&ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; + linux,rc-map-name = "rc-o2cz-khamsin"; +}; + +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao18>; +}; + +/* Wireless SDIO Module */ +&sd_emmc_a { + status = "okay"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + #address-cells = <1>; + #size-cells = <0>; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <100000000>; + + non-removable; + disable-wp; + + mmc-pwrseq = <&sdio_pwrseq>; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* SD card */ +&sd_emmc_b { + status = "okay"; + pinctrl-0 = <&sdcard_pins>; + pinctrl-1 = <&sdcard_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <100000000>; + disable-wp; + + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; + cd-inverted; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* eMMC */ +&sd_emmc_c { + status = "okay"; + pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; + pinctrl-1 = <&emmc_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <8>; + cap-mmc-highspeed; + max-frequency = <100000000>; + non-removable; + disable-wp; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + + mmc-pwrseq = <&emmc_pwrseq>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* This is connected to the Bluetooth module: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; +}; + +/* This UART is brought out to the debug header */ +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&usb0 { + status = "okay"; +};