Modify s3c graphics card driver to enable LVDS

MuggleZero 2021-11-25 18:05:15

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

Please bring the original link to reprint ,thank
Similar articles

2021-11-25

2021-11-25

2021-11-25

2021-11-25