[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d7db8a508e9b4eb8933f4862087919b2@sphcmbx02.sunplus.com.tw>
Date: Fri, 17 Dec 2021 11:03:36 +0000
From: Tony Huang 黃懷厚 <tony.huang@...plus.com>
To: Arnd Bergmann <arnd@...db.de>
CC: DTML <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Derek Kiernan <derek.kiernan@...inx.com>,
Dragan Cvetic <dragan.cvetic@...inx.com>,
Rob Herring <robh+dt@...nel.org>,
gregkh <gregkh@...uxfoundation.org>,
Wells Lu 呂芳騰 <wells.lu@...plus.com>,
黃懷厚 <tonyhuang.sunplus@...il.com>
Subject: RE: [PATCH v4 2/2] misc: Add iop driver for Sunplus SP7021
Dear Arnd:
>
> > 3.So you ask me to control IOP(8051) through file_operations, not
> > through DEVICE_ATTR
>
> No, neither of them. Use the appropriate drivers/*/ subsystems for any
> functionality that has an existing subsystem. If there is something that the iop
> does that does not yet have a subsystem, that requires a more thorough design
> discussion for creating a new user interface, ideally in a hardware-independent
> way. You should not start with that until all the normal features (rtc, wakeup,
> suspend, gpio, ...) are supported.
>
IOP(8051) has 12 bytes Mailbox registers, which can be read and written by IOP(8051) and System, used to exchange information with the system, faster than shared memory.
Thanks
Powered by blists - more mailing lists