History log of /freebsd/sys/dev/gpio/gpiopower.c (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 320e4beb 28-Jan-2024 Andriy Gapon <avg@FreeBSD.org>

gpiopower: trigger low, high and both edges

Power off or reset may be activated either by low or high signal or by an
edge. So, try everything.

Also, the driver now supports DTS properties for tim

gpiopower: trigger low, high and both edges

Power off or reset may be activated either by low or high signal or by an
edge. So, try everything.

Also, the driver now supports DTS properties for timings.

Finally, the driver does not change the pin configuration during attach.
It is assumed that the pin is already in a state that does not trigger
the power event (otherwise we wouldn't be running).

show more ...


Revision tags: release/14.0.0
# dfc01658 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .c pattern

Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0
# 84c5f982 09-May-2022 John Baldwin <jhb@FreeBSD.org>

gpio: Remove unused devclass arguments to DRIVER_MODULE.


# de6353ad 27-Apr-2022 Justin Hibbits <jhibbits@FreeBSD.org>

gpiopower: Fix call to ofw_gpiobus_parse_gpios

Failure is denoted by -1, not non-zero. A positive integer denotes the
number of pins mapped and configured.


# d7661890 15-Mar-2022 Justin Hibbits <jhibbits@FreeBSD.org>

gpiopower: Fix failure case for attach

Summary:
We really should be checking the return value of
ofw_gpiobus_parse_gpios_impl, not the value of sc_pins, which isn't
changed on failure.

Reported by:

gpiopower: Fix failure case for attach

Summary:
We really should be checking the return value of
ofw_gpiobus_parse_gpios_impl, not the value of sc_pins, which isn't
changed on failure.

Reported by: alfredo@

Reviewers: #powerpc, alfredo

Reviewed By: #powerpc, alfredo

Subscribers: imp, loos

Differential Revision: https://reviews.freebsd.org/D34571

show more ...


Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0
# 67bc8c8b 19-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r308491 through r308841.


# 099a0e1b 16-Nov-2016 Justin Hibbits <jhibbits@FreeBSD.org>

Add a GPIO poweroff and reset driver.

Summary:
This implements part of the gpio-poweroff and gpio-restart device tree
bindings. Optional properties are not handled currently. It also currently
onl

Add a GPIO poweroff and reset driver.

Summary:
This implements part of the gpio-poweroff and gpio-restart device tree
bindings. Optional properties are not handled currently. It also currently
only supports level-triggered reset.

Reviewed By: gonzo
Differential Revision: https://reviews.freebsd.org/D8521

show more ...