From db8d68acdcdb009fc2a9d773a7d2c07992a46933 Mon Sep 17 00:00:00 2001
From: Jordi Pakey-Rodriguez <jordi@0xdec.im>
Date: Sat, 15 Dec 2018 21:15:56 -0600
Subject: [PATCH] Add Planck rev1 and rev2, clean up rev3-5 config.h

---
 keyboards/planck/rev1/config.h | 3 +++
 keyboards/planck/rev1/rules.mk | 1 +
 keyboards/planck/rev2/config.h | 3 +++
 keyboards/planck/rev2/rules.mk | 1 +
 keyboards/planck/rev3/config.h | 7 +------
 keyboards/planck/rev4/config.h | 7 +------
 keyboards/planck/rev5/config.h | 7 +------
 7 files changed, 11 insertions(+), 18 deletions(-)
 create mode 100644 keyboards/planck/rev1/config.h
 create mode 100644 keyboards/planck/rev1/rules.mk
 create mode 100644 keyboards/planck/rev2/config.h
 create mode 100644 keyboards/planck/rev2/rules.mk

diff --git a/keyboards/planck/rev1/config.h b/keyboards/planck/rev1/config.h
new file mode 100644
index 00000000000..397887a73f3
--- /dev/null
+++ b/keyboards/planck/rev1/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0001
diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk
new file mode 100644
index 00000000000..e51af55c668
--- /dev/null
+++ b/keyboards/planck/rev1/rules.mk
@@ -0,0 +1 @@
+AUDIO_ENABLE = no           # Audio output on port C6
diff --git a/keyboards/planck/rev2/config.h b/keyboards/planck/rev2/config.h
new file mode 100644
index 00000000000..bed78bca3f0
--- /dev/null
+++ b/keyboards/planck/rev2/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0002
diff --git a/keyboards/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk
new file mode 100644
index 00000000000..e51af55c668
--- /dev/null
+++ b/keyboards/planck/rev2/rules.mk
@@ -0,0 +1 @@
+AUDIO_ENABLE = no           # Audio output on port C6
diff --git a/keyboards/planck/rev3/config.h b/keyboards/planck/rev3/config.h
index 45e60962ba5..fd6f0460e56 100644
--- a/keyboards/planck/rev3/config.h
+++ b/keyboards/planck/rev3/config.h
@@ -1,8 +1,3 @@
-#ifndef REV3_CONFIG_H
-#define REV3_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0003
-
-#endif
diff --git a/keyboards/planck/rev4/config.h b/keyboards/planck/rev4/config.h
index 4ff7649fb58..572852bbf0c 100644
--- a/keyboards/planck/rev4/config.h
+++ b/keyboards/planck/rev4/config.h
@@ -1,8 +1,3 @@
-#ifndef REV4_CONFIG_H
-#define REV4_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0004
-
-#endif
\ No newline at end of file
diff --git a/keyboards/planck/rev5/config.h b/keyboards/planck/rev5/config.h
index 696eda73bce..93692207805 100644
--- a/keyboards/planck/rev5/config.h
+++ b/keyboards/planck/rev5/config.h
@@ -1,8 +1,3 @@
-#ifndef REV5_CONFIG_H
-#define REV5_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0005
-
-#endif
\ No newline at end of file