Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp538463rwd; Wed, 7 Jun 2023 03:42:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6U71nTG6Q14ZEyLsYeRrF/WkMXsfHgcC8ym+mUKlckqO42g2CW0yzWv+S2C4jSPpMZg7zH X-Received: by 2002:a17:903:2450:b0:1b0:41fb:4ad5 with SMTP id l16-20020a170903245000b001b041fb4ad5mr5747469pls.46.1686134545022; Wed, 07 Jun 2023 03:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686134545; cv=none; d=google.com; s=arc-20160816; b=MlBz9gVVqY/yoX22X9JSLJ8CZ82S1oY8S08M5CxFau9FHUsmtZoGuvrm8Vp72t89FQ OM5zZJro9grYcvw/t9Tm8g9dn/up9qFSwgNuNMmTv4800KjWcyvA2/j6GYCCzQVmTvWf 5FpjZYZzWC4NpFfjvbFGF7LN9UklJp/aU3bLESWQjMduDqDiNhTNT3U0USo8oJHWJGJ0 lTyHaVmmtamY8dbitrHWipZn6LxYiKqKXEXp3ibW2pMYtjIAC6PN1Wk4KWi6pA2K38h5 TzlNQQsThYo/IdEji3r0fnxGaVIG3Fzb2aV4tY8dPQSojHAzmduEHBI1oNUhZeemD6Y2 ONPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=55wQyur4cC4rE9mh9lCwRN2C12UdI23/aEvj1On8SZg=; b=DAk2krlkzFAcI+ZSgDCbPhWbzQlWuTFJxFm7FYCtFQ+QzV4yQ1fevDk0lroY6k49C+ ziVhGpSOBcX0apYniqkqqb4BLIkvXJPt18nej2V6938JKR74aVs720+NxrJxQDbypFWs 0iaKJ/6tJ7KBqzmAAFjJnX+CZh0xFGMlup7G9lR8yi0vbnxBhrC7LJqszoDdV/FGf4lH CcouMcJz1BDZ/mxVFO74pf9/5zVo81BpUOuooLiGvNtE3MSghsmJ0lqy07SVxWMTZaaO tKMv4r7gn7+aVGJA0o+rT2TwIoJR7wmadk6Kx47ep8QR2GT2jGAM0KmKT7IhM4R2Gsvh FZHA== ARC-Authentication-Results: i=1; mx.google.com; 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 r1-20020a1709028bc100b001aaffa9923asi4667131plo.306.2023.06.07.03.42.10; Wed, 07 Jun 2023 03:42:24 -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; 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 S235262AbjFGKZj (ORCPT + 99 others); Wed, 7 Jun 2023 06:25:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233580AbjFGKZh (ORCPT ); Wed, 7 Jun 2023 06:25:37 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F07761BD7; Wed, 7 Jun 2023 03:25:35 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxX+seW4Bk2hoAAA--.405S3; Wed, 07 Jun 2023 18:25:34 +0800 (CST) Received: from [10.20.42.43] (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxbMoeW4Bk9VUEAA--.7057S3; Wed, 07 Jun 2023 18:25:34 +0800 (CST) Message-ID: <26b1f0a2-7bb0-b5eb-fa1f-2d646cff3f1f@loongson.cn> Date: Wed, 7 Jun 2023 18:25:33 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] drm/ingenic: Kconfig: select REGMAP and REGMAP_MMIO Content-Language: en-US To: Paul Cercueil , David Airlie , Daniel Vetter Cc: linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20230607072253.440613-1-suijingfeng@loongson.cn> <845a483ed09728c712ad57b1fe9bc5c930a72d98.camel@crapouillou.net> From: Sui Jingfeng Organization: Loongson In-Reply-To: <845a483ed09728c712ad57b1fe9bc5c930a72d98.camel@crapouillou.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxbMoeW4Bk9VUEAA--.7057S3 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoWxJry8tFy5tr1DJF18Zr13GFX_yoW8Aryfpr s5ta4UuFWxuF4vkr12yF17WFy5Xw15Ja4rArykta4q9ryDAr1jqrZrZFZ09FyDAr4xJr4U X3s7GFy7ZF17XrbCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUU9qb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E14v2 6F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAF wI0_Cr0_Gr1UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCYjI0SjxkI62AI1c AE67vIY487MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E 14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4 CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1x MIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF 4lIxAIcVC2z280aVAFwI0_Cr0_Gr1UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJbIY CTnIWIevJa73UjIFyTuYvjxUzcTmUUUUU X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Ok, thanks On 2023/6/7 17:46, Paul Cercueil wrote: > Hi Sui, > > Le mercredi 07 juin 2023 à 15:22 +0800, Sui Jingfeng a écrit : >> Otherwise its failed to pass basic compile test on platform without >> REGMAP_MMIO selected by defconfig >> >> make -j$(nproc) ARCH=mips CROSS_COMPILE=mips64el-linux-gnuabi64- >> >>   SYNC    include/config/auto.conf.cmd >>   Checking missing-syscalls for N32 >>   CALL    scripts/checksyscalls.sh >>   Checking missing-syscalls for O32 >>   CALL    scripts/checksyscalls.sh >>   CALL    scripts/checksyscalls.sh >>   MODPOST Module.symvers >> ERROR: modpost: "__devm_regmap_init_mmio_clk" >> [drivers/gpu/drm/ingenic/ingenic-drm.ko] undefined! >> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 >> make: *** [Makefile:1978: modpost] Error 2 >> >> Signed-off-by: Sui Jingfeng >> --- >>  drivers/gpu/drm/ingenic/Kconfig | 2 ++ >>  1 file changed, 2 insertions(+) >> >> diff --git a/drivers/gpu/drm/ingenic/Kconfig >> b/drivers/gpu/drm/ingenic/Kconfig >> index a53f475d33df..7457c0b65034 100644 >> --- a/drivers/gpu/drm/ingenic/Kconfig >> +++ b/drivers/gpu/drm/ingenic/Kconfig >> @@ -5,6 +5,8 @@ config DRM_INGENIC >>         depends on CMA >>         depends on OF >>         depends on COMMON_CLK >> +       select REGMAP >> +       select REGMAP_MMIO > nit: order alphabetically (move them after the DRM_* ones). > > Cheers, > -Paul > >>         select DRM_BRIDGE >>         select DRM_PANEL_BRIDGE >>         select DRM_KMS_HELPER -- Jingfeng