[PATCH] drivers, char: add U-Boot bootcount driver

Wolfram Sang w.sang at pengutronix.de
Wed Dec 7 09:06:20 EST 2011


> > bootcount itself is not a device. It is a feature of certain devices. And that
> > needs to be implemented; possibly generic enough that it can work for register
> > based, i2c based, and so forth, accesses.
> 
> If "boot counter" is not a good name for such a device, then what name
> would you suggest?

None.

> Or do you think a counter (which can be implemented in a number of
> different ways, depending on hardware specifics) is not a device?

Yes.

> What would be such a device, then?

"maxim,ds1338"

Please have a look at the devicetree.org-wiki-page I just mentioned:

http://devicetree.org/Device_Tree_Usage

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20111206/47809de7/attachment.pgp>


More information about the devicetree-discuss mailing list