From patchwork Tue Sep 24 09:34:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 830383 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 3C4AA81ACA 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=1727170463; cv=none; b=b1++qibnf5NsJKRlfMUMeuE/Y4D/unGm2165nfRyoPoRLusDq5dNokoqLn6n2ym4QxPAXWu+ozTTWfU2/m/IB1t/UOmd3PUq5l1nqw+oE/QiS4AFFg736j4G9BngmmIu1MNfvsQPoqKgmjYsBjd9TL/m7X0/cnKGztntNEu/Gs0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727170463; c=relaxed/simple; bh=CARFp6th4DbUiUuXwF6L9Sn0d4QvR0it2mvCHoANL24=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=aIrsTXnETrdAXlFTAjPVAJ9YaymzUgvYjim6yWLd/wQLL0ZTPUqCvZABlZs5HKlWceSxnsnDPFmkcGYjV/bDLFLXJt0EavJbKKA9YD/p6eRHxr9l2u85rzTUcjKyn+sDkWfDk5TzMhgJ3CwElT/qayIstKP9gQvzzwPlswNmM5M= 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-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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