forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 19
arm64: dts: qcom: sdm660-xiaomi-lavender: Split by display #26
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
Merged
minlexx
merged 5 commits into
sdm660-mainline:qcom-sdm660-6.8.y
from
barni2000:lavender_split
Apr 25, 2024
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6d75938
arm64: dts: qcom: sdm660-xiaomi-lavender: Enable display
minlexx f271477
arm64: dts: qcom: sdm660-xiaomi-lavender: Split by display
barni2000 af238ae
drivers: gpu: drm: panel: add boe td4320
barni2000 234d7e1
dt-bindings: arm: qcom: Add lavender variants
barni2000 edf025d
arm64: sdm660_defconfig: add CONFIG_DRM_PANEL_BOE_TD4320
barni2000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
/* | ||
* Copyright (c) 2024, Barnabas Czeman <trabarni@gmail.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "sdm660-xiaomi-lavender-common.dtsi" | ||
|
||
/ { | ||
model = "Xiaomi Redmi Note 7 (Boe)"; | ||
compatible = "xiaomi,lavender-boe", "qcom,sdm660"; | ||
}; | ||
|
||
&panel { | ||
compatible = "boe,td4320"; | ||
}; | ||
minlexx marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender-tianma.dts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
/* | ||
* Copyright (c) 2024, Barnabas Czeman <trabarni@gmail.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "sdm660-xiaomi-lavender-common.dtsi" | ||
|
||
/ { | ||
model = "Xiaomi Redmi Note 7 (Tianma)"; | ||
compatible = "xiaomi,lavender-tianma", "qcom,sdm660"; | ||
barni2000 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
}; | ||
|
||
&blsp_i2c1 { | ||
status = "okay"; | ||
|
||
/* Novatek NT36672A touchscreen */ | ||
touchscreen@62 { | ||
compatible = "novatek,nt36525"; | ||
reg = <0x62>; | ||
vdd-supply = <&vreg_l11a_1p8>; | ||
interrupt-parent = <&tlmm>; | ||
interrupts = <67 IRQ_TYPE_EDGE_RISING>; | ||
pinctrl-names = "default", "sleep"; | ||
pinctrl-0 = <&ts_pins_active>; | ||
pinctrl-1 = <&ts_int_sleep &ts_rst_sleep>; | ||
reset-gpios = <&tlmm 66 GPIO_ACTIVE_HIGH>; | ||
touchscreen-size-x = <1080>; | ||
touchscreen-size-y = <2340>; | ||
}; | ||
}; | ||
|
||
&panel { | ||
compatible = "tianma,nt36672a-xiaomi-lavender-simple"; | ||
}; | ||
|
||
&tlmm { | ||
ts_pins_active: ts-pins-active-state { | ||
pins = "gpio66", "gpio67"; | ||
function = "gpio"; | ||
drive-strength = <16>; | ||
bias-pull-up; | ||
}; | ||
|
||
ts_rst_sleep: ts-rst-sleep-state { | ||
pins = "gpio66"; | ||
function = "gpio"; | ||
drive-strength = <2>; | ||
bias-pull-down; | ||
}; | ||
|
||
ts_int_sleep: ts-int-sleep-state { | ||
pins = "gpio67"; | ||
function = "gpio"; | ||
drive-strength = <2>; | ||
bias-disable; | ||
}; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.