From patchwork Sat Nov 30 11:58:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11267923 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95F5E17F0 for ; Sat, 30 Nov 2019 11:58:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 638652075A for ; Sat, 30 Nov 2019 11:58:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QCzTwm8I"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pnZc9lD8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 638652075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=wDAebD89QpuhYTnUv6rqMrvB4VYg7DgFIbyPD6LvE4c=; b=QCzTwm8ISk+d5x 395B+gzzi+qtWgfv1iuAOAQcHUW65Q6n/g2QC/AJ+Xc1+ohaZEnDGWQpA64pokfDzWboEI7mqdMdJ xrwwdhFZ8YjG/aXGZvFN//4/KnEndJegkcw3/M4GujDZrXvGQacpyGHEsnvwhk1WjjrhcZt4vuIUr zJDHc5y5Rt0zxABk4GzTUwLm/e+u2B4qTdzpQfwSfJ41lTUwpRxTiBoaOhkyqCZi0ixCfiGppv/4m tcBJStWj26ptixxL3eK28YTsXErWJVam5D4NmWmlZor6v8c3+1U0r26enEvqKnxt469/9Iv3Uvek+ c0qPINeG9gYrPoV8bT/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ib1Oa-0004oM-Dg; Sat, 30 Nov 2019 11:58:40 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ib1OX-0004n6-F7 for linux-amlogic@lists.infradead.org; Sat, 30 Nov 2019 11:58:39 +0000 Received: by mail-wr1-x441.google.com with SMTP id q10so1967078wrm.11 for ; Sat, 30 Nov 2019 03:58:37 -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 :mime-version:content-transfer-encoding; bh=ua3UF7OJvvMmYzZQhlb5rwLMVQGrclyM0ANoVUA74bc=; b=pnZc9lD8W4KAAKZBNOJY2IugbPFNKnDx2Lpbfg9vy3JN6+6xy0Q5+1K/eyzjycUhnY wKfFdstLYJSwLQdvz4FceqUJ5qgyWIkI7dmIkS8BsUxf3IvxA58uB1waH/HaCbB6MReh w8Et+bSqbHA4t4Bs9naDO4VM1ig5rNFMQ6o1fDrttxXt+wRLpQsPPgQkgxzeDmKB5sqr OiJS5VTaV3mkkHeFsh0taY7leLaTN9ghW+R7bs5GCpRHMjGuVEI/vIAkUWE6depAGon+ NeF5FJv648GuR7EVxvC1NzbLvtx7hjhjr4jij0r40ZQZO4YcascwLgHoyckn6Y7YU3OP WHuw== 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:mime-version:content-transfer-encoding; bh=ua3UF7OJvvMmYzZQhlb5rwLMVQGrclyM0ANoVUA74bc=; b=SK0ZR/G3ASzFG5+B2BkqVxghn9FYUGZqHhQpgOgOtGZh0VX0z7zGX1KVRkX/rbkl3v VCJlNtVMYfamb3ENg+jQSFcNWiX5WOyJqcb6PKfduFvQb0rjAb2gjxFo5b5VVzwmHAmZ 1jGF2MkdPfz681OF6Ge3kdukLmQncHXzshUcuIK9QdndZVNlUZrR6cQVlgth6eKQ5Dgk gjznc8XMApbVFucRYefj5s+jaOkHPPEe+4bIAQWwENV5fVNTri21eYLbs3lmDhUudJ/8 MHMy+L/8z6nHpNIPdxqYoV0/5+pq3G7Jgn2gpIsyD1bzPXoSji/Q7L0Cp7JXOF8D0oB7 y1UQ== X-Gm-Message-State: APjAAAUFiBtUK4IxZD37COk/R4fyiq/kxo6RhwOAD+WECKxuN6hr59SJ nwrrU7BoMWIsvKJrAZIrDEE= X-Google-Smtp-Source: APXvYqzlKGqg/jIJyhOhJPSVxWuX3dyaXOX1s2Pmv92grnLa2ou3Ona7DHcgrXvlsFfHZQlOursNqA== X-Received: by 2002:a5d:5381:: with SMTP id d1mr35160039wrv.259.1575115116011; Sat, 30 Nov 2019 03:58:36 -0800 (PST) Received: from localhost ([37.238.189.59]) by smtp.gmail.com with ESMTPSA id b17sm31742286wrp.49.2019.11.30.03.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 03:58:35 -0800 (PST) From: Mohammad Rasim To: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, Rob Herring , Kevin Hilman , Neil Armstrong , Martin Blumenstingl Subject: [PATCH v3 1/2] dt-bindings: Add vendor prefix for Videostrong Date: Sat, 30 Nov 2019 14:58:23 +0300 Message-Id: <20191130115824.31778-2-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191130115824.31778-1-mohammad.rasim96@gmail.com> References: <20191130115824.31778-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191130_035837_502383_93D0CAF2 X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mohammad.rasim96[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mohammad.rasim96[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Mohammad Rasim Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Videostrong Technology Co., Ltd., A manufacturer of Android Players & STB (Android with DVB Hybrid box & DVB-T2/S2/C/ISDB-T/DTMB-TH/ATSC )as well as HD media players. Signed-off-by: Mohammad Rasim Acked-by: Martin Blumenstingl --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 2.24.0 diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index fd6fa07c45b8..a6c83d70aa74 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1008,6 +1008,8 @@ patternProperties: description: Variscite Ltd. "^via,.*": description: VIA Technologies, Inc. + "^videostrong,.*": + description: Videostrong Technology Co., Ltd. "^virtio,.*": description: Virtual I/O Device Specification, developed by the OASIS consortium "^vishay,.*": From patchwork Sat Nov 30 11:58:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11267933 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EBEFB17F0 for ; Sat, 30 Nov 2019 11:58:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA3ED2082E for ; Sat, 30 Nov 2019 11:58:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nYcZf+6g"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Gsq+eUHC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA3ED2082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=ty8rLXhcfAEtCPwWEdsh30IA2HAbWouoQ1KpklV5yMI=; b=nYcZf+6g7Iw05Z HIa0IHa+7S88t4B8Ae704CGGDsbESYBM6A+mcqs2g226tQ1FAeVTzTmZRa27h6RrqLjRLHkpm8+5g n4rRZU8LyZtu5TIpN3GxWerHZuw6fib/E1HUmk8x4KpvwxODTaRhSlibVlkh4ltNThnnlq122WAsy m+xHesjehkQyKzbNKFrwv1pdkYYfUe0GQAh6FCPQrM53hu/H9boaE0ANxSzz2gMAOWm2NCG6LA93u Dc0fjCpQ9fAgnE+W/pwHDMOZzF3fyNYNbY41i5bdCxbEPZORBLuB+QZoKef8nBqy8kDmmMjrc7iad LetA4ooQRGqDKW3zq4Rg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ib1Oe-0004rC-Cb; Sat, 30 Nov 2019 11:58:44 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ib1Oa-0004oA-OI for linux-amlogic@lists.infradead.org; Sat, 30 Nov 2019 11:58:42 +0000 Received: by mail-wr1-x443.google.com with SMTP id a15so38134785wrf.9 for ; Sat, 30 Nov 2019 03:58:40 -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 :mime-version:content-transfer-encoding; bh=wJnAulGaEs0kwajuzzoZi3o9NE282edT8FDUbrTNB/Q=; b=Gsq+eUHCohMOH2HelHScGMIwxinfpeyYxfsSreZLSSe6VBTrRvn7rjtHwr4vBUvVl6 VB0TX7KdzHt39TYFPG0jW/mZRgYx7afUbBnIVezTf3KeWjddKispUiEpJ/kk6ZERRLJ3 y3U/tFQG+iDfYSqBTJUWuBPFx97/V3sBOLNNUjX310vsyTM4rurQ9q2Nn+teNOeSCY3X EyOvF1eCDx3G7bto+kdYNoTWlRueqLT8UxHBMMhrCZdFd457wQHUEwy9jZLKxOaLt0WB yGcLcBu2lFjWrUbkhxnryQuP5iGwnEFf68LnPHtFD+AxZ8EfQ7DIrFji558Xv1L/DPe3 dr3A== 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:mime-version:content-transfer-encoding; bh=wJnAulGaEs0kwajuzzoZi3o9NE282edT8FDUbrTNB/Q=; b=rjmLzDfEDPSioyT1LP+T9cshNOotv8R0tTcSY6kwbaQDX/DUQZiD4tm7dd12ll0gRA 48VAjsmVvgwJA/OkY/N+EwDxn4ptXBW3lbVQeONZ1sYA/8n+iMrU/olE6daCwOGEsSsT eImmE97GY/UH5zkowx+H0sFzvtToIY4K+F+M75UXezPpBGzhe1DNZgYQnrb4duIbbGlj EW2ing2anz/qX0jtDFx63scUqI4c30paUaoum2dBRc61VOYlVASiI1I3qry7Q/u/6mbp ooOTXkD5M3vCHX/TE8tN+O22EnmMkYS+SJONp24xxQulvlPZ5MwCjxPibf6trPRW+0yp KFAg== X-Gm-Message-State: APjAAAVvHW0MeF3Oh7yjrOoeYAAiPAQvwfC5YyUHJBMOul3J9xdg028A SaTVhCnzjD2dYLbTtUhaY0E= X-Google-Smtp-Source: APXvYqxFvldbUOY7B3clouvxCLT9YvEsNn3pWvokFqq7xalCS7TmE202z/6lWunJ26MvwI3XsA9f6w== X-Received: by 2002:adf:e2c1:: with SMTP id d1mr48072698wrj.130.1575115119314; Sat, 30 Nov 2019 03:58:39 -0800 (PST) Received: from localhost ([37.238.189.59]) by smtp.gmail.com with ESMTPSA id d12sm6442651wrp.62.2019.11.30.03.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 03:58:38 -0800 (PST) From: Mohammad Rasim To: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, Rob Herring , Kevin Hilman , Neil Armstrong , Martin Blumenstingl Subject: [PATCH v3 2/2] arm64: dts: meson-gxbb: add support for Date: Sat, 30 Nov 2019 14:58:24 +0300 Message-Id: <20191130115824.31778-3-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191130115824.31778-1-mohammad.rasim96@gmail.com> References: <20191130115824.31778-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191130_035840_815455_B44326AA X-CRM114-Status: GOOD ( 13.96 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mohammad.rasim96[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mohammad.rasim96[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Mohammad Rasim Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org This patch adds support for the Videostrong KII Pro tv box which is based on the gxbb-p201 reference design The device tree includes a new compatible for bluetooth "brcm,bcm4335a0" which was merged recently into torvalds tree Signed-off-by: Mohammad Rasim Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxbb-kii-pro.dts | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts -- 2.24.0 diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 84afecba9ec0..a795a170dcab 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts new file mode 100644 index 000000000000..5d120e6ca338 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Mohammad Rasim + */ + +/dts-v1/; + +#include "meson-gxbb-p20x.dtsi" + +#include +#include +/ { + compatible = "videostrong,kii-pro", "amlogic,p201", "amlogic,s905", "amlogic,meson-gxbb"; + model = "Videostrong KII Pro"; + + leds { + compatible = "gpio-leds"; + red { + label = "status"; + gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + button@0 { + label = "reset"; + linux,code = ; + gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + }; + }; + +}; + + + +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm4335a0"; + }; +}; + + + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + phy-mode = "rmii"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + /* IC Plus IP101GR (0x02430c54) */ + reg = <0>; + reset-assert-us = <10000>; + reset-deassert-us = <10000>; + reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; + }; + }; +};