3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-31 15:22:18 +00:00
Brooklyn/arch/arm/boot/dts/overlays/hdmi-backlight-hwhack-gpio-overlay.dts
Scare Crowe 84ba5b15ac Updates and fixes for BrooklynR
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time.

* Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic)

* Update i2c sensor db

* Fixed DRM broadcast over HDMI 2+

* Ease up DHCP security only to prevent Brooklyn blocking routers.

* Add possibility to add extra memory for Cinnamon Desktop Release

* Fix error message of Software Render mode on Cinnamon Desktop

* Add proper offset for HD screens for pixel array

*Fixed HDMI jitter for videocore4 GPU

* Enable all radios (including Bluetooth)
2021-06-12 13:10:41 +05:00

48 lines
1.1 KiB
Plaintext

/*
* Devicetree overlay for GPIO based backlight on/off capability.
*
* Use this if you have one of those HDMI displays whose backlight cannot be
* controlled via DPMS over HDMI and plan to do a little soldering to use an
* RPi gpio pin for on/off switching.
*
* See: https://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)#Backlight_Control
*
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@1 {
target = <&gpio>;
__overlay__ {
hdmi_backlight_hwhack_gpio_pins: hdmi_backlight_hwhack_gpio_pins {
brcm,pins = <17>;
brcm,function = <1>; /* out */
};
};
};
fragment@2 {
target-path = "/";
__overlay__ {
hdmi_backlight_hwhack_gpio: hdmi_backlight_hwhack_gpio {
compatible = "gpio-backlight";
pinctrl-names = "default";
pinctrl-0 = <&hdmi_backlight_hwhack_gpio_pins>;
gpios = <&gpio 17 0>;
default-on;
};
};
};
__overrides__ {
gpio_pin = <&hdmi_backlight_hwhack_gpio>,"gpios:4",
<&hdmi_backlight_hwhack_gpio_pins>,"brcm,pins:0";
active_low = <&hdmi_backlight_hwhack_gpio>,"gpios:8";
};
};