@@ -504,6 +504,27 @@ Params: gpio_pin Input pin number. Default is 18.
504
504
ir-keytable), defaults to "rc-rc6-mce"
505
505
506
506
507
+ Name: gpio-key
508
+ Info: This is a generic overlay for activating GPIO keypresses using
509
+ the gpio-keys library and this dtoverlay. Multiple keys can be
510
+ set up using multiple calls to the overlay for configuring
511
+ additional buttons or joysticks. You can see available keycodes
512
+ at https://github.com/torvalds/linux/blob/v4.12/include/uapi/
513
+ linux/input-event-codes.h#L64
514
+ Load: dtoverlay=gpio-key,<param>=<val>
515
+ Params: gpio GPIO pin to trigger on (default 3)
516
+ active_low When this is 1 (active low), a falling
517
+ edge generates a key down event and a
518
+ rising edge generates a key up event.
519
+ When this is 0 (active high), this is
520
+ reversed. The default is 1 (active low)
521
+ gpio_pull Desired pull-up/down state (off, down, up)
522
+ Default is "up". Note that the default pin
523
+ (GPIO3) has an external pullup
524
+ label Set a label for the key
525
+ keycode Set the key code for the button
526
+
527
+
507
528
Name: gpio-poweroff
508
529
Info: Drives a GPIO high or low on poweroff (including halt). Enabling this
509
530
overlay will prevent the ability to boot by driving GPIO3 low.
@@ -983,6 +1004,15 @@ Params: spi<n>-<m>-present boolean, configure device at spi<n>, cs<m>
983
1004
spi<n>-<m>-speed integer, set the spi bus speed for this device
984
1005
985
1006
1007
+ Name: mcp3202
1008
+ Info: Configures MCP3202 A/D converters
1009
+ For devices on spi1 or spi2, the interfaces should be enabled
1010
+ with one of the spi1-1/2/3cs and/or spi2-1/2/3cs overlays.
1011
+ Load: dtoverlay=mcp3202,<param>[=<val>]
1012
+ Params: spi<n>-<m>-present boolean, configure device at spi<n>, cs<m>
1013
+ spi<n>-<m>-speed integer, set the spi bus speed for this device
1014
+
1015
+
986
1016
Name: media-center
987
1017
Info: Media Center HAT - 2.83" Touch Display + extras by Pi Supply
988
1018
Load: dtoverlay=media-center,<param>=<val>
@@ -991,6 +1021,7 @@ Params: speed Display SPI bus speed
991
1021
fps Delay between frame updates
992
1022
xohms Touchpanel sensitivity (X-plate resistance)
993
1023
swapxy Swap x and y axis
1024
+ backlight Change backlight GPIO pin {e.g. 12, 18}
994
1025
gpio_out_pin GPIO for output (default "17")
995
1026
gpio_in_pin GPIO for input (default "18")
996
1027
gpio_in_pull Pull up/down/off on the input pin
@@ -1276,6 +1307,29 @@ Params: rotary0_pin_a GPIO connected to rotary encoder channel A
1276
1307
(default 4).
1277
1308
rotary0_pin_b GPIO connected to rotary encoder channel B
1278
1309
(default 17).
1310
+ relative_axis register a relative axis rather than an
1311
+ absolute one. Relative axis will only
1312
+ generate +1/-1 events on the input device,
1313
+ hence no steps need to be passed.
1314
+ linux_axis the input subsystem axis to map to this
1315
+ rotary encoder. Defaults to 0 (ABS_X / REL_X)
1316
+ rollover Automatic rollover when the rotary value
1317
+ becomes greater than the specified steps or
1318
+ smaller than 0. For absolute axis only.
1319
+ steps-per-period Number of steps (stable states) per period.
1320
+ The values have the following meaning:
1321
+ 1: Full-period mode (default)
1322
+ 2: Half-period mode
1323
+ 4: Quarter-period mode
1324
+ steps Number of steps in a full turnaround of the
1325
+ encoder. Only relevant for absolute axis.
1326
+ Defaults to 24 which is a typical value for
1327
+ such devices.
1328
+ wakeup Boolean, rotary encoder can wake up the
1329
+ system.
1330
+ encoding String, the method used to encode steps.
1331
+ Supported are "gray" (the default and more
1332
+ common) and "binary".
1279
1333
1280
1334
1281
1335
Name: rpi-backlight
@@ -1305,6 +1359,7 @@ Params: speed Display SPI bus speed
1305
1359
debug Debug output level {0-7}
1306
1360
xohms Touchpanel sensitivity (X-plate resistance)
1307
1361
swapxy Swap x and y axis
1362
+ backlight Change backlight GPIO pin {e.g. 12, 18}
1308
1363
1309
1364
1310
1365
Name: rpi-ft5406
0 commit comments