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=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,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 D7EE8C43331 for ; Sun, 29 Mar 2020 23:37:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B204820733 for ; Sun, 29 Mar 2020 23:37:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727192AbgC2Xgj (ORCPT ); Sun, 29 Mar 2020 19:36:39 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58778 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbgC2Xgj (ORCPT ); Sun, 29 Mar 2020 19:36:39 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48rBnD51Mwz1rlhj; Mon, 30 Mar 2020 01:36:32 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48rBnD2Smhz1qqkB; Mon, 30 Mar 2020 01:36:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id tu7qrZhZFbeu; Mon, 30 Mar 2020 01:36:31 +0200 (CEST) X-Auth-Info: TuBlfyg55OdrcAq2t30Y8Fj8aDbl6+CnTBYSKAxGkzg= Received: from [IPv6:::1] (unknown [195.140.253.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 30 Mar 2020 01:36:31 +0200 (CEST) Subject: Re: [02/12] mfd: stm32-fmc2: add STM32 FMC2 controller driver To: Christophe Kerello , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, tony@atomide.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <1584975532-8038-1-git-send-email-christophe.kerello@st.com> <1584975532-8038-3-git-send-email-christophe.kerello@st.com> From: Marek Vasut Message-ID: Date: Mon, 30 Mar 2020 01:36:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1584975532-8038-3-git-send-email-christophe.kerello@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/23/20 3:58 PM, Christophe Kerello wrote: > The driver adds the support for the STMicroelectronics FMC2 controller > found on STM32MP SOCs. > > The FMC2 functional block makes the interface with: synchronous and > asynchronous static memories (such as PSNOR, PSRAM or other > memory-mapped peripherals) and NAND flash memories. > > Signed-off-by: Christophe Kerello [...] > +static const struct of_device_id stm32_fmc2_match[] = { > + {.compatible = "st,stm32mp1-fmc2"}, stm32mp151.dtsi uses "st,stm32mp15-fmc2" compatible string for FMC (with extra "5" in the string). > + {} > +}; > +MODULE_DEVICE_TABLE(of, stm32_fmc2_match); > + > +static struct platform_driver stm32_fmc2_driver = { > + .probe = stm32_fmc2_probe, > + .driver = { > + .name = "stm32_fmc2", > + .of_match_table = stm32_fmc2_match, > + .pm = &stm32_fmc2_pm_ops, > + }, > +}; > +module_platform_driver(stm32_fmc2_driver); [...]