aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/tty/newhaven_lcd.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/tty/newhaven_lcd.txt')
-rw-r--r--Documentation/devicetree/bindings/tty/newhaven_lcd.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/tty/newhaven_lcd.txt b/Documentation/devicetree/bindings/tty/newhaven_lcd.txt
new file mode 100644
index 000000000000..5ff0438640d6
--- /dev/null
+++ b/Documentation/devicetree/bindings/tty/newhaven_lcd.txt
@@ -0,0 +1,21 @@
+* TTY on a Newhaven NHD‐0216K3Z‐NSW‐BBW LCD connected to I2C
+
+Required properties:
+- compatible: Should be "newhaven,nhd‐0216k3z‐nsw‐bbw";
+- reg: i2c address
+- height: should be 2 lines
+- width: should be 16 characters
+- brightness: backlight brightness. Range is 1 to 8, where
+ 1=OFF and 8=maximum brightness.
+
+Example:
+
+&i2c0 {
+ lcd: lcd@28 {
+ compatible = "newhaven,nhd‐0216k3z‐nsw‐bbw";
+ reg = <0x28>;
+ height = <2>;
+ width = <16>;
+ brightness = <8>;
+ };
+