From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:06 +0000
Subject: [PATCH] rk3568 rt uboot init

---
 u-boot/drivers/gpio/Kconfig |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/u-boot/drivers/gpio/Kconfig b/u-boot/drivers/gpio/Kconfig
index f059ea7..412df72 100644
--- a/u-boot/drivers/gpio/Kconfig
+++ b/u-boot/drivers/gpio/Kconfig
@@ -24,6 +24,15 @@
 	  is a mechanism providing automatic GPIO request and config-
 	  uration as part of the gpio-controller's driver probe function.
 
+config GPIO_NO_UC_FLAG_SEQ_ALIAS
+	bool "Disable GPIO uclass sequence themselves with aliases"
+	depends on USING_KERNEL_DTB
+	default n
+	help
+	  Disable GPIO uclass sequence, this is a workaround when kernel
+	  dtb feature is enabled. Avoid gpio device probe failed when
+	  alloc req_seq both for gpio devices from U-Boot and kernel dtb.
+
 config ALTERA_PIO
 	bool "Altera PIO driver"
 	depends on DM_GPIO
@@ -211,12 +220,6 @@
 	  Support for the GPIO controller contained in NVIDIA Tegra186. This
 	  covers both the "main" and "AON" controller instances, even though
 	  they have slightly different register layout.
-
-config GPIO_MAX96752F
-	bool "Maxim MAX96752F GPIO"
-	depends on DM_GPIO && I2C_MUX_MAX96752F
-	help
-	  Say yes here to support Maxim MAX96752F GPIOs.
 
 config GPIO_UNIPHIER
 	bool "UniPhier GPIO"

--
Gitblit v1.6.2