Skip to content

Another way how to read/write scratch registers #5

@sonicpp

Description

@sonicpp

Since this commit the kernel exposes scratch0-2 registers (when enabled RTC_NVMEM and RTC_DRV_OMAP configs). To read/write to these registers you can simple use file /sys/bus/nvmem/devices/omap_rtc_scratch0/nvmem (all 12 bytes are accessible by this file). But you still need to do the logic with magic number on your own, tho.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions