From nobody Fri Nov 29 04:30:53 2024 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C4EF1422C7 for ; Tue, 24 Sep 2024 09:34:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727170465; cv=none; b=UAe0/pv9weVVP48zAW0v8DQSk8+AxwUkR+Ssq11ZVC72KWiVSO0Jzd0E0SCNja8PaKXkdphuIIrvjofbibv4FFko2BYCEB20xBlxcOE18cv8d60aQ1Oo91qd03C3pP9CzYHKZQScNKZcRTRJBPoA9Ty3Vla8cZHr0nkE17FDAMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727170465; c=relaxed/simple; bh=CARFp6th4DbUiUuXwF6L9Sn0d4QvR0it2mvCHoANL24=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NaHMBtozOccptdCAp6kkPTjbs7SX26e3+eX/vyO4aRIndkc7TTvhFUaK2cNZ6IerghtC4seAGVZmfeU2NsfOaG/0vSMxt5R6iFWYQ2swk4p5AgYXwbV6M8dgRSejs1392OmtxEes9/YgG4bsbVnQAdvnFAjt/vDnlWNBCBCSstU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([84.195.187.55]) by laurent.telenet-ops.be with cmsmtp id G9aL2D0071C8whw019aLnn; Tue, 24 Sep 2024 11:34:20 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1st1w0-000Shr-1q; Tue, 24 Sep 2024 11:34:20 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1st1w3-0015Xd-Ui; Tue, 24 Sep 2024 11:34:19 +0200 From: Geert Uytterhoeven To: Andi Shyti , Gerhard Engleder Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] i2c: I2C_KEBA should depend on KEBA_CP500 Date: Tue, 24 Sep 2024 11:34:18 +0200 Message-Id: <39a6ce50b152c8e435c78825ab56aa714b54fce8.1727170404.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The KEBA I2C controller is only present on KEBA PLC devices. Hence add a dependency on KEBA_CP500, to prevent asking the user about this driver when configuring a kernel without KEBA CP500 system FPGA support. Fixes: c7e08c816cd2fdf8 ("i2c: keba: Add KEBA I2C controller support") Signed-off-by: Geert Uytterhoeven --- drivers/i2c/busses/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 0ea437c76167ad2d..229b8166ccc03803 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -782,6 +782,7 @@ config I2C_JZ4780 config I2C_KEBA tristate "KEBA I2C controller support" depends on HAS_IOMEM + depends on KEBA_CP500 || COMPILE_TEST select AUXILIARY_BUS help This driver supports the I2C controller found in KEBA system FPGA --=20 2.34.1