dts: fix 'colorway' compatibles
I can't find any reference anywhere showing that the manufacturer of the LPD8803 or LPD8806 LED scripts is a company called 'colorway'. Use 'greeled' instead; these seem to actually be manufactured by GreeLed corporation. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
98f43ba0be
commit
b4042154bf
|
@ -9,10 +9,10 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_INST(0, colorway_lpd8806), okay)
|
||||
#define DT_DRV_COMPAT colorway_lpd8806
|
||||
#if DT_NODE_HAS_STATUS(DT_INST(0, greeled_lpd8806), okay)
|
||||
#define DT_DRV_COMPAT greeled_lpd8806
|
||||
#else
|
||||
#define DT_DRV_COMPAT colorway_lpd8803
|
||||
#define DT_DRV_COMPAT greeled_lpd8803
|
||||
#endif
|
||||
|
||||
#define LOG_LEVEL CONFIG_LED_STRIP_LOG_LEVEL
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright (c) 2019, Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Colorway LPD8803 SPI LED strip
|
||||
description: GreeLed LPD8803 SPI LED strip
|
||||
|
||||
compatible: "colorway,lpd8803"
|
||||
compatible: "greeled,lpd8803"
|
||||
|
||||
include: spi-device.yaml
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright (c) 2019, Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Colorway LPD8806 SPI LED strip
|
||||
description: GreeLed LPD8806 SPI LED strip
|
||||
|
||||
compatible: "colorway,lpd8806"
|
||||
compatible: "greeled,lpd8806"
|
||||
|
||||
include: spi-device.yaml
|
|
@ -232,6 +232,7 @@ gmt Global Mixed-mode Technology, Inc.
|
|||
gooddisplay Dalian Good Display Co., Ltd.
|
||||
goodix Shenzhen Huiding Technology Co., Ltd.
|
||||
google Google, Inc.
|
||||
greeled GreeLed Electronic Ltd.
|
||||
grinn Grinn
|
||||
grmn Garmin Limited
|
||||
gumstix Gumstix, Inc.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
&spi2 {
|
||||
|
||||
led_strip@0 {
|
||||
compatible = "colorway,lpd8806";
|
||||
compatible = "greeled,lpd8806";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
label = "LPD8806";
|
||||
|
|
|
@ -38,7 +38,7 @@ static const struct led_rgb black = {
|
|||
|
||||
struct led_rgb strip_colors[STRIP_NUM_LEDS];
|
||||
|
||||
static const struct device *strip = DEVICE_DT_GET_ANY(colorway_lpd8806);
|
||||
static const struct device *strip = DEVICE_DT_GET_ANY(greeled_lpd8806);
|
||||
|
||||
const struct led_rgb *color_at(size_t time, size_t i)
|
||||
{
|
||||
|
|
|
@ -67,14 +67,14 @@ test_spi_bmi160: bmi160@7 {
|
|||
};
|
||||
|
||||
test_spi_lpd8803: lpd8803@8 {
|
||||
compatible = "colorway,lpd8803";
|
||||
compatible = "greeled,lpd8803";
|
||||
label = "LPD8803";
|
||||
reg = <0x8>;
|
||||
spi-max-frequency = <0>;
|
||||
};
|
||||
|
||||
test_spi_lpd8806: lpd8806@9 {
|
||||
compatible = "colorway,lpd8806";
|
||||
compatible = "greeled,lpd8806";
|
||||
label = "LPD8806";
|
||||
reg = <0x9>;
|
||||
spi-max-frequency = <0>;
|
||||
|
|
Loading…
Reference in a new issue