Commit 9861aefc authored by Maud Spierings's avatar Maud Spierings Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: x1e80100-vivobook-s15: Use the samsung,atna33xc20 panel driver



The Asus vivobook s15 uses the ATNA56AC03 panel.
This panel is controlled by the atna33xc20 driver instead of the generic
edp-panel driver

Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: default avatarMaud Spierings <maud_spierings@hotmail.com>
Link: https://lore.kernel.org/r/20241204-asus_qcom_display-v6-1-91079cd8234e@hotmail.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 16a7fed1
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>

#include "x1e80100.dtsi"
#include "x1e80100-pmics.dtsi"
@@ -407,9 +408,13 @@ &mdss_dp3 {

	aux-bus {
		panel {
			compatible = "edp-panel";
			compatible = "samsung,atna56ac03", "samsung,atna33xc20";
			enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
			power-supply = <&vreg_edp_3p3>;

			pinctrl-0 = <&edp_bl_en>;
			pinctrl-names = "default";

			port {
				edp_panel_in: endpoint {
					remote-endpoint = <&mdss_dp3_out>;
@@ -475,6 +480,18 @@ &pcie6a_phy {
	status = "okay";
};

&pmc8380_3_gpios {
	edp_bl_en: edp-bl-en-state {
		pins = "gpio4";
		function = "normal";
		power-source = <1>; /* 1.8 V */
		qcom,drive-strength = <PMIC_GPIO_STRENGTH_MED>;
		bias-pull-down;
		input-disable;
		output-enable;
	};
};

&qupv3_0 {
	status = "okay";
};