From mboxrd@z Thu Jan 1 00:00:00 1970 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 32148C3ABB6 for ; Tue, 6 May 2025 02:10:34 +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=wl36CDgj+vEF9T9VfFpPiE+Oh4r/cmbsSOPP9O0PYqs=; b=Mn7Fl9XI5hkcGH 7VwKLFXOKwg9XNPCqNz2PPjD5tRq5nP2h6cCDd87teYktTQn8VPpB7fuUWLAyG/ZcLb/1bW9v3wfo QzopY3ow0rwLoCOX/DniPvSEvY2VXGrHqZU3McvwDh+UhSNFLvw0+kJXXMPd2Mc0mMQaSSxrO3g5X wlpfevwXm6JS6b8mPPw6czL+kIabC6mMugrLo0ROjKCOVLNyz307hp37tyTudodPsyOK/73szzI1E rr4WItk65nYVn8QXdh2H1hV4t1WNXWPoAC6QuuElX7IeVYgzHisKK2ugrmOtgaXugLNpTW6Oy325P HvcwGEkHYPZzT0tb0HhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uC7lM-00000009gLe-2oe0; Tue, 06 May 2025 02:10:28 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uC4fB-00000008sw7-38AU; Mon, 05 May 2025 22:51:55 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id EDA1A5C5A99; Mon, 5 May 2025 22:49:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94E77C4CEE4; Mon, 5 May 2025 22:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746485512; bh=M1+XwD4TJBCVTfUVrmJnm/z+U5fuYjwArQdwgfIsMrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hLZAJxLL2TVk9MbW3+FAVQKeE2d2S7lcO8m5kXGd0DJb7HZaogYP2odc5guo9HCF/ RC9cT1djMb0izRNbxwn6xlyf6FBE5VBiX/FHfRBhrI4EvE8uJysrAlxWQEJnxRd9JG y5PBO9mhWMr/AlXAVlAyXPrj4dUj/OUz+QlOSklLzZar13NsO7icVjcp81zEcINZkW V9wQhXhScIZ6uYkNCMYZBEZmAakMaPGMJNBnNo3Mzjcs5aH+mdgywQ0FEfhgkuW752 +XmYl1h9QI+b7ksjOKi1J74LSQZQKEm32Mkdo20aAuy8lXv6EHPPKDQgk+0i2uxWlE w0Zu+17OQgw3Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Damon Ding , Dmitry Baryshkov , Vinod Koul , Sasha Levin , kishon@kernel.org, heiko@sntech.de, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH AUTOSEL 6.12 354/486] phy: phy-rockchip-samsung-hdptx: Swap the definitions of LCPLL_REF and ROPLL_REF Date: Mon, 5 May 2025 18:37:10 -0400 Message-Id: <20250505223922.2682012-354-sashal@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250505223922.2682012-1-sashal@kernel.org> References: <20250505223922.2682012-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.12.26 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250505_155153_842122_51E2EDA2 X-CRM114-Status: UNSURE ( 9.89 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Damon Ding [ Upstream commit 2947c8065e9efdd3b6434d2817dc8896234a3fc0 ] According to the datasheet, setting the dig_clk_sel bit of CMN_REG(0097) to 1'b1 selects LCPLL as the reference clock, while setting it to 1'b0 selects the ROPLL. Signed-off-by: Damon Ding Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20250205105157.580060-2-damon.ding@rock-chips.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c index be6f1ca9095aa..dc6e01dff5c74 100644 --- a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c +++ b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c @@ -94,8 +94,8 @@ #define LCPLL_ALONE_MODE BIT(1) /* CMN_REG(0097) */ #define DIG_CLK_SEL BIT(1) -#define ROPLL_REF BIT(1) -#define LCPLL_REF 0 +#define LCPLL_REF BIT(1) +#define ROPLL_REF 0 /* CMN_REG(0099) */ #define CMN_ROPLL_ALONE_MODE BIT(2) #define ROPLL_ALONE_MODE BIT(2) -- 2.39.5 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip