From f5c0148665c5d32cf31f86b7ad47f5559c08148d Mon Sep 17 00:00:00 2001
From: Kevin O'Connor <kevin@koconnor.net>
Date: Wed, 25 Oct 2017 11:01:36 -0400
Subject: [PATCH] config: Warn Beaglebone PRU users that pinmux settings are
 not updated

The Beaglebone hardware prevents the PRU from updating the pinmux
board settings.  As a result, the PRU can't directly change the pin
direction or change the pullup resistor settings.  Warn the Beaglebone
users of this limitation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
 config/generic-cramps.cfg    | 5 +++++
 config/generic-replicape.cfg | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/config/generic-cramps.cfg b/config/generic-cramps.cfg
index 610b07934..1ef2373e2 100644
--- a/config/generic-cramps.cfg
+++ b/config/generic-cramps.cfg
@@ -3,6 +3,11 @@
 
 # THIS FILE HAS NOT BEEN TESTED - PROCEED WITH CAUTION!
 
+# NOTE: Klipper does not alter the input/output state of the
+# Beaglebone pins and it does not control their pull-up resistors.  In
+# order to set the pin state one must use a "device tree overlay" or
+# use the config-pin program.
+
 # See the example.cfg file for a description of available parameters.
 
 [stepper_x]
diff --git a/config/generic-replicape.cfg b/config/generic-replicape.cfg
index 2677973b5..99f3bee45 100644
--- a/config/generic-replicape.cfg
+++ b/config/generic-replicape.cfg
@@ -4,6 +4,13 @@
 # install the micro-controller code a second time for a "Linux
 # process".
 
+# NOTE: Klipper does not alter the input/output state of the
+# Beaglebone pins and it does not control their pull-up resistors.
+# Typically the correct settings are automatically applied when the
+# Beaglebone detects the Replicape board, but if changes are needed
+# they must be specified in a "device tree overlay" or via the
+# config-pin program.
+
 # See the example.cfg file for a description of available parameters.
 
 [stepper_x]