From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 608BBC4363F for ; Mon, 10 May 2021 13:02:38 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0508F611BD for ; Mon, 10 May 2021 13:02:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0508F611BD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=hisilicon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UpOrT4q2gptCbRC88sb19HNPmNKCfnWm6Gm2h69I1vo=; b=jrPfwQNX5R4OQ8vgl14nwBcsW /ZmDwVdSQ40U9Ln+H7iKpLAaWAf2VH0x4Gb5c5fDyTv4HPcF9gLGxPMNDtKif4jMPcHntdVyctAUv CUpjA1USAFII8s+RRfatvLADoJUQKWj94evXY11WsZJXQ86Qm4S/nJMSaazuFPSxb6fil+CqJU93f d2mdBwvxXKo2QE0+CmIdx087A8gg0389wFqB0UrOxnYdeaGS2WHn+N6gjaQOg7ou0exEQuFHuP1yT l3N32T7OzcbgDVzRKJudsFm8Lbz3L+8yYLkQTGn6YZ1zSl3o8/8TW/xnt9aM1zTvOJkcy9XLo0eng Epe2QnssQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg5Wm-00ENal-NW; Mon, 10 May 2021 13:00:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg5Wk-00ENad-P1 for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 13:00:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:CC:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=muZt/K9LdCNWf8rk8I7dHdhBTvunCXD537K8KjefWMk=; b=pItnhqD6zHbKLZz6BBkxDYkXsc S0LIXYuxZhGGvuGyui+OPL3N9pLq5P2rcATjleEVR9WnrknFjXZiGt+x+tMeEKAayTAhssffP7ESP Ani+FXe1jG0IIL6dF7XUZDV7gm4c4hDHJCKkGCVSwd7y7gQrI3HHzBZ1tQ8k5CrFTPGY5r4UEa95v 9kiCoMAlawBVauSFYsqz3dHPAEfbkkmVzZJcpB8+QpnYE6NJP5fxSBvvjm3QCmX++P9cS73gpp7b1 P5l0XZzUNXmxwanlDuGDi6AG2nLY9xCHJak2h/T7UYm4gsNBX/hV5c8NafRnUuPA82O0KS7XVPbTQ We53bz1w==; Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg5Wh-008isF-Lz for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 13:00:49 +0000 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Ff1Lc01pRzkYK1; Mon, 10 May 2021 20:58:00 +0800 (CST) Received: from [127.0.0.1] (10.69.38.196) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Mon, 10 May 2021 21:00:31 +0800 Subject: Re: [PATCH v2] i2c: I2C_HISI should depend on ACPI To: Geert Uytterhoeven , Wei Xu , Wolfram Sang CC: Andy Shevchenko , Dmitry Osipenko , , , References: <22d124a7f12f2c8b280a9cc7f3b766351c9a8d64.1620119167.git.geert+renesas@glider.be> From: Yicong Yang Message-ID: <308d0e42-33ff-4eed-3933-dededb92b723@hisilicon.com> Date: Mon, 10 May 2021 21:00:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <22d124a7f12f2c8b280a9cc7f3b766351c9a8d64.1620119167.git.geert+renesas@glider.be> X-Originating-IP: [10.69.38.196] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_060047_949840_95D6C289 X-CRM114-Status: GOOD ( 16.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021/5/4 17:06, Geert Uytterhoeven wrote: > The HiSilicon Kunpeng I2C controller driver relies on ACPI to probe for > its presence. Hence add a dependency on ACPI, to prevent asking the > user about this driver when configuring a kernel without ACPI firmware > support. > > Fixes: d62fbdb99a85730a ("i2c: add support for HiSilicon I2C controller") > Signed-off-by: Geert Uytterhoeven Acked-by: Yicong Yang > --- > v2: > - Drop dependency on ARCH_HISI, as this is a public IP which doesn't > specifically depend on ARCH_HISI. > --- > drivers/i2c/busses/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > index b5b4e0d0ff4dd0bc..226c0b79eac030fa 100644 > --- a/drivers/i2c/busses/Kconfig > +++ b/drivers/i2c/busses/Kconfig > @@ -647,7 +647,7 @@ config I2C_HIGHLANDER > > config I2C_HISI > tristate "HiSilicon I2C controller" > - depends on ARM64 || COMPILE_TEST > + depends on (ARM64 && ACPI) || COMPILE_TEST > help > Say Y here if you want to have Hisilicon I2C controller support > available on the Kunpeng Server. > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel