diff --git a/bindings/platform/msm/ioss.txt b/bindings/platform/msm/ioss.txt new file mode 100644 index 000000000000..c7221ea845fb --- /dev/null +++ b/bindings/platform/msm/ioss.txt @@ -0,0 +1,18 @@ +Qualcomm Technologies Inc. IPA Offload Sub-System + +IPA Offload Sub-system is a generic kernel framework that enables a +third-party ethernet driver to attach an ethernet peripheral to IPA +for hardware offloading of tethered data paths. The framework +provides a generic API interface that ethernet drivers can use to +register their hardware functionality with the sub-system in order +to enable IPA offload. + +Required properties: + +- compatible : should be "qcom,ioss-v2" + +Example: + + ioss: qcom,ioss { + compatible = "qcom,ioss-v2"; + }; diff --git a/bindings/platform/msm/ioss_device.txt b/bindings/platform/msm/ioss_device.txt new file mode 100644 index 000000000000..85b9366f04a3 --- /dev/null +++ b/bindings/platform/msm/ioss_device.txt @@ -0,0 +1,25 @@ +Qualcomm Technologies Inc. IPA Offload Sub-System Device + +IPA Offload Sub-system is a generic kernel framework that enables a +third-party ethernet driver to attach an ethernet peripheral to IPA +for hardware offloading of tethered data paths. + +For each device attached to IOSS, we can define IPA offload data path +configuration through below devicetree properties. + +Required properties: + +- compatible : should be "qcom,ioss-v2-device" +- qcom,ioss : specify which IOSS platform device to be used +- qcom,ioss_interfaces : to specify interface names and its channel config + +Example: + +&pcie_rc1 { + aqc_x2: qcom,aqc@1 { + compatible = "qcom,ioss-v2-device"; + + qcom,ioss = <&ioss>; + qcom,ioss_interfaces = + <&ioss_aqc_eth0>; +};