Page MenuHomeFreeBSD

axp209: move driver to sys/dev/pmic
AbandonedPublic

Authored by manu on Dec 25 2017, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 25 2023, 6:29 PM
Unknown Object (File)
Nov 26 2023, 3:51 PM
Unknown Object (File)
Nov 11 2023, 12:32 PM
Unknown Object (File)
Nov 7 2023, 12:30 PM
Unknown Object (File)
Nov 7 2023, 4:37 AM
Unknown Object (File)
Nov 6 2023, 11:12 PM
Unknown Object (File)
Nov 1 2023, 6:42 AM
Unknown Object (File)
Oct 11 2023, 1:16 AM
Subscribers

Details

Reviewers
None
Group Reviewers
ARM
manpages
Summary

While AXP209/AXP221 PMIC are mostly found on Allwinner boards (X-powers begin
a sub company of Allwinner), this has nothing to do in allwinner directory.
Also provide a man page for this driver.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 13832
Build 14045: arc lint + arc unit

Event Timeline

Correct man page based on mandoc -Tlint

A few corrections.

share/man/man4/axp209.4
29

Bump .Dd

50

s/model/models/

58

Not sure about the drew here. Better use "drawn"?

62

Same here.

imho, we should put platform specialized drivers to dev subtree only if given driver can be reused on multiple platforms. I personally vote for not moving it.

Also, grouping drivers to 'by function' directories can be direct way to hell. See current state of linux - driver for single multifunction device (like typically PMIC is) is spread to several directories (mfd, power, gpio, pinctrl, rtc).

In D13619#285030, @meloun-miracle-cz wrote:

imho, we should put platform specialized drivers to dev subtree only if given driver can be reused on multiple platforms. I personally vote for not moving it.

Nothing in this driver makes it arm only.

Also, grouping drivers to 'by function' directories can be direct way to hell. See current state of linux - driver for single multifunction device (like typically PMIC is) is spread to several directories (mfd, power, gpio, pinctrl, rtc).

I do not plan to go that far.