From patchwork Tue Nov 26 11:22:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11261979 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 30E99138C for ; Tue, 26 Nov 2019 11:22:48 +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 0F7D220727 for ; Tue, 26 Nov 2019 11:22:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="geYJlsxr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="soPDOoMq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F7D220727 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=uqSbVuSWgHq2gVe/Rl3+Uc/rhq/PphbGSNQtz8F0Ejc=; b=geYJlsxrUDFg+o gWg9LyGZoiS6FfiKCKSVQ6qCCGNZhE3JI4/p86ELKkWBhi0FQeCn5rubk5Qw7eASjMBSNghZmkNsz WabM63UfTD0t45gSaLFpeTw+lAI8w+144iGHBOO+I/aIS5jMjwFwrStOQp5O7QbYvakq/Ki3JmsE1 awbJtaTeLYVt92+YrngYBRMAvg0y8fPavPxZQN7Rs7D5cP8uwzVOr4/FSs49BulJbV4+v5MD6yJaP 3yGeTM+2Atry/7gXEwjG7df3Re7QshBePljboSl1abq7zyKsJ7jYxN5VA8FAIjGSTbojMhfoQrPVO V18XNmFsAjGhNfHiyvHg==; 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 1iZYvf-0001ov-0U; Tue, 26 Nov 2019 11:22:47 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZYva-0001Wx-Tl for linux-amlogic@lists.infradead.org; Tue, 26 Nov 2019 11:22:44 +0000 Received: by mail-wm1-x341.google.com with SMTP id g206so2801476wme.1 for ; Tue, 26 Nov 2019 03:22:42 -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=oKGzby8P8zqSIN7PWp3MhkkCn5+ssHtpMy31CDyRRnM=; b=soPDOoMqrrNqbH7MyNVNlH5kSjHiZNWIoDFyGbh2IDQ0kkb3XVHj2Gl783W2KQ6pM1 +EYP6ImYgpPJn0I/Q2NuxbXhPqg8vHoInqT88vIwBrACURx8ezBp1hZOAY7pu/MbFMPb CExoj5OuqVrSFHxBZKjIlzhN44MjlW//Sh+Vdy7jFpD9QNZ559Edde1ySvm4q1aCZsFw 9zUjes7IGt6sKsbrOHTZ0HvMDNdL32or5WLgmctWB8fYLyFxJ6nzj6pVmYX/HkDm0hOK t8p112Dm6vInLhvOHqOTdYRYw4N1st9X3HNmShLkIthGYEc3Yp2ntJo5ZMdo5/Un8FcQ qfew== 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=oKGzby8P8zqSIN7PWp3MhkkCn5+ssHtpMy31CDyRRnM=; b=CTmTurB7AiccJ4IUK8xLSPjjvwNfyf3NkCDuQmCy8TMbkbCmQJ3TcX/RqgLblTqSb0 YGb74GMHg4T7PJBFtC6EPMtFMG3CxFJQIDo4Wjv66lcCrZ2k4EjR/VyA/dqUZ8C38hFd C+djM8y9uEZ6124cDewAuUMtk22klDhv80GpVRm73rCpbhnqX3qZE7rKDEvNGcK91hqx qDxepRovxa8QF9qmAjwQL4KsJW3LT//gZ3B/VaLXuJMRBvCFSoaGyuf/Injk8Ej1F2O7 KvzgNQlSWjvq+y2Uw33Z9MATPiW6RxxhDxmHKTfNQd0MBMA3xQKuYkHEA878gFpi6yeP zPUg== X-Gm-Message-State: APjAAAUMFIcruBFzSi6bwPm6EgSd8zMEHuYYZG8Imh0BTaciTEgbdl15 Kh789F+XnugV0v8f71gimx8= X-Google-Smtp-Source: APXvYqyNeJ7HOIOPvphZa5VxQ4vjsn71PNUZAPjH6hlZf8qtdLpqY20RV4ar4ZbIbtZV0fguM5jrcw== X-Received: by 2002:a1c:1b85:: with SMTP id b127mr3591449wmb.108.1574767361432; Tue, 26 Nov 2019 03:22:41 -0800 (PST) Received: from localhost ([37.238.189.12]) by smtp.gmail.com with ESMTPSA id f1sm13746609wru.6.2019.11.26.03.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 03:22:40 -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 v2 1/2] dt-bindings: Add vendor prefix for Videostrong Date: Tue, 26 Nov 2019 14:22:34 +0300 Message-Id: <20191126112235.11390-2-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191126112235.11390-1-mohammad.rasim96@gmail.com> References: <20191126112235.11390-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-20191126_032242_975025_3E26E6EF X-CRM114-Status: UNSURE ( 8.13 ) 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:341 listed in] [list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mohammad.rasim96[at]gmail.com) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 05b3904a995b..a7e5b4bf8c4b 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 Tue Nov 26 11:22:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11261981 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 505A6913 for ; Tue, 26 Nov 2019 11:22:52 +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 2BCBC20727 for ; Tue, 26 Nov 2019 11:22:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BaZ1zoH0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mODUumIA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2BCBC20727 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=EUCFgDUE3FfoHll8Wr/CxwGgvLAYbS2RBOKmviooQ/k=; b=BaZ1zoH0tKuK0G NmyvTnR/j3lz1Ser3xo4tvt8/lsjiERl526FLx5MVAbDhjc6FOMQaHTZ8kMMbE2+g7RM17faJBdGh gMUE1WRefRlZWTSf1FCEOGqB1xuBPf17udzxSJsr5LpyY/UQNjOquXby6ySqzn7rC2+6mX+fpebnU Ym9ajQ8/HUXwT72zNTHcYIkuhAXeDHsf7At56E7eDvE8iAw1AZR48205oA59fTombmHy6YmJ6FNrY 83lNyit/tp0BSdblk/Yqnl+NEA4eY9KL39EihOXD47+bgzLr7I1F7g/H0XKfJ0mX1qI9p8miQ44rH 5+FVIyfVJE0Ye50Nve+g==; 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 1iZYvj-00022r-Lq; Tue, 26 Nov 2019 11:22:51 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZYvc-0001hL-OC for linux-amlogic@lists.infradead.org; Tue, 26 Nov 2019 11:22:46 +0000 Received: by mail-wm1-x341.google.com with SMTP id g206so2801611wme.1 for ; Tue, 26 Nov 2019 03:22:44 -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=IV9broTjFRnyr+MEV2mvZv/aNrg7F01VM6XYV47tjb8=; b=mODUumIADEX4BllknO9Vhna6txq3rBUhdhhb07fCrfRQITBfRq0HQ+pqY6QhCH1Asf ohRVvxHf6BoCrFh+uytmadfi6iOujKMT+LEt5JFlcgeQ++vWOtZ7/Px8QrsPemSksqmq QT5WgWPBuQa92y9nkCSfz9gzTBkl8B5iB0aD7Xk3XGGjL2UK88VnQRSADN7opdo3pQbR bDOMydg5Yt0e0QbcfnrhT1MxzHeOeVgI72dAXhfshK3aRem7NgqyaSyszv5gs6U3IIHW 07hfrTs6e1OnjrWpOuT4+/8P/E4IeiLo4shedMErQA8eekczrBQWtJXo6AiyupJixMfa s8ng== 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=IV9broTjFRnyr+MEV2mvZv/aNrg7F01VM6XYV47tjb8=; b=hERL3SFkMO+DN4ftqY7YalL9ausTEvY85d0DRF5wkLrvBgubW6ad5HppSAoVxeEbXj ewmsfnkcGuOhCkV+rruKuhZmvDRwd/47bu+N+LDX6+9g+ghwnY0M5z8fdbmb36rsNXjp UMlzpcszhanxBKrvYyGRdTk0S7fGXGvY1R+uCns/NTrcCINZMJOF5//QQ4CbkTWTeSqt VW70iX0SSQYAvKC40sUdf1OS/11u4JccstoULyYs9c/sQY/O5M8eaP5YJa68dpuD4pEv ati3K59WEVNH9XrLbD2FEg7YSY/whFtenh8nBEQ/GlWL+J+wM9f2OBpTto/kuxxxwXxy 75NA== X-Gm-Message-State: APjAAAVya4O0NNlch0w2k6a1uCuiKH19MiOlVBu0uJ4iTpwrkzoIMtOQ cHvUbLMvOeX8TtMvx9zN36I= X-Google-Smtp-Source: APXvYqwfkXJpeQx7xBaGdw7ZPSohrLtBU8R6ur15cLp9h8gB8NX7gpS3qPlPHPNZQvCPedOa82AN5Q== X-Received: by 2002:a1c:ca:: with SMTP id 193mr3722817wma.111.1574767363488; Tue, 26 Nov 2019 03:22:43 -0800 (PST) Received: from localhost ([37.238.189.12]) by smtp.gmail.com with ESMTPSA id v19sm15221766wrg.38.2019.11.26.03.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 03:22:43 -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 v2 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro Date: Tue, 26 Nov 2019 14:22:35 +0300 Message-Id: <20191126112235.11390-3-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191126112235.11390-1-mohammad.rasim96@gmail.com> References: <20191126112235.11390-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-20191126_032244_835538_29FC108F X-CRM114-Status: GOOD ( 13.22 ) 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:341 listed in] [list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mohammad.rasim96[at]gmail.com) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 The device tree includes a new compatible for bluetooth "brcm,bcm4335a0" which was merged recently into the bluetooth-next tree [0] [0] https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=e32ec8ea0d79fac75171980f2df5d0af87a08838 Signed-off-by: Mohammad Rasim --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxbb-kii-pro.dts | 58 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts 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..bf990f3fd88f --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -0,0 +1,58 @@ +// 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-mode = "rmii"; + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0>, <10000>, <1000000>; + snps,reset-active-low; +};