forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 20
[6.15] Switch ALL Novatek nt36672a based panels to common driver #89
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
Open
minlexx
wants to merge
17
commits into
qcom-sdm660-6.15.y
Choose a base branch
from
alexeymin/6.15-novatek-tianma-panels
base: qcom-sdm660-6.15.y
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
37801a9
drm/panel: nt36672a: Switch to modern refcounted allocation API
minlexx 3c4f207
drm/panel: nt36672a: Switch from 2-byte arrays to init functions
minlexx 9d1dbc1
drm/panel: nt36672a: Change driver name to novatek for consistency
minlexx 0a7ed1a
drm/panel: nt36672a: Add Tianma panel used in Xiaomi Redmi Note 7
minlexx bfcb07f
drm/panel: nt36672a: Add Tianma panel used in Xiaomi Mi A2
minlexx acee180
drm/panel: nt36672a: Add Tianma panel used in Xiaomi Redmi Note 6 Pro
minlexx 929b896
drm/panel: nt36672a: Add TXD panel used in Asus Zenfone Max Pro M1
iAboothahir 339f2e7
fixup! arm64: dts: qcom: sdm660-xiaomi-lavender: Split by display
minlexx 38e5231
fixup! arm64: dts: qcom: sdm660: Add device tree for Xiaomi Mi A2 (ja…
minlexx 99375d3
fixup! arm64: dts: qcom: add device-tree for Redmi Note 6 Pro (tulip)
minlexx 4308f89
fixup! arm64: dts: qcom: Add initial support for asus-x00td
iAboothahir c1fbf6f
Input: novatek-nvt-ts - support being panel follower
minlexx 90e8467
drm/panel: nt36672a: Add Shenchao panel used in Xiaomi Redmi Note 7
flamingradian dfd0774
dt-bindings: arm: qcom: Add xiaomi-lavender with shenchao panel
flamingradian dfda14f
arm64: dts: qcom: add Xiaomi Redmi Note 7 with Shenchao panel
flamingradian 9fb9de9
HACK drm/panel: move some dsi commands from unprepare to disable
minlexx e383456
dt-bindings: display: novatek,nt36672a: Add 5 new panels
minlexx 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
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
64 changes: 64 additions & 0 deletions
64
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender-shenchao.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,64 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
/* | ||
* Copyright (c) 2024, Barnabas Czeman <[email protected]> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "sdm660-xiaomi-lavender-common.dtsi" | ||
|
||
/ { | ||
model = "Xiaomi Redmi Note 7 (Shenchao)"; | ||
compatible = "xiaomi,lavender-shenchao", "qcom,sdm660"; | ||
}; | ||
|
||
&blsp_i2c1 { | ||
status = "okay"; | ||
|
||
touchscreen@1 { | ||
compatible = "novatek,nt36672a-ts"; | ||
reg = <0x1>; | ||
|
||
iovcc-supply = <&vreg_l11a_1p8>; | ||
interrupts-extended = <&tlmm 67 IRQ_TYPE_EDGE_RISING>; | ||
|
||
panel = <&panel>; | ||
|
||
pinctrl-names = "default", "sleep"; | ||
pinctrl-0 = <&ts_pins_active>; | ||
pinctrl-1 = <&ts_int_sleep &ts_rst_sleep>; | ||
|
||
reset-gpios = <&tlmm 66 GPIO_ACTIVE_LOW>; | ||
|
||
touchscreen-size-x = <1080>; | ||
touchscreen-size-y = <2340>; | ||
}; | ||
}; | ||
|
||
&panel { | ||
compatible = "novatek,nt36672a-shenchao-lavender", "novatek,nt36672a"; | ||
vddio-supply = <&vreg_l11a_1p8>; | ||
}; | ||
|
||
&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
Oops, something went wrong.
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.