From d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 02:45:28 +0000
Subject: [PATCH] add boot partition  size

---
 kernel/drivers/phy/rockchip/Kconfig |   80 +++++++++++++++++++++++++++++-----------
 1 files changed, 58 insertions(+), 22 deletions(-)

diff --git a/kernel/drivers/phy/rockchip/Kconfig b/kernel/drivers/phy/rockchip/Kconfig
index 20e4c40..0a41b89 100644
--- a/kernel/drivers/phy/rockchip/Kconfig
+++ b/kernel/drivers/phy/rockchip/Kconfig
@@ -1,11 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Phy drivers for Rockchip platforms
 #
+
 config PHY_ROCKCHIP_CSI2_DPHY
 	tristate "Rockchip CSI2 D-PHY Driver"
 	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
 	depends on ARCH_ROCKCHIP && OF
 	select GENERIC_PHY
+	select V4L2_FWNODE
 	help
 	  Enable this to support the Rockchip CSI2 DPHY.
 
@@ -15,6 +18,18 @@
 	select GENERIC_PHY
 	help
 	  Enable this to support the Rockchip Display Port PHY.
+
+config PHY_ROCKCHIP_DPHY_RX0
+	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
+	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	select GENERIC_PHY_MIPI_DPHY
+	select GENERIC_PHY
+	help
+	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
+	  associated to the Rockchip ISP module present in RK3399 SoCs.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called phy-rockchip-dphy-rx0.
 
 config PHY_ROCKCHIP_EMMC
 	tristate "Rockchip EMMC PHY Driver"
@@ -31,25 +46,19 @@
 	  Enable this to support the Rockchip SoCs COMBPHY.
 	  If unsure, say N.
 
-config PHY_ROCKCHIP_INNO_HDMI_PHY
+config PHY_ROCKCHIP_INNO_HDMI
 	tristate "Rockchip INNO HDMI PHY Driver"
-	depends on ARCH_ROCKCHIP && OF
+	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+	depends on COMMON_CLK
 	select GENERIC_PHY
 	help
-	  Enable this to support the Rockchip HDMI PHY with Innosilicon IP block.
-
-config PHY_ROCKCHIP_INNO_MIPI_DPHY
-	tristate "Rockchip INNO MIPI D-PHY Driver"
-	depends on ARCH_ROCKCHIP && OF
-	select GENERIC_PHY
-	help
-	  Enable this to support the Rockchip MIPI D-PHY with Innosilicon IP block.
+	  Enable this to support the Rockchip Innosilicon HDMI PHY.
 
 config PHY_ROCKCHIP_INNO_USB2
 	tristate "Rockchip INNO USB2PHY Driver"
 	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
 	depends on COMMON_CLK
-	select EXTCON
+	depends on EXTCON
 	depends on USB_SUPPORT
 	select GENERIC_PHY
 	select USB_COMMON
@@ -64,20 +73,13 @@
 	help
 	  Support for Rockchip USB 3.0 PHY with Innosilicon IP block.
 
-config PHY_ROCKCHIP_INNO_VIDEO_COMBO_PHY
-	tristate "Rockchip INNO MIPI/LVDS/TTL PHY driver"
-	depends on ARCH_ROCKCHIP && OF
+config PHY_ROCKCHIP_INNO_DSIDPHY
+	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
+	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
 	select GENERIC_PHY
+	select GENERIC_PHY_MIPI_DPHY
 	help
 	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
-	  Innosilicon IP block.
-
-config PHY_ROCKCHIP_INNO_VIDEO_PHY
-	tristate "Rockchip INNO LVDS/TTL PHY driver"
-	depends on ARCH_ROCKCHIP && OF
-	select GENERIC_PHY
-	help
-	  Enable this to support the Rockchip LVDS/TTL PHY with
 	  Innosilicon IP block.
 
 config PHY_ROCKCHIP_MIPI_RX
@@ -85,6 +87,7 @@
 	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
 	depends on ARCH_ROCKCHIP && OF
 	select GENERIC_PHY
+	select V4L2_FWNODE
 	help
 	  Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block.
 
@@ -123,6 +126,29 @@
 	help
 	  Enable this to support the Rockchip PCIe PHY.
 
+config PHY_ROCKCHIP_SAMSUNG_DCPHY
+	tristate "Rockchip Samsung MIPI DCPHY driver"
+	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+	select GENERIC_PHY
+	select GENERIC_PHY_MIPI_DPHY
+	help
+	  Enable this to support the Rockchip MIPI DCPHY with
+	  Samsung IP block.
+
+config PHY_ROCKCHIP_SAMSUNG_HDPTX
+	tristate "Rockchip Samsung HDMI/DP Combo PHY driver"
+	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
+	select GENERIC_PHY
+	help
+	  Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
+
+config PHY_ROCKCHIP_SAMSUNG_HDPTX_HDMI
+	tristate "Rockchip Samsung HDMI/DP Combo PHY HDMI driver"
+	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
+	select GENERIC_PHY
+	help
+	  Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
+
 config PHY_ROCKCHIP_SNPS_PCIE3
 	tristate "Rockchip Snps PCIe3 PHY Driver"
 	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
@@ -138,6 +164,7 @@
 	select EXTCON
 	select GENERIC_PHY
 	select RESET_CONTROLLER
+	select TYPEC
 	help
 	  Enable this to support the Rockchip USB TYPEC PHY.
 
@@ -147,3 +174,12 @@
 	select GENERIC_PHY
 	help
 	  Enable this to support the Rockchip USB 2.0 PHY.
+
+config PHY_ROCKCHIP_USBDP
+	tristate "Rockchip USBDP COMBO PHY Driver"
+	depends on ARCH_ROCKCHIP && OF
+	select GENERIC_PHY
+	select TYPEC
+	help
+	  Enable this to support the Rockchip USB3.0/DP
+	  combo PHY with Samsung IP block.

--
Gitblit v1.6.2