Skip to content

Commit

Permalink
add backlight control to rpi-display overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj authored and Phil Elwell committed Jan 2, 2018
1 parent bb42fcf commit ca592bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/README
Expand Up @@ -1329,6 +1329,7 @@ Params: speed Display SPI bus speed
debug Debug output level {0-7}
xohms Touchpanel sensitivity (X-plate resistance)
swapxy Swap x and y axis
backlight Change backlight GPIO pin {e.g. 12, 18}


Name: rpi-ft5406
Expand Down
14 changes: 8 additions & 6 deletions arch/arm/boot/dts/overlays/rpi-display-overlay.dts
Expand Up @@ -79,11 +79,13 @@
};
};
__overrides__ {
speed = <&rpidisplay>,"spi-max-frequency:0";
rotate = <&rpidisplay>,"rotate:0";
fps = <&rpidisplay>,"fps:0";
debug = <&rpidisplay>,"debug:0";
xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
speed = <&rpidisplay>,"spi-max-frequency:0";
rotate = <&rpidisplay>,"rotate:0";
fps = <&rpidisplay>,"fps:0";
debug = <&rpidisplay>,"debug:0";
xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
backlight = <&rpidisplay>,"led-gpios:4",
<&rpi_display_pins>,"brcm,pins:0";
};
};

0 comments on commit ca592bd

Please sign in to comment.