From nobody Fri Apr 4 03:41:00 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1740311501; cv=none; d=zohomail.com; s=zohoarc; b=cxPpM2ZpvYy9ul2Mx0WaDCnMsrmRZhAdnz+vCXMGKiRhzNnZi0a2oQ3pFOJ/9UDvIuKMSWhyVpt6Bv6Ix2pv44qQPCf7M2vt9wco9+55CNoXlkULNNFYEmcwWisIlr/6Y9dyG2IdfVo59jO2Dva5ozwHgfignDx1ZasvKVYFcmY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1740311501; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kr4LGBLlY45X+fTtppD0/lSbX42xqY9SsQCuy+Wnyto=; b=RZM1mXPBaQo3ZSH7JcJQTF/Ee6nwLkc6kQvA+Q/hzrJlEjTFwXLN7tI/zcq/PaLoG9WXfV+54CDxmc7Dc3ueZrFS878jXxUXh0JED41OQVD0IFe7h5ZIvIHzE46OJ3+Vm6ECU48hALz3752X0gL2VD7wQfU3rNLef24oZlRw4aM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1740311501013139.48984669561446; Sun, 23 Feb 2025 03:51:41 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tmASJ-0008S6-6J; Sun, 23 Feb 2025 06:47:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tmASF-0008QH-Ml; Sun, 23 Feb 2025 06:47:27 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tmASE-0005vm-6i; Sun, 23 Feb 2025 06:47:27 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5dc89df7eccso6455415a12.3; Sun, 23 Feb 2025 03:47:25 -0800 (PST) Received: from Provence.localdomain (dynamic-077-011-167-038.77.11.pool.telefonica.de. [77.11.167.38]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abba4b9ee98sm1240515466b.167.2025.02.23.03.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Feb 2025 03:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740311243; x=1740916043; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kr4LGBLlY45X+fTtppD0/lSbX42xqY9SsQCuy+Wnyto=; b=bIUaLMsV9BuT5Gx6CFdiyjdGY7a9s4bCkWUAzwyST604OdBsK+TDj5BAdfmbCrRFok upb9ZTVeWYmSSN+HUUOXwbArxYBUS4Qp3sINoqwOoPw4MlJsvz5pbbeC9zOjgHgHSEW6 mb5Y6DAcbHPV3EtEMnBdmv2WwSfKZVZftg61cz/bXu6a/KczgIGPy8xF6u1gT3JMoN9a UvyGavToNx/UBO7OaPnw89DI7rJss5rX75Px2YhYB9+jj8hHl4hHIFUj5FcEuE3u3i4S DpwEPoM75xgsADJ+R0MrbToAgfSgc4ULH5mdoyngsW+l1DE/g4Z21sPQvlAMR/rdpNIE jlyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740311243; x=1740916043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kr4LGBLlY45X+fTtppD0/lSbX42xqY9SsQCuy+Wnyto=; b=sWx1ag8oiUNhk7CLVaEq8uH/eyoUQKe9dkZj3F7vbII5bS05ezK3Smxq7jyas4t1k9 LCCC+qDQU5AamxQP7GvZMhkmGmJspJbW+6TUBu6ydvopGTVv6H82ryFSiobpYfdMnxST 79hs8ycBvTpFiSj0z89JJTjEtztpcxGrB/ppx04PsjCk0/iqckwyNTl7HIJ4zFwZzEaF zeBEZ8RvnAYgtk/OCjGaCk0iAt2li6yO9c3ubssg75ogrr0fm2VS7Z7J0d0NN/qjssNf YMqi6krtD0Fpx8GgNl7FRDB8UT2TrLH7QqYw5zbxHRu7nUtudlh9/4Z6GcahKhS5eAeh 4qqA== X-Forwarded-Encrypted: i=1; AJvYcCV14svS5zRJwvBqSb9QgfvjbqEZEYom/Mu0FWOBYHck7YfOMsgOh4+m9aw3tT3fAp8h2scOs/lt0Q==@nongnu.org X-Gm-Message-State: AOJu0YyNAaSGu7WJKumuqjZGtVaw7cDYdrjkiX6pgI4MQ+88rgPOmxJL 0qnFfoAg3Cx2n2O58vWCdF/lXcJ51YEgyOTod2NivEQPYfhLyUNqFpoHiw== X-Gm-Gg: ASbGncu6Z8fCdiGKhovPPyNW8xga4mnnGpCTmZ0QlffUeC0lafn8TxgoiU3vu8uA+Bt 2JW387n6Uy9tQ+OesTbZBmNv5gTZYJLw9bSbtQpMr02cLFll27XnqCqzX62wKvsb3aZqTe/H0yZ NXPbkEisAqMeVxpjbGc6Yn4ijFaWGypYwWXlNl65PFlv7D7XsI+u4hAUE9l4V0lFp//N+daPD6n zl1Ylut0Li2+QxzIr5rbXYyFGX5thtDyN8ffi/EhlkAgqYIo0bV36sfVkL1kXLsEZffk/68/pmb zdsgJ6zCM2Jak4tLMOniRhaNF7Jl8ZTD+xpWsVgzB9pLvZLfgTFae2TRjEvbf7hpud9cPCXCM7N y71qfM+KaWZXo X-Google-Smtp-Source: AGHT+IEKi2CmLBwR+N0TisZKnNWu4xP3vISFNqEXQZb45/9fGZC5lqW+8pBC2qQSekFNQdg0jZmkKg== X-Received: by 2002:a17:907:9801:b0:aba:6385:b46d with SMTP id a640c23a62f3a-abc09d37dadmr896947466b.50.1740311242966; Sun, 23 Feb 2025 03:47:22 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Jean-Christophe Dubois , qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , Andrey Smirnov , Bernhard Beschow , Fabiano Rosas , Alistair Francis , "Edgar E. Iglesias" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 03/18] hw/gpio/pca955*: Move Kconfig switches next to implementations Date: Sun, 23 Feb 2025 12:46:53 +0100 Message-ID: <20250223114708.1780-4-shentey@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250223114708.1780-1-shentey@gmail.com> References: <20250223114708.1780-1-shentey@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=shentey@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1740311503928019100 Content-Type: text/plain; charset="utf-8" The move of the Kconfig bits to hw/gpio is fixing a bug in 6328d8ffa6cb9d ("misc/pca955*: Move models under hw/gpio"), which moved the code but forgo= t to move the Kconfig sections. Fixes: 6328d8ffa6cb9d "misc/pca955*: Move models under hw/gpio" Signed-off-by: Bernhard Beschow Reviewed-by: Peter Maydell --- hw/gpio/Kconfig | 8 ++++++++ hw/misc/Kconfig | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/gpio/Kconfig b/hw/gpio/Kconfig index c423e10f59..a209294c20 100644 --- a/hw/gpio/Kconfig +++ b/hw/gpio/Kconfig @@ -16,6 +16,14 @@ config SIFIVE_GPIO config STM32L4X5_GPIO bool =20 +config PCA9552 + bool + depends on I2C + +config PCA9554 + bool + depends on I2C + config PCF8574 bool depends on I2C diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig index 8f9ce2f68c..4271e2f4ac 100644 --- a/hw/misc/Kconfig +++ b/hw/misc/Kconfig @@ -30,14 +30,6 @@ config EDU default y if TEST_DEVICES depends on PCI && MSI_NONBROKEN =20 -config PCA9552 - bool - depends on I2C - -config PCA9554 - bool - depends on I2C - config I2C_ECHO bool default y if TEST_DEVICES --=20 2.48.1