On 11/23/2015 01:51 AM, Oleksij Rempel wrote:
Seems like this should be a generic wdog property.
what do you mean?
Using "mode" instead of "alphascale,mode" and implement it in WD
framework?
You should still read the property in the driver, even it if is made
generic.
The watchdog framework can't really use the information, most drivers don't
support selecting the mode. We can consider moving it into the framework
if/when it benefits other drivers.
On a side note, I would suggest "software" and "hardware" instead of sw
/ hw,
but that is just a personal preference.
Ok, then i will leave it for now as is. If "mode" will be introduced, it
can brake compatibility. Using "alphascale,mode" feels save :)
Not sure I understand. Using a generic property name doesn't mean anything
about its implementation. Devicetree properties are supposed to be OS and
implementation independent, no ?
Guenter
--
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