Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2242186ybb; Mon, 30 Mar 2020 02:19:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsz/HqPETIveqaxGh1LOhsw8zaVICmbcmjXlxoas5lhRrCZqTLsp67XXkGEqchBXhwtLYsA X-Received: by 2002:aca:c3c1:: with SMTP id t184mr7083965oif.113.1585559990470; Mon, 30 Mar 2020 02:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585559990; cv=none; d=google.com; s=arc-20160816; b=j/Nq7gqvGU7phNQ9yPgU6V/m4QNwLC9ZcopF+99ivIIOag8rGTKSTWjIi2fv+ZzaLO eh2YaQjY+DAeBRtZYMSSlFkiIGqypr5zKalJlyIt5e6HdzP0QCv+vIfOZ0jUiSRzWtb9 qCoHUKPwgPejhty5fi4PMpPf6+/4H/dZOhIbE+lXB6fkOzVFkllH47M9pZTw0Jr2D0BK JkPkcwzj2BLuFILHWmMXchilPAckZ6zd0HMRWYYk8WNZqh+Gi4AhpyuHA0ifKmTE3uLr 7PWYbSGFWIUfNWnti6lDXrfS5CKjKAV48xdqYCXKvFQrOUdN7dfPTmfjPrBdaPVVzccw Fueg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Ub38GwQsQKqIBSKsE+gjD8+CY2Fdv+1zkRWPPsQFePE=; b=oKCsZg0/6syNPfDLs9JPeEr1eGcP8wvi3ogT36ynvNkty2nfasbyz6CuQOKNcVqhma IYv3cfOWyPTh7vaQSlV8hOJuPtnG8KhpWlvG5q3RSGyLiGiaxpQ0Ac0BCChEM+RYSDMp O/bYdBiIHK9sYo88r+y+cLsluzFM9/HnlGfXz2sTv/n3ZpHOzhSxRd6jl1+prRgNhEWe 0LmEjhr3SHbtDBRNO2u/SGI9Bh7yT0T9Sn3Y35hrTbWI83iMJfUVcBdttrpBthMfzc98 6QC7vqA0qm/f3wkDhU6sK5RB+z4ENaWNAm252OFHqqsn64EKgY4m1WsixVfl8pBkAhJ6 kZ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=wCho9PLM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si5558575oim.26.2020.03.30.02.19.37; Mon, 30 Mar 2020 02:19:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=wCho9PLM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727848AbgC3JTU (ORCPT + 99 others); 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); > [...] >