On 06/02/2015 05:46 AM, Vladimir Zapolskiy wrote:
If on watchdog device registration a parent device is not set, then
the registered watchdog is considered to be a virtual device:

   /sys/devices/virtual/watchdog/watchdog0
   /sys/devices/virtual/watchdog/watchdog1

Setting a correct reference to a platform device allows to
distinguish multiple instances of iMX2+ hardware watchdogs:

   /sys/devices/soc0/soc/2000000.aips-bus/20bc000.wdog/watchdog/watchdog0
   /sys/devices/soc0/soc/2000000.aips-bus/20c0000.wdog/watchdog/watchdog1

Signed-off-by: Vladimir Zapolskiy <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>


--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to