From patchwork Thu Nov 14 02:37:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874491 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 1A4C7D637D7 for ; Thu, 14 Nov 2024 02:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=gbDdvPZhaZ8pv3xUmRHSHMTnIbV8syPWbD0iEKS54jc=; b=x/uM6OwKIxf/FH 8ivQhhXlcpCa3Y6B4I73nN9l3FEertC6ZPTJgqo8sFZwI0CQPoDJgVxchT6jD1EHdEbHXCsh8sSgV +oXqp7lUYy2Q0OdYKuOj6G90TnPycg0r8tDvmMjdZeOz76DdWjOjcBd0ivqLeqvYPeoPMSMzu72/6 nAf9NVAB5tjoyDTKHCd4pKK9GUGp1R86xZu6lv2dguMm9kfBwfDQzckhLZBtX75CI0T/i7Rr5mDVM kka690yCGH43M6tE7oGkDnlIJUou5Sp7dm+RtDUIEQBs1nAPEaPMFyNgc9X2pytnQX/Gw/t2rYP/s df33ThKycgHljcN5+p9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlv-00000008Zu9-2XHU; Thu, 14 Nov 2024 02:39:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPki-00000008ZnZ-0ht0 for linux-rockchip@bombadil.infradead.org; Thu, 14 Nov 2024 02:38:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=nJYAOJG6LbfnHsV0zG81eCuCCjdlzgjsDPdIckvBGNc=; b=Rd0GAtfW4xeigXF1ZP/3OpehyB JY6GoNX9y5xiimHiwROp9ShKzUlhi8kIrn+7Nodzqy6LF6HE0usQ9VNKb6QBoh4SUwOk1zSZAq6vz cOhg0nVKy74b6K6u7nRc90OdIsmZ3wNpQiKksYPPygCyyoWGwuN0mR52zzSWm2lKP60uRIr1M0rj7 y8Pp1e23Ao4ymunt/napJ1BV3n0X8dD7y3utsiSlQl7OXGAkh9dYpu9h5Obg2Yj+snGNuumq0b0+x dPsEQfLJIluSY1PAE8Sj5tFgKI/ZxqwJ4Mu8U3AELKgaDedJpDDcgYsEuQifUzc6eYik9fdXSkJJ4 wOHqJVsw==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkc-0000000HLk5-0Ewi for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:35 +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 4AE2bpln029356; Thu, 14 Nov 2024 11:37:52 +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 v2 1/9] arm64: dts: rockchip: add properties for pcie2x1l2 for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:38 +0000 Message-ID: <20241114023746.4867-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-20241114_023830_690638_98809792 X-CRM114-Status: UNSURE ( 6.61 ) 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 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 Thu Nov 14 02:37:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874493 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 9B943D637DA for ; Thu, 14 Nov 2024 02:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9EMF88ub8WuUUOPgOtDz8fdMhP0Scb7SPQ+7vOl4TCM=; b=Mtdu3PvGiOid5L PCnvEg6QyU0AYt5tdCjqyCBI7JWKQWfFs2gnQuUYyfpnFUuaA/yx5CYyzWBTkHp6AUNIU8kQUfZuw PYzd9n5J1gfKRHBQY4RqYU6zijbw5H1B9Vo8cQkERvpCH4b8rvf2j/rPkVhpOkX0QVE7NMLHJG0U1 sDID8krik4MXds/D3+X7e4Wa8azoQ51Nn/2X/P2Jxe9/MXjI1Pqpa+odhZLOFo6U4d1ybegterD9G OsXZcvmKeNvezegVforOA2cSWSlU/Ks8OYqb9HDaX5SFCeyRW6V+iXYuiIRcsFWufKzPjBIw1nfVS 8T89GEULUhkzhSkJxPfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlu-00000008ZtX-1tRL; Thu, 14 Nov 2024 02:39:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkg-00000008ZnK-3SHd for linux-rockchip@bombadil.infradead.org; Thu, 14 Nov 2024 02:38:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=xjB1vCm+lPjaQMRAsdEEPmLbHJ5xIzmJli2fD2ssEaA=; b=duPuCjWoRrWZCChQtbwbpez/vl 6G2VhI+kx9rsxCojIgoA+PmtO4nXjzu+Cu0LbEu1RMKD29I19BDFCIzU669ZeMukqv9trzfp/QmPX hCpnVAxR9YKICGmTqw3aEmBsrWT6YIGYqmj5OIlAMNVm+hEL1Cs5E+2ClcgY3dimJSi3NgIy8McVK M5FL8fzn86/ccph3bxIw7ptb3Q0Os4MbV9gv0t2Dj9g/GPdU6zp5C1gt7R5yUIHdSjokTAZfL0VKU RvqvTx1Mnjet7kEu6RckQbNk2Z22xDu3XOIaKsu4q1wpDzmiLESBk5eXwnZq9XI+N+1dmLYI8O9wI nGUuvz9w==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkb-0000000HLk6-4Bvf for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:33 +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 4AE2bplo029356; Thu, 14 Nov 2024 11:37:53 +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 v2 2/9] arm64: dts: rockchip: add cd-gpios for sdmmc for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:39 +0000 Message-ID: <20241114023746.4867-2-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241114_023830_590461_83008DBB X-CRM114-Status: UNSURE ( 6.93 ) 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 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 Thu Nov 14 02:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874494 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 18BA1D637DB for ; Thu, 14 Nov 2024 02:39:58 +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=hyPenaryxI9f4FuZBRB1uJSW3eRYCFD3G0UYMLnTmMw=; b=ZVW2MI/HQUHwq2 99Lu2xMlMSKOz2zoerNWJqMo/nChbHiYmB3WbwaQkm5PfY9sSb4U512AsbJUdKQbDo4wm/C4+vU1B KNPLfWyED1+8IG6tPjZ60bR1sfaWB1dLR7umLEVib7mixrQDaO6l/91TqWtq+79hED+i4TCEMILi5 F4sAY5Kw1nTFP60myARbq7qWphrdlmjwmuNcfMf/f2EHhFerRNQrVURcrjLadmNi9gvNeGUFJYm9K 3a4cRDlP1GzTVK4gC5+1UUGNZXk0HahRZZ7KiAY9X+LEeltom/W9/Wt2RDswATG5ZNLzwKWvxWueo wKKIdwMBd+mv6pbC/uyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlw-00000008ZuX-06To; Thu, 14 Nov 2024 02:39:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPki-00000008Zna-15c0 for linux-rockchip@bombadil.infradead.org; Thu, 14 Nov 2024 02:38:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=E4XFYgBDp/m/OCIQzCNYg//OhoLLl4paANESy+pjt8U=; b=jcmaabvviFMdXGZzNCgENLgZ/d sUc8bNHCHEBrlmA2syscCVREj6QrKZiEMcyKdc/Gso1Vget94M+ZIT0AsqER5XcK9vWErhqr9iR1b F76j6RFdZSlR2L0lPDOQm4tEWhczGlHHL1AGhnRpfB3oa23o+5C3lfNpeNkCu006kuBuL+qpgv7mj UmtJQ8KBalcqbGvg3n17+4w77dzl+a6Q3RavJ5kIFfKbe5oiMTldCB2V5uQB/E2kpiW0UFRVHwdK5 unxRLnOZ2opcWK1jMVmqmwEw5qMIkW/5nUSNYxdvcvjTKjfj2n0o8TywIEbGxecJ5TiaIXhjSnFvM pWkwDXcw==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkc-0000000HLk9-0lUG for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:35 +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 4AE2bplp029356; Thu, 14 Nov 2024 11:37:53 +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 v2 3/9] arm64: dts: rockchip: fix pmic dcdc-reg10 label for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:40 +0000 Message-ID: <20241114023746.4867-3-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241114_023830_762770_DC3176EB X-CRM114-Status: UNSURE ( 8.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 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 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 Thu Nov 14 02:37:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874496 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 2C98DD637D9 for ; Thu, 14 Nov 2024 02:42:44 +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=WkhfOIolkK1pGF5FYlnZBp1N3jBhu3EhbEkCC4m/+rM=; b=XhvoUNFsACuK2X Em0wIcp1amvB7oyCFRA9uHs+qtUpJzwSBmRPt0EByz6bwtMA7/KSUY+xdykT8mrXoaGU+VVqvGu/O JzJYzqI795ZygPcXsJOszyXdqQs0cOSW/D9ccMqLy8EVmOMMaNmebaTJZ9nZaJN2wih7UYefCUcY2 NQuPpG30/Iu45Qb3wpQ5T3sxRA0oBvLxTUq812902zIxJBE5jbUaphNJSOM1turr2JG/E218KhUoV pGCYwZz7T7RHsTFuXJsPoD7bF6egT5071fMj4z1YKTMCgmhj0XxgvAnXGFs/f6WODIHH6KYKjUlIb 3CDXJ2q5sV8d2KYLc5sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPoe-00000008aH3-3w49; Thu, 14 Nov 2024 02:42: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 1tBPoc-00000008aGQ-1HGf for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:42: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 4AE2bplq029356; Thu, 14 Nov 2024 11:37:53 +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 v2 4/9] arm64: dts: rockchip: fix proparties for pmic regulators for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:41 +0000 Message-ID: <20241114023746.4867-4-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_184238_574756_29005CBB X-CRM114-Status: UNSURE ( 8.65 ) 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 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 Thu Nov 14 02:37:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874495 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 22353D637D6 for ; Thu, 14 Nov 2024 02:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PFFxpVMRpeL8E4hKO+J7mLtT5aDt37FoIOTU93TlSX0=; b=gCQxCEPBzRSgjx tlRzXhN5SZuh9ulcBvILl+yeVDzoGnSPA91Ud/Tn7DuBSazh+6m7jIVkQGRCMQ0HJUHmVjQ4YVAIV uAvowWpH6aoJDUHTgQsUgWkVGQnAf0BvJonvdBshznY9WPg6p62bLi20MUZBJPzJdaDWpqKxooGsE jvXqKAU/6jaaEEzuoash/W7+2fk+CJrPPQsUs/PzjEM92gYiY69RyG+5S5wICNBd8y4I7dGy9Yqq5 gcGP3qO0PZPLiPFk2juK9ye1c2ZkuQS/pmB08azXbOwUtuTlxrxxAd1l/apgEtMq9GPPkV7PwbZw1 e6OgBAqwszJ5qAN5A2yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlu-00000008Zto-3Syx; Thu, 14 Nov 2024 02:39:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkg-00000008ZnJ-3SGF for linux-rockchip@bombadil.infradead.org; Thu, 14 Nov 2024 02:38:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=rKzcrZF2W7cxnjSr1inVZHeRslphZAf+FdFnlCvnekg=; b=VQgp+qxHNoYEC68TnwPXuDXQ9z Hj6SBnAHpSlNY6xVPNr6+0CeCQxmI6XqFEq4VM7oFLhuswnltVDL+DwbxNFIdg6r/DYwcb3e+D/gP J9m/IGsq6bZKsf1Ye8H4cUrpXt+cCGGUCW4/xmq7fVM4BKo53GPx8buzXehwrW98BwdOm37OTr4Ac l7K4M0bXI2OGxIB7jxEiacTTq8Vpzi4+nhJ9/Xk1G69IBsUSecW3EuPOfp3jau/fuEP+92zKPEhhI NNPQcfoHSqp0OanrtuPErkJyFZ1ZCrq1xOVj6WuF+JkRyDhlybt2NIHfD+wkOQ5f1zyAN0T63W0Tn ivdPG+9Q==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkc-0000000HLk7-08PH for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:33 +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 4AE2bplr029356; Thu, 14 Nov 2024 11:37:53 +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 v2 5/9] arm64: dts: rockchip: add property for usbdp_phy0 for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:42 +0000 Message-ID: <20241114023746.4867-5-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241114_023830_637738_A72B359C X-CRM114-Status: UNSURE ( 7.08 ) 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 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 Thu Nov 14 02:37:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874490 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 1A4FCD637D8 for ; Thu, 14 Nov 2024 02:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eKhr6hVwDiqo/rThuClzNEZkoh7hHD7KLxvT2ULiI/E=; b=nHDXGdUg0hQM/I 58gg97nF82ssv+raxiBqlEBhaX1pRGu/eqoKM96uvVIloi92duJcORw2Ct/cA00vzaL6JsV0pwM1c 4pHMFpLlcz7WnNGdgr9S9d4U/yFDunUO2mOuBdl8ZJ6RIhw63CBf11CaC3GuxYaaKRdw1ElS/1H4/ IpL0bBZC2bXddsCfMD76eBvwpn6XMynvuM3RhIeQBAKnKdEfm58b7uo0vAjCuz4uRtgGefrgCWgRl mNLBlzdRFAqZxhzwtM3+MZ/TBY0wAssbrmY1ARu1XgySdfRuTe7ExUil1IyND5sgKgIZ1S1l82agk u3byKLFpJEAq19HO96MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlu-00000008ZtS-0O6T; Thu, 14 Nov 2024 02:39:50 +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 1tBPkK-00000008Zkb-18Fk for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:14 +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 4AE2bpls029356; Thu, 14 Nov 2024 11:37:53 +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 v2 6/9] arm64: dts: rockchip: fix property for pwm-fan for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:43 +0000 Message-ID: <20241114023746.4867-6-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_183812_537113_DAD67E98 X-CRM114-Status: UNSURE ( 8.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 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 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 Thu Nov 14 02:37:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874497 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 B3241D637D8 for ; Thu, 14 Nov 2024 02:42: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=O+RJnaOSHAk0aM8V8hhmb7aVFak/hQFG4oCfFc9KziQ=; b=lqCB1CpOb6tYP3 Aq2fmyI2SAsLTe1Z0tK/QvvvWtMInjwDvrTVWiY6jUpsj9otatcN+lePHTyfh4sttGUCELBEwB3lb jWHnks3V5dgRP3odRGLCYTb43tYsJ3vLxbSlwecD7MUHfxNNZx+LbLMsdelfV0GSwZZFpdnjaytTr o1/zcE0QqbeaXhlI6M7kF7sYO90n1jfrsdZXovMP5h+T4pmplZPRxXc/l+AMkJBhLUzZxyJKJ7YyK D/nn72XYkbGDHp4e0EwJNbFw944L/Zjlqh/rGmzXMjjM8YKI774jmAAHNFt5/5U6jvk+nb08rBV6x Ip1A167UIPR5GHYba/aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPoh-00000008aHu-1V5d; Thu, 14 Nov 2024 02:42: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 1tBPoe-00000008aGQ-0Tfm for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:42: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 4AE2bplt029356; Thu, 14 Nov 2024 11:37:53 +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 v2 7/9] arm64: dts: rockchip: rename regulator for pcie2x1l2 for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:44 +0000 Message-ID: <20241114023746.4867-7-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_184240_383434_367AC85B X-CRM114-Status: UNSURE ( 7.75 ) 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 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 Thu Nov 14 02:37:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874492 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 AF734D637D9 for ; Thu, 14 Nov 2024 02:39:57 +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=8+biD+bJXshDxWuyLXezPf+gNGDO8W+T42E7k9Q4OdU=; b=w0ZNQqlG4DeQxH G04Nq9eoCvLXcAi7l7O45TH+daJQOrNYXpdeh/beajI+4ekIXH5B067gsHYExyXkYKRc+C/uPnUiq D4PqStSp+4az7AJH1bywzf7FugMAuLLS7kOuFHd8IUCCo2OctiDlkYZw5E8iuc6o6pmp5cCcbq3R3 lDiRFOIQrHI8H3qF+ZqPAkg+/tFufY4FN5CqfMXgkC09xAS81leWaWpN8AGMgiRxzGkTFpTmBWVbf tLxQE9K4EuDSZE2nWyNvZAphMjTz7t8JHkTlUxUn4+zZqKEPGcrMOs/ARrJCmmbN/loZOhyv1esJV hEySBetp0r/sbGjtY3Fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPlv-00000008Ztt-0pde; Thu, 14 Nov 2024 02:39:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPki-00000008ZnW-0629 for linux-rockchip@bombadil.infradead.org; Thu, 14 Nov 2024 02:38:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=xMASxX5G4cYI69bdt4GsvwAoDHTn1LukGSfSV8VsrIQ=; b=IiTM7SGrTstDZ/E+V2wtDP+vDN GLOWrXKt6KHK61KInXbq34HSacMyve71Q1Qf9R7LrA9rwaSO80LuEJOktnrxnW133KDKT5HuoVPrl OPxhfvfkdDcKaWHYBRc7Q1YlzFUadsiFYKRLKQxCK/hm18iIHdiB82R6wu1R9dRTwOpAHu4lkyykG fZverX6Ff+TV7diuFav/JKlYVzFhdd+UXb7xfTrw2t0e+ZIm8Akn2vyGVlXML7gsrDWH/DCKlh4xc AJqfFvn54db4Lps5hP62IKyOeatZXjbpoyE80dNpOJ8LnLZWI5nsqIBlS1xWr9J7HkiW2fCxK9mP9 mtCAOc0w==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBPkc-0000000HLk0-0Cmg for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:38:35 +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 4AE2bplu029356; Thu, 14 Nov 2024 11:37:53 +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 v2 8/9] arm64: dts: rockchip: remove RTC and related node for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:45 +0000 Message-ID: <20241114023746.4867-8-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241114_023830_718091_D259C089 X-CRM114-Status: UNSURE ( 6.03 ) 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 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 Thu Nov 14 02:37:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13874498 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 5B2C4D637D9 for ; Thu, 14 Nov 2024 02:42: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=9SxzYXXAuXzzXOfucEYSBxFAhqnzOF5QyBEQwjn7/s4=; b=hgDcA64BDNar8p HYLscOPeWhcRYdgX/0SVKCPEybG1cZeQXmYE5pBZW40nzivr0HS79XhwKq902avplWa7IkSlzfTUj SlFLWAKztBM9VV3VteiylGgprPkHfEqKLwSSml8qqj/jow1A9HPESPWJgEEn5kcKI+H+jFCjFc8/i 49k3Bp82YbaLqfuE3mzmV1q+hqpAcztp+3zGisbABffn3qTCxZnB1sXhCYHcFAhjE5mWHxZO4hpvs lN/ka4Gyx1oE8GJk7GLw4uhCLmD7iLLW6tNXjCKvdy/oDxvoraaK9RQLnx6+oV1b/n6MsDZ0B/LYl Hk5h/gHlHYO5CdIj1UXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBPoj-00000008aIc-3O3c; Thu, 14 Nov 2024 02:42: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 1tBPof-00000008aGQ-3Drc for linux-rockchip@lists.infradead.org; Thu, 14 Nov 2024 02:42:43 +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 4AE2bplv029356; Thu, 14 Nov 2024 11:37:54 +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 v2 9/9] arm64: dts: rockchip: sort nodes for Radxa ROCK 5C Date: Thu, 14 Nov 2024 02:37:46 +0000 Message-ID: <20241114023746.4867-9-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241114023746.4867-1-naoki@radxa.com> References: <20241114023746.4867-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_184242_038092_2C6CF368 X-CRM114-Status: UNSURE ( 7.10 ) 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 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 = ;