Displaying 20 results from an estimated 110 matches similar to: "GPIO as NUT driver interface?"
2023 Feb 22
2
GPIO as NUT driver interface?
Great, thanks!
Also just for context, this sounded reminiscent of one of the first NUT
drivers, `genericups` (for simple contact-closure support, with IIRC
serial-port connections rather than GPIO).
Nearby there's also a `generic_modbus" name. Wondering if the new driver
should be (similar to) `generic_gpio`.
@Community verdict: Then there was also an effort some years ago to name
2023 Feb 23
1
GPIO as NUT driver interface?
FWIW, there is precedent with libusb{1,0}, libshut and libhid which
abstract NUT operations from a "backend lib" to build against; similar for
serial.c used by many drivers. Take care to not conflict by filenames with
"real" third-party libs used by the build - especially to avoid mixups for
headers and in docs/discussion.
Jim
On Thu, Feb 23, 2023, 22:16 MODRIS B?RZONIS
2023 Feb 23
1
GPIO as NUT driver interface?
Did refactoring to better split library specifics, now see
open/close/read lines that any library should support. Need to split
into 2 files, may to go for library?
On 2/22/23 20:17, Greg Troxel wrote:
> Jim Klimov via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:
>
>> Nearby there's also a `generic_modbus" name. Wondering if the new driver
>>
2019 Jul 11
0
[PATCH 3/4] gpio: added power check for another GPIO
this one is mainly used on Rankine and Curie and rarely on Tesla GPUs
untested, wrote according to documentation
Signed-off-by: Mark Menzynski <mmenzyns at redhat.com>
---
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 1 +
drm/nouveau/nvkm/subdev/gpio/base.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/bios/gpio.h
2013 Jul 11
0
[PATCH] drm/gpio/nv50: post nv92 cards have 32 interrupt lines
Since the original merge of nouveau to upstream kernel, we were assuming that
nv90 (and later) cards have 32 lines.
Based on mmio traces of the binary driver, as well as PBUS error messages
during read/write of the e070/e074 registers, we can conclude that nv92 has
only 16 lines whereas nv94 (and later) cards have 32.
Reported-and-tested-by: David M. Lloyd <david.lloyd at redhat.com>
2019 Jul 11
0
[PATCH 1/4] moved gpio so it is sorted by values
Signed-off-by: Mark Menzynski <mmenzyns at redhat.com>
---
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drm/nouveau/include/nvkm/subdev/bios/gpio.h b/drm/nouveau/include/nvkm/subdev/bios/gpio.h
index b71a3555..2f40935f 100644
--- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h
+++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h
2019 Jul 11
0
[PATCH 2/4] gpio: checking if gpu power cable is connected
Tested on TU104, GP106 and GF100
Signed-off-by: Mark Menzynski <mmenzyns at redhat.com>
---
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 1 +
drm/nouveau/nvkm/subdev/gpio/base.c | 23 +++++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/bios/gpio.h b/drm/nouveau/include/nvkm/subdev/bios/gpio.h
index 2f40935f..a70ec9e8 100644
---
2019 Jul 15
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
Currently, nouveau doesn't check if GPU is missing power. This
patch makes nouveau fail when this happens on latest GPUs.
It checks GPIO function 121 (External Power Emergency), which
should detect power problems on GPU initialization.
Tested on TU104, GP106 and GF100.
Signed-off-by: Mark Menzynski <mmenzyns at redhat.com>
---
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 1 +
2023 Feb 22
1
GPIO as NUT driver interface?
Jim Klimov via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:
> Nearby there's also a `generic_modbus" name. Wondering if the new driver
> should be (similar to) `generic_gpio`.
sound good.
It would be nice if there were an abstraction layer for various GPIO
access methods, rather than hard-coding linux, even if there is only one
implementation of the
2023 Aug 14
1
2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
On Mon, 14 Aug 2023 16:51:08 +0200,
Karol Herbst wrote:
>
> I've sent a patch out to address this memory corruption
> https://patchwork.freedesktop.org/patch/552642/
>
> It might or might not fix regressions from the original I2C fix, so
> please test and report if there are remaining issues.
Thanks! I'll build a test kernel and ask the reporter for testing
with it.
2019 Jul 16
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
On Mon, 15 Jul 2019 at 22:26, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>
> Please add a config override to skip this, since we'll invariably get
> it wrong for some setup, and should be able to provide users with
> workarounds while the issue is being worked out.
Yeah, this makes me nervous as well. In the very least, I'd like a
config option, but I'm still
2012 Sep 13
1
[PATCH] drm/nouveau: POST the card before GPIO initialization
Otherwise my card (nv92) never resumes from suspend to ram, hanging on
nv_mask in nv50_gpio_drive. Before rework, initialization was done only
from POST, so this patch restores previous behaviour.
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
Let me tell you little story about this patch...
It took me ~week to figure it out.
1) I bisected it to "drm/nouveau/gpio:
2017 Dec 07
9
[Bug 104156] New: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1) issue finding GPIO
https://bugs.freedesktop.org/show_bug.cgi?id=104156
Bug ID: 104156
Summary: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)
issue finding GPIO
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component:
2023 Aug 06
2
2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
Hi folks,
the patch in $Subject breaks booting here on one of my test boxes, see
below.
Reverting it ontop of -rc4 fixes the issue.
Thx.
[ 3.580535] ACPI: \_PR_.CP04: Found 4 idle states
[ 3.585694] ACPI: \_PR_.CP05: Found 4 idle states
[ 3.590852] ACPI: \_PR_.CP06: Found 4 idle states
[ 3.596037] ACPI: \_PR_.CP07: Found 4 idle states
[ 3.644065] Freeing initrd memory: 6740K
[
2019 Jul 15
2
[PATCH v2 2/4] gpio: fail if gpu external power is missing
Please add a config override to skip this, since we'll invariably get
it wrong for some setup, and should be able to provide users with
workarounds while the issue is being worked out.
On Mon, Jul 15, 2019 at 5:43 AM Mark Menzynski <mmenzyns at redhat.com> wrote:
>
> Currently, nouveau doesn't check if GPU is missing power. This
> patch makes nouveau fail when this happens
2023 Feb 21
0
Reforma IMSS e INFONAVIT
Actualizaci?n 2023: IMSS - INFONAVIT
ADMINISTRACI?N ESTRAT?GICA
DE LA NOMINA
Seminario Online - 24 de Marzo 2023
Aprenda a estructurar y actualizar la n?mina de su empresa con base a las Nuevas Reformas laborales 2023
Responda "TEMARIO-N?MINA" para recibir toda la informaci?n de este evento a nivel nacional
Datos de contacto:
- Nombre:
- Tel?fono:
- Correo Corporativo:
2014 Sep 08
1
[PATCH] gpio: rename g92 class to g94
nv92 hardware has only 16 interrupt lines, while nv94 and later
has 32. Accessing 0xe0c{0,4} registers on nv92 can lead to incorrect
PDISP setup. This is a regression introduced with
commit 9d0f5ec9ee0fd5dc5fc1cc2cf559286431e406e3
Author: Ben Skeggs <bskeggs at redhat.com>
Date: Mon May 12 15:22:42 2014 +1000
gpio: split g92 class from nv50
Reported-by: estece on #nouveau
Cc: stable
2018 Jun 24
31
[Bug 107016] New: Gpio error only from kernel higher as 4.x (k2000m; 0x0e73b0a2; version 80.07.40.00.02)
https://bugs.freedesktop.org/show_bug.cgi?id=107016
Bug ID: 107016
Summary: Gpio error only from kernel higher as 4.x (k2000m;
0x0e73b0a2; version 80.07.40.00.02)
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
2004 Jul 29
0
*** Asterisk Summer News: The heat is on!
Another issue of Asterisk Summer News, delivered right to your
mailbox! Back here in Sweden, it's finally summer weather.
Sunshine and some heat. It's good for our ice bears and
the snow houses to get some sunshine :-)
Asterisk development and IRC chat has gone into a lazy summer
mode, but the mailing list is still cooking. It's impossible
to keep up with it, for both gurus and
2016 Sep 16
0
[PATCH 3/3] drm/nouveau/led: abort early if the device does not have GPIOs
Signed-off-by: Martin Peres <martin.peres at free.fr>
---
drm/nouveau/nouveau_led.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drm/nouveau/nouveau_led.c b/drm/nouveau/nouveau_led.c
index 1f731da..3e2f1b6 100644
--- a/drm/nouveau/nouveau_led.c
+++ b/drm/nouveau/nouveau_led.c
@@ -82,6 +82,9 @@ nouveau_led_init(struct drm_device *dev)
struct dcb_gpio_func logo_led;
int ret;
+