From 2f2c5ca0aab285a60d7b4c80856caec19b969906 Mon Sep 17 00:00:00 2001 From: Lakshit Tyagi Date: Wed, 17 Feb 2021 11:28:13 +0530 Subject: [PATCH] ARM: dts: msm: Add IOSS v2 driver bindings Add devicetree bindings to support IOSS v2 driver. Change-Id: I31907aededf7e742953b3447f37179b6d7ac9395 --- bindings/platform/msm/ioss.txt | 18 ++++++++++++++++++ bindings/platform/msm/ioss_device.txt | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 bindings/platform/msm/ioss.txt create mode 100644 bindings/platform/msm/ioss_device.txt 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>; +};