[Linux-stm32] [02/12] mfd: stm32-fmc2: add STM32 FMC2 controller driver
Christophe Kerello
christophe.kerello at st.com
Mon Mar 30 09:18:38 UTC 2020
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 <christophe.kerello at st.com>
> [...]
>> +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);
> [...]
>
More information about the Linux-stm32
mailing list