Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1636791lqe; Mon, 8 Apr 2024 15:29:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKV+kzQdp0285C/7mrNsd81+SusnlqGEPCoGuj1f9h20XImO8R+GETHPgGRbS7Gkn570uXvsZsAIFYX+mYo7cClp5Txt1u7bkajIgsXA== X-Google-Smtp-Source: AGHT+IGCvB8IGchVDU3aU4J7IALB3CyobsQA4ZEvO/4zqDQFQiIph0OiwVeoMByc2eEkZhPPXDWZ X-Received: by 2002:a05:6a20:9192:b0:1a7:4a6f:f1a6 with SMTP id v18-20020a056a20919200b001a74a6ff1a6mr10215886pzd.3.1712615382814; Mon, 08 Apr 2024 15:29:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712615382; cv=pass; d=google.com; s=arc-20160816; b=cuOX3I5kkASjxL4UsCA58XFf1YntJRtBmnO/VngGCifFkUbn4wp4ybGhlY1lbm+MlX D5VCKdJwuTb9tzYLnjd1k1CQRtr+tPCHNBeJQGfz5XbBwpzoTkN3ihRsANJMVH1zy+Xm mJHa/FEEc7KxL892T6S0KfdW9FWcNNwrB5wl0dtvc22P8Zl4DQjQjAIS4Pv1BP6JO7w+ Ip1ZtJtRhA5uOi09KryV9o8EgTqUYzttlh6+v+H49HQ7B4TcRGt+Ig1XLU1Y9cMg6Ybf 99ulC72MbTqjiq85W3AWkia3qN2exYQjmjG0znJzTWw6TZ6Du4wHllsSo8u1i6FmOi3T tmdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=eoKbqDJoX2GTh+Iu60gVHzbpGORHfKWX0wOH4jp2uGs=; fh=ZzisYa+sKg13CmME/HVx3yKdeJDfuKXiPwT/mGHt7pc=; b=YA4qzOgs4RnVQMyfb0FagR6d4Bf8dYIrTmRUmoWJJtkGNJbzf8lsJFVsomxIMn6iV2 tXMjpsC1kUWAtjiogb9Y19GP6zkvUTPFrqJS9zcHmeHd/4XuuYH3Em8ccFz8sBq3RwDq Xtp62Gd+vF6Z95Aak/DKxuTvuV9hIMpt+agoFpJwSVgc+T8mZxaeQcIH2FXwRKWjGiXI korrSBxiOQ+o0FucsOTwZ2tNgphM6SbyF1KiOn6u4elwjLoagcOKYQxpLEWKmYFVubKn xLkitvwqtLPwO18zb1Vlm1KslcStEvATVFRYgckKPiJQsMWqL/74QBV72oXre7qbk+1A 8vAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=yd3MumOC; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-135973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nl14-20020a17090b384e00b002a537deacc5si2165812pjb.56.2024.04.08.15.29.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 15:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=yd3MumOC; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-135973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8D234283E3D for ; Mon, 8 Apr 2024 22:29:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93244149C7F; Mon, 8 Apr 2024 22:29:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="yd3MumOC" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 195C214884C for ; Mon, 8 Apr 2024 22:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712615372; cv=none; b=iQ4//dgorUVRz4/WB7RlkA2uRwGWXDS8e8+XjFhx9gbiId+HUwPcTxNceOrHn1z483C8B/JNvPaZvrxmkMFzVcwv7yRccG4v076jxehf1Xa6U1FnK/V6pajaWj7Ekzjy8XLdWenTIYnSjtGKiE13fvgMRk3Ar2oXbdsRzI1SFDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712615372; c=relaxed/simple; bh=3COvrdRUXf3EnV72Dbioxkcz2kZLKag4fAKpaIM7UKQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u2HmGqzPAYUgKlt2zSZnz83v3xg6ErOWqp2+Xy+onxsHrYQ0jJEtiBRLRejp7Ia0RfO6CfXhC+jwJ1rVKfYlk+XFlMql7MIejspWP4xcoM/aYiYJVxpHVC5qC25efzcTJoGJYPDKqk9iPK7QSgS7kMadt9W8l97LuWSuDFnTSrY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=yd3MumOC; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712615369; bh=3COvrdRUXf3EnV72Dbioxkcz2kZLKag4fAKpaIM7UKQ=; h=From:To:Cc:Subject:Date:From; b=yd3MumOCP1JO+SiMH/8ecXlW63dJZTbkKearngXIKlyVbnlqqUlcQxVvi6GtpTG3m +i1xSbyI/+xj185A83oZ4Ki8iNeZOWHwr1keBYCi5UynJIra4z9esdRreRhI2pA1Yq UkclNPrI7afzZT3mlBcgTqdz24LZ7U7Z9dGrn3TX9MXI/n2lJ8tzVCpcCbINMXytW1 axw0bPOt+MbASXqnCFiTzFFb7SFN3nZcxGAOWHE0bFtN+1d8o2c9ZQ3DQfVEEvYT/a qLRX8WpzviLSYclPljEHyS+BpdtGxBLOU3amBH8O5fUXMK844juIJWCHbWyKTcgfth tjhOEBLTYLmjA== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id DCCAA37809CE; Mon, 8 Apr 2024 22:29:28 +0000 (UTC) From: Cristian Ciocaltea To: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Algea Cao Cc: linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, kernel test robot Subject: [PATCH] phy: phy-rockchip-samsung-hdptx: Select CONFIG_RATIONAL Date: Tue, 9 Apr 2024 01:29:25 +0300 Message-ID: <20240408222926.32708-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Ensure CONFIG_RATIONAL is selected in order to fix the following link error with some kernel configurations: drivers/phy/rockchip/phy-rockchip-samsung-hdptx.o: in function `rk_hdptx_ropll_tmds_cmn_config': phy-rockchip-samsung-hdptx.c:(.text+0x950): undefined reference to `rational_best_approximation' Fixes: 553be2830c5f ("phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404090540.2l1TEkDF-lkp@intel.com/ Signed-off-by: Cristian Ciocaltea --- drivers/phy/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig index a34f67bb7e61..b60a4b60451e 100644 --- a/drivers/phy/rockchip/Kconfig +++ b/drivers/phy/rockchip/Kconfig @@ -87,6 +87,7 @@ config PHY_ROCKCHIP_SAMSUNG_HDPTX tristate "Rockchip Samsung HDMI/eDP Combo PHY driver" depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF select GENERIC_PHY + select RATIONAL help Enable this to support the Rockchip HDMI/eDP Combo PHY with Samsung IP block. -- 2.44.0