Re: [PATCH RFC v6 7/7] mfd: ls2kbmc: Capture the reset event of BMC through GPIO
Miao Wang <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,dev.linux.lists.mfd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi, > 2026年8月10日 18:14,Bartosz Golaszewski <[email protected]> 写道: > > On Tue, 4 Aug 2026 21:14:25 +0200, Miao Wang via B4 Relay > <[email protected]> said: > >> + gpio_dev_get_fwnode(gdev), LS2K_BMC_RESET_GPIO, GPIO_ACTIVE_HIGH); > > TBH this could become a GPIOLIB function as gpio_device_get_fwnode(). I wonder if this function should be a static inline function defined in gpio/driver.h or a normal function defined in gpiolib.c? I tend to the former. Cheers, Miao Wang