[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OSBPR01MB477360E86A8913D07759C1C8BA759@OSBPR01MB4773.jpnprd01.prod.outlook.com>
Date: Wed, 7 Apr 2021 20:12:10 +0000
From: Min Li <min.li.xe@...esas.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "derek.kiernan@...inx.com" <derek.kiernan@...inx.com>,
"dragan.cvetic@...inx.com" <dragan.cvetic@...inx.com>,
"arnd@...db.de" <arnd@...db.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization
Management Unit (SMU) support
>
> Why not use the miscdev name field?
>
miscdev name field is just a char pointer and I need an static array to manipulate the name with index
>
> So it's a parent? Why not make this a real platform_device pointer and not
> a device pointer?
>
It is not parent and mfd field is the parent
>
> What operations?
>
The MFD driver will create 2 devices, one is for phc driver and another one is this driver.
The lock is to make sure these 2 driver's operations are synchronized.
>
> Index into what?
>
index is passed by mfd driver and will be used as part of device name such as "rsmu0"
Powered by blists - more mailing lists