mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
rockchip64: update tm16xx driver from kenrel mailing list (#8679)
This commit is contained in:
@@ -1998,7 +1998,8 @@ CONFIG_CXD2880_SPI_DRV=m
|
||||
CONFIG_VIDEO_GS1662=m
|
||||
CONFIG_DVB_DUMMY_FE=m
|
||||
CONFIG_AUXDISPLAY=y
|
||||
CONFIG_TM16XX=m
|
||||
CONFIG_TM16XX_I2C=m
|
||||
CONFIG_TM16XX_SPI=m
|
||||
CONFIG_CHARLCD_BL_OFF=y
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
|
||||
@@ -2678,7 +2679,7 @@ CONFIG_LEDS_MAX77650=m
|
||||
CONFIG_LEDS_SYSCON=y
|
||||
CONFIG_LEDS_MLXREG=m
|
||||
CONFIG_LEDS_USER=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=m
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=m
|
||||
CONFIG_LEDS_TRIGGER_DISK=y
|
||||
CONFIG_LEDS_TRIGGER_MTD=y
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,7 @@
|
||||
cs-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
|
||||
num-chipselects = <1>;
|
||||
|
||||
aux-display-controller@24 {
|
||||
display@24 {
|
||||
|
||||
compatible = "fdhisi,fd628";
|
||||
|
||||
@@ -38,37 +38,64 @@
|
||||
spi-rx-delay-us = <1>;
|
||||
spi-max-frequency = <500000>;
|
||||
|
||||
tm16xx,digits = [00 01 02 03];
|
||||
tm16xx,segment-mapping = [03 01 02 06 04 05 00];
|
||||
digits {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
digit@0{
|
||||
reg = <0>;
|
||||
segments = <3 3>, <3 1>, <3 2>, <3 6>, <3 4>, <3 5>, <3 0>;
|
||||
};
|
||||
|
||||
digit@1 {
|
||||
reg = <1>;
|
||||
segments = <2 3>, <2 1>, <2 2>, <2 6>, <2 4>, <2 5>, <2 0>;
|
||||
};
|
||||
|
||||
digit@2 {
|
||||
reg = <2>;
|
||||
segments = <1 3>, <1 1>, <1 2>, <1 6>, <1 4>, <1 5>, <1 0>;
|
||||
};
|
||||
|
||||
digit@3 {
|
||||
reg = <3>;
|
||||
segments = <0 3>, <0 1>, <0 2>, <0 6>, <0 4>, <0 5>, <0 0>;
|
||||
};
|
||||
|
||||
led@4,3 {
|
||||
reg = <4 3>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
};
|
||||
|
||||
led@4,2 {
|
||||
reg = <4 2>;
|
||||
function = LED_FUNCTION_LAN;
|
||||
linux,default-trigger = "stmmac-0:00:link";
|
||||
};
|
||||
leds {
|
||||
|
||||
led@4,4 {
|
||||
reg = <4 4>;
|
||||
function = "colon";
|
||||
};
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
|
||||
led@4,5 {
|
||||
reg = <4 5>;
|
||||
function = "wlan-lo";
|
||||
};
|
||||
led@4,3 {
|
||||
reg = <4 3>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
};
|
||||
|
||||
led@4,2 {
|
||||
reg = <4 2>;
|
||||
function = LED_FUNCTION_LAN;
|
||||
linux,default-trigger = "stmmac-0:00:link";
|
||||
};
|
||||
|
||||
led@4,4 {
|
||||
reg = <4 4>;
|
||||
function = "colon";
|
||||
};
|
||||
|
||||
led@4,5 {
|
||||
reg = <4 5>;
|
||||
function = "wlan-lo";
|
||||
};
|
||||
|
||||
led@4,6 {
|
||||
reg = <4 6>;
|
||||
function = "wlan-hi";
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
|
||||
led@4,6 {
|
||||
reg = <4 6>;
|
||||
function = "wlan-hi";
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -32,54 +32,80 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
aux-display-controller@24 {
|
||||
display@24 {
|
||||
compatible = "fdhisi,fd6551";
|
||||
reg = <0x24>;
|
||||
|
||||
tm16xx,digits = [04 03 02 01];
|
||||
tm16xx,segment-mapping = [00 01 02 03 04 05 06];
|
||||
digits {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
digit@0 {
|
||||
reg = <0>;
|
||||
segments = <1 0>, <1 1>, <1 2>, <1 3>, <1 4>, <1 5>, <1 6>;
|
||||
};
|
||||
|
||||
digit@1 {
|
||||
reg = <1>;
|
||||
segments = <2 0>, <2 1>, <2 2>, <2 3>, <2 4>, <2 5>, <2 6>;
|
||||
};
|
||||
|
||||
digit@2 {
|
||||
reg = <2>;
|
||||
segments = <3 0>, <3 1>, <3 2>, <3 3>, <3 4>, <3 5>, <3 6>;
|
||||
};
|
||||
|
||||
digit@3{
|
||||
reg = <3>;
|
||||
segments = <4 0>, <4 1>, <4 2>, <4 3>, <4 4>, <4 5>, <4 6>;
|
||||
};
|
||||
|
||||
led@0,0 {
|
||||
reg = <0 0>;
|
||||
function = LED_FUNCTION_ALARM;
|
||||
};
|
||||
|
||||
led@0,1 {
|
||||
reg = <0 1>;
|
||||
function = "usb";
|
||||
linux,default-trigger = "usb-host";
|
||||
};
|
||||
leds {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
|
||||
led@0,2 {
|
||||
reg = <0 2>;
|
||||
function = "pause";
|
||||
linux,default-trigger = "mmc2";
|
||||
};
|
||||
led@0,0 {
|
||||
reg = <0 0>;
|
||||
function = LED_FUNCTION_ALARM;
|
||||
};
|
||||
|
||||
led@0,3 {
|
||||
reg = <0 3>;
|
||||
function = "play";
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
led@0,1 {
|
||||
reg = <0 1>;
|
||||
function = "usb";
|
||||
linux,default-trigger = "usb-host";
|
||||
};
|
||||
|
||||
led@0,4 {
|
||||
reg = <0 4>;
|
||||
function = "colon";
|
||||
};
|
||||
led@0,2 {
|
||||
reg = <0 2>;
|
||||
function = "pause";
|
||||
linux,default-trigger = "mmc2";
|
||||
};
|
||||
|
||||
led@0,5 {
|
||||
reg = <0 5>;
|
||||
function = LED_FUNCTION_LAN;
|
||||
linux,default-trigger = "stmmac-0:00:link";
|
||||
};
|
||||
led@0,3 {
|
||||
reg = <0 3>;
|
||||
function = "play";
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
|
||||
led@0,4 {
|
||||
reg = <0 4>;
|
||||
function = "colon";
|
||||
};
|
||||
|
||||
led@0,5 {
|
||||
reg = <0 5>;
|
||||
function = LED_FUNCTION_LAN;
|
||||
linux,default-trigger = "stmmac-0:00:link";
|
||||
};
|
||||
|
||||
led@0,6 {
|
||||
reg = <0 6>;
|
||||
function = LED_FUNCTION_WLAN;
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
|
||||
led@0,6 {
|
||||
reg = <0 6>;
|
||||
function = LED_FUNCTION_WLAN;
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user