Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp1116087qtx; Tue, 1 Nov 2022 00:07:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6VmNuflv9TuFpq1yXy2XUN5kUaCwmg55jsezIaeUtmn3iumkpR0jcwgy/8eohKyLcpF6jF X-Received: by 2002:a17:903:247:b0:179:b5e1:54b7 with SMTP id j7-20020a170903024700b00179b5e154b7mr17996213plh.84.1667286458941; Tue, 01 Nov 2022 00:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667286458; cv=none; d=google.com; s=arc-20160816; b=MUQBe6YyL9CULh3SQgLj8odTZFcbDpa2jyXzQ4aZ8L3TXuYeB7cQmkk53qXxwMjgaE KY+ytrtcvv0+fuMIlTLsAJtU4v+JMmWz3yTqceYxI5NMx5Uc9GDwN5cMosH0OtnPKW9L WVsagZOd8MDANmy/LoxpXKS4M3y2MCXfD+PFAa4yh2ADCQh0MFnB857pFEvZsuk4wKxU gHeqyOxfpGe1DawDe5wm+H4kZ89eEYfyuFlk7howKyayrDbF5nuSG+d7AcwtvoL6kpf6 j7fgF6AWsDwVYQn0JWnObRI17fol2NQENBuD/Z+eC1GI1GTzz8B1qhapzfow9TKUZqsZ dAKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PfJarf9OujD0jxdJbIQ9WPjhLg0Bdxql4iSHEXIdul8=; b=nneQNmxj8AtlbtNvJp+dPGY0DC7TGxQNYt8YgZUh+/gezo5ILSH0H5uImES/a/eYlD 5PARrESXG7wiM3AkVMO+JB/r45UVuIvmFocl493VYLCw2h1h9ZdDgMBUc+5O+TGbSKUl Yz6Zso0u0ygiZeZCNnbUi3wkLSpiym0pamDeMgTTQ2nxi57zcuxOz+BnqIUX6x3NtzKD tz386hbpwanxVfhYoJvoT78cyiMxS+tNgnnTUw8/jeG7S6E8NEHSOZ/TZFaS1guWxLfV zIp9FnqKw9hemoIcextlqs5GqX26lQipsdUYn1clOTd/GA5eMkDMGtKJVotGcOBYBNCq I/Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=EqX3bkwy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a1709028a8800b0017efeb31274si10464303plo.507.2022.11.01.00.07.25; Tue, 01 Nov 2022 00:07:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=EqX3bkwy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbiKAFyp (ORCPT + 97 others); Tue, 1 Nov 2022 01:54:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiKAFym (ORCPT ); Tue, 1 Nov 2022 01:54:42 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B1B14029 for ; Mon, 31 Oct 2022 22:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=PfJarf9OujD0jxdJbIQ9WPjhLg0Bdxql4iSHEXIdul8=; b=EqX3bkwyVL0ndltH/Wyg8qYYKK 2a47eCMm9XtO4KQHogXuUWyZ1wXZgWyZN0iiJ01tKvtgnJIAdimAHCTWF6HM4PF9Mz+TEcbtO5LuS 1qJ+9/KBUyab55o8AR85yeWMQhkF1DcsdeKUbJdXJCewUJnB8uLnrsS7NU53b3RVdNotS3/0sCRPn TDjMbzQgbOpdno6A6/YjuM8xM1Sj/Aey+ZVB/Cfp1I8xv5fSFMmLV4Z4hU+xc7uBGGnhXeLe7GiP6 NUUDwvC0TGprFJqUkyV+Fo8efzRqi1QW82DC8UaoMbtNkFabd0FlcezczMsl5bw4eDW9tSOYhmKFe TMXdNxvg==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1opkEU-004M6c-S4; Tue, 01 Nov 2022 05:54:43 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Andy Shevchenko , Hans de Goede , Jarkko Nikula , Lee Jones , Randy Dunlap , Linus Torvalds Subject: [PATCH] mfd: intel_soc_pmic: allow COMPILE_TEST or I2C_DESIGNWARE_PLATFORM Date: Mon, 31 Oct 2022 22:54:33 -0700 Message-Id: <20221101055433.16891-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus expressed a desire to have intel_soc_pmic_crc.o (INTEL_SOC_PMIC, for Crystal Cove) be built on an "allmodconfig" build, when I2C_DESIGNWARE_PLATFORM=m, to enhance build test coverage. The PMIC driver won't work in this case since it requires I2C_DESIGNWARE_PLATFORM=y to operate properly, but adding "|| COMPILE_TEST" does improve the build test coverage. Link: https://lore.kernel.org/all/CAHk-=wg=hh8xkPjiySnjAyR66AG64eyZ1Y9gHw+MCs8uuSZReA@mail.gmail.com/ Signed-off-by: Randy Dunlap Suggested-by: Linus Torvalds --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -603,7 +603,7 @@ config INTEL_SOC_PMIC bool "Support for Crystal Cove PMIC" depends on HAS_IOMEM && I2C=y && GPIOLIB && COMMON_CLK depends on (X86 && ACPI) || COMPILE_TEST - depends on I2C_DESIGNWARE_PLATFORM=y + depends on I2C_DESIGNWARE_PLATFORM=y || COMPILE_TEST select MFD_CORE select REGMAP_I2C select REGMAP_IRQ