当前位置:网站首页>Modify s3c graphics card driver to enable LVDS

Modify s3c graphics card driver to enable LVDS

2021-11-25 18:05:15 MuggleZero

Linux Write down the drive control gpio when , There are two ways :

  1. use request_mem_region Functions and ioremap Wait to get the address of the control register , And then use iowrite32 The function controls the gpio
  2. use gpio_request and gpio_set_value Function to control gpio Pin
  3. The second is provided by the kernel gpio Subsystem , It's usually used . The first is to realize something similar to the second .

Linux3.0 How to operate the kernel
 modify S3C Graphics card driver enable LVDS_it technology

Because the previous transplant was Linux4.0 kernel , I do not know! gpio_num Cannot use kernel provided GPIO The operation did not EXYNOS4_GPL1(0) The macro , So I realize a pin operation enable LVDS:
 modify S3C Graphics card driver enable LVDS_ register _02

版权声明
本文为[MuggleZero]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/11/20211109095357393z.html

随机推荐