Re: [PATCH RFC v6 7/7] mfd: ls2kbmc: Capture the reset event of BMC through GPIO
Bartosz Golaszewski <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,dev.linux.lists.mfd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAMRc=MfXcL3HLsAmu_JmR2FjhbUDzcaOtCfC41EvA=cUeL4U4Q@mail.gmail.com> |
On Mon, 10 Aug 2026 13:28:56 +0200, Miao Wang <[email protected]> said: > 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. > Yes, a regular GPL exported function in gpiolib.c please. Bartosz