On Thursday 29 October 2015 02:13 PM, Pavel Fedin wrote:
  Hello!

These patches are not adding any new code, except DT entry. Infact
restart handler will be removed from PMU driver and we will be using
generic syscon based implementation for reboot, which is already present
in Linux kernel.

  Ah, got it. So syscon is a very generic thing, allowing to describe whatever 
reset register for whatever board, since we are specifying both address and 
value to write there. Is my understanding correct? If so, then, OK, you can do 
this too.


Yes, syscon-reboot does exactly same. We just need to provide "syscon-provider" in our case it's PMU device node, register/offset and value to be written, and syscon-reboot driver will take care from registered restart-handler.

Thanks,
Pankaj Dubey
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia



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

Reply via email to