Skip to content
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

Nothing Phone 1 Improvements #5

Open
wants to merge 17 commits into
base: sc7280-6.12.y
Choose a base branch
from

Conversation

JIaxyga
Copy link

@JIaxyga JIaxyga commented Oct 24, 2024

What we need to enable comparing with FP5:
CONFIG_NFC_NXP_NCI=m
CONFIG_NFC_NXP_NCI_I2C=m
CONFIG_SND_SOC_TFA9872=m
CONFIG_DRM_PANEL_VISIONOX_RM692E5=m
CONFIG_TOUCHSCREEN_FTS=y

@JIaxyga JIaxyga marked this pull request as ready for review October 24, 2024 21:18
@JIaxyga JIaxyga marked this pull request as draft October 25, 2024 15:37
@JIaxyga JIaxyga marked this pull request as ready for review October 25, 2024 16:12
@z3ntu
Copy link
Member

z3ntu commented Nov 19, 2024

Apart from that comment it looks fine. For panel driver specifically I haven't looked much, I imagine all/most of it is generated? If so, should be fine but upstream will tell you more :)

@z3ntu
Copy link
Member

z3ntu commented Nov 19, 2024

Also if you could retarget on sc7280-6.12.y, would be nice

@JIaxyga
Copy link
Author

JIaxyga commented Nov 20, 2024

Apart from that comment it looks fine. For panel driver specifically I haven't looked much, I imagine all/most of it is generated? If so, should be fine but upstream will tell you more :)

For the most part yes, but the generator still does not use multi functions, which speed up the execution of the *_on function by about 12%. Also, the generator does not add regulators and multi-timings for 60/90Hz.

@JIaxyga
Copy link
Author

JIaxyga commented Nov 20, 2024

Also if you could retarget on sc7280-6.12.y, would be nice

Yes, sure. No problem

@JIaxyga JIaxyga changed the base branch from sc7280-6.11.y to sc7280-6.12.y November 20, 2024 17:47
@JIaxyga
Copy link
Author

JIaxyga commented Nov 20, 2024

oops

JIaxyga and others added 16 commits November 20, 2024 20:48
The SC7280, SM7325, and QCM6490 platforms feature an 8-core setup
consisting of:
- 1x Kryo 670 Prime (Cortex-A78) / Kryo 670 Gold Plus (Cortex-A78)
- 3x Kryo 670 Gold (Cortex-A78)
- 4x Kryo 670 Silver (Cortex-A55)
(The CPU cores in the SC7280 are simply called Kryo, but are
nevertheless based on the same Cortex A78 and A55).

Use the correct compatibility.

Signed-off-by: Danila Tikhonov <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Caleb Connolly <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
A642L (speedbin 0x81) uses index 4, so this commit sets the fourth bit
for A642L supported opps.

Signed-off-by: Eugene Lepshy <[email protected]>
Signed-off-by: Danila Tikhonov <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
The Qualcomm Snapdragon 778G/778G+/780G/782G uses CPUs named Kryo 670.
Add the compatible string in the documentation.

Signed-off-by: Danila Tikhonov <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
The Snapdragon 778G (SM7325) / 778G+ (SM7325-AE) / 782G (SM7325-AF)
is software-wise very similar to the Snapdragon 7c+ Gen 3 (SC7280).

It uses the Kryo670.

Signed-off-by: Eugene Lepshy <[email protected]>
Signed-off-by: Danila Tikhonov <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Add entry for Nothing Technology Limited (https://nothing.tech/)

Signed-off-by: Danila Tikhonov <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Nothing Phone 1 (nothing,spacewar) is a smartphone based on the SM7325
SoC.

Signed-off-by: Danila Tikhonov <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Add device tree for the Nothing Phone 1 (nothing,spacewar) smartphone
which is based on the SM7325 SoC.

Supported features are, as of now:
* USB & UFS
* Debug UART
* Display via SimpleFB
* Power & volume buttons
* PMIC GLink
* Remoteprocs (ADSP, CDSP, MPSS, WPSS)
* WiFi & Bluetooth
* IPA
* VPU Iris (Venus)
* NFC
* Flash/torch LED
* RTC
* Device-specific thermals
* Various plumbing like regulators, i2c, spi, cci, etc

Signed-off-by: Eugene Lepshy <[email protected]>
Co-developed-by: Danila Tikhonov <[email protected]>
Signed-off-by: Danila Tikhonov <[email protected]>
Link:
https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
The PN553 is another NFC chip from NXP, document the compatible in the
bindings.

Signed-off-by: Danila Tikhonov <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Rob Herring (Arm) <[email protected]>
Link:
https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Not for upstreaming as is.

Signed-off-by: Vladimyr Lypak <[email protected]>
Signed-off-by: Gabriel David <[email protected]>

ASoC: tfa9872: Remove non_legacy_dai_naming
As there is mappings for other bpc cases, this guarding not needed
anymore.

Signed-off-by: Eugene Lepshy <[email protected]>
The Visionox RM692E5 is a 6.55” AMOLED panel used in Nothing Phone (1)
(sm7325-nothing-spacewar).

Signed-off-by: Danila Tikhonov <[email protected]>
Add the driver for Visionox RM692E5 panel support found in Nothing
Phone (1).

Signed-off-by: Eugene Lepshy <[email protected]>
Co-developed-by: Danila Tikhonov <[email protected]>
Signed-off-by: Danila Tikhonov <[email protected]>
Changes:
- fts: replace absent const
- fts: migration to use driver as module
- fts: fix remove function return type
- fts: temporary disable any screen handling
- fts: migrate to using of_get_named_gpio
- fts: disable power control for fts for now
- fts: enable pinctrl
See all commits:
https://github.com/mainlining/linux/commits/danila/spacewar

Signed-off-by: Eugene Lepshy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants