Repository navigation
arm64: dts: apple: t8140-j700: enable uart0 - #1574
Merged
Merged
Conversation
uart0 sits behind the SIO and UART_P power states, which are now described correctly. Enable it with clkref as its clocks, like uart4 and uart5, since the PMGR clock provider is not enabled on this SoC yet. Nothing is attached to it on the J700. uart0 probes before uart4 and uart5, which wait for pinctrl, so the ttySAC numbers would depend on probe order. Give the three Samsung ports fixed aliases: uart4 is ttySAC1, uart5 is ttySAC2 and uart0 is ttySAC3. serial0 stays the DockChannel UART. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Buildbox gates: |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enables uart0 (
serial@385200000) on the J700 and gives the three Samsung UARTs fixedserialNaliases.Test (Neo, J700)
Kernel 7.3.0-aurora-aesref2 (integration/aurora 9b181ec base). The DTB is the integration j700 DTB with these three changes applied, booted as a RAM-only trial.
385200000.serial: ttySAC3 MMIO32:0x0000000385200000 (irq = 46) is a APPLE S5L, bound to samsung-uart; uart4/uart5 on ttySAC1/ttySAC2.phy-apple-atc: Failed to lock pipehandler, then the sn201202x mux retry succeeds), which also shows up on boots without this change.🤖 Generated with Claude Code