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.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 0B5FEC2D0E9 for ; Mon, 30 Mar 2020 09:19:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D55F8206E6 for ; Mon, 30 Mar 2020 09:19:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=st.com header.i=@st.com header.b="wCho9PLM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727925AbgC3JTU (ORCPT ); Mon, 30 Mar 2020 05:19:20 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:23092 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726981AbgC3JTU (ORCPT ); Mon, 30 Mar 2020 05:19:20 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02U9Idm5014377; Mon, 30 Mar 2020 11:18:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=Ub38GwQsQKqIBSKsE+gjD8+CY2Fdv+1zkRWPPsQFePE=; b=wCho9PLMdX7pbE8u/OS2MBsRIhfy+mSq0mMnjW98WzaA8Q+zLt1eBYwlWY7lCBgR1Nfs q+M+aHB3kEGWhc/VOohy8S2dCRIDmqtS1cVzNhK7816mKY5xim+cAk+0v9ppAbEMZAbS GvCir6YnbUt9xzUV3eXcpuWFqxv+YKS42Yhgk+2qgElkN9hrX/GGuDWqv9+TnAJdRkqX ifLPd3TI6k8+jEW+A5gWgJM4mrIj18V26jSPnMMMTH8xtrNq5Ss3rv7j/0IkpzJqBFx1 IlUNp1ERF9yCPH+uYuFibHeE4aZd7xHELbnWspLgDTGwNqz7a1ux6ezpPTQV4wW0NZZy BA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 302y53jt76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Mar 2020 11:18:48 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6283C100038; Mon, 30 Mar 2020 11:18:42 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 303492A6215; Mon, 30 Mar 2020 11:18:42 +0200 (CEST) Received: from [10.211.11.146] (10.75.127.47) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 30 Mar 2020 11:18:40 +0200 Subject: Re: [02/12] mfd: stm32-fmc2: add STM32 FMC2 controller driver To: Marek Vasut , , , , , , , CC: , , References: <1584975532-8038-1-git-send-email-christophe.kerello@st.com> <1584975532-8038-3-git-send-email-christophe.kerello@st.com> From: Christophe Kerello Message-ID: <38a25c89-f45b-c5cc-2618-d1ee059e6ef7@st.com> Date: Mon, 30 Mar 2020 11:18:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG5NODE3.st.com (10.75.127.15) To SFHDAG6NODE2.st.com (10.75.127.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-30_01:2020-03-27,2020-03-30 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/30/20 1:36 AM, Marek Vasut wrote: > 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). > Hi Marek, I have not sent in this patch set the update of the device tree files. Currently, for backward compatibility, the FMC2 is only supported the NAND driver. We need to wait the review of the different maintainers before updating the device tree files (bindings acked, ...). I will send a DT file update for your own test. Regards, Christophe Kerello. >> + {} >> +}; >> +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); > [...] >