[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


LCD screen brightness/contrast
#11
(02-17-2017, 04:15 AM)xalius Wrote: For the BSP (3.10.x) kernel the PWM output (PL10 according to the schematics) is afaik tied to the LCD driver and there should be some controls in the /sys/ filesystem.

If you look at the device tree:

Pin Config:
https://github.com/longsleep/build-pine6...4.dts#L776

LCD Entry seems to have values too:
https://github.com/longsleep/build-pine6....dts#L1965

PWM Driver entry, from the pinctrl phandle:
https://github.com/longsleep/build-pine6....dts#L2071
from the compatible line it should be tied to a driver called "sunxi-pwm16"

Is this it?

Code:
[email protected] /sys/bus/platform/devices/spwm0.10 $ cat uevent
OF_NAME=spwm0
OF_FULLNAME=/[email protected]/[email protected]
OF_TYPE=spwm0
OF_COMPATIBLE_0=allwinner,sunxi-pwm16
OF_COMPATIBLE_N=1
OF_ALIAS_0=spwm0
MODALIAS=of:Nspwm0Tspwm0Callwinner,sunxi-pwm16

If so, how do we set the frequency/brightness?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [EXPERIMENTAL] Linux on the LCD screen Terra854 26 3,601 07-21-2017, 07:41 AM
Last Post: apple4ever
  Adjust brightness of LCD on Armbian Desktop with 1 click JulianM 0 460 04-02-2017, 09:23 AM
Last Post: JulianM
  Touch screen support shariq_2001 14 2,139 12-07-2016, 07:47 AM
Last Post: Luke
  LCD Touch Screen Problem. Gavin 8 1,071 11-27-2016, 10:26 PM
Last Post: michaelquezon
  Screen flashes blue and then goes dark. tanarri 5 318 06-22-2016, 10:53 AM
Last Post: tanarri
  LCD Pannel working... Touch screen NOT working?? Why Chopshop13 3 572 06-13-2016, 08:24 AM
Last Post: PapaStahl
  LCD screen not powering on Dnode 16 2,448 06-08-2016, 12:59 PM
Last Post: anexpert
  Petition thread for screen larger than 7inch MostHated 4 440 03-02-2016, 03:40 PM
Last Post: MostHated

Forum Jump:


Users browsing this thread: 1 Guest(s)