aboutsummaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/nct5104d/chip.h
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2020-02-12 13:10:23 +0100
committerMichał Żygowski <michal.zygowski@3mdeb.com>2020-03-25 18:08:56 +0000
commit65f05505a6b7e9e1e9b45c9f6aae34fccd7a7f32 (patch)
treebb48f4b05a0a65f544cce7a0c8ecafc8305d65da /src/superio/nuvoton/nct5104d/chip.h
parent48409b82299ed032e151a67b80b2bb257b463172 (diff)
superio/nuvoton/nct5104d: add chip config option to reset GPIOs
Define a chip option to explicitly soft reset all enabled GPIOs to default state. TEST=boot FreeBSD 11.2 on PC Engines apu1, change GPIO configuration using nctgpio module and check whether GPIOs are reset after reboot Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: Iae4205574800138402cbc95f4948167265a80d15 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38850 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nuvoton/nct5104d/chip.h')
-rw-r--r--src/superio/nuvoton/nct5104d/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/superio/nuvoton/nct5104d/chip.h b/src/superio/nuvoton/nct5104d/chip.h
index 5b790372ad..ad1c302d21 100644
--- a/src/superio/nuvoton/nct5104d/chip.h
+++ b/src/superio/nuvoton/nct5104d/chip.h
@@ -6,6 +6,7 @@
struct superio_nuvoton_nct5104d_config {
u8 irq_trigger_type;
+ u8 reset_gpios;
};
#endif