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: 13783224 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 0E2D5C83F17 for ; Thu, 29 Aug 2024 13:21:17 +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=IPW1tch81ShaWGrWiGMMVC7hy4x8Bmo/h1y/PPIyQxc=; b=KLvUyPxCMH6GBT p38oLTK6HWHoG3xFQxyqauU2YqTvxAupg6oyN5tQL4aukAjnTS8Gt0/ZW1365EqsCgG58TYKbremy IRDYiILJoXUwNN8Y2jStohyE2sVI+oe28X72folLZ5Qm+VqaeRky79WYviYOowaZLNpZKoF1D1j1m sNmHZNVPj3T8cmG0SM1fHDHkz2nbBrauCjdYz4l4gFei0s4skOxnn+HxM22dt+YZ1LZQh71I4kxvc Mo5jDyvK7ad4oVLT7hFQMvz4s/RpmfAC+f9+61ZwT1YTqhQx5pTSkeDOTvURUdFGPiK7tZfFAfYa+ qagB1YF5npDUZtUB+ahg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf5J-000000028XF-29Ct; Thu, 29 Aug 2024 13:21:09 +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-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 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: 13783225 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 9F22DC83F17 for ; Thu, 29 Aug 2024 13:22:05 +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=RLeLy6Z3LzsjrktqcocLapsv6F7samhV48L8FaqhROQ=; b=Rh/J9O+yw6wkWM MawyJ2swVLqKqVPs98vrJMO6/LPbkrJ7gx2BVKVVaYm38vJBu9ji/FDCBcFW8uCu8zG0rl1oIk73k 9w4eNe9DTAW0CgMpLHvd8ZeK87Os8seIlqtipLqO7T2DzgaitmCDa3lC9P49CY8usW0elqaUTL4jT VK+UafrKDfzehNjn3BG05Pjpv2ZWmQn9BlTCnlTjJPaxX+f5C6uaYmkXlzuH7BLaiUycjVjI+HLqU V6njalhBgtCRnljTE5hmOhWy0v83gHwJznlXgJ5AbkpHTn8sAyupJFUOkHdYkxvTGwb0miUV/hg5u xTK6cuTrgL7r398IvjLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf6A-000000028hW-1APi; Thu, 29 Aug 2024 13:22:02 +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-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 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: 13783229 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 3A9B7C83F16 for ; Thu, 29 Aug 2024 13:23:47 +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=nlxw0OoRt1cweul6Tdnea5iyIwqMCD87hc24SKZorIs=; b=d9y5NqKk0mn35x 0plWydkedyp+mWCZ0XStXM4HWwprLv51vkFDDZ1nFdvFFSJq8c9jNsqycNLCkpqAEPTi1y7wpBEf5 U49gEQ1TS9EsDtccf8MW6m4TyWp0oiLEd21rZ4q0H5L98GdrzJY2VhpokgWg2nKSCBuXjk5+b9nM4 mS76LVD8Cb14MlHFLecUhPCKnlEBP2w8/oAhPISJTjiboVaMr7IPmEW4bhzsLnhVIHmhlcE0vepcL wyqVGY7t6Xz1KUs7OlZRY910HsXAJRdsdmooe/BnV9bgMbe7IRZe5awzyXWYomfDtr6wbnEhV2gOe fJJrSHipdPzFuDDjIs8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjf7n-0000000296I-13OF; Thu, 29 Aug 2024 13:23:43 +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-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 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>;