The Anbernic and Odroid Go have different panels and take differently named supplies, so move all the supplies to DTS defining actual panel to fix warnings like: rk3326-odroid-go3.dtb: panel@0: 'IOVCC-supply' is a required property rk3326-odroid-go3.dtb: panel@0: 'iovcc-supply', 'vdd-supply' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230326204520.80859-1-krzysztof.kozlowski@linaro.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
36 lines
730 B
Plaintext
36 lines
730 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Hardkernel Co., Ltd
|
|
* Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
|
|
* Copyright (c) 2022 Maya Matuszczyk <maccraft123mc@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3326-odroid-go.dtsi"
|
|
|
|
/ {
|
|
model = "Anbernic RG351M";
|
|
compatible = "anbernic,rg351m", "rockchip,rk3326";
|
|
|
|
vibrator {
|
|
compatible = "pwm-vibrator";
|
|
pwms = <&pwm0 0 1000000 0>;
|
|
pwm-names = "enable";
|
|
};
|
|
};
|
|
|
|
/delete-node/ &builtin_gamepad;
|
|
/delete-node/ &vcc_host; /* conflicts with pwm vibration motor */
|
|
|
|
&internal_display {
|
|
compatible = "elida,kd35t133";
|
|
iovcc-supply = <&vcc_lcd>;
|
|
vdd-supply = <&vcc_lcd>;
|
|
};
|
|
|
|
&pwm0 {
|
|
status = "okay";
|
|
};
|
|
|
|
/delete-node/ &rk817_charger;
|