From patchwork Fri Sep 24 14:01:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 12515647 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=-18.2 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,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 A7D9BC433F5 for ; Fri, 24 Sep 2021 14:04:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7184C610FD for ; Fri, 24 Sep 2021 14:04:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7184C610FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vanguardiasur.com.ar Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=odL0+rnXCgwYYwGjLdKFcPD2K8wwYU8ja260k7cQzqE=; b=iwL9Vxu6H6KjGI 28cTq0tl+U3oEEAKHL7ZgoAizmGvbyeUDuCVYV/1z8qbUqJcbrgaUxorEtSaUR3e1Q59+4Mip7FrZ ppQfUoLfGMVIyloWyjITRvMz+/wUMiz3QJxg+EQ/8vyoRhzoYcxrg56DvosJ24LybV3Qc4A3Cw+Sj IZ3TPLdDtIkLEohq2+41jrMGU+LtoVoTpaJlNujCjKMCWzLJ1R/PhxwutrsdNnqc5nyLBTrNSDF8F 0QvEiCDpjQgIiglMiYnJOWN52bl1tUxkd++FlYJ0alrqt3GmHJgTekI2hy/xS1fGFTki0bR+hL0iT GJFfP2rMoomChqQHqUjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlmA-00EmkT-2p; Fri, 24 Sep 2021 14:02:06 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlly-00EmiU-7Z for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 14:01:56 +0000 Received: by mail-oi1-x22c.google.com with SMTP id t189so14574423oie.7 for ; Fri, 24 Sep 2021 07:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E866vCrK/nEkvPI6DhB6g/rM4e6hptH7T7fdbGR7E4I=; b=iNEtB0Z49iCbx99BtFJrHoIoKw15gBFS4wIqh4kd+c5iiF9F4hN98ub1Z+7O0NwxmE xIP00cmXOvY2ZsxjlR2DsGC++f5P0Z/XvgEVgT8WWBo4tUQEnHUQrnSPYmeGeKxROcG+ 333yCNmxtau0uVddhHNVUeTgXHgAt8gMQWx3QatSQeh8FZxo62hGhNHx+/hoVxNMKcr9 WdBAOJQKhEZGmu4SF1RVrBhCvgmrqyjSLSl9+3XL4WFnnKXj06+C3rW4eYd9QPXlUjLq HZKGTGA2Kfqm27jmupM5Ue1Jizc9VYgRlOY7ydO479fnJ4mJR9FyDwYeJCNMXf8s5t33 1cqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E866vCrK/nEkvPI6DhB6g/rM4e6hptH7T7fdbGR7E4I=; b=aegkPIG+w10gRzEPrbigJ1egoYlZaf8fUvZDHcmMXjy7YNcq3/6/jvV1Eagjpdz+Rd oEeOvmg/1xZusBRekXEY6iIaw+MY0td7VcBQf7MdDlPpuGEnnm2lB65rzP73qZobNqmE f3+aKbicDRFFWECxPHvRYxL85ZRh1060rh4SYA3mnOvZiW9KfiRSR2VWww2AVcjBa2eZ 9EioDQJS+ZVoyKNjFaH+DBWGzvYzIxqTw595OVQOF2P1LHnkODiN+65VcOGDzRYva1mT JFNMqaDGgXwXdSnlIKBO/M8MkvXyXJvc4oMEPDgYZXKuYNd6eXJnCe3671G/Jwr5TqA0 FZUA== X-Gm-Message-State: AOAM531nDL5pvBijhtgnWYXSVrlMXbH2G3h5dags9bzTKqglnEBQDDbC BzzTL7mVDOlXo2/BRlGeiLPsoZ+tYvQOGQ== X-Google-Smtp-Source: ABdhPJz2h7rqbrQMZKRNYQRPVUg4givp/hlgmbqKInkuYhVVFpHX2PSZ6IziVaPJasAjUKssdCmnbQ== X-Received: by 2002:aca:5f0a:: with SMTP id t10mr1526693oib.38.1632492111724; Fri, 24 Sep 2021 07:01:51 -0700 (PDT) Received: from fedora.. ([196.32.91.248]) by smtp.gmail.com with ESMTPSA id h25sm1011600otl.1.2021.09.24.07.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 07:01:50 -0700 (PDT) From: Ezequiel Garcia To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Cc: Shawn Guo , Sascha Hauer , Fabio Estevam , Arnd Bergmann , Ezequiel Garcia , kernel@collabora.com Subject: [PATCH] imx: soc: Select REGMAP_MMIO Date: Fri, 24 Sep 2021 11:01:46 -0300 Message-Id: <20210924140146.29264-1-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_070154_458563_A7254423 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The imx-gpcv2 driver needs Regmap MMIO. Select it, and fix: drivers/soc/imx/gpcv2.c:420:34: error: array type has incomplete element type ‘struct regmap_range’ 420 | static const struct regmap_range imx7_yes_ranges[] = { | ^~~~~~~~~~~~~~~ drivers/soc/imx/gpcv2.c:421:17: error: implicit declaration of function ‘regmap_reg_range’; did you mean ‘remap_pfn_range’? [-Werror=implicit-function-declaration] 421 | regmap_reg_range(GPC_LPCR_A_CORE_BSC, | ^~~~~~~~~~~~~~~~ | remap_pfn_range Signed-off-by: Ezequiel Garcia --- drivers/soc/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index 05812f8ae734..a840494e849a 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -6,6 +6,7 @@ config IMX_GPCV2_PM_DOMAINS depends on ARCH_MXC || (COMPILE_TEST && OF) depends on PM select PM_GENERIC_DOMAINS + select REGMAP_MMIO default y if SOC_IMX7D config SOC_IMX8M