Changes between Version 3 and Version 4 of linux/devmem


Ignore:
Timestamp:
12/07/2023 08:03:37 PM (5 months ago)
Author:
Ryan Erbstoesser
Comment:

clean up and clarify

Legend:

Unmodified
Added
Removed
Modified
  • linux/devmem

    v3 v4  
    3131== Processor Pin Mux DevMem Example
    3232Let's for example say we would like to modify a pin-mux register on a i.MX8 processor. Utilizing the reference manual for the processor (available from the processor manufacturer) we see we need to use devmem to write the value 101 (0x5 in hex) to the proper register.
     33
     34
    3335[[Image(uart3pinmux.jpg)]]
    3436
    3537[[Image(uart3reg.jpg)]]
    3638
    37 Code:
     39Code to make this pin mux force the pin to be a GPIO as GPIO5_IO26:
    3840{{{
    3941devmem 0x30330244 32 0x5