Date: Thu, 21 Dec 2017 21:53:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224512] new device ID for nctgpio (APU3) Message-ID: <bug-224512-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224512 Bug ID: 224512 Summary: new device ID for nctgpio (APU3) Product: Base System Version: 11.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: mike@sentex.net Created attachment 189024 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189024&action= =3Dedit patch against driver source The PCEngines APU3 has a new gpio chip that is not recognized by the existi= ng driver due to a new ID. The attached simple diff provides GPIO functionali= ty to the APU3 and FreeBSD. kldload /tmp/nctgpio.ko gpio0: <Nuvoton NCT5104D (PC-Engines APU3)> at port 0x2e-0x2f on isa0 gpiobus0: <GPIO bus> on gpio0 gpioc0: <GPIO controller> on gpio0 # gpioctl -l pin 00: 1 GPIO00<IN,OD> pin 01: 1 GPIO01<IN,OD> pin 02: 1 GPIO02<IN,OD> pin 03: 1 GPIO03<IN,OD> pin 04: 1 GPIO04<IN,OD> pin 05: 1 GPIO05<IN,OD> pin 06: 1 GPIO06<IN,OD> pin 07: 1 GPIO07<IN,OD> pin 08: 1 GPIO08<IN,OD> pin 09: 1 GPIO09<IN,OD> pin 10: 1 GPIO10<IN,OD> pin 11: 1 GPIO11<IN,OD> pin 12: 1 GPIO12<IN,OD> pin 13: 1 GPIO13<IN,OD> pin 14: 1 GPIO14<IN,OD> pin 15: 1 GPIO15<IN,OD> # sysctl -a | grep gpio dev.gpioc.0.%parent: gpio0 dev.gpioc.0.%pnpinfo:=20 dev.gpioc.0.%location:=20 dev.gpioc.0.%driver: gpioc dev.gpioc.0.%desc: GPIO controller dev.gpioc.%parent:=20 dev.gpiobus.0.%parent: gpio0 dev.gpiobus.0.%pnpinfo:=20 dev.gpiobus.0.%location:=20 dev.gpiobus.0.%driver: gpiobus dev.gpiobus.0.%desc: GPIO bus dev.gpiobus.%parent:=20 dev.gpio.0.%parent: isa0 dev.gpio.0.%pnpinfo:=20 dev.gpio.0.%location:=20 dev.gpio.0.%driver: gpio dev.gpio.0.%desc: Nuvoton NCT5104D (PC-Engines APU3) dev.gpio.%parent:=20 # --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224512-8>