From nobody Mon Feb 9 17:59:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548411998850970.0713003754212; Fri, 25 Jan 2019 02:26:38 -0800 (PST) Received: from localhost ([127.0.0.1]:41526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmyh0-0005f3-CU for importer@patchew.org; Fri, 25 Jan 2019 05:26:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmyP1-0007ut-Ij for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:08:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmyOz-00029S-NZ for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:07:59 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:42342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmyOz-00028e-ER for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:07:57 -0500 Received: by mail-wr1-x444.google.com with SMTP id q18so9614330wrx.9 for ; Fri, 25 Jan 2019 02:07:57 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id p4sm88048455wrs.74.2019.01.25.02.07.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 02:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=UP9pG+nHxCFHhoRbraLGW3eb/J52jh1wQSz7vwEDZmc=; b=P0jYxeaYXGYOa5MHVnmiXJIoYT1bpd3A7sr83weXdJVAejooS8B+2yOCT0QDexPJoV 2vqUXCYZDn3ut21KHJhPFPkMrulAmc083fUqC3RdYXON4GrJX1hao5Q5srHC9qEpHZv8 Dn0UY+MgbF5L4f2AvtaeGdiXLPyLiIuCo7WlIjD4ti1ZzAf2RajeALSIVeHGcIsvYekR UPaPlschtPXc0TCyPIesE3I0TIcJaUrLHcMcVonDthvVughohzpf3NdE8mAzEB0vdoKf zeKjDCdynuj1gIDfFL6kvgdTCOB9udDMO9MEhxmxyJsi4tyGr4x622A5TySVhV1fbDLR lyjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=UP9pG+nHxCFHhoRbraLGW3eb/J52jh1wQSz7vwEDZmc=; b=t1BYPOXkylSyjSA/98rnfgbBeDZh9Yy+XGNO1r3XSU26GT84VZeRygAyW68zis8/LK dSjTJCR4OCrZfOvLGyl/mjzKubaz7V+1u1wtlrrKpj8vr3e+7gXop+elQQWJkC+oOdPu /oOcO81zQe4W2goJGgrjUpYl5CeWjnnNYOHS5TT2yMjV8ZOPUAoNgnvuS3VhAxGmI2BO ODXqoVR+zILWKPXJyVmv4fOCi3/JROg0bfiK7krm8ZgstWFjA3k+h+7TQpV4BfKgifyc xjkuAgxBYv3wzNlXbknGcXaqF9yjcdixOyI32W3M7gKhnlWi21J0Fv/oZqmKpd72VxtF dHTw== X-Gm-Message-State: AJcUukcMvTNYIN/OJYIJMDVVKZs1KEV2oQri3eOKSALjrNIOsHNZnWwR XrKkGGA8ne2/3ZZA11NVokLZ4zLG X-Google-Smtp-Source: ALg8bN7wCdRKoF1cTySvd06ZwKccoUi24I5PJH0653Twl0YKxUjKt5D+GD9VwWCAQaNBlqVTDJhGBg== X-Received: by 2002:a5d:664a:: with SMTP id f10mr10626679wrw.311.1548410876207; Fri, 25 Jan 2019 02:07:56 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 25 Jan 2019 11:07:02 +0100 Message-Id: <1548410831-19553-44-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1548410831-19553-1-git-send-email-pbonzini@redhat.com> References: <1548410831-19553-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PATCH 43/52] i2c: express dependencies with Kconfig X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.zhong@intel.com, thuth@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini Signed-off-by: Yang Zhong Acked-by: Thomas Huth Message-Id: <20190123065618.3520-38-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- default-configs/i386-softmmu.mak | 2 -- hw/Makefile.objs | 2 +- hw/audio/Kconfig | 1 + hw/display/Kconfig | 3 +++ hw/gpio/Kconfig | 1 + hw/i2c/Kconfig | 6 ++++++ hw/i386/Kconfig | 1 + hw/input/Kconfig | 1 + hw/isa/Kconfig | 1 + hw/misc/Kconfig | 4 ++++ hw/timer/Kconfig | 3 +++ 11 files changed, 22 insertions(+), 3 deletions(-) diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmm= u.mak index 9eb9a5e..4aa04e4 100644 --- a/default-configs/i386-softmmu.mak +++ b/default-configs/i386-softmmu.mak @@ -22,8 +22,6 @@ CONFIG_NVDIMM=3Dy CONFIG_ACPI_NVDIMM=3Dy CONFIG_PXB=3Dy CONFIG_ACPI_VMGENID=3Dy -CONFIG_SMBUS_EEPROM=3Dy -CONFIG_I2C=3Dy CONFIG_PCI_DEVICES=3Dy =20 # Boards: diff --git a/hw/Makefile.objs b/hw/Makefile.objs index e2fcd6a..225f6cc 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -10,7 +10,7 @@ devices-dirs-$(CONFIG_SOFTMMU) +=3D display/ devices-dirs-$(CONFIG_SOFTMMU) +=3D dma/ devices-dirs-$(CONFIG_SOFTMMU) +=3D gpio/ devices-dirs-$(CONFIG_HYPERV) +=3D hyperv/ -devices-dirs-$(CONFIG_SOFTMMU) +=3D i2c/ +devices-dirs-$(CONFIG_I2C) +=3D i2c/ devices-dirs-$(CONFIG_SOFTMMU) +=3D ide/ devices-dirs-$(CONFIG_SOFTMMU) +=3D input/ devices-dirs-$(CONFIG_SOFTMMU) +=3D intc/ diff --git a/hw/audio/Kconfig b/hw/audio/Kconfig index 01aea55..e9c6fed 100644 --- a/hw/audio/Kconfig +++ b/hw/audio/Kconfig @@ -40,6 +40,7 @@ config PCSPK =20 config WM8750 bool + depends on I2C =20 config PL041 bool diff --git a/hw/display/Kconfig b/hw/display/Kconfig index 64a5764..66044ca 100644 --- a/hw/display/Kconfig +++ b/hw/display/Kconfig @@ -24,9 +24,11 @@ config PL110 =20 config SII9022 bool + depends on I2C =20 config SSD0303 bool + depends on I2C =20 config SSD0323 bool @@ -71,6 +73,7 @@ config MILKYMIST_TMU2 =20 config SM501 bool + depends on I2C =20 config TCX bool diff --git a/hw/gpio/Kconfig b/hw/gpio/Kconfig index d0a4abf..9227cb5 100644 --- a/hw/gpio/Kconfig +++ b/hw/gpio/Kconfig @@ -1,5 +1,6 @@ config MAX7310 bool + depends on I2C =20 config PL061 bool diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig index d6d4402..74c9328 100644 --- a/hw/i2c/Kconfig +++ b/hw/i2c/Kconfig @@ -3,18 +3,24 @@ config I2C =20 config SMBUS_EEPROM bool + depends on I2C =20 config DDC bool + depends on I2C =20 config VERSATILE_I2C bool + select I2C =20 config ACPI_SMBUS bool + select I2C =20 config BITBANG_I2C bool + select I2C =20 config IMX_I2C bool + select I2C diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 8814b7c..966c97c 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -27,6 +27,7 @@ config PC_ACPI select ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG + select SMBUS_EEPROM depends on ACPI_SMBUS =20 config I440FX diff --git a/hw/input/Kconfig b/hw/input/Kconfig index bdb4237..ec014a9 100644 --- a/hw/input/Kconfig +++ b/hw/input/Kconfig @@ -3,6 +3,7 @@ config ADB =20 config LM832X bool + depends on I2C =20 config PCKBD bool diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 6f0812d..fcd87b4 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -19,6 +19,7 @@ config PIIX4 config VT82C686 bool select ISA_BUS + select ACPI_SMBUS =20 config SMC37C669 bool diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig index ca051fb..0680d1e 100644 --- a/hw/misc/Kconfig +++ b/hw/misc/Kconfig @@ -7,9 +7,11 @@ config MAX111X =20 config TMP105 bool + depends on I2C =20 config TMP421 bool + depends on I2C =20 config ISA_DEBUG bool @@ -34,6 +36,7 @@ config EDU =20 config PCA9552 bool + depends on I2C =20 config PL310 bool @@ -100,3 +103,4 @@ config PVPANIC =20 config AUX bool + select I2C diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig index 7dbc121..e1a6e74 100644 --- a/hw/timer/Kconfig +++ b/hw/timer/Kconfig @@ -9,6 +9,7 @@ config A9_GTIMER =20 config DS1338 bool + depends on I2C =20 config HPET bool @@ -18,6 +19,7 @@ config I8254 =20 config M41T80 bool + depends on I2C =20 config M48T59 bool @@ -27,6 +29,7 @@ config PL031 =20 config TWL92230 bool + depends on I2C =20 config XLNX_ZYNQMP bool --=20 1.8.3.1