From patchwork Thu Aug 29 13:20:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13783227 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 6E033C83F16 for ; Thu, 29 Aug 2024 13:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xXofggpmprYI0+LiWMk83WStXSHiuZHD3sONFvEo+Ag=; b=AlaQ7ANcSHNm4iWW4MXBkpnfYj xa4/RtUpwzz9NY0X4d+3u9cZwj2vikX1lk7NZm8Upx/5Kz7xHJCiaNtslW0p00IJEXyYo9PeQEuEj mPlSVTEfPCWUMcThhet4gAmc9HDcO8nCPzFynEhmCZI9sRnljMrduOnsGlmoblbrpdYYdywM8mmmq IPYJZMeiLpbVd0/LWzU0xCZ7Hgb4kYVtr1V7iHY+cCnihZI0+XHftV9TMdPIVwIPYIU64Uh1fZSQI tEuDLh66xKSt9sQkDQNhbMx6rzWgihl9nwkdmO6VqvhLMLfRjymvZY29AS/A8JVjfILARKcbJkqNr xdmyUbzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf69-000000028gy-2Ux9; Thu, 29 Aug 2024 13:22:01 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf5F-000000028Ur-2qTV; Thu, 29 Aug 2024 13:21:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xXofggpmprYI0+LiWMk83WStXSHiuZHD3sONFvEo+Ag=; b=MuvirVY4y68Zaxnse2JV8A+IPT hO1Q83V6o2tCLUULcWwyfZZPfSgyC1TpNf0zURoOJJYXK+DJHoQl9CdJljSkcjlRJufkHmaE0DYg9 FrDwDTlD6cfTeyjfvuddwjqYCl+dbFoo0E9vMf2P68VbgpD3KAvHcdd2ZFq8DyassM4qxf2WNDLFB z9noUWLn3Rv9oztdwHHVF38spxDTWaFhlKyNy9HcvVJWX1VuQBlLfuvMUEWNX+Lhzan1iaJr3scbS KuujVkEFMSE1EBrbPFwvAMkUykbwuNkqvkeIFli3Mg5eP3cJD67DQyAXXzJcMLI1xrrWaZT9I6ex7 K2LYamrg==; Received: from i5e861916.versanet.de ([94.134.25.22] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sjf5D-0004Es-TT; Thu, 29 Aug 2024 15:21:03 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: marcin.juszkiewicz@linaro.org, didi.debian@cknow.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] arm64: dts: rockchip: use correct fcs,suspend-voltage-selector on NanoPC-T6 Date: Thu, 29 Aug 2024 15:20:58 +0200 Message-ID: <20240829132100.1723127-2-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240829132100.1723127-1-heiko@sntech.de> References: <20240829132100.1723127-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_062105_734755_DDB7B2AF X-CRM114-Status: GOOD ( 12.87 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A remant from moving from the vendor kernel, the regulator is using a fairchild fcs prefix instead of rockchip,* in the mainline kernel according to its binding. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi index b5f5ce3459a4..066b964a7ea8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi @@ -366,7 +366,7 @@ &i2c2 { vdd_npu_s0: regulator@42 { compatible = "rockchip,rk8602"; reg = <0x42>; - rockchip,suspend-voltage-selector = <1>; + fcs,suspend-voltage-selector = <1>; regulator-name = "vdd_npu_s0"; regulator-always-on; regulator-boot-on; From patchwork Thu Aug 29 13:20:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13783228 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 D31B1C83F16 for ; Thu, 29 Aug 2024 13:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Uel2mVUmH/WOIAa067Q3w0IU839A2xFd601zVHRwGqU=; b=KBXNq/1taGTjZNX7mGjpUqwPwy ty4dwkakN+dPo4HSOYK6StTmg6nmJQQGzDbf5AB44emxBBEoML1rn7ANHq5w4IxF6FBZnXRQJfz48 UvGm7D39TtG1mKGNneC623wPwQXM5D8pPsQEKllwxrGlg+6BcWe3F1VkO/Dy7/hkwc2IAZ8F41sNe OTD+UqvHnZQUkvxwSS2yLH1xfT5VW6juXk+AQxyIeyvtjOr54s9UJ/0PdSXPCxA8GThT/pehdB5AW KV2ItQqljV9pNN6uhSj8wrX4lO7mqK8ktPdZUpIc8omEAlv8jaGuDX50uoFwggLOmpUbjyhVvzd3c LZ8sXa5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf6x-000000028tw-3olQ; Thu, 29 Aug 2024 13:22:51 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf5G-000000028Vb-2nax; Thu, 29 Aug 2024 13:21:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Uel2mVUmH/WOIAa067Q3w0IU839A2xFd601zVHRwGqU=; b=ICZsVjTN9sr1TP2vOxGF5YxhEc 9Jhvsei4+cOnu1KE/bUgYRyWWyIsV5UcGseG2w49bXX6msryp6HT4ToazqrvHgeBSwo43ITRUeHdq lz2BTb4SqXYvkmh8X9ikMvu4VMIX4q1RYd5Od+L220VXInjs7Y0aPYnsJKr4ECNdo8fKlDHSz0u+5 pMFMP26u5HrDRb/qYaZQqrjKdz7vIGKH9EtjX+FuLo1Kjp9cSvizasDHEh0Je2O7+OJ9vwdWilVG0 xqNVLx2/GgA9pYjMPFpdexJx7HeKLFURJe6WXcGhFqcGpF2QmEzu/2y9vpfZBdpnShbfgFFiFcFAi RM2OOeSQ==; Received: from i5e861916.versanet.de ([94.134.25.22] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sjf5E-0004Es-Rj; Thu, 29 Aug 2024 15:21:04 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: marcin.juszkiewicz@linaro.org, didi.debian@cknow.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] arm64: dts: rockchip: drop unsupported regulator property from NanoPC-T6 Date: Thu, 29 Aug 2024 15:20:59 +0200 Message-ID: <20240829132100.1723127-3-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240829132100.1723127-1-heiko@sntech.de> References: <20240829132100.1723127-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_062106_730049_883D5D46 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org regulator-init-microvolt is used in the vendor-kernel, but not part of the specification. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi index 066b964a7ea8..94a1c83a322d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi @@ -735,7 +735,6 @@ vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { regulator-boot-on; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>; - regulator-init-microvolt = <750000>; regulator-ramp-delay = <12500>; regulator-name = "vdd_vdenc_s0"; From patchwork Thu Aug 29 13:21:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13783263 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 B4022C83F16 for ; Thu, 29 Aug 2024 13:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/h5Rrj+f8CwNw8UnEg3AKwGGFETNXHRsb2ZgPZuQ+e0=; b=CfrYpdas4BBcn/knuUmLKCvhGT cZdFA0b5JWYlmmDih4FlkN7TJjRhXUlam7sVF92lG1v+K/JE0a3ll+vtiRIn39TmV680zdzDIEVnX I73dZFbRrXXE8GJPzU5oicM9gdVB9u04jTVH4ubz8HRJN/UcEzNlDUWa8dJhUdCjJpqZ3cY4DUO6a 9BJfxgcQZMl48m27r8V5GwOL4+SwCRXNdCZP1BbGWfh3h38qCAMfVBVD66Gi24gmErc4u1frTP2Tn CX6E4K9yLba6pGvbWAIZ2qn+SmBU+HaILgtdVMptiOHz/pvlmf8K38pK8IEpdqt449u9YSvKNkkL2 D8t3AJMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf8f-000000029MI-2faf; Thu, 29 Aug 2024 13:24:37 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf5H-000000028WG-3M0h; Thu, 29 Aug 2024 13:21:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/h5Rrj+f8CwNw8UnEg3AKwGGFETNXHRsb2ZgPZuQ+e0=; b=Az07SUOGBmmobCJV6h9y84YvNR vXTpPNu6JpEhMulrV9AHliPQP7hZT3VgGEnncTlMHqLIwSyKX9pAP3s6ApDRQhxTt6Cy4XpSXYggp EhcSUgF+Pm48FwM4o9th9L0lVTaFtEb0vuIkAtMostdCqL4oYJ/hlihME4k7p0kgu75n4Rn/ZU+Id 4O4Nwe/rOwfn0nb01Xfk/S06N634augG22+DDU1ahv7atNinu6kUnJm5c2oTwTLeUkOFH+wD24T44 dvmdR9vLT9cik6jYKzwuVQjMKj2yZQiB9NUVg/ZMa9POuRZ78cq4+qjk6YTyd26FEAC230OzlAHY4 0QU1NzQg==; Received: from i5e861916.versanet.de ([94.134.25.22] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sjf5G-0004Es-04; Thu, 29 Aug 2024 15:21:06 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: marcin.juszkiewicz@linaro.org, didi.debian@cknow.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] arm64: dts: rockchip: drop unsupported regulator-property from NanoPC-T6 Date: Thu, 29 Aug 2024 15:21:00 +0200 Message-ID: <20240829132100.1723127-4-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240829132100.1723127-1-heiko@sntech.de> References: <20240829132100.1723127-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_062107_856987_64E074B6 X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org vcc3v3-sd-s0-regulator used enable-active-low. According the binding of the fixed regulator, that is the assumed mode of operation if enable-active-high is not specified. So this is property is not part of the binding, therefore remove it. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi index 94a1c83a322d..d035a44e5b20 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi @@ -186,7 +186,6 @@ vcc3v3_pcie30: vcc3v3-pcie30-regulator { vcc3v3_sd_s0: vcc3v3-sd-s0-regulator { compatible = "regulator-fixed"; - enable-active-low; gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>; regulator-boot-on; regulator-max-microvolt = <3300000>;