Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] how do I run an lvds display with the LP8551 backlight driver

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/7/2023 10:19:22      1#
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/7/2023 17:39:49      2#
After the pin is applied by the driver, you cannot directly control it at the system layer, and the driver needs to provide a control interface.
According to the specifications and functions of the LP855X chip, add the corresponding attributes to dts. These properties can include register addresses, power controls, brightness controls, etc.
You can find some examples online.

  1. lp8551@60 {
  2.     compatible = "ti,lp8551";
  3.     reg = <0x60>;
  4.     reg-names = "lp8551";
  5.     enable-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
  6.     brightness-levels = <0 64 128 192 255>;
  7.     default-brightness-level = <255>;
  8.     ...
  9. };
Copy the code


https://gitlab.com/firefly-linux ... .txt?ref_type=heads
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/8/2023 16:49:24      3#
Paquq Posted at 9/7/2023 20:24
thanks for the reply. is there a document describing GPIO RK3568, because enabling GPIO3_B0 does not ...

https://wiki.t-firefly.com/en/Core-3568J/driver_gpio.html
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list