Changes between Version 2 and Version 3 of linux/devmem


Ignore:
Timestamp:
12/07/2023 08:02:15 PM (12 months ago)
Author:
Ryan Erbstoesser
Comment:

add more examples

Legend:

Unmodified
Added
Removed
Modified
  • linux/devmem

    v2 v3  
    2828
    2929}}}
     30
     31== Processor Pin Mux DevMem Example
     32Let'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[[Image(uart3pinmux.jpg)]]
     34
     35[[Image(uart3reg.jpg)]]
     36
     37Code:
     38{{{
     39devmem 0x30330244 32 0x5
     40}}}