From patchwork Mon Mar 25 14:37:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602345 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 F1A97CD11BF for ; Mon, 25 Mar 2024 14:37:43 +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=Yq408Cc04sZvmsWQE1+/Cm/Adu9BaVDjgK9BTrwJol0=; b=errH91PydZEUey AZoNCBYmBcfXuRFI5QMKQcwyDY+Stb7Dk2Zj61eK5yYWiPjowt0u46wFI20/16MlIrDQtZpYXb14o 2AKoNryl3N84FKtskB9fyhjSF73dliZTpPOyq1Agr/Ozo+EI4ftPCWYvuKuuFwnwtksPXs/V9gutI GM8/YwzkqJTBso5tIPkRYJSyoC3dMvBa6+Xa3Me3ew6tuabMZ1HW8dcOVeR1w1RPYZaTw9AMsn9w+ EdhNQEZW3xcdvyuv/0WSnW6ZD3hwgypwNb6S5iJHeDurp4mIWcVVPT7jn7D0xjFiCBkJFK9KcxYD/ Atul2nSncWyOOxILv7Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSF-00000000Go4-0zq4; Mon, 25 Mar 2024 14:37:39 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSA-00000000Gm6-2bgc for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 14:37:35 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-22963f0e12cso1920405fac.1 for ; Mon, 25 Mar 2024 07:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711377453; x=1711982253; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jW/fuOm8kdNuw3NGoECZHkU27Cn95NEg76ds+zxvtyA=; b=MefLhwPnby7IpZ3Vo0iXK71+QEC5ePPzptuvgfMlXnECgMgFoxE7pIW7JR4sfWdJ1r hFAD3qBl1WgbRem+yAYchBzaiWccesQESCQu2LFB0+JcODPME7uIRHNWAHzZxDy9DIPN IPx/oNauFpXBdUK/3IlHsEsH0RSYNEiaqrPAXRRzZ+h8ZCG63I0NP7hdnbB3krHGtakA eAmt5Ta+meLPGZEzO7y6nIHQ3/6VD/1dwo04OctZ3mk41oI7s4Pfr9zB+YgQBSzJTLy/ 7dXj1ffX7ABUg4deL6PBhpHnG4w6+XvGqFLOCa4FBVQ8+gRVJuixxtf23H7uwH7bNKfK fbbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711377453; x=1711982253; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jW/fuOm8kdNuw3NGoECZHkU27Cn95NEg76ds+zxvtyA=; b=hOm25kbYpGad3eqCpzXkPwxROIP13v0MyscHDyqZI5YeFw+MaWmtCpl8DPfVsQAoDr dAqU08xUw+HQzLBU7kGjjEiymcRf3oanDs1HJ4HzUirduZlXYXKCYDFCcLNXxc/Pjf1L 8wjYIPE3gAA5Es9XRyGTzlhuKEeoHzKKZv4cNSTZzgzeUJYC6akMiha//ntfQpLBuHxd mMEW+7HId+HSWL4MBV5sR6I3jk9xnJSM1c/jgOSh1DG13sIO4LmBa1T6OXhVtmv240Fr x4z9Uq0sEFXFeBzHeEtSSU40E22JyFKgHHSbzeVJAcHTs1tW/eqD7+McGTfZNRvhBKuf 1uoA== X-Gm-Message-State: AOJu0YxabEcQBW9Q9RQL2S9eEKO7SSly5HDj7mAKhEINXqaAETKkIE/3 ARCbTHpBlxQMURSntDHeNuxgv/fDMPPCAsyP7/vY70yldKIorXbWcXASV3fs X-Google-Smtp-Source: AGHT+IF46VGAe4lT/KeyjDVFgf4uKpf+cVl6AX1v4Lkt3h1opIge5Yqt6wlupJOxiq90fY8R6KTN9w== X-Received: by 2002:a05:6871:d190:b0:21e:e5db:7964 with SMTP id pj16-20020a056871d19000b0021ee5db7964mr7234666oac.23.1711377453699; Mon, 25 Mar 2024 07:37:33 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id xb22-20020a056870cd9600b0022a0ff98f9bsm1417180oab.4.2024.03.25.07.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 07:37:33 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, Chris Morgan Subject: [PATCH 1/4] arm64: dts: rockchip: rgxx3: Add additional properties for WiFi Date: Mon, 25 Mar 2024 09:37:26 -0500 Message-Id: <20240325143729.83852-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325143729.83852-1-macroalpha82@gmail.com> References: <20240325143729.83852-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_073734_715726_253D09B7 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Add additional properties for the SDMMC2 node. Based on user feedback these help correct some issues with probing the WiFi hardware. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi index 18b8c2e7befa..c8fdb1b817f5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi @@ -623,9 +623,12 @@ &sdmmc2 { cap-sdio-irq; keep-power-in-suspend; mmc-pwrseq = <&sdio_pwrseq>; + no-mmc; + no-sd; non-removable; pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>; pinctrl-names = "default"; + sd-uhs-sdr50; vmmc-supply = <&vcc_wifi>; vqmmc-supply = <&vcca1v8_pmu>; status = "okay"; From patchwork Mon Mar 25 14:37:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602347 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 32D62C54E58 for ; Mon, 25 Mar 2024 14:37:50 +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=DO9yMHPAOwzwJgORKVhwSs1JB0T31RUJfw/7wtSnBXk=; b=Rd6TogN0C0t+oO 7dWyrKCyjyrybfJOoI5h5fz6rKLZcwS7AoDdaLldXkUgfnd+dJA3M1vjJTlvV9kIvNgxAlClZjCRa ddLXEAjbQ5l+wYF/1XjkQwzRVG+vQjV+qsUw+59UwOAYUb6WKfTkdrWnYiHm3rVGucRnBrF9gzbTS xoTqWvWnCwRojt0mAjhPN9CIesGermosBgFp6WgZpPNtXJAopv3UzH4mZj6RZElMFVV3xA5flSYP+ SHgIwu25zDpWyU3uTtzIZw/R0MuckGXeTBhusN/r92czW9Okm4YY+WhBtI1ytBo1v7taYIy6rxJGc f6TretUKFH/L+07qio9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSG-00000000GpA-2UdE; Mon, 25 Mar 2024 14:37:40 +0000 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSB-00000000GmY-19TR for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 14:37:36 +0000 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-22a353217c3so587527fac.1 for ; Mon, 25 Mar 2024 07:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711377454; x=1711982254; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QNg/lAN0ji1lgkv8ICJBH5shfYt5KAq0z8UCo+AIPcY=; b=Z7ka8yRjL7w7eycKnbbHkJ4xmAdAZE2GmIfK4j+1bLJZOqh5J28ah5ioWYU3jOnDlu g+MfM06GvQWnJExGuBr12ABJr3z1e0yQd2eqV9is4Vk1dyNdhvPeR5ZFefmdJDGhQ2uY yxGB8/VyoJauK7SpHd1LT5NP/gVumhzap85b2DzJh5WMLRygbt79O5vZWSKHgS++2lG8 0524fjAjHz2zNXwFeyzdI/v+yzq4wSYhUUaSfRwSg9if9SurPZJA2oPQePhRlX0qtyCc 4pUw+KTEAgEw1ZPARqzogiTIg6YPWamjERuMbhxATTMwrVOqJ3Q2A2GDR6jTHWeGxjYR Vb3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711377454; x=1711982254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QNg/lAN0ji1lgkv8ICJBH5shfYt5KAq0z8UCo+AIPcY=; b=VRVYF4vCcGe2EzSYzHsJK8+pZ6ILJZSjypoKFP/07mHH8cN8S7/3/Oif96g+L5+G3v Uz8cVkQ+zTbjfMpw+XY09mT/Le70YFsiOOogyVQTdBEEOzrx1OvB1FrbcDhKmdBGPJ0w Bjg0QkD+rJ/WiPP9mgLnIl0Fx4HSXbs15QOLM34KMnUhXTuqSSnSHdkkkYjH47dsFz5K qfQMQiBQZowpOcsmJ1vzfC/0dMeGM29UYmsmq/szcKO2wRERsKtzZalZSwaZrPCpQMrw 21Qrsc8Zgvr5iQOSD6DmakvRaYHH3CG4b3EHjLylqdxwq0DOQt1pzBIYtjMjTfATcOnm bbig== X-Gm-Message-State: AOJu0Yw5P+D82Uim5umVJsRr/SSOZ5iSM/LGkSkzH2dwGW2u6ofs4tli hyaG+MgRjVxxmwpqKgE673biQuhbm4GrWLGvV9yQAnQctK7+TFFT94QndJjO X-Google-Smtp-Source: AGHT+IGv5f1B1VUhDqe1XP+drjOwefd9ldyERXeymiDRfWRwlw9KWkzHtMzZZeYxxYj4oZ42RPBt6g== X-Received: by 2002:a05:6871:31af:b0:229:800f:3ed6 with SMTP id lv47-20020a05687131af00b00229800f3ed6mr6315397oac.36.1711377454257; Mon, 25 Mar 2024 07:37:34 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id xb22-20020a056870cd9600b0022a0ff98f9bsm1417180oab.4.2024.03.25.07.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 07:37:33 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, Chris Morgan Subject: [PATCH 2/4] arm64: dts: rockchip: rgxx3: Add optional node for chasis-type Date: Mon, 25 Mar 2024 09:37:27 -0500 Message-Id: <20240325143729.83852-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325143729.83852-1-macroalpha82@gmail.com> References: <20240325143729.83852-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_073735_334612_8C6B0B7C X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Add optional node for chasis-type defining this device as a handset. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi index c8fdb1b817f5..233eade30f21 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi @@ -10,6 +10,8 @@ #include "rk3566.dtsi" / { + chassis-type = "handset"; + chosen: chosen { stdout-path = "serial2:1500000n8"; }; From patchwork Mon Mar 25 14:37:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602346 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 49C02C54E58 for ; Mon, 25 Mar 2024 14:37: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: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=8Q+KimCMFKbM0KFdZML9iy78aMOqcPMhW+Kq/rGOh0k=; b=xwFtA40M9gawos wZKOrG/v6O0fN0twuwHVytJRUHQptZ55lwqYxMG1qbJvIV/+qKAYZi3t+kcjAqfpesbuTRn3uD09s FN2rpF8GZ0DH6swJl9jz0vTv4QI8i8JWF64q2HjS/z8K0lYv1cE3DI51X1iFqZ/LXfp2vwxa71yK1 o7CdyAnFfmaTeYUsllUWfavd+GjJwWZ88mn6EiXbuYiItUxs9kjah4PXMliGAd7ulPTpJrdf7xE7W xCyneUltV/riuqYRtfP/hMJcQN0EsWIRncqTnV5C50IYX5FTB4BNEP+wx0nd2N820WylQEDCwSN3Y vtYxb2VnGaO/lyg9QHFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSJ-00000000Gqh-0He2; Mon, 25 Mar 2024 14:37:43 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSD-00000000Gmp-1fuY for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 14:37:39 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-221a4f9557dso2853720fac.2 for ; Mon, 25 Mar 2024 07:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711377455; x=1711982255; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OWGsglh309p0hvFkoJw+fSsGfnv7kwVjpBTFwQurm4U=; b=J9sUUwUguydshphy750lRv81hR/7IAqPVctArWbVdpOerxwfFcuN0aRljd9EfrKLWb cawAcPIMXi8MUerBBUjk31olp9AoNgvXlMF/cCCokYv3Ljojsqp6ArGXWjIHfcRvZBkr BHYwcowyTmlUDkZk0uhAmOLrYgfV7gbxzORlqGNrQHhaqPKrYHP7Hu4mdEaGciIfzWv5 giELpGlGYbwLfdqe4MehizkpmoY6t3Sl4JmJBf45tl/l2gAg/GwvWvQEYWvwOh5cYYyh p5XJ8vOz2MZHc+9u1RMVWh3GmVGY0sy45PbbW4+riodj2jeE3ptywp1dgkap4lQR8zRW f/gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711377455; x=1711982255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OWGsglh309p0hvFkoJw+fSsGfnv7kwVjpBTFwQurm4U=; b=QiSr3d7l/ow42UGvewubiKqghgrIZo/C3E9W84GFrzHECHbjfHvEj4QRMJEYfAg11U RfK0fGBt4tZ37oJ7mqohVQfGRK2JOvM1IOV0TfSexTsXhXWmHK9WJDC6RP9cVWmGd2Fm MBIgD9RWHgv5sOCPU6NZBB0wNiGfU6yJFa3JWXi7f+Lg+gcFQ5XYk00AGlZhff52DkVI uHNBd8Et2EFZ9yNHlfnTal9oa9N6C/BJd3L4gBLjyZQ3dAhjd71hjjIagrN4AvOL/Jgy HfJkEZESKEAg+XjRWLK2CX2XqceKrZghnA3KdH5+p31GSZmtcAiPynd/DmIiQCDKlC7a vJGA== X-Gm-Message-State: AOJu0YxssqPcMbb8n/K0y7NyCvodyj0/DuXOqOidewVZYgJYDc+1dPUS CnivygdKI8QdzTN2BKQcAZgo8vWX4omikn5DMsM0xngjvEz2RK42T4OIdJkr X-Google-Smtp-Source: AGHT+IHFezassPLHQR+4Nk4JFVdRua2MnimBJg64IU+Y9mpBGCX4v92gaUHyOAI69wP8Rgw1Tos6UQ== X-Received: by 2002:a05:6870:14d6:b0:229:ec74:a686 with SMTP id l22-20020a05687014d600b00229ec74a686mr8344702oab.7.1711377454873; Mon, 25 Mar 2024 07:37:34 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id xb22-20020a056870cd9600b0022a0ff98f9bsm1417180oab.4.2024.03.25.07.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 07:37:34 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, Chris Morgan Subject: [PATCH 3/4] arm64: dts: rockchip: Correct RGxx3 SDMMC ordering Date: Mon, 25 Mar 2024 09:37:28 -0500 Message-Id: <20240325143729.83852-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325143729.83852-1-macroalpha82@gmail.com> References: <20240325143729.83852-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_073737_613150_5D781823 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Make the order of SDMMC predictable across the entire device lineup. This allows userspace to always know that sdmmc0 is the eMMC (when present), sdmmc1 is always the first sd card slot, sdmmc2 is always the 2nd sd card slot (when present), and sdmmc3 is always the wifi (when present). Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts | 7 ------- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts | 6 ------ arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts | 7 ------- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts | 6 ------ arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts | 7 ------- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts | 6 ------ arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts | 6 ------ arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 7 +++++++ 8 files changed, 7 insertions(+), 45 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts index ab83e8a61615..d239a8452957 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts @@ -10,13 +10,6 @@ / { model = "Anbernic RG ARC-D"; compatible = "anbernic,rg-arc-d", "rockchip,rk3566"; - - aliases { - mmc0 = &sdhci; - mmc1 = &sdmmc0; - mmc2 = &sdmmc1; - mmc3 = &sdmmc2; - }; }; &i2c2 { diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts index 6264a8c78d0b..4bb13d94a759 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts @@ -10,10 +10,4 @@ / { model = "Anbernic RG ARC-S"; compatible = "anbernic,rg-arc-s", "rockchip,rk3566"; - - aliases { - mmc1 = &sdmmc0; - mmc2 = &sdmmc1; - mmc3 = &sdmmc2; - }; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts index 8aa93c646bec..94c678c44d3a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts @@ -11,13 +11,6 @@ / { model = "RG353P"; compatible = "anbernic,rg353p", "rockchip,rk3566"; - aliases { - mmc0 = &sdhci; - mmc1 = &sdmmc0; - mmc2 = &sdmmc1; - mmc3 = &sdmmc2; - }; - battery: battery { compatible = "simple-battery"; charge-full-design-microamp-hours = <3472000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts index b211973e36c2..25edd81ce26b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts @@ -11,12 +11,6 @@ / { model = "RG353PS"; compatible = "anbernic,rg353ps", "rockchip,rk3566"; - aliases { - mmc0 = &sdmmc0; - mmc1 = &sdmmc1; - mmc2 = &sdmmc2; - }; - battery: battery { compatible = "simple-battery"; charge-full-design-microamp-hours = <3472000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts index f49ce29ba597..5354c5958df2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts @@ -11,13 +11,6 @@ / { model = "RG353V"; compatible = "anbernic,rg353v", "rockchip,rk3566"; - aliases { - mmc0 = &sdhci; - mmc1 = &sdmmc0; - mmc2 = &sdmmc1; - mmc3 = &sdmmc2; - }; - battery: battery { compatible = "simple-battery"; charge-full-design-microamp-hours = <3151000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts index a7dc462fe21f..02653b59f6c2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts @@ -11,12 +11,6 @@ / { model = "RG353VS"; compatible = "anbernic,rg353vs", "rockchip,rk3566"; - aliases { - mmc0 = &sdmmc0; - mmc1 = &sdmmc1; - mmc2 = &sdmmc2; - }; - battery: battery { compatible = "simple-battery"; charge-full-design-microamp-hours = <3151000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts index 94e6dd61a2db..e7161a86a9f1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts @@ -11,12 +11,6 @@ / { model = "RG503"; compatible = "anbernic,rg503", "rockchip,rk3566"; - aliases { - mmc0 = &sdmmc0; - mmc1 = &sdmmc1; - mmc2 = &sdmmc2; - }; - adc-joystick { compatible = "adc-joystick"; io-channels = <&adc_mux 0>, diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi index 233eade30f21..47c8fdc7c843 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi @@ -12,6 +12,13 @@ / { chassis-type = "handset"; + aliases { + mmc0 = &sdhci; + mmc1 = &sdmmc0; + mmc2 = &sdmmc1; + mmc3 = &sdmmc2; + }; + chosen: chosen { stdout-path = "serial2:1500000n8"; }; From patchwork Mon Mar 25 14:37:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602348 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 B570ECD11BF for ; Mon, 25 Mar 2024 14:37:56 +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=UrxUvz4y5l/0mGQglHeCunc5Sk2X9t+VD5ko6pHlq3k=; b=OEaSBPjZ3+qd95 eyRzCEJoFBtPB9eXWKTa13M3iy/eP6kgz+XEtXY/ZbxdLBpHs6KjUAeZyTjHAsIW3gK1d1VdbWf8z bE8FGd+GtslUeuPqHSeEfCV3LgbKU+Id+d9rXr4rNX7vGvhBxlOiv3gjOwNF7uYbki/8wu6vXO285 lXEfZhFuZRd0D4xbeh+F2ZG2SUgryKHMcYXq7zdxeO9De9uSAqLf4MYzFgaSNAnABjNqq0IuTM4zV Uw+Oj3jk4SoBuGOgTcAVvH0om5c3q4s0+JvDVQzKYLlI1weyLJT+MRhdy8oA4ls/GbqvZTLPryJ/z EJxhfop3xr3VVmnelywA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSS-00000000Guv-1edK; Mon, 25 Mar 2024 14:37:52 +0000 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rolSJ-00000000Gn4-1y1n for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 14:37:45 +0000 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-22988692021so1875860fac.1 for ; Mon, 25 Mar 2024 07:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711377455; x=1711982255; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aCswsN7FdkVodfTM0bhOmSxk9PJOmJSqCfqeMtR+9hA=; b=mBywuWC5DaBfAkjg0WS3i6FfHAw1jdlbalTC9xQZH5JOePiLevO2VFEiF9lRrzoS4P jexQ0Bmh2r7QZvE9Bf1EKk0BI4H7HYTXO037dClb8+4sMPOiLQ+YzY61fMHHpFBnDGN7 oCH0jHKHuMfolTF0Q9LL7XvJvh/ADci2hK5SxXlyPdTFbjunQvMMyIgd2uxPhQY93ekk FbsXvOuRpPws62Lta623mQeLFMJNrlEMfxurZo5J9fMI3znYlbpIGZ6z/X6h02d4qSOE DLKKWhKLlEir+hi4qXSfm0/Cl7+VBgPEX0ax90KbVP973nBZcNDapOH/BKcTVAyFiIK+ Kakg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711377455; x=1711982255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aCswsN7FdkVodfTM0bhOmSxk9PJOmJSqCfqeMtR+9hA=; b=sfoqZGP8Azd+TYblIKUNo0ACOl2AN3IuV3HzCh6jg5icAOoAzOPVDFOQNx41QEZ/HA iSlVEVjSdxSzN0getmhqCvLyfoY90ngxnbkokJtRx/HI9Qu9Tn+vg7QJl0YZ8jmt3UEk 1TFCkeayEwBMv8kzKIJOz/lElIMuDqt6GPyZfJdR4emoQ9DAXOawBEcPGJUDhN3Hh8cL ptJVHJQY8tUMx/MNAFOo3BK+CYYSZVhlksCFk+YuEnaBkGOrLjm2gcbp9GIGazi/iYc9 I9oGXfO3IqfZq6mK0i9uJr+AZcXwuVUl5teceICaFXyGier46Ge33Tuxu49UhXvhIuo+ JTfg== X-Gm-Message-State: AOJu0YwWW1en1cha6umKFalN4VOb+bNmB8UrY4fyrrhvvOqaCkUYCSqS hclRXEcse3XWlQ5R8kH3yxtUEUEqotZhyZ69VQ+/uiu2E7r92Q6/nypdHqLd X-Google-Smtp-Source: AGHT+IF15hJ/tYtP/YPhos0TSN5AF90nlbwnLe+gFG5FFOw3TAp2QzxMRddVXxnIHduPKnzh0crI5Q== X-Received: by 2002:a05:6870:702c:b0:221:9cf3:8ae5 with SMTP id u44-20020a056870702c00b002219cf38ae5mr2674242oae.24.1711377455394; Mon, 25 Mar 2024 07:37:35 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id xb22-20020a056870cd9600b0022a0ff98f9bsm1417180oab.4.2024.03.25.07.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 07:37:35 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, Chris Morgan Subject: [PATCH 4/4] arm64: dts: rockchip: Correct model name for Anbernic RGxx3 Devices Date: Mon, 25 Mar 2024 09:37:29 -0500 Message-Id: <20240325143729.83852-5-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325143729.83852-1-macroalpha82@gmail.com> References: <20240325143729.83852-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_073743_814734_4AA8E76C X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Some Anbernic model names begin with the company "Anbernic" and others simply list the model number. Make this consistent across the device lineup by including the manufacturer in the model name. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts index 94c678c44d3a..0df1254f89af 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts @@ -8,7 +8,7 @@ #include "rk3566-anbernic-rg353x.dtsi" / { - model = "RG353P"; + model = "Anbernic RG353P"; compatible = "anbernic,rg353p", "rockchip,rk3566"; battery: battery { diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts index 25edd81ce26b..b1fd2b0f6719 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts @@ -8,7 +8,7 @@ #include "rk3566-anbernic-rg353x.dtsi" / { - model = "RG353PS"; + model = "Anbernic RG353PS"; compatible = "anbernic,rg353ps", "rockchip,rk3566"; battery: battery { diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts index 5354c5958df2..9fa68cc53015 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts @@ -8,7 +8,7 @@ #include "rk3566-anbernic-rg353x.dtsi" / { - model = "RG353V"; + model = "Anbernic RG353V"; compatible = "anbernic,rg353v", "rockchip,rk3566"; battery: battery { diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts index 02653b59f6c2..78adac9fff58 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts @@ -8,7 +8,7 @@ #include "rk3566-anbernic-rg353x.dtsi" / { - model = "RG353VS"; + model = "Anbernic RG353VS"; compatible = "anbernic,rg353vs", "rockchip,rk3566"; battery: battery { diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts index e7161a86a9f1..b7e029a7039a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts @@ -8,7 +8,7 @@ #include "rk3566-anbernic-rgxx3.dtsi" / { - model = "RG503"; + model = "Anbernic RG503"; compatible = "anbernic,rg503", "rockchip,rk3566"; adc-joystick {