Page MenuHomeFreeBSD

Add driver for the RK3328 GPIO_MUTE pin
ClosedPublic

Authored by shurd on Mon, Mar 17, 9:50 PM.

Details

Summary

This is used in in the ROC-RK3328-CC to control a regulator.

Test Plan

Tested on ROC-RK3328-CC board

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

shurd requested review of this revision.Mon, Mar 17, 9:50 PM
  • Fix copyright and update wrapping

I don't know what this does, but thank you for writing a manual with it! Some minor style suggestions and questions:

share/man/man4/man4.aarch64/rk_grf_gpio.4
2

The project this - was added for was abandoned

3

You could use SPDX only now if you want, there's an example in style(9)

31

This is more than one line. How's this? The rendered line barely fits on standard console.

38

Does it support the gpio or only the gpio_mute pin?
How can people use it? What does it do? That would be really nice in this section.

41–44
53

I see no reason why we couldn't, but we don't usually say "device driver" lately.

58
shurd added inline comments.
share/man/man4/man4.aarch64/rk_grf_gpio.4
31

Should be better now (certainly shorter)

shurd marked an inline comment as done.
  • was->were
  • Another typo, CPIO -> GPIO
  • Update .c file per style(9) as well.
  • Remove unneeded headers
This revision is now accepted and ready to land.Tue, Mar 18, 7:34 AM
This revision was automatically updated to reflect the committed changes.