From patchwork Tue Nov 1 05:54:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2761761wru; Mon, 31 Oct 2022 23:04:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Fw6r7G7GFieZoGD1Kr47ZaP2q0AQjQG2lihnsZmThuDZqRcpyGUg/awXIF//MbUXJdEDd X-Received: by 2002:a17:907:847:b0:77f:f489:cc25 with SMTP id ww7-20020a170907084700b0077ff489cc25mr16291418ejb.80.1667282683946; Mon, 31 Oct 2022 23:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667282683; cv=none; d=google.com; s=arc-20160816; b=b0O6hHKuaxp4OOfDRUF7937+AmL2CFECIWf907CQJwg7HApyBXCveR2khInbk1tIar uecdtluiViga+cag/YKZAgPmFTMwtH+24c051XTydRDq2hvtDmddif77IUQOp2Wbp2d+ Up99eZA+/Q1JqsAE9b39fLrIs4l7S6PZq1QrMfQrxeMrV5gAPIRcICrQCwYNxrxkc6Ez RP3Y/oYPtwK82Mp9uWCEAsqnAsKJmCwg+4HudNDEl54RFD1iZAwmslg9z0alq1m/Qola OG7Ngx43R3SEHuiM6rydhA3s4mL/vezHlrl17wc7xiV6etwWCSThD4I6N8RrV0E1EYyP zcVw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a056402517500b0045938ab7129si8448024ede.330.2022.10.31.23.04.19; Mon, 31 Oct 2022 23:04:43 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748272607970214595?= X-GMAIL-MSGID: =?utf-8?q?1748272607970214595?= 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 Reviewed-by: Hans de Goede --- 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