CVS commit: src/sys/dev/fdt
"Yuri Honegger Yurix" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: yurix Date: Thu Aug 27 20:09:23 UTC 2026 Modified Files: src/sys/dev/fdt: fdt_pinctrl.c Log Message: fdt_pinctrl: don't skip pinctrl entries Per the DT-bindings, pinctrl-n is a list of phandles, so a phandle every four bytes. If pinctrl-cells is more than one, the current code skips some phandles in the list since it advances by 4*pinctrl-cells bytes per entry. This part of the code should not need to touch pinctrl-cells at all. pinctrl-cells is only relevant for the pinmux entries *inside* the pin controller, not for pin controller consumers. This fixes the spi pinctrls on the am18xx. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/fdt/fdt_pinctrl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.