We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:xu3_hardware_i2c [2017/06/19 17:31]
neal [How to change the I2C clock speed]
en:xu3_hardware_i2c [2017/07/07 11:28]
john1117 [How to change the I2C clock speed]
Line 101: Line 101:
  
 Make a backup of DTB file. Make a backup of DTB file.
 +  * kernel 4.9.y
 <​code>​ <​code>​
 cp /​media/​boot/​exynos5422-odroidxu4.dtb /​media/​boot/​exynos5422-odroidxu4.dtb.org cp /​media/​boot/​exynos5422-odroidxu4.dtb /​media/​boot/​exynos5422-odroidxu4.dtb.org
 +</​code>​
 +  * kernel 3.10.y
 +<​code>​
 +cp /​media/​boot/​exynos5422-odroidxu3.dtb /​media/​boot/​exynos5422-odroidxu3.dtb.org
 </​code>​ </​code>​
  
 Using dtc command, you can make "​dts"​ type of device tree from "​dtb"​ type. Using dtc command, you can make "​dts"​ type of device tree from "​dtb"​ type.
 +  * kernel 4.9.y
 <​code>​ <​code>​
 dtc -I dtb -O dts -o exynos5422-odroidxu4.dts exynos5422-odroidxu4.dtb dtc -I dtb -O dts -o exynos5422-odroidxu4.dts exynos5422-odroidxu4.dtb
 +</​code>​
 +  * kernel 3.10.y
 +<​code>​
 +dtc -I dtb -O dts -o exynos5422-odroidxu3.dts exynos5422-odroidxu3.dtb
 </​code>​ </​code>​
  
Line 126: Line 136:
  
 Check current maximum bus frequency of i2c@12C70000 Check current maximum bus frequency of i2c@12C70000
 +  * kernel 4.9.y
 <​code>​ <​code>​
 fdtget /​media/​boot/​exynos5422-odroidxu4.dtb /​soc/​i2c@12C70000 samsung,​i2c-max-bus-freq fdtget /​media/​boot/​exynos5422-odroidxu4.dtb /​soc/​i2c@12C70000 samsung,​i2c-max-bus-freq
 +</​code>​
 +  * kernel 3.10.y
 +<​code>​
 +fdtget /​media/​boot/​exynos5422-odroidxu3.dtb /​i2c@12C70000 samsung,​i2c-max-bus-freq
 </​code>​ </​code>​
  
 Change the DTB file for i2c-1 (i2c channel #1) Change the DTB file for i2c-1 (i2c channel #1)
 +  * kernel 4.9.y
 <​code>​ <​code>​
 fdtput -t i /​media/​boot/​exynos5422-odroidxu4.dtb /​soc/​i2c@12c70000 samsung,​i2c-max-bus-freq "​10000"​ fdtput -t i /​media/​boot/​exynos5422-odroidxu4.dtb /​soc/​i2c@12c70000 samsung,​i2c-max-bus-freq "​10000"​
 +sync
 +reboot
 +</​code>​
 +  * kernel 3.10.y
 +<​code>​
 +fdtput -t i /​media/​boot/​exynos5422-odroidxu3.dtb /​i2c@12C70000 samsung,​i2c-max-bus-freq "​10000"​
 sync sync
 reboot reboot
en/xu3_hardware_i2c.txt ยท Last modified: 2017/07/07 11:29 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0