Page MenuHomeFreeBSD

[PATCH 2/5] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights
Needs RevisionPublic

Authored by vice-shore-grid_duck.com on Fri, Oct 16, 8:44 PM.
Tags
Referenced Files
Unknown Object (File)
Sat, Oct 17, 3:08 AM
Unknown Object (File)
Sat, Oct 17, 2:52 AM
Unknown Object (File)
Sat, Oct 17, 2:32 AM
Unknown Object (File)
Sat, Oct 17, 1:12 AM
Unknown Object (File)
Fri, Oct 16, 10:23 PM
Subscribers

Details

Reviewers
andrew
manu
Group Reviewers
arm64
Summary

Everything needed for a pwm-backlight node such as the PineTab's
(inverted PWM on PD22, enable-gpios, brightness-levels) to drive the
panel backlight on the A64.

Note that the changes in ad64_padconf.c have already been reported in the following bugzilla issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299368 I can close it, if this is picked up first.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu requested changes to this revision.Sun, Oct 18, 6:37 AM

Please upload your diff with full context next time.

sys/arm/allwinner/aw_gpio.c
1061

aw_gpio code should be in another review.

sys/dev/pwm/controller/allwinner/aw_pwm.c
271

Why this change ?

314

Why those changes ?

419

get_flags/set_flags should be a separated review.

sys/dev/pwm/pwm_backlight.c
169

flags is never set so not sure I understand why you want to achieve here.

This revision now requires changes to proceed.Sun, Oct 18, 6:37 AM