[PATCH 2/6] gpio: move hogs into GPIO core

Mika Westerberg mika.westerberg at linux.intel.com
Thu Mar 5 06:25:00 PST 2026


On Thu, Mar 05, 2026 at 10:51:27AM +0100, Bartosz Golaszewski wrote:
> Refactor line hogging code by moving the parts duplicated in
> gpiolib-acpi-core.c and gpiolib-of.c into gpiolib.c, leaving just the
> OF-specific bits in the latter.
> 
> This makes fwnode the primary API for setting up hogs and allows to use
> software nodes in addition to ACPI and OF nodes.
> 
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>

Reviewed-by: Mika Westerberg <mika.westerberg at linux.intel.com>



More information about the linux-arm-kernel mailing list