Displaying 20 results from an estimated 423 matches for "gpios".
Did you mean:
gpio
2019 Jul 15
5
[PATCH v2 0/4] Refuse to load if power cables are not connected
Trello:
https://trello.com/c/admzDRvd/50-reduce-performance-refuse-to-boot-if-not-all-the-power-connectors-are-plugged
Fixed commit messages.
Mark Menzynski (4):
bios/gpio: sort gpios by values
gpio: fail if gpu external power is missing
gpio: check the gpio function 16 in the power check as well
gpio: check function 76 in the power check as well
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 5 ++++-
drm/nouveau/nvkm/subdev/gpio/base.c | 25 +++++++++++++++++++++...
2019 Jul 18
5
[PATCH v3 0/4] Refuse to load if power cable are not connected
Added config override for power checks.
Mark Menzynski (4):
bios/gpio: sort gpios by values
gpio: fail if gpu external power is missing
gpio: check the gpio function 16 in the power check as well
gpio: check function 76 in the power check as well
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 5 +++-
drm/nouveau/nvkm/subdev/gpio/base.c | 32 +++++++++++++++++++++...
2019 Jul 11
6
[PATCH 0/4] Refuse to load if the power cable are not connected
trello card:
https://trello.com/c/admzDRvd/50-reduce-performance-refuse-to-boot-if-not-all-the-power-connectors-are-plugged
Mark Menzynski (4):
moved gpio so it is sorted by values
gpio: checking if gpu power cable is connected
gpio: added power check for another GPIO
gpio: added power check for another GPIO
drm/nouveau/include/nvkm/subdev/bios/gpio.h | 5 ++++-
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
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
2017 Apr 02
1
[PATCH] drm/nouveau: enable interrupts on cards with 32 intr lines
The code attempts to enable them, but hits an undefined behaviour by
shifting by the entire register's width:
int lines = 32;
u32 mask = (1 << lines) - 1; // 00000000 on x86
u32 mask = (1 << lines) - 1; // ffffffff on arm (32)
u32 mask = (1 << lines) - 1; // 00000000 on arm64
u32 mask = (1ULL << lines) - 1; // ffffffff everywhere
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 +
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
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 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
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 21
1
GPIO as NUT driver interface?
Hi!
I have CyberPower CyberShield CSN27U12V UPS. This device don't have
usual for UPS interface, just open collector pins. I connected these
pins to GPIO interface on Orange Pi Zero and wrote NUT driver for this
case. Any interest from NUT community to add this driver to regular
build tree?
See driver code in attachment. Code is fully functional, needs cleanup
to match coding guidelines
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
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>
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 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
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:
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
2016 Feb 20
0
[PATCH v4 3/6] iccsense: implement for ina209, ina219 and ina3221
based on Martins initial work
v3: fix ina2x9 calculations
v4: don't kmalloc(0), fix the lsb/pga stuff
Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
---
drm/nouveau/include/nvkm/subdev/bios/extdev.h | 3 +
drm/nouveau/include/nvkm/subdev/i2c.h | 31 ++++++
drm/nouveau/include/nvkm/subdev/iccsense.h | 5 +
drm/nouveau/nvkm/engine/device/base.c | 20
2016 Sep 25
0
[PATCH 1/3] drm/nouveau: add missing header dependencies
We get a few warnings when building kernel with W=1:
drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr2.c:60:1: warning: no previous prototype for 'nvkm_sddr2_calc' [-Wmissing-prototypes]
drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr3.c:69:1: warning: no previous prototype for 'nvkm_sddr3_calc' [-Wmissing-prototypes]
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c:35:1: warning: no