Skip to content

Another way how to read/write scratch registers #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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