-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm64: dts: qcom: msm8939-huawei-rio: Add initial device tree #385
base: msm8916/6.12.1
Are you sure you want to change the base?
arm64: dts: qcom: msm8939-huawei-rio: Add initial device tree #385
Conversation
c632d86
to
18cb6d5
Compare
Signed-off-by: Zhiyuan Bai <[email protected]>
18cb6d5
to
e0c862c
Compare
@@ -0,0 +1,328 @@ | |||
// SPDX-License-Identifier: GPL-2.0-only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message: the prefix is wrong, I'd also appreciate if you could fill in the message like it's done for other device introduction commits.
// SPDX-License-Identifier: GPL-2.0-only | ||
|
||
/* | ||
*Copyright (c) 2024 Zhiyuan Bai<[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
*Copyright (c) 2024 Zhiyuan Bai<[email protected]> | |
* Copyright (c) 2024 Zhiyuan Bai <[email protected]> |
}; | ||
&blsp_i2c5 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
}; | |
&blsp_i2c5 { | |
}; | |
&blsp_i2c5 { |
compatible = "cypress,tt21000"; | ||
|
||
reg = <0x1c>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compatible = "cypress,tt21000"; | |
reg = <0x1c>; | |
compatible = "cypress,tt21000"; | |
reg = <0x1c>; |
&mdss { | ||
status = "okay"; | ||
}; | ||
|
||
&mdss_dsi0 { | ||
pinctrl-0 = <&mdss_default>; | ||
pinctrl-1 = <&mdss_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
status = "okay"; | ||
|
||
panel@0 { | ||
compatible = "huawei,rio-panel"; | ||
reg = <0>; | ||
|
||
vsp-supply = <®_lcd_pos>; | ||
vsn-supply = <®_lcd_neg>; | ||
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; | ||
|
||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&mdss_dsi0_out>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
&mdss_dsi0_out { | ||
data-lanes = <0 1 2 3>; | ||
remote-endpoint = <&panel_in>; | ||
}; | ||
|
||
&mdss_dsi0_phy { | ||
qcom,dsi-phy-regulator-ldo-mode; | ||
status = "okay"; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is optional but if you split up display into a separate commit (i.e. like 3e3d375) then you can upstream most of the other changes already, which I'd greatly appreciate
Not fully working yet.
Tested peripherals:
Untested peripherals:
TODO: