From patchwork Mon Mar 25 17:51:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602607 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 73B97C54E64 for ; Mon, 25 Mar 2024 17:52:07 +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=bqNd8joTlfJ8Tapin3piQtPHOimVfuny9g0cq4L3TYE=; b=zGj6Um7YQEvnGR 0rPAeQh3o8liRW6UfeM/uSP09hwhNYjMA2kIuwiNDo2VE11x+mMGAjkTXwJ3XhIKylIV47M2fjJDL Oij/B+R3WjCFkIYV7RpB43gORE5kB9X4ZiX+qBMjrCD6JuPFqyfHFhyvZ9KiMucSeA4fqL9ULzJSv QsgJYj041Bds2jN+wYZJ54g3iThxvIPeZWjmqTFoAR8jlnWb/ak/b/YbqtlwiCTLMuxn4Z24l2P9L K3GVhsaoy5ZaSrPdaTbxIE+mQpbgf+Wc5hOssWq/hVTWkr4jvSPTgunRW3U2wrQ9xj2vFXYUzNYES SNsvbK/qkDuRX6omzbRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooUK-000000019PE-3N2t; Mon, 25 Mar 2024 17:52:01 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooU6-000000019JQ-0ioh for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 17:51:48 +0000 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3c36ecdb8cdso2224664b6e.1 for ; Mon, 25 Mar 2024 10:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389101; x=1711993901; 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=4iEjZp14Ze75HGg5CLvY1SvFiZY0bmm5mEpNFtWs9I8=; b=U94gasP54gkbF+DjxneL2bkstmbryHJZZB2S58zhrwHSwzLHX25uKzjE9zFpZMWKXw t8U20Jd11BXvfMPo2kczWJJpbUIvaNt6yy4OD+eFwWlDiaVPnyf2Vkaz2eqwuEoLRwbY 2+sX3r2zc1KKniqH3EewrPmHu1JUZzOeXIQV4mktspou2lF0cBtz6pse6nE0uQpoOEtP 5JNdgdLX9CShQhIPi5sIy1zrH0WwWTu9ZU/OgoyP98u/7L/69fX3wN8q1YSxjyvqXAaH h3EWb5X5emevrbyrP15ZWQAT2RUgNTbu5raUF7WDXK40nEGDoXi1q6Ill4RtdY4/zxHw C23A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389101; x=1711993901; 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=4iEjZp14Ze75HGg5CLvY1SvFiZY0bmm5mEpNFtWs9I8=; b=IxpNlHOg4F6o2+NuV8pQUc3UHgjCT7kcDu/FqkDKuCdqAENR0+qyb23P6M5RQXyZCE DQznBqoqy0R9+ID66S13Oj4lXurBvOE/SQEGzgiuAwuVsl5aV3G4tFAt5SrnGYW+DZzQ Mi2HFnPSs++HBo+86As+mUazhZ+ZtUMaH7xHhgro26vFZ6fmUjUDXGeE5uMjmvDtuQkh CYlp7W9shWbN1HRDcSJlaLBelc4QQXcw4bgn2YrJKuDQTkakkRGVEraoo+JP3frx1RK/ 3MHr7hRKxiCqXmc7AxTRVE7Pa/3VHEkGRkhJH+OWwsxYLgXFdxs+u7dJ6FvMYQXyphuX Mu6A== X-Gm-Message-State: AOJu0YzSILDLSi7B80Hhkew47AYM5SwNPZm+vBgD5Cw73I5sMKu3jQW5 k16nMMg2QA8FH/DQzlaWnL8CepK2FAiwS9b79a8iMYQSPOTBN7B1FiXah2B6 X-Google-Smtp-Source: AGHT+IGe5fnkBgAeGgLCnuEU/YLCbxuD4rjpNPbjtM5QG8hVGZUHf293djgjCEwRKUMtphzAoWlUzg== X-Received: by 2002:aca:1a17:0:b0:3c3:bb59:f543 with SMTP id a23-20020aca1a17000000b003c3bb59f543mr7898176oia.49.1711389101601; Mon, 25 Mar 2024 10:51:41 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id u17-20020a056808151100b003c3d3fc607csm212505oiw.26.2024.03.25.10.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:51:41 -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] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices Date: Mon, 25 Mar 2024 12:51:30 -0500 Message-Id: <20240325175133.19393-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325175133.19393-1-macroalpha82@gmail.com> References: <20240325175133.19393-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_105146_833999_9CF02FF3 X-CRM114-Status: GOOD ( 10.18 ) 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 the optional node of chasis-type for Powkiddy RK3566 based devices. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 2 ++ arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi index 3ab751a01cb2..bd332714a023 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi @@ -10,6 +10,8 @@ #include "rk3566.dtsi" / { + chassis-type = "handset"; + aliases { mmc1 = &sdmmc0; mmc2 = &sdmmc1; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts index 4786b19fd017..5a648db41f35 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts @@ -11,6 +11,7 @@ / { model = "Powkiddy x55"; + chassis-type = "handset"; compatible = "powkiddy,x55", "rockchip,rk3566"; aliases { From patchwork Mon Mar 25 17:51:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602608 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 036BDC54E64 for ; Mon, 25 Mar 2024 17:52:12 +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=TMydmbWSHsJTekkVlpgnrCZ3Kd244snD+ol8x7uSS7M=; b=Scn6vTnYYsl+4n dgREXBuFMwY/qf8phZyusChwrR+ZhXSFuk3v30TIQZMMlb9JZR/GaFbtidETIDuMrmGvYI3y/v9lT ioSpN0g7MT/yAcbSc2dhH2U4ScTlBfY7LsTXYjlZZhhL+30C7I07dFJBHlLN2svOOG9uCbWdALa2s mb13wrwOVsTH+8B9FTWqgAf6aRwrqUQ4lt54fJb70ApLk3ehSFP5ktgiw/9VVkJaAKmeaoMtXy0gI DV/eBiYRd6dj5g8hYLq1x6jM2ebVjU6uBDDlPEIsh8VMOZMzv0UYWX32t3aHQlupAjOm4mS345ULO X6Xecepkupu7ji8N8fxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooUP-000000019Re-317b; Mon, 25 Mar 2024 17:52:05 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooU8-000000019K2-1nOO for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 17:51:51 +0000 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3c37d50adecso3160827b6e.0 for ; Mon, 25 Mar 2024 10:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389102; x=1711993902; 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=rsJtT2cnKvYAEAHElUdmZaRXsSO+wFIdbdJUSKugsNE=; b=IoKbiAwbTCicqmQGUt7wgPiRi13UnafL27UlbNkL/5v9COPWT58e3I8gUN6/lcjdp9 C0feqE9ULQ7d+pmIuAtAezdyX4I4x00Duz8Qo4ASYmZ+hYhI7762dIRPziInHVdZt98V errJO44PseucopJ28SycLA7TJluC0sTvhieHz3QBAP/C6sH4EbYLIuegUfNM3mNuce6w G5+8H0nP1vTYiDoPZLUha9E5JCD5tvCLcYLpN42KDRpIR8xlST/jPQyi8fQrstGjw0jf hCSFxQrHWXvWDChgMRdMk+2ow6hJpEk/zrJaZxpGIhS3LK806+mktX7i27XQdAb9opNR 9lSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389102; x=1711993902; 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=rsJtT2cnKvYAEAHElUdmZaRXsSO+wFIdbdJUSKugsNE=; b=oTtBaYB5oTHWG3snvE5oGjo/2bZOZPjGYm6UMDstxMjgU4wAA7SBQxIQDUvQibLxL0 tZB/mkDO0FT6GRuHbhrQ7PLH8PUIXBTeFntYH72opvtPF0pRltTp1emycuLBugCSg+M5 u3vMlSAyiEyaHiO99jq9ktKptRy3WvYvlA9ZK7DqNTILymUlBb7bn0s8PUwDL6ZMliuo YD/KaJf9SpgVW7T1+6aDrvGuWQ3+RF0f4TJn/ox8INHqn/AVUMONBOyXtJeQB+IrR8i3 krzH0vxWN0PdVFRrTKKRNGGzqxjF4bMWzmRJi9LqbCPYzfqso3UtnN2A96JCnNRiWA+o nimg== X-Gm-Message-State: AOJu0YxhROJ8IglexnF7lZfVIpqsJd/cWHXhFQ65drgSJxRE3OHalUme axQOkgWHUpPUVz4Xnbhx/BofArkz0gG4aLmu9pLe7wS/JWix1MWnxv0XO9T1 X-Google-Smtp-Source: AGHT+IHnz5LrtHO045MNYUBtenNRKyqsPSgn61hiwl+ZoE/Ap7bPdJxNbzQ2xLv8FlK67951DKSdSw== X-Received: by 2002:a05:6808:3a1a:b0:3c3:b652:efdd with SMTP id gr26-20020a0568083a1a00b003c3b652efddmr14026224oib.19.1711389102339; Mon, 25 Mar 2024 10:51:42 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id u17-20020a056808151100b003c3d3fc607csm212505oiw.26.2024.03.25.10.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:51:41 -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: Update sdmmc node for wifi on powkiddy rk3566 Date: Mon, 25 Mar 2024 12:51:31 -0500 Message-Id: <20240325175133.19393-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325175133.19393-1-macroalpha82@gmail.com> References: <20240325175133.19393-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_105149_562793_C33DBFCD X-CRM114-Status: GOOD ( 11.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 Update the sdmmc nodes responsible for WiFi on the Powkiddy RK3566 based devices. For the RGB30, RK2023, and X55 we also add the sd-uhs-sdr50 parameter. For the RGB10Max3 this parameter is not supported by the WiFi card. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts | 4 ++++ arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts | 4 ++++ arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 2 ++ arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts | 3 +++ 4 files changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts index 1f567a14ac84..f0f5ee595938 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts @@ -55,3 +55,7 @@ regulator-state-mem { }; }; }; + +&sdmmc2 { + sd-uhs-sdr50; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts index bc9933d9e262..661abceaba9c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts @@ -54,3 +54,7 @@ regulator-state-mem { }; }; }; + +&sdmmc2 { + sd-uhs-sdr50; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi index bd332714a023..10089921c62d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi @@ -771,6 +771,8 @@ &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"; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts index 5a648db41f35..ccdf654a3f48 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts @@ -835,9 +835,12 @@ &sdmmc1 { cap-sdio-irq; keep-power-in-suspend; mmc-pwrseq = <&sdio_pwrseq>; + no-mmc; + no-sd; non-removable; pinctrl-0 = <&sdmmc1_bus4>, <&sdmmc1_cmd>, <&sdmmc1_clk>; pinctrl-names = "default"; + sd-uhs-sdr50; vmmc-supply = <&vcc_wifi>; status = "okay"; }; From patchwork Mon Mar 25 17:51:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602609 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 D08FBC54E58 for ; Mon, 25 Mar 2024 17:52:12 +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=woINuQ/YruEeYtzWylKn14OAU6X2cqS+SpI7SeeMWiM=; b=peL3SKgq1mOCe1 SC3tzQ6fkZgMCXETMeLK7ycgC90tJtlteW8BruowIaHfTb+gf8PuCQt3SM9bz4HpRVe8vOO/hJi2N L9Is1e9kJPCfeUps7qwokM4zI5WzNPRPP4OCnC5N7LOk3HI+xkymvtNhfOqHaNDH8VcDPady0buaN LYR+BnyNpcdMRnJoPJ+7flDa0bxXLQcTQbop8l8E+YDR+N7bnwYXvd2dF0YTtbqyFK/Gkil2Re6Gy N0kLdFqtOGWpbdw0HlzE/EmCSnQ9oB4oXzklVA3OUezfayxPOl/a8VLDYgKIkuHu1YGq2M5yl2uGW 8UaPVC40cL18kiKM0XRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooUO-000000019R1-2bAZ; Mon, 25 Mar 2024 17:52:04 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooU8-000000019K7-1nWl for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 17:51:52 +0000 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3c3aa9ca414so3034667b6e.2 for ; Mon, 25 Mar 2024 10:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389103; x=1711993903; 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=2CVUJ1eR+Wrr/hS2Oz4kKjT97suaSK1CX1f46zATA1o=; b=I4N6YJ8XaE4eK0AOAwOaEX2N0pVddoln08+YIteYteJbQBgwM7ktyvaOi+EseXIkqy NZtoRevhw0BaZ8vVH2TfxUlKMCjDOrLV9g2cvyHcYg766xikla9wBX0d9+b5pOG7qFHi 7khh+1RoJ1sAiWXv9QWtYldEvHjXR3PjStK9uWZ4OVy5IsaysfAIjZsK9tB6PY7aXlim PzyMtQ/p8PoOB1hk3hUuXA7RkhJD0y1ZqBLlKaytn4tDTMgDw9PaRzawdkfJxgmMQpV3 K6VTJ4u9hdi+HYFcem6v5lQy3FJejskqtTDXbE17N7S54Npa3zO/iATe6kKUfz4RHqaG EpIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389103; x=1711993903; 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=2CVUJ1eR+Wrr/hS2Oz4kKjT97suaSK1CX1f46zATA1o=; b=CW5wgupdUg+h+09gRrVowU/JyW0jStXo9SibVbBHcyLlUkrQVcFRwp0ZPQI3k1rBDs jsBas5RrQfd/hatjKraoZeOkJbtRfU9sI0kGo/010D7qQS2a0SuCxL7ABk9pilzZE7pB lWWzd2Jq5ycBY6i+HJ0/ND2WYc/Zn/Dlr5fp6ykLPh/3nQkQB1yMia6AN2ZdZcd4+9+u G+5wsbhwlGW1buS4Oo4dSxL6Q+kcNO/pNAq+KTUdoaE0e1MuB8YjQrbU99DiDxVfwGy9 qjcYts+CyntK+WalwF5foU4nKoTTTuFt/y4DjAUhij+V7ftRMIFhDbWmrZdbYXiUY29D Z27Q== X-Gm-Message-State: AOJu0YznXdtaMBFffYadeJ51StK8Oi6HOCf0Zh52wqBmgeKkFUt+xBFc /3Tgsd4/OVqDlrEcl1N9xf1Ugy+HqPgXgTHuYgKoDa2DhI5OjfKFBCX1otfa X-Google-Smtp-Source: AGHT+IGL/HY+56f7I1xwlw3H8E89U0Z4fKEqkRonTw5a+Msj146EQCCsObH7ewvc9VnSXPtz1l8fOA== X-Received: by 2002:a05:6808:de7:b0:3c3:b84a:ca75 with SMTP id g39-20020a0568080de700b003c3b84aca75mr7693488oic.26.1711389103003; Mon, 25 Mar 2024 10:51:43 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id u17-20020a056808151100b003c3d3fc607csm212505oiw.26.2024.03.25.10.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:51:42 -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 model name for Powkiddy RK3566 Devices Date: Mon, 25 Mar 2024 12:51:32 -0500 Message-Id: <20240325175133.19393-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325175133.19393-1-macroalpha82@gmail.com> References: <20240325175133.19393-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_105149_568509_228D91A9 X-CRM114-Status: GOOD ( 11.94 ) 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 Powkiddy model names begin with the company "Powkiddy" 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-powkiddy-rgb30.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts index f0f5ee595938..e359465eebe9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts @@ -8,7 +8,7 @@ #include "rk3566-powkiddy-rk2023.dtsi" / { - model = "RGB30"; + model = "Powkiddy RGB30"; compatible = "powkiddy,rgb30", "rockchip,rk3566"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts index 661abceaba9c..b83116c56584 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts @@ -8,7 +8,7 @@ #include "rk3566-powkiddy-rk2023.dtsi" / { - model = "RK2023"; + model = "Powkiddy RK2023"; compatible = "powkiddy,rk2023", "rockchip,rk3566"; }; From patchwork Mon Mar 25 17:51:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13602606 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 0CA17C54E58 for ; Mon, 25 Mar 2024 17:52:07 +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=lvt9nxajFaFglWVA1IAuQdoStzXtv13fvwtCr1Zwj0Y=; b=JfIbrhEQ6COYub Un6z8OdoZoTBfoCEuPWUjxF5O1nTS+LwciAvc9I/Ry8TCCwlU7HNFvB4g7a165l5o1eJgnCIzNyq4 8opKLnm4EZQ4DISeFP0e9N+PNeqq/12nhlILjEtgxoaqLW2n/uUh8ihM7mlBBlcH7vA2eONYk9sxl 8BaCTokmhyQ0egS5a1zkAeY4aewCayMlmExfDJDP6g+/sNe6BqevVwxfYHqFIQIKp2Fo5n88ENxa/ Td5HOSQmi6ggPAwzfdwTVyALuFW/ZQ7lDOUhLmC6OgNeXlPzZ2IZvoIK+CipeWeJXqyNdatzhBPR+ s1SdJl7PWbyshUSGxBzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooUN-000000019QV-3YZy; Mon, 25 Mar 2024 17:52:03 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rooU6-000000019KG-0iW7 for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 17:51:49 +0000 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3c3d67db82aso214103b6e.0 for ; Mon, 25 Mar 2024 10:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389103; x=1711993903; 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=mI1JEJNBBcWDVRcoev8h23jzy4M+ePchT8VllK3tA1Q=; b=JWj6hqnM9FbuULBhg0cPxnR+pYzFVRQCqIQU9YqBQP08Z/+OixEhJVzK83OxOeFUwA ZD53w7Tc1ZFhvVxic8PYfCnrXdZXcJhwWmp/hqV43T1bvyxIARupkW90nUBtbcku+2dM vQGn6N4apZ3ESv+y6S9k4x0RyMjOjMLWjTaZhvXEwsKPPxFPHAwHDitSfDk5OF5MSAaq x0tVqoWmNpqB2wCR7vbM6CjN4oqDmt3ki+seiGYx89/bn6U4P8D82g2QhYYVUBECHcj6 fSHIBwS6o7ois+NZrWmNR63arWcnKGgfWnahM5krcptO7q4+yZM+P9ZVHj4v1rHyvWpM mmeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389103; x=1711993903; 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=mI1JEJNBBcWDVRcoev8h23jzy4M+ePchT8VllK3tA1Q=; b=KFMy0sdgxFQpoeB1JSozXPRfUiEVSah2MRlqsN1KjitJfaDw9rdeLoYxnCYrLN+RM+ AIh23uDTYH4MEH2AE8JN9Lj739Fkl4GarlIhYFdTpbOB51yzZPz4EGUBLAA9Eauy7K73 K2DoDDgCgFWHyDGmJ4o/3bOL1ULSpAFl+3fm5y9NR+f2nzk7ck12DKyIME0GyVpyxbwJ 6gmWfduU6t/JROE3d8D2RMaInsiB3nIELRNwD3Tu/aEh6UW7rb7UudNYs4FIhXICEJsP LX6p2fR9nvaT5LcW0hKfNG7cKk251u6M10x3lrQ72H+T7kSdc6zC49z9LhmRYd/AqbLK n4zg== X-Gm-Message-State: AOJu0Yxn7Q2KfAiMF+jYK9aFU0Cu5gXIJRknZXurLuyuCJHnq5OpaCs+ hFSoGvpa+njBgN7y0mNzVXB5BCriNxvGbCXlcPVUTZ2HoTse0MzydprkyWMi X-Google-Smtp-Source: AGHT+IFPLvYp9Eg0ptpvOzBFhYZ6KuQ//I1wLNdwe7iaBA9xy7lqx91AxR1NMY+41M30xZK2tcc8BA== X-Received: by 2002:a05:6808:bd2:b0:3c3:d2dd:f8df with SMTP id o18-20020a0568080bd200b003c3d2ddf8dfmr2287224oik.52.1711389103720; Mon, 25 Mar 2024 10:51:43 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id u17-20020a056808151100b003c3d3fc607csm212505oiw.26.2024.03.25.10.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:51:43 -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: Describe Alternate Regulator Config on RGB30 Date: Mon, 25 Mar 2024 12:51:33 -0500 Message-Id: <20240325175133.19393-5-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325175133.19393-1-macroalpha82@gmail.com> References: <20240325175133.19393-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_105146_834001_4F871404 X-CRM114-Status: GOOD ( 13.19 ) 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 Describe a possible secondary regulator configuration for the RGB30. At some point Powkiddy altered the CPU regulator for the RGB30 without creating a new model revision. Note this in the device-tree in the hopes that it may alleviate a user's confusion (or possibly allow a bootloader to manipulate the tree to swap out the regulators when the alternate configuration is detected). Signed-off-by: Chris Morgan --- .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts index e359465eebe9..484f097e9f11 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts @@ -54,6 +54,30 @@ regulator-state-mem { regulator-off-in-suspend; }; }; + + /* + * Some RGB30 devices use a different CPU regulator. These + * devices have no external markings to denote a different + * model revision. + */ + vdd_cpu_alt: regulator@40 { + compatible = "tcs,tcs4525"; + reg = <0x40>; + fcs,suspend-voltage-selector = <1>; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <712500>; + regulator-max-microvolt = <1390000>; + regulator-name = "vdd_cpu_alt"; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc_sys>; + + status = "disabled"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; }; &sdmmc2 {