Repository navigation
net: ipa: add Qualcomm SC8180X (IPA v4.1) support and SoC DT node - #203
Open
robertijtsma wants to merge 4 commits into
Open
robertijtsma wants to merge 4 commits into
robertijtsma wants to merge 4 commits into
Conversation
Document the Qualcomm SC8180X (IPA v4.1) compatible string in the Qualcomm IPA binding. Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com>
Add the IPA v4.1 register table (ipa_regs_v4_1) and map IPA_VERSION_4_1 to gsi_regs_v4_0 so SC8180X IPA v4.1 hardware can be driven by the Qualcomm IPA driver. Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com>
Add the SC8180X (IPA v4.1) endpoint, resource group, shared memory, IMEM (0x146bd000), and backward-compatibility configuration table (ipa_data_v4_1) and bind it to the qcom,sc8180x-ipa compatible. Adapted from downstream Qualcomm IPA v4.1 / Robin Snyders' SC8180X tables for Linux 7.3's ipa_mem_data layout. Tested on Microsoft Surface Pro X SQ2 (SC8180X, Snapdragon X24 LTE modem) with rmnet_ipa0 MAPv4 and ModemManager qcom-soc QMAP bearers. Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com>
Add the disabled IPA v4.1 (ipa@1e40000) SoC node to sc8180x.dtsi with its SMMU streams, register regions, GIC/SMP2P interrupts, RPMh core clock, interconnects, AOSS QMP handle, and SMP2P SMEM states so board DTS files can enable IPA with their board-specific firmware-name and reserved memory region. Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com>
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.
Adds Qualcomm IPA v4.1 support for SC8180X (e.g. Microsoft Surface Pro X with integrated Snapdragon X24 4G LTE modem) as a clean 4-commit series:
dt-bindings: net: qcom,ipa: add qcom,sc8180x-ipa compatible: documentsqcom,sc8180x-ipainDocumentation/devicetree/bindings/net/qcom,ipa.yaml.net: ipa: add IPA v4.1 register definitions: addsdrivers/net/ipa/reg/ipa_reg-v4.1.c(ipa_regs_v4_1) and mapsIPA_VERSION_4_1togsi_regs_v4_0.net: ipa: add SC8180X (IPA v4.1) configuration data: addsdrivers/net/ipa/data/ipa_data-v4.1.c(ipa_data_v4_1, adapted from downstream Qualcomm IPA v4.1 / Robin Snyders' SC8180X tables for Linux 7.3) and bindsqcom,sc8180x-ipainipa_main.c.arm64: dts: qcom: sc8180x: add IPA node: adds the disabledipa@1e40000SoC node tosc8180x.dtsi(using existingmodem_smp2p_ipa_in/modem_smp2p_ipa_outandMASTER_IPA/SLAVE_IPA_CFGinterconnects) so board DTS files can enable IPA with their ownfirmware-nameandmemory-region.Verification
scripts/checkpatch.plwith 0 errors and 0 style warnings.drivers/net/ipa/ipa.kocompiles cleanly against7.3.1-1-surfacewith bothipa_regs_v4_1andipa_data_v4_1linked.sc8180x.dtsipreprocesses and compiles cleanly withdtc(0 errors, 0 warnings onipa@1e40000).rmnet_ipa0(MAPv4),ModemManagerqcom-soc, and multiplexedqmapmux0.04G LTE data traffic.