Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Leonchikov <andreil499@gmail.com>
To: linux-rockchip@lists.infradead.org
Cc: Andrey Leonchikob <andreil499@gmail.com>
Subject: [v2,PATCH 3/5] RK3566 BTT Pi2 - Fix RK808 clock names. Require for a normal shutdown/reboot.
Date: Wed, 10 Sep 2025 23:54:45 +0200	[thread overview]
Message-ID: <20250910215451.2244192-4-andreil499@gmail.com> (raw)
In-Reply-To: <20250910215451.2244192-1-andreil499@gmail.com>

From: Andrey Leonchikob <andreil499@gmail.com>

This fix require to a normal reboot and shotdown handling.
Driver use a clock names to find it on a shutdown process.
When don't find it - no correct shutdown and some peripheral
don't work without power cycle.
Signed-off-by: Andrey Leonchikov <andreil499@gmail.com>

diff --git a/arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi
index d31b9bd54162..517c70d15502 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi
@@ -338,6 +338,7 @@ rk809: pmic@20 {
 		#clock-cells = <1>;
 		clock-names = "mclk";
 		clocks = <&cru I2S1_MCLKOUT_TX>;
+		clock-output-names = "rk808-clkout1", "rk808-clkout2";
 		pinctrl-names = "default", "pmic-sleep",
 				"pmic-power-off", "pmic-reset";
 		pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>;
-- 
2.51.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  parent reply	other threads:[~2025-09-10 21:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-10 21:54 [v2,PATCH 0/5] RK3566 BigtreeTech Pi2 fixes Andrey Leonchikov
2025-09-10 21:54 ` [v2,PATCH 1/5] RK3566 BTT Pi2 DTS fixes Andrey Leonchikov
2025-09-10 21:54 ` [v2,PATCH 2/5] RK3566 BTT Pi2 - Fix GMAC default delays Andrey Leonchikov
2025-09-12 15:06   ` Jonas Karlman
2025-09-10 21:54 ` Andrey Leonchikov [this message]
2025-09-10 21:54 ` [v2,PATCH 4/5] RK3566 BTT Pi2 - Fix default values Andrey Leonchikov
2025-09-10 21:54 ` [v2,PATCH 5/5] RK356x - Add OTP description Andrey Leonchikov
2025-09-12 10:45   ` Dragan Simic
2025-09-12 12:49   ` Andrey Leonchikov
2025-09-13 14:58     ` Dragan Simic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250910215451.2244192-4-andreil499@gmail.com \
    --to=andreil499@gmail.com \
    --cc=linux-rockchip@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox