History log of /src/sys/dev/gpio/gpiobus_internal.h (Results 1 – 15 of 15)
Revision Date Author Comments
# 3bbdc022 29-Oct-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_deleted

Implement bus_child_deleted and attach the gpio_aei dev to it's ACPI
handle.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D51585


# 186100f1 27-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). Th

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). This causes problems since the call never goes
through gpiobus. Instead, make gpioc a child of gpiobus and allocate
interrupts using our own dev. Also don't misuse pin->flags, it's not
meant to store the flags from sys/gpio.h

Reported by: Evgenii Ivanov <devivanov@proton.me>
Reviewed by: mmel
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51932

show more ...


# 0269dc57 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_location

Reviewed by: imp, andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51586


# 7f53cf7e 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51582

show more ...


# 9c2509f8 04-Jul-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Di

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D50872

show more ...


# 3bbdc022 29-Oct-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_deleted

Implement bus_child_deleted and attach the gpio_aei dev to it's ACPI
handle.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D51585


# 186100f1 27-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). Th

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). This causes problems since the call never goes
through gpiobus. Instead, make gpioc a child of gpiobus and allocate
interrupts using our own dev. Also don't misuse pin->flags, it's not
meant to store the flags from sys/gpio.h

Reported by: Evgenii Ivanov <devivanov@proton.me>
Reviewed by: mmel
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51932

show more ...


# 0269dc57 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_location

Reviewed by: imp, andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51586


# 7f53cf7e 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51582

show more ...


# 9c2509f8 04-Jul-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Di

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D50872

show more ...


# 3bbdc022 29-Oct-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_deleted

Implement bus_child_deleted and attach the gpio_aei dev to it's ACPI
handle.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D51585


# 186100f1 27-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). Th

gpio: make gpioc a child of gpiobus

With gpioc being a direct child of the GPIO controller, it can't
allocate interrupts properly. It currently allocates interrupts using
it's parent dev (gpioX). This causes problems since the call never goes
through gpiobus. Instead, make gpioc a child of gpiobus and allocate
interrupts using our own dev. Also don't misuse pin->flags, it's not
meant to store the flags from sys/gpio.h

Reported by: Evgenii Ivanov <devivanov@proton.me>
Reviewed by: mmel
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51932

show more ...


# 0269dc57 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

acpi_gpiobus: implement bus_child_location

Reviewed by: imp, andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51586


# 7f53cf7e 20-Aug-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org

gpiobus: factorize common add_child code

Move common bus_add_child code to gpiobus_add_child_common.

Reviewed by: andrew
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D51582

show more ...


# 9c2509f8 04-Jul-2025 Ahmad Khalifa <vexeduxr@FreeBSD.org>

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Di

gpio: hide internal gpiobus symbols

Move functions and variables internal to gpiobus to their own header to
avoid namespace pollution and misuse.

Reviewed by: wulf, imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D50872

show more ...