Add support for OnePlus Nord N10 (billie)#8
Conversation
Add a compatible for OnePlus Nord N10 5G (billie) Signed-off-by: Saalim Quadri <danascape@gmail.com>
Add initial device tree support for OnePlus Nord N10. The device successfully boots to framebuffer console. The initial bring-up work was done by Henri Dellal. This version was rewritten and independently implemented with incremental testing during bring-up. Co-developed-by: Anri Dellal <anridellal@yandex.ru> Signed-off-by: Saalim Quadri <danascape@gmail.com>
Include pm6350 to inherit its GPIO and button configuration, and configure "resin" to serve as volume up, and gpio2 as volume down. Signed-off-by: Saalim Quadri <danascape@gmail.com>
|
This regulator configuration was adopted from downstream, and is identical to the sm7225 FairPhone 4 and Sony Xperia 10 III. Signed-off-by: Saalim Quadri <danascape@gmail.com>
Enable QUP and GPI DMA hardware to be able to add functioning I2C nodes later. Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Signed-off-by: Saalim Quadri <danascape@gmail.com>
Add device tree bindings for Himax HX83112F-based DSI display panels, such as the Tianma FHD panel used in the OnePlus Nord N10 5G. Signed-off-by: Saalim Quadri <danascape@gmail.com>
Signed-off-by: Saalim Quadri <danascape@gmail.com>
Add required nodes to enable panel and GPU on OnePlus Nord N10 Signed-off-by: Saalim Quadri <danascape@gmail.com>
| qcom,msm-id = <434 0x10000>, <459 0x10000>; | ||
| qcom,board-id = <0x1000b 0>; | ||
|
|
||
| lcdb_dummy: regulator-lcdb-dummy { |
There was a problem hiding this comment.
sort the nodes alphabetically, regulator-* comes after chosen for example
| gpio-keys { | ||
| compatible = "gpio-keys"; | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&key_vol_down_default>; |
|
|
||
| &dispcc { | ||
| status = "okay"; | ||
| }; |
There was a problem hiding this comment.
this is enabled by default, you can drop these 3 lines
| }; | ||
|
|
||
| &gpu_zap_shader { | ||
| firmware-name = "qcom/sm6350/billie/a615_zap.mbn"; |
|
|
||
| status = "okay"; | ||
|
|
||
| dsi_panel: panel@0 { |
There was a problem hiding this comment.
no need for the dsi_panel label I think?
| vsn-supply = <&lcdb_dummy>; | ||
|
|
||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&panel_reset_pin &te_gpio>; |
|
|
||
| &pm6350_resin { | ||
| linux,code = <KEY_VOLUMEUP>; | ||
| status = "okay"; |
| }; | ||
|
|
||
| &sdhc_2 { | ||
| status = "okay"; |
There was a problem hiding this comment.
status should be the last property
| }; | ||
|
|
||
| &tlmm { | ||
| gpio-reserved-ranges = <13 4>, <56 2>; |
There was a problem hiding this comment.
I guess this comment was in the previous PR already, but if you know what pins these are, it'd be good to add a comment
There was a problem hiding this comment.
I will, one is NFC, other is FP iir, Ill confirm and add comments as needed
|
|
||
| &ufs_mem_phy { | ||
| status = "okay"; | ||
| }; |
There was a problem hiding this comment.
Yes it does, I am flashing the image to userdata/super partition to test and it works with no issues
| dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb | ||
| dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-ginkgo.dtb | ||
| dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb | ||
| dtb-$(CONFIG_ARCH_QCOM) += sm6350-oneplus-nord-billie.dtb |
There was a problem hiding this comment.
why is nord in the filename? Not just sm6350-oneplus-billie.dt[bs]?
|
Please run |
I literally forgot the command, yes I will update and tag. thanks |
No description provided.