From patchwork Tue Nov 19 09:51:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879537 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 95954D62068 for ; Tue, 19 Nov 2024 09:51: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: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:In-Reply-To:References: List-Owner; bh=fCpKwupLVdlqTGwMi0Wrjygd0auwVn7dleJPrupR2Tw=; b=teBOHW/qv2/8zK CiWpSTEzgKpvlcY1v7R7lKAL0Z36Ca4KpcOyYTDkP25xX6fU2jEE+EUkLacS/i/dyF+wGC/4F+RGi tEkt12ebPktboq5mfNSQvWVPsYlHWLRdsPdGyaW9RcEMR3kpBylmDKAIVjPnAZgGv0gEIWv9we4Ga txnRTxctHfrAsYFVKH05dwtKPXj0koXuE4omO5Zts/JVfRk21MLbIl8/x2jU4gv9jQPM0v/lTuF65 HVqh5/5NgAhs0mcBC04PD7sYUkSmjB20L6PinLkzXCzX9POtx8ipA/o3eLZR0w9z//GogoIrZsdfW MDc+2MrZjps3zPtbCVBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtb-0000000Bx15-2shM; Tue, 19 Nov 2024 09:51:43 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvh-2ebA for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSG016079; Tue, 19 Nov 2024 18:51:17 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 01/11] arm64: dts: rockchip: add properties for pcie2x1l2 for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:02 +0000 Message-ID: <20241119095113.78151-1-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_913230_9F4F4078 X-CRM114-Status: UNSURE ( 7.99 ) 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 by schematic[1], pcie2x1l2 CLKREQ and WAKE pins are connected. describe them in dts. [1] https://dl.radxa.com/rock5/5c/docs/hw/v1100/radxa_rock_5c_schematic_v1100.pdf Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - reword commit message --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 9b14d5383cdc..997e95bb5b74 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -419,7 +419,9 @@ rgmii_phy1: ethernet-phy@1 { &pcie2x1l2 { pinctrl-names = "default"; - pinctrl-0 = <&pcie20x1_2_perstn_m0>; + pinctrl-0 = <&pcie20x1_2_perstn_m0>, + <&pcie20x1m0_clkreqn>, + <&pcie20x1m0_waken>; reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&pcie2x1l2_3v3>; status = "okay"; From patchwork Tue Nov 19 09:51:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879540 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 BD810D62060 for ; Tue, 19 Nov 2024 09:51:48 +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=9pKqBhdAQxV9rpWq6LbKLqURww6iaCOrcLUYr1rER7g=; b=4RruPLDgUaVpZx L5jmOgN5/mjpqU+rLzC2Zz87WU/WWvtSvsvGCEOkAV3bRK4/VVN4AEYs1h4feK5G/1kxN9kxvPGWf 47zRK46at7vc9hnCTSrBr42SxqN4JGdl1qEmkQsHcVR4hvQ0zox8PPEhs86VleIcEj/1b6T9Lv78+ eVSlsUsavJJ4sNAjkVe4KJlHIC26zJ5H+AyQ+J6e/Q7xMyIUh1FxwmoaP0SNMO2ti+QEY86Xkj/zH Zl858/Tg4aMmlSCFZM11a9ZsQmC9FX5DSU7PfFzO+r7WBXig2OlHps/CNmCXEFDdbrYfMX9NXxRwa CbImC6xNnIB2GaT0NjHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtc-0000000Bx2R-3fKt; Tue, 19 Nov 2024 09:51:44 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvn-2pRj for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSH016079; Tue, 19 Nov 2024 18:51:18 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 02/11] arm64: dts: rockchip: add cd-gpios for sdmmc for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:03 +0000 Message-ID: <20241119095113.78151-2-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_948000_DB463C25 X-CRM114-Status: UNSURE ( 7.11 ) 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 by discussion about cd-gpios and sdmmmc_det pin function[1], it's better to add cd-gpios for now. [1] https://lore.kernel.org/linux-rockchip/4920950.GXAFRqVoOG@diego/T/#u Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - none --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 997e95bb5b74..3eed50253442 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -501,6 +501,7 @@ &sdmmc { bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; disable-wp; no-sdio; no-mmc; From patchwork Tue Nov 19 09:51:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879539 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 1C07AD6206A for ; Tue, 19 Nov 2024 09:51: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: 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=aMBuDItZ44riGEl5hQ2bm2ppka+ncs86kzty43t28zo=; b=ktPp2+2YmVn75N BXjfc72PhvID/sSKDNiOVYTSGyIJIY6zVkXpK5s/uqScQnhb/JRe1NPmV8puZOU8hY81AVkBwHyNy GPNrJ6WVncP93PdOKHBNL3pqu2LTnzzY6gsdWRoCDWj3x2TUclHSFXLOCi4caarq3JbM9wGUr7oOu 0mti0RJtyLUfp5/WJLTmFiJnWsVEaFQUyS/NFQ9Hg7qHOSuZHRRZT7A5m3BFivW6wbIrP+GfRBTUB b0aBN5hYoN6hOiNompRBsSqygSJktPyuT1adJn2YwvJbML7+At+T5MuPCG3aHsU2d/OPvzLaPT5PV ur9HPgZQY+49nsuYEmFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtc-0000000Bx1b-0IqS; Tue, 19 Nov 2024 09:51:44 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvk-2epT for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSI016079; Tue, 19 Nov 2024 18:51:18 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 03/11] arm64: dts: rockchip: fix pmic dcdc-reg10 label for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:04 +0000 Message-ID: <20241119095113.78151-3-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_912654_E6F407DB X-CRM114-Status: UNSURE ( 8.86 ) 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 fix pmic dcdc-reg10 label to match with schematic[1]. [1] https://dl.radxa.com/rock5/5c/docs/hw/v1100/radxa_rock_5c_schematic_v1100.pdf Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - split from "arm64: dts: rockchip: fix pmic properties for Radxa ROCK 5C" --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 3eed50253442..7e7ba14ba151 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -691,8 +691,8 @@ regulator-state-mem { }; }; - vcc1v8_pmu_ddr_s3: dcdc-reg10 { - regulator-name = "vcc1v8_pmu_ddr_s3"; + vcc_1v8_s3: dcdc-reg10 { + regulator-name = "vcc_1v8_s3"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; From patchwork Tue Nov 19 09:51:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879542 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 23CC1D62067 for ; Tue, 19 Nov 2024 09:51: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=Af1EW1ExdWCaBsyDAnGov0oFH6+/lNAuSrmawH4f8Qs=; b=Ptzxukuw4l+1VX NMJNXUe6NtLNHkbKAafW6Rq1rg+HvdHi+2soNGrG8PB0nn+JF27fWnj0S5RVereFABvIDRY1LzZ1i 3PcQA6VzXq5PN9pqBa9XOH7Kwu441L8xLQChZv7wLmfvqerxng6MvZdEC7N1pfRk4S+6THqh7QSKe sMg1RJRJyJNztLUi53z8HMSYENfeqggoUlbVAZEKfLx+dC/Fs/0FtLqtBWLaR2TziIYDyZkzEN93y zErI/VafVpDasL1MRyj9QqSnIGbKZd1ODTk1gQOP+4aT7QFDLcRIs1UOsMwwaezYKkQpO09jzYOo2 NLEpWFaspiqwii44rZxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKte-0000000Bx4M-1Fmr; Tue, 19 Nov 2024 09:51:46 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtU-0000000Bwvv-1TW6 for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:42 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSJ016079; Tue, 19 Nov 2024 18:51:18 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 04/11] arm64: dts: rockchip: fix proparties for pmic regulators for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:05 +0000 Message-ID: <20241119095113.78151-4-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015136_593061_D9496807 X-CRM114-Status: UNSURE ( 9.41 ) 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 fix proparties for dcdc-reg7 and nldo-reg3 regulators to match with vendor kernel[1]. [1] https://github.com/radxa/kernel/blob/linux-6.1-stan-rkr1/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - split from "arm64: dts: rockchip: fix pmic properties for Radxa ROCK 5C" --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 7e7ba14ba151..e6a0d123ed71 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -660,7 +660,6 @@ vcc_2v0_pldo_s3: dcdc-reg7 { regulator-boot-on; regulator-min-microvolt = <2000000>; regulator-max-microvolt = <2000000>; - regulator-ramp-delay = <12500>; regulator-state-mem { regulator-on-in-suspend; @@ -814,7 +813,8 @@ vdda_0v75_s0: nldo-reg3 { regulator-max-microvolt = <750000>; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-microvolt = <750000>; }; }; From patchwork Tue Nov 19 09:51:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879545 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 93588D6206A for ; Tue, 19 Nov 2024 09:51:51 +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=AsevW5szMJAAJ9qIls9n9P81t2t+ndKGj3QMfb0LCAk=; b=iFZQr1m44cA39V /c8ELX33dJug9zOCsePk9ahwg2OVOahdU9iUbnmJDfdCw/KZe3QPdndFIMGng4B7rvOJxb0hBvYcs fKv/7faIARJTvtb/yVVXwwknu+qW0dau9uvdsLX/jllMHYYfFBqvYk0jQUxze6Po/7d+SWfUG5H7N +QcDAek471utC2rB0uiLW8fZ/4mL3csDVWtto5k6HTHLYqCzCqjAhe+TWbkS97A3lZLMoqzxxD7nS bhIVyh0mbcxjf8tpvhagZXKPd+Txw9ys+lj4wRGDjr0KH1u0mJucSQ5Wk7t5F6+fS01dsEryurBc6 jX+g1TTAlZk7hP9mHlig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtd-0000000Bx37-1fNZ; Tue, 19 Nov 2024 09:51:45 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtU-0000000Bwvr-0bjL for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSK016079; Tue, 19 Nov 2024 18:51:18 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 05/11] arm64: dts: rockchip: add property for usbdp_phy0 for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:06 +0000 Message-ID: <20241119095113.78151-5-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015136_387401_F183D23C X-CRM114-Status: UNSURE ( 6.99 ) 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 add rockchip,dp-lane-mux to usbdp_phy0. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - reword commit message --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index e6a0d123ed71..0389f9e3ba65 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -883,6 +883,7 @@ &uart2 { }; &usbdp_phy0 { + rockchip,dp-lane-mux = <2 3>; status = "okay"; }; From patchwork Tue Nov 19 09:51:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879541 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 5CA3ED6206F for ; Tue, 19 Nov 2024 09:51: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: 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=DDnL4MOfz3RVWCQt7KwsVD8/UGgSL+Z+MOT7vtbf4HM=; b=EIMvO/E+reGalH fgCA+vEVE2Id+t3xc1o7APp/ULl5oEWbGpyF9s4jY1x2ouOkty9TF7f5L0ulGNuNscUV2GC4S2eJ+ N2zA/NyQ4FophjOgzCiUPAzhkxCm5VJ8zDWmPZmqjLR+itlr+xtBfX4Wa2ADEwHjuvsqZI9O6dO6D Y/j4yw1/ya280kqUumn3jfEFqog0ddjInaM4QI24fYSM33XnTlES5Yvx0iREBakGZQxJf/jrLVp2q bZgv3HHRUP4K0oWfNCdZJQy+Jqq44l5hmmi29CwxxvFPs4Kd/uL7YQXuS136a3ZTwb57o7haqka+o fqZsxehCvUgysr43fT3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtd-0000000Bx3k-3pCA; Tue, 19 Nov 2024 09:51:45 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtU-0000000Bwvs-0nIk for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:42 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSL016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 06/11] arm64: dts: rockchip: fix property for pwm-fan for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:07 +0000 Message-ID: <20241119095113.78151-6-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015136_431550_6412312E X-CRM114-Status: UNSURE ( 8.77 ) 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 fix pwm period to match with vendor kernel[1]. [1] https://github.com/radxa/kernel/blob/linux-6.1-stan-rkr1/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - reword commit message --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 0389f9e3ba65..24e33f98865a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -73,7 +73,7 @@ fan { #cooling-cells = <2>; cooling-levels = <0 64 128 192 255>; fan-supply = <&vcc_5v0>; - pwms = <&pwm3 0 10000 0>; + pwms = <&pwm3 0 60000 0>; }; pcie2x1l2_3v3: regulator-pcie2x1l2-3v3 { From patchwork Tue Nov 19 09:51:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879536 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 6E2B2D62067 for ; Tue, 19 Nov 2024 09:51: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=5C0/XM9HkUBR8bzJKI9EDVZKAdwHyHHDy85jdy1o75Y=; b=SKqfjfhMmFDpF1 agzzLmcHBz1A8QvIgzV+cDYiP0qErAQi3NkcxpRmdWaBtLc8p4lYrQxPcqbA4jx7r4Xu2nG1iUH2V H5b3ADL0L4/ZCDsGrgd01n12Q/WwTZFhrhJnxyEP4jlbwNDwQV41S8/riO2hStnNMu8wew8aLOqye CJDVccK9EZojiKr9P6g44U4Ubb48mtwXlJcfQpUBDx5aUew+zjfm5EHaV3Kt3hMnX52vTk38J2eIQ feuhvIwCulhZ79F6XRU1JqW4uqFMLHA9F0tzx4AlsAIwuffaAZf/OCKeXe2Fk46sD5WfsmglfOVUa ofEbl7YdRKgWScOb+kmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtY-0000000Bwyd-2ZWe; Tue, 19 Nov 2024 09:51:40 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvl-2MOL for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:39 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSM016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 07/11] arm64: dts: rockchip: rename regulator for pcie2x1l2 for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:08 +0000 Message-ID: <20241119095113.78151-7-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_810770_1F9DFEA5 X-CRM114-Status: UNSURE ( 8.22 ) 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 use better name. no functional change is intended. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - new --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 24e33f98865a..354de3c85d95 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -76,13 +76,13 @@ fan { pwms = <&pwm3 0 60000 0>; }; - pcie2x1l2_3v3: regulator-pcie2x1l2-3v3 { + vcc3v3_pcie2x1l2: regulator-vcc3v3_pcie2x1l2 { compatible = "regulator-fixed"; enable-active-high; gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pow_en>; - regulator-name = "pcie2x1l2_3v3"; + regulator-name = "vcc3v3_pcie2x1l2"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vcc_sysin>; @@ -423,7 +423,7 @@ &pcie2x1l2 { <&pcie20x1m0_clkreqn>, <&pcie20x1m0_waken>; reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; - vpcie3v3-supply = <&pcie2x1l2_3v3>; + vpcie3v3-supply = <&vcc3v3_pcie2x1l2>; status = "okay"; }; From patchwork Tue Nov 19 09:51:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879543 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 BF8B4D62069 for ; Tue, 19 Nov 2024 09:51: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=e2QvqsjWPnH771Lds+dZkSQAX/0Tis/fVhhwtgIG5gs=; b=0WrrP8uxuQQPeL hdszDH9XDZS+9d2NeST1PPXI6UjhFd4MZi3VrGPskbwpnJSTSYYIyqHmpM9GfE9pOq6FD8xQBinPn bMpEiYFLuDnWK1btgg2K6snow0Nq81ycGy/+8k1jbdJw5/DHyYU7E6+PZwkhh385WEYRSE71OBYqh P19i3KJGunvBtfSSuj9KLSMSWPtpbyBSb0PKgRQRWZ6+1hVf0Kq13ZIZLVX4Nf+XZHYLNkAflwQ5l grQOhfO/lAu77pGO1xfy2aKj4kb9PZNyRdaBd6hNHCySBkzTctLvhy4iRyO2SOjk37uWfNrTBGDOT UI3AsEjRH21gmtQW0zSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtc-0000000Bx25-21am; Tue, 19 Nov 2024 09:51:44 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvj-2QcY for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSN016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 08/11] arm64: dts: rockchip: remove RTC and related node for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:09 +0000 Message-ID: <20241119095113.78151-8-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_850096_3936187F X-CRM114-Status: UNSURE ( 7.29 ) 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 RTC doesn't exist on actual board. remove it. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - new --- .../boot/dts/rockchip/rk3588s-rock-5c.dts | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 354de3c85d95..af6770a1ffbd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -350,23 +350,6 @@ regulator-state-mem { }; }; -&i2c5 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c5m2_xfer>; - status = "okay"; - - rtc@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-output-names = "rtcic_32kout"; - interrupt-parent = <&gpio0>; - interrupts = ; - pinctrl-names = "default"; - pinctrl-0 = <&rtc_int_l>; - }; -}; - &i2c7 { status = "okay"; @@ -451,12 +434,6 @@ pow_en: pow-en { }; }; - rtc { - rtc_int_l: rtc-int-l { - rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - usb { usb_host_pwren_h: usb-host-pwren-h { rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; From patchwork Tue Nov 19 09:51:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879538 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 78C69D62069 for ; Tue, 19 Nov 2024 09:51: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=gn+FxT4L3MolT3X1j/7f8alztyHLG47bX5w/EWg6Vi8=; b=w7vXAZvmcrWB18 4vHV9+cNeN3Xo2Jvt28y1Bq8LMFko3T4wcydXOJ4S6NxD8NapZYKsEnp99PYZbsVDL+jJV1JNen2Z uVSusAi/sZkQM7VFyqYMaFS1i3QqzcSvshgKMjW1V61Vch2DuJayfGcCMHd+CyozYMk5d/C1r89XC RpEQ/opez73GsAbyGZ9nHIp3OpTWEJq2+gpoMSvPHw6OwPW1HfwQ+d2TsU1VBvpg+oxKDmD7HkdQd 0AewVYhEDVidb6RijO1zqcBDBgh0JdM5hX8xqAjQoV9aM+9TNZcKGlem19KoX99Bi6BEpNowAMA0F FOzlmR3NV55ztEQambGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtY-0000000BwyW-15LD; Tue, 19 Nov 2024 09:51:40 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvo-2IAn for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:39 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSO016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 09/11] arm64: dts: rockchip: sort nodes for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:10 +0000 Message-ID: <20241119095113.78151-9-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_797518_842EB3CE X-CRM114-Status: UNSURE ( 7.57 ) 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 sort nodes alphanumerically. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - none Changes in v2: - new --- .../boot/dts/rockchip/rk3588s-rock-5c.dts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index af6770a1ffbd..9f4779b9f3e7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -36,6 +36,14 @@ analog-sound { "Headphone", "Headphones"; }; + fan { + compatible = "pwm-fan"; + #cooling-cells = <2>; + cooling-levels = <0 64 128 192 255>; + fan-supply = <&vcc_5v0>; + pwms = <&pwm3 0 60000 0>; + }; + hdmi0-con { compatible = "hdmi-connector"; type = "a"; @@ -68,14 +76,6 @@ led-1 { }; }; - fan { - compatible = "pwm-fan"; - #cooling-cells = <2>; - cooling-levels = <0 64 128 192 255>; - fan-supply = <&vcc_5v0>; - pwms = <&pwm3 0 60000 0>; - }; - vcc3v3_pcie2x1l2: regulator-vcc3v3_pcie2x1l2 { compatible = "regulator-fixed"; enable-active-high; @@ -859,11 +859,6 @@ &uart2 { status = "okay"; }; -&usbdp_phy0 { - rockchip,dp-lane-mux = <2 3>; - status = "okay"; -}; - &usb_host0_ehci { status = "okay"; }; @@ -885,7 +880,8 @@ &usb_host2_xhci { status = "okay"; }; -&vop_mmu { +&usbdp_phy0 { + rockchip,dp-lane-mux = <2 3>; status = "okay"; }; @@ -893,6 +889,10 @@ &vop { status = "okay"; }; +&vop_mmu { + status = "okay"; +}; + &vp0 { vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { reg = ; From patchwork Tue Nov 19 09:51:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879535 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 5EEF2D62060 for ; Tue, 19 Nov 2024 09:51: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=U8DhRZk/5ERvFbZ8IDJ50MBS6DT63lFEAVl7e0xddKY=; b=1Oz2LeMB9iCYyg m74CKwBzLhZB4guR6oZgfw+P6wUKSUnF+KrmV0BuXDVvEfDgM5dIGZ1hTbDduepKExBfbZYc5G7zq 0DOywJoDN5fnepkbM3enRPJoU3VhgZfGwiYn7lGz7AlR4IoUSMguSDeTaegETIqYiDuONbaU43f1z jwqE1Q+gd1UWME0eM43V1xywfb5SoOLKi545+qmnZKaVSonqx2U9D1UgRtUONB1PcBYsS/uM9Cnqq udpKP8lPm5cn3PNggLyw8nsCyjqFIZwuWw8nFiOanNMs/R5Rh3IJ3Grae8WeokbmNaymPswUm80/b 6tuChOlkxaYU5rg9OqEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtb-0000000Bx0W-1Kty; Tue, 19 Nov 2024 09:51:43 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvi-2XOF for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSP016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 10/11] arm64: dts: rockchip: fix pmic dcdc-reg7 regulator-name for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:11 +0000 Message-ID: <20241119095113.78151-10-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_870170_3B770133 X-CRM114-Status: UNSURE ( 8.73 ) 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 fix regulator-name to match with node label. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - new --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 9f4779b9f3e7..4262ae9c2703 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -632,7 +632,7 @@ regulator-state-mem { }; vcc_2v0_pldo_s3: dcdc-reg7 { - regulator-name = "vdd_2v0_pldo_s3"; + regulator-name = "vcc_2v0_pldo_s3"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <2000000>; From patchwork Tue Nov 19 09:51:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13879544 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 CA83ED62068 for ; Tue, 19 Nov 2024 09:51: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=BkHe7dX89JNzjKcAsIQGF6SffVbaB5KoE/rLjLZ8wus=; b=vMEXwwkoE2aGje EKfmpm6fILPEEgowQ8hrkSHFCL8qGKCWr5e0+C9xA5XcFxKq/8TQaYZtm2gZaXHY18u3btsofT4sJ Xpin8Jt1TvrLe0AmsqQMJz6Q0EFl1Ai2ww16kb5bbzTpCe5OE7ptcU1Hoq8Ko9Ob3W1yaBBlh2+zq wkxbML6bqk2C8SvlOs+FNd+xbOXu9qUXFRHN9c1GDXgpqYDBl/9pv2mN0OFbQ/pIsNH7GNWypp7HX Ena/nAlYWTNH6wfP6mMcC/FB8Arta+2wq0aAj8P73gAH6JHTVl1I7S+xSmidnJ9ZCK6ZESQ7Sd5Sx VnTyo9IM8hJc9e2+trmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDKta-0000000Bx0D-44T8; Tue, 19 Nov 2024 09:51:42 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDKtT-0000000Bwvm-2Ojp for linux-rockchip@lists.infradead.org; Tue, 19 Nov 2024 09:51:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4AJ9pHSQ016079; Tue, 19 Nov 2024 18:51:19 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dsimic@manjaro.org, sebastian.reichel@collabora.com, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v3 11/11] arm64: dts: rockchip: separate pinctrl for vcc_5v0 for Radxa ROCK 5C Date: Tue, 19 Nov 2024 09:51:12 +0000 Message-ID: <20241119095113.78151-11-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241119095113.78151-1-naoki@radxa.com> References: <20241119095113.78151-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_015135_842333_6727EC86 X-CRM114-Status: UNSURE ( 6.79 ) 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 vcc_5v0 is used in many places, separate vcc_5v0_pwren_h from usb in pinctrl. Fixes: 3ddf5cdb77e6 ("arm64: dts: rockchip: add Radxa ROCK 5C") Signed-off-by: FUKAUMI Naoki --- Changes in v3: - new --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts index 4262ae9c2703..6da13b6b9a7b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts @@ -446,7 +446,9 @@ usb_otg_pwren_h: usb-otg-pwren-h { usb_wifi_pwr: usb-wifi-pwr { rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; }; + }; + vcc-5v0 { vcc_5v0_pwren_h: vcc-5v0-pwren-h { rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; };