summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>2020-06-29 18:18:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 13:01:10 +0200
commit242841992ae6f22bd761add2f380b2ef3271ba9a (patch)
treee56107b26a6036fe4a3f0a4fc174893ee9115dfa /include/dt-bindings
parentusb: mos7720: convert tasklets to use new tasklet_setup() API (diff)
downloadlinux-242841992ae6f22bd761add2f380b2ef3271ba9a.tar.xz
linux-242841992ae6f22bd761add2f380b2ef3271ba9a.zip
dt-bindings: reset: Add a binding for the RPi Firmware reset controller
The firmware running on the RPi VideoCore can be used to reset and initialize HW controlled by the firmware. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629161845.6021-2-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/reset/raspberrypi,firmware-reset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/raspberrypi,firmware-reset.h b/include/dt-bindings/reset/raspberrypi,firmware-reset.h
new file mode 100644
index 000000000000..1a4f4c792723
--- /dev/null
+++ b/include/dt-bindings/reset/raspberrypi,firmware-reset.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2020 Nicolas Saenz Julienne
+ * Author: Nicolas Saenz Julienne <nsaenzjulienne@suse.com>
+ */
+
+#ifndef _DT_BINDINGS_RASPBERRYPI_FIRMWARE_RESET_H
+#define _DT_BINDINGS_RASPBERRYPI_FIRMWARE_RESET_H
+
+#define RASPBERRYPI_FIRMWARE_RESET_ID_USB 0
+#define RASPBERRYPI_FIRMWARE_RESET_NUM_IDS 1
+
+#endif