Proposal: generic property for system-power-controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi all,

I had a discussion with Heiko on IRC few days ago about adding
shutdown support in act8865 pmic for Rockchip SoCs. While browsing on
LXR in order to understand how other pmic handles this support I found
that most of the time there is a custom property of the following form
"vendor,system-power-controller". If the devicetree node contains this
property then the corresponding device driver registers a power off
handler. In my opinion, It would be nice to propose a generic and
standard property for that purpose (it would avoid to have to define
his own property each time we implement the support).

I found that there is a property called "wakeup-source" to mark a
device as wakable. See
Documentation/devicetree/bindings/mfd/{stmpe.txt,cros-ec.txt} .We
could have a property like this one for power down. I mean, this is
the same thing except that it's a power off event (and not wakeup).

What do you think ?

Regards,
Romain
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux