]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: rockchip: naneng-combphy: compatible reset with old DT
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 6 Jan 2025 10:00:01 +0000 (18:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:36 +0000 (18:25 +0100)
commitfaccabe9c1c9d6c9f6e668f69e5b1db05c20c4a8
treefb8162dd63d4bd54641c1913a3f8f54d97605a58
parentadec6338b04390df174f195944a64857342d4bc2
phy: rockchip: naneng-combphy: compatible reset with old DT

[ Upstream commit 3126ea9be66b53e607f87f067641ba724be24181 ]

The device tree of RK3568 did not specify reset-names before.
So add fallback to old behaviour to be compatible with old DT.

Fixes: fbcbffbac994 ("phy: rockchip: naneng-combphy: fix phy reset")
Cc: Jianfeng Liu <liujianfeng1994@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20250106100001.1344418-2-amadeus@jmu.edu.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c