Changes between Version 2 and Version 3 of linux/devmem
- Timestamp:
- 12/07/2023 08:02:15 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/devmem
v2 v3 28 28 29 29 }}} 30 31 == Processor Pin Mux DevMem Example 32 Let'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 37 Code: 38 {{{ 39 devmem 0x30330244 32 0x5 40 }}}