From patchwork Fri Mar 25 16:54:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viacheslav X-Patchwork-Id: 12791748 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 00CD4C433FE for ; Fri, 25 Mar 2022 16:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K3ZY4z+MvQK3z6YlirxuvlFOq0WGBfE86dH1d76QkFo=; b=bBJwUNTEaAaifx C7m4tWpZndZKJtQpNhK39LUP1ZNOzO2TqDw08n82C1vRkVTJygAE25XCEemYNGnPgIrDWsj6ix8FM rpGDTfP8i64wHvcYkrAbrkSAl5Reil2KEhub4KzLgKNvEviH8FYmZqnNvz17MLxF/A4pD96h+Xn84 EwFVgd8G70Qg111/lv4C80q9f0bo02K6sons2IdXsPbRE2p+3dhr2NNj30RQZ3t2hd3lhDiSoJBup f5EOO8RyK2BhfKjyfe5EOstXtZCSxOKL1MQqUXJxK+vijwiDpcgFgctpdApnEJ4R44pE/iYN3lBLw bZyI4n0PFyxA6m5RBLHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDx-002eVN-Cy; Fri, 25 Mar 2022 16:55:41 +0000 Received: from mx.msync.work ([2001:41d0:d:357f:aaaa::3]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDX-002eJS-68; Fri, 25 Mar 2022 16:55:16 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5476331FD3; Fri, 25 Mar 2022 16:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1648227311; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=pLpMNG0SWs3st76DKfa6QZLTGIHjt4Fvns+4D2L2hMw=; b=r1ZBTNPeJLBy8SpxNSlEfzInb3Rjq3A9BQ9dT3qaId6QqvRhng9ZY5u2PC3Sj7DOukqopi uH6TELRf1gFq7s3TK8tsVIdyDoYT+Urfo7dslnVKkCKDYj+iPhMhG3b/iKOO5nTF9oDjQq VpshXKcwEH+ELdVZNE/kBrJkWQJ3iCnfuMvtRdTTJFv2LAnMH3PSp+zujEQmu1SsjFirQH QeQ/1B00oweIV7g+MQb8c18P3pmeSRBBhOF10aeKRZWxjhqEdxyVLCuLCX61rEBEAzN8bt fKBCPR47OewDAh+LRHQh/ZHkWgLpQcONnROyMAY0QxMDXNc3bpyirlAWONMCBw== From: Vyacheslav Bocharov To: Neil Armstrong , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Vyacheslav Bocharov Subject: [PATCH 1/3] arm64: meson: add dts bluetooth node for JetHub H1 Date: Fri, 25 Mar 2022 19:54:59 +0300 Message-Id: <20220325165501.81551-2-adeep@lexina.in> In-Reply-To: <20220325165501.81551-1-adeep@lexina.in> References: <20220325165501.81551-1-adeep@lexina.in> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220325_095515_431101_FC2E3379 X-CRM114-Status: UNSURE ( 7.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Vyacheslav Bocharov Add bluetooth node for RTL8822CS uart to JetHub H1 dts file. Signed-off-by: Vyacheslav Bocharov --- .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts index 6eafb908695f..a5ee7ed17efa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts @@ -213,6 +213,11 @@ &uart_A { pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; uart-has-rtscts; + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + }; }; &uart_C { From patchwork Fri Mar 25 16:55:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viacheslav X-Patchwork-Id: 12791746 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id F2B26C433F5 for ; Fri, 25 Mar 2022 16:55:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type: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:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qJKVHeOVsZ4h3Y42NNUtA44iMBMhVyq+AyDR8geU+js=; b=2EpcWteY0aBl5A +xuZUEvVNlhYgQ1qtqACZn4TcG5qYlQ8ueIx1PL6wcB3P7RxPvSmZsMaJPgokGimNXS5iuEF00JUK ODnuYxRrgmd4pRQSyfFEAPTTux6QA2Eu+y4Tha2f892DyJ2p0++yKtmxv3jBFpG3PgY4s5aosnKJx 0JuD4HTMFKzPWoMJ9o+qd2HhrPNpee5TK3GA4i6qRP3PNnBWGSrhjenSsi2ndYtX3nb5ETooBxuYu ud492Yy/xwZ0srDELAi1to5IL945TngcuRqgPsQ9wrYAfW2N8JqO0lwmklHHVYP0UcZJF06qQwlS5 gV+llfEAO36QO1yqh5fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDj-002ePp-Qv; Fri, 25 Mar 2022 16:55:27 +0000 Received: from mx.msync.work ([51.91.38.21]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDW-002eJX-T6; Fri, 25 Mar 2022 16:55:16 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 677A331FD6; Fri, 25 Mar 2022 16:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1648227312; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=lMkPsT9wmYQRWVhCSgEyUxO6l9DD/Z5L18efF0PKVNA=; b=dcqdVUFBtvhsacFMgAMkygcIlC6DX6JtyTQiKOlNvVW7ItoUlu9jRvO7CUo1Gbkfjp9sR+ +2UkQ+xtF2LXicdMdspMCR41L7L11So7fW/nWK/OAlb1Gs77cV0BanUY724A31VsZP71s8 ja35hInBOhj27KWmH2lo2tHZVPMlQ4m8gq9JK41YmGes8oDLtqkOulzOqijnS0DGUn2T4t poP1Rwpevyx4Yoywn9daf3jHIIXwHaGxiNgTGHu5GDtuHVt4o7nPCNOOMtVn6kyKm8eweR D7a2OqQeW7BD+PSiJYa7AbgtToPw7MtbFLyLc0EEIAe/o+js273bkk7TboUyrw== From: Vyacheslav Bocharov To: Neil Armstrong , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] arm64: meson: dts: update serial alias in dts for JetHub D1 Date: Fri, 25 Mar 2022 19:55:00 +0300 Message-Id: <20220325165501.81551-3-adeep@lexina.in> In-Reply-To: <20220325165501.81551-1-adeep@lexina.in> References: <20220325165501.81551-1-adeep@lexina.in> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220325_095515_101651_F9549CD3 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Change zigbee serial port alias to ttyAML2 for backward compatibility. Signed-off-by: Vyacheslav Bocharov --- arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts index 52ebe371df26..66c1eeba8f48 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts @@ -18,7 +18,7 @@ / { model = "JetHome JetHub J100"; aliases { serial0 = &uart_AO; /* Console */ - serial1 = &uart_AO_B; /* External UART (Wireless Module) */ + serial2 = &uart_AO_B; /* External UART (Wireless Module) */ ethernet0 = ðmac; }; From patchwork Fri Mar 25 16:55:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viacheslav X-Patchwork-Id: 12791747 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1FCE7C4332F for ; Fri, 25 Mar 2022 16:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type: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:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HYh0k+FNmj+sDfqC72gLCRmYqlk6hLT5qlN5IYAA5Cw=; b=zKo395Ns08O4sz BKmF6VlpKFOgQ2Gvum+dh6JC8ab6YTB6tHclwp7Twhtm/EwXKm9hWx4p/Vie17QIxdMHjrorNoJCL 0FgCwi1inerm+JEVF9mkHgvPop1q2iln9fgQQjUuXiN0CSTSSk+rSSPDsTQxCbX1yx+AhBRCGZSeO pvPqt0mW0RurPSM6Nk+Lx6QbZbkfzthGV0sl/dE0fvCP4SxQd/FjuQG1omj0aKU1cVXOFF8f0+fj4 T8atg1bG/vknFE/YJKJ1MYVQIQcX3gW8sjcyEnS3na5In64tHfLJsFRuZa+/d+fAkmyJogUeJW9/N Kq9gBQ/IBbAid+TScvyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDy-002eVm-8M; Fri, 25 Mar 2022 16:55:42 +0000 Received: from mx.msync.work ([2001:41d0:d:357f:aaaa::3]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXnDX-002eJl-1E; Fri, 25 Mar 2022 16:55:16 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3278131FD9; Fri, 25 Mar 2022 16:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1648227313; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=759V8GCMo8/v4gz2XHnDLRHPRulPKeOQ2ejVOii6Cqg=; b=UraC8yxZq38pDkOCRL/19YO+ULXzaYRpXBuHZFNUr/tPcauhlUTQTs05FOc5go9LPkLERp s3UHhi+jh1OaI1v8sZohHOJcmlRO4jpSfyhFt4epMm8jEQJNCTFuj/waVcm1pahgBWstag RMG5rzWjq4Qe15wCMXEdXaE6eu6pO8zdq50nNPc4gkIKy1cPmZUKzUBw3iIlVLGiZNbNMZ P2t+cvkPagTtHBtdOgIiL6/AukjlPvKAsynqY39r8kFraaHysjHKgl/rQ2ZT7+1oND657e g9qonnuKFzD1Gknr1IJVAbLx9o6HvHt9ZDXnT4ePX8PzoSMWraGFYhRox3RUxQ== From: Vyacheslav Bocharov To: Neil Armstrong , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] arm64: meson: update SDIO in dts for JetHub D1 Date: Fri, 25 Mar 2022 19:55:01 +0300 Message-Id: <20220325165501.81551-4-adeep@lexina.in> In-Reply-To: <20220325165501.81551-1-adeep@lexina.in> References: <20220325165501.81551-1-adeep@lexina.in> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220325_095515_242238_33AA4BFD X-CRM114-Status: UNSURE ( 8.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Fix the dts to match board's reference design: - update vddio_boot regulator to 3.3v (Wi-Fi SDIO module) - add vccq_1v8 regulator with 1.8v for eMMC SDIO In the first revision of JetHub D1 the vccq_1v8 regulator was 3.3v. All installed eMMC modules were tested to work in HS200 mode at 3.3v supply voltage. In the next revisions of the board eMMC will be powered with 1.8v according to the standard. Signed-off-by: Vyacheslav Bocharov --- .../dts/amlogic/meson-axg-jethome-jethub-j100.dts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts index 66c1eeba8f48..bc00d672a357 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts @@ -81,12 +81,22 @@ vddio_ao18: regulator-vddio_ao18 { vddio_boot: regulator-vddio_boot { compatible = "regulator-fixed"; regulator-name = "VDDIO_BOOT"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + + vccq_1v8: regulator-vccq_1v8 { + compatible = "regulator-fixed"; + regulator-name = "VCCQ_1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vddao_3v3>; regulator-always-on; }; + usb_pwr: regulator-usb_pwr { compatible = "regulator-fixed"; regulator-name = "USB_PWR"; @@ -248,8 +258,7 @@ &sd_emmc_b { bus-width = <4>; cap-sd-highspeed; - sd-uhs-sdr104; - max-frequency = <200000000>; + max-frequency = <50000000>; non-removable; disable-wp; @@ -282,7 +291,7 @@ &sd_emmc_c { mmc-pwrseq = <&emmc_pwrseq>; vmmc-supply = <&vcc_3v3>; - vqmmc-supply = <&vddio_boot>; + vqmmc-supply = <&vccq_1v8>; }; /* UART Bluetooth */