[PATCH] drm: meson_drv add shutdown function

2021-03-02 Thread Artem Lapkin
... Tested: on VIM1 VIM2 VIM3 VIM3L khadas sbcs - 1000+ successful reboots and Odroid boards, WeTek Play2 (GXBB) Tested-by: Christian Hewitt Signed-off-by: Artem Lapkin --- drivers/gpu/drm/meson/meson_drv.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/meson

[PATCH] arm64: dts: meson-gx: remove wrong reserved BL31 memory

2021-01-29 Thread Artem Lapkin
to 7bf23000, end 7bf2d3ce ... OK Starting kernel ... bl31 reboot reason: 0xd bl31 reboot reason: 0x0 system cmd 1. Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic

[PATCH] ALSA: usb-audio: add usb vendor id as DSD-capable for Khadas devices

2020-11-03 Thread Artem Lapkin
Khadas audio devices ( USB_ID_VENDOR 0x3353 ) have DSD-capable implementations from XMOS need add new usb vendor id for recognition Signed-off-by: Artem Lapkin --- sound/usb/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index b4fa80ef730

[PATCH v2 0/2] arm64: dts: meson: VIM2 updates

2020-09-28 Thread Artem Lapkin
small updates and fixes for Khadas VIM2 board dts Artem Lapkin (2): arm64: dts: meson: rename led name on Khadas VIM2 meson-gxm-khadas-vim2 arm64: dts: meson: change spifc max-frequency on Khadas VIM2 meson-gxm-khadas-vim2 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 6

[PATCH 1/2] arm64: dts: meson: rename led name on Khadas VIM2 meson-gxm-khadas-vim2

2020-09-28 Thread Artem Lapkin
rename led name on Khadas VIM2 meson-gxm-khadas-vim2 rename vim:red:power to vim2:white:sys becouse this led is white system led its not power led Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 2/2] arm64: dts: meson: change spifc max-frequency on Khadas VIM2 meson-gxm-khadas-vim2

2020-09-28 Thread Artem Lapkin
change spifc max-frequency on Khadas VIM2 meson-gxm-khadas-vim2 max-frequency is 104Mhz Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2

[PATCH 6/8] arm64: dts: meson: disable vrtc for VIM3L boards meson-khadas-vim3

2020-09-24 Thread Artem Lapkin
vrtc not used for meson-khadas-vim3 Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index

[PATCH 7/8] arm64: dts: meson: enable RTC for VIM1 meson-gxl-s905x-khadas-vim

2020-09-24 Thread Artem Lapkin
enable RTC for VIM1 meson-gxl-s905x-khadas-vim Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic

[PATCH 4/8] arm64: dts: meson: remove fixed memory size for Khadas VIM3/VIM3L meson-khadas-vim3

2020-09-24 Thread Artem Lapkin
no need force setup memory size! VIM3 boards have 2Gb and 4Gb variants memory size will be automatically defined mainline uboot works properly in any case but old vendor uboot works not properly for 4Gb variants Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi

[PATCH 5/8] arm64: dts: meson: remove reset-gpios from ethernet node for VIM2 meson-gxm-khadas-vim2

2020-09-24 Thread Artem Lapkin
1) fix down/up ethernet interface - need remove reset-gpios for ethernet node `ifconfig eth0 down && ifconfig eth0 up` # didnt works with reset-gpios 2) add max-speed 1Gbit Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +- 1 file ch

[PATCH 8/8] arm64: dts: meson: enable RTC for VIM2 meson-gxm-khadas-vim2

2020-09-24 Thread Artem Lapkin
enable RTC for VIM2 meson-gxm-khadas-vim2 Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm

[PATCH 1/8] arm64: dts: meson: update spifc node on Khadas VIM2 meson-gxm-khadas-vim2

2020-09-24 Thread Artem Lapkin
1) The VIM2 Boards use w25q128 spi chip only not w25q32 or w25q16 it's not really seriously becouse have 'jedec,spi-nor' which have auto chips identifications 2) max-frequency is 104Mhz Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 6 +++--- 1

[PATCH 2/8] arm64: dts: meson: update leds node on Khadas VIM3/VIM3L boards meson-khadas-vim3

2020-09-24 Thread Artem Lapkin
GPIO_ACTIVE_LOW replaced to GPIO_ACTIVE_HIGH for white and red leds Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot

[PATCH 3/8] arm64: dts: meson: update leds node on Khadas VIM3/VIM3L board meson-khadas-vim3

2020-09-24 Thread Artem Lapkin
add aliases names led_white and led_red for white and red leds Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts

[PATCH 0/8] dts updates and fixes for Khadas VIM1 VIM2 VIM3 VIML boards

2020-09-24 Thread Artem Lapkin
dts updates and fixes for Khadas VIM1 VIM2 VIM3 VIML boards Artem Lapkin (8): arm64: dts: meson: update spifc node on Khadas VIM2 meson-gxm-khadas-vim2 arm64: dts: meson: update leds node on Khadas VIM3/VIM3L boards meson-khadas-vim3 arm64: dts: meson: update leds node on Khadas

[PATCH v2 1/2] arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz Signed-off-by: Artem Lapkin Tested-by: Artem Lapkin --- arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi

[PATCH v2 2/2] arm64: dts: rockchip: add ir-receiver node to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
add missed ir-receiver and ir_rx pinctl nodes to rk3399-khadas-edge Khadas Edge board uses gpio-ir-receiver on RK_PB6 gpio Signed-off-by: Artem Lapkin Tested-by: Artem Lapkin --- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff

[PATCH v2 0/2] arm64: dts: rockchip: add spiflash and ir-receiver nodes to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
add missed spiflash and ir-receiver dts nodes to Khadas Edge Board Artem Lapkin (2): arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge arm64: dts: rockchip: add ir-receiver node to rk3399-khadas-edge .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 24 +++ 1 file

[PATCH 1/2] arm64: dts: rockchip: rk3399-khadas-edge: add missed spiflash node

2020-09-23 Thread Artem Lapkin
From: Artem Lapkin The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz --- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi b/arch/arm64/boot/dts/rockchip

[PATCH 2/2] arm64: dts: rockchip: rk3399-khadas-edge add missed ir-receiver and ir_rx pinctl nodes

2020-09-23 Thread Artem Lapkin
From: Artem Lapkin add missed ir receivier to Khadas Edge board Khadas Edge uses gpio-ir-receiver on RK_PB6 gpio --- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi| 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi b

[PATCH 0/2] arm64: dts: rockchip: rk3399-khadas-edge: missed nodes

2020-09-23 Thread Artem Lapkin
From: Artem Lapkin add missed spiflash and ir-receiver dts nodes to Khadas Edge Board Artem Lapkin (2): arm64: dts: rockchip: rk3399-khadas-edge: add missed spiflash node arm64: dts: rockchip: rk3399-khadas-edge: add missed ir-recevier and ir_rx pinctl nodes .../boot/dts/rockchip