Re: [Patch V3] soc/tegra: pmc: Add sysfs entry to get reset info

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

 



On Wed, Oct 24, 2018 at 12:38:00PM +0530, Sandipan Patra wrote:
> 1. Implementation of:
>       reset_reason
>       reset_level
>    These APIs provide information about tegra reset reason and level
>    respectively.
> 
> 2. sysfs entries:
>      /sys/devices/platform/<address>.pmc/reset_reason and
>      /sys/devices/platform/<address>.pmc/reset_level
>    These attributes are implemented in readonly mode to fetch tegra reset
>    reason and tegra reset level information.
> 
> These sysfs nodes provide reset reason and reset level information
> on production software.
> 
> Signed-off-by: Sandipan Patra <spatra@xxxxxxxxxx>
> ---
> Changes since V2:
>   1. Followed as per with idiomatic version by keeping space between * and const
>   2. tegra_legacy_* is changed to tegra30_*
>   3. functionalities moved inside the attributes to avoid additional function definitions
>   4. device_create_file is properly used with its return value considered
> 
>  drivers/soc/tegra/pmc.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 128 insertions(+), 1 deletion(-)

Applied to for-4.21/soc, though I updated the commit message a little,
given that the first half is no longer accurate.

Thierry

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux