x86-power-control

Oskar Senft osk at google.com
Fri Oct 18 04:21:42 AEDT 2019


Hi Jason


> In our DTS we use gpio-line-names to name all of the GPIOs in one block:
>
> &gpio {
>         status = "okay";
>         gpio-line-names =
> [...]
>         /*D0-D7*/       "","","","","","","","",
>         /*E0-E7*/
>  "RESET_BUTTON","RESET_OUT","POWER_BUTTON","POWER_OUT","","","","",
>         /*F0-F7*/       "NMI_OUT","","","","CPU_ERR0","CPU_ERR1","","",
>         /*G0-G7*/
>  "CPU_ERR2","CPU_CATERR","PCH_BMC_THERMTRIP","","","","","",
>

Ugh, ok - that's a nice trick. But it's also a little messy :-/ Is that the
"officially recommended" way? I guess, since the other option I tried
doesn't work!.

Is that purely used for naming lines, or does it have any semantic impact?

Thanks
Oskar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191017/90f6ce8b/attachment.htm>


More information about the openbmc mailing list