Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1479161rwd; Thu, 15 Jun 2023 11:03:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zQ+CM6V3KZgZhP8LOyCPYVvSBWdFeQZ7SM2/459gl56gyJhx5/oB/80Ai+aRgYsOEs0sp X-Received: by 2002:a2e:99d9:0:b0:2b4:4caf:eb28 with SMTP id l25-20020a2e99d9000000b002b44cafeb28mr126003ljj.46.1686852197622; Thu, 15 Jun 2023 11:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686852197; cv=none; d=google.com; s=arc-20160816; b=ehy3k2ahL08gZiHSx9IhTOfGmH9jJ+okR5DDf4SnpNvOOtwfp1GpxKc1TwXI9Q0OMT HRDGuyKFk2pnFmHhWa8FXnZCLVaGKkvC/4XRmpkktpCzMq1s9dDgI76oE15l7lDgLrL8 cEM3xVgu8bmaKZ/fWTQfzFLR06hGDU142heGN2FaY9BpC0H23MX6lEMVcCKnNni8OJD5 76urBV77uRLHWwK65jruIs+LQAP60iYlPzrqsDIBkUUqv5sDuWQeL+B3GfUeWGp+Bwpj ro34fX96td6/qdOTDobmR+2zYiWcM7tbgMp2TVr+b6VGbjsCYCef/LA776JAKUB3l3aX dqKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:mime-version :references:in-reply-to:message-id:date:subject:from:dkim-signature; bh=8x78MvgAGf0Pwtnasq/3ixUfJIGr5jN/dHSd464Z2hQ=; b=LjiuV3vV0cNMjww5HBUDTI6XfkTF7/Knd59qI5LGpTmkRaUrNtcUSmCJS9WvOC85Au qCE04Gl0UE/WKRVUiun87Am+F9LRjMCUSYb6P2ljLL5YVNdyo15fuhsJflgTzSe4jNEm 68TvGNWczm/f51FbPUdFlK8wpXxmmxM4RM4ip/05QWG7N91CUT/A6g0UYNk79VYCy/xS /+ItE/gZGoNHJqr14oCIEuScXiPSww/9BerritRxkUaxl24nVA6ecRtyHPJoRjnZh+ja TNQgzL8dUqdTnPQ+xN2uZHAtsIziF2lDuFn3HSLFZpDKXpIt2c0KgMSPJQKTTBZ8ugu6 83uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=s1 header.b=hr5+BqzP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kwiboo.se Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a056402038e00b0051a27469761si887770edv.123.2023.06.15.11.02.46; Thu, 15 Jun 2023 11:03:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=s1 header.b=hr5+BqzP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kwiboo.se Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237963AbjFORLx (ORCPT + 99 others); Thu, 15 Jun 2023 13:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235826AbjFORLw (ORCPT ); Thu, 15 Jun 2023 13:11:52 -0400 X-Greylist: delayed 93 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 15 Jun 2023 10:11:50 PDT Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 388F7268B for ; Thu, 15 Jun 2023 10:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=8x78MvgAGf0Pwtnasq/3ixUfJIGr5jN/dHSd464Z2hQ=; b=hr5+BqzP9WVpUBezueHehavpwYTSm6bvX5IhVWo8GcAm4aa5g9wBD7lwGxMGJo38T1Yz sunsnIac7aTYxp6fwrNZDeY59a3etr8DvX7WnvDTNa2n+nW0V16vbidl2IcB2af15h0byP TXM470aTOU1vaDlqAITHGI6heDEkZBRadVoyAr6pcMyTNIkqXtXJP199ZIVGEtQ4jw0OPN gCrgxrwFuFNtuKcanya1YkC9zsxr5owDs2tH+LORm8MVKIP6S5vHAnE7X7DaYcm7ENlfjM yzzAtNbi/fTr5xXDGDnQBo2tAeJ4K3Y67XIVBabDjGdSglMBJnmALI2QgNwlXE3g== Received: by filterdrecv-77869f68cc-wnrh7 with SMTP id filterdrecv-77869f68cc-wnrh7-1-648B45F8-58 2023-06-15 17:10:17.048603932 +0000 UTC m=+3087256.701033920 Received: from bionic.localdomain (unknown) by geopod-ismtpd-2 (SG) with ESMTP id dUuyg-PyTA26fNyKJvWdhw Thu, 15 Jun 2023 17:10:16.831 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v4 1/6] phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328 Date: Thu, 15 Jun 2023 17:10:17 +0000 (UTC) Message-Id: <20230615171005.2251032-2-jonas@kwiboo.se> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230615171005.2251032-1-jonas@kwiboo.se> References: <20230615171005.2251032-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h+ZrqWCTZdFFi5nlL?= =?us-ascii?Q?DuP0hLMHKNwHCEmYMS2H=2FdC7+pE+Pk3R=2FVINVZo?= =?us-ascii?Q?OHLxCqDj40h5GYb1sEiLgsa5m5FpcuPBazT+rLm?= =?us-ascii?Q?VRcEqQqZbbgEo9UpaepItH2Olet+YDxVs7RKF6L?= =?us-ascii?Q?cc0LHuXVPvboeaZ6tfKjDvbe3T1Sn+PS9yRA2G?= To: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Zheng Yang Cc: Alex Bee , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman , Kishon Vijay Abraham I X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org inno_hdmi_phy_rk3328_clk_set_rate() is using the RK3228 macro when configuring vco_div_5 on RK3328. Fix this by using correct vco_div_5 macro for RK3328. Fixes: 53706a116863 ("phy: add Rockchip Innosilicon hdmi phy") Signed-off-by: Jonas Karlman --- v3: - no change drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c b/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c index 1e1563f5fffc..f348e5347d81 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c @@ -790,8 +790,8 @@ static int inno_hdmi_phy_rk3328_clk_set_rate(struct clk_hw *hw, RK3328_PRE_PLL_POWER_DOWN); /* Configure pre-pll */ - inno_update_bits(inno, 0xa0, RK3228_PCLK_VCO_DIV_5_MASK, - RK3228_PCLK_VCO_DIV_5(cfg->vco_div_5_en)); + inno_update_bits(inno, 0xa0, RK3328_PCLK_VCO_DIV_5_MASK, + RK3328_PCLK_VCO_DIV_5(cfg->vco_div_5_en)); inno_write(inno, 0xa1, RK3328_PRE_PLL_PRE_DIV(cfg->prediv)); val = RK3328_SPREAD_SPECTRUM_MOD_DISABLE; -- 2.40.1