From 6bf0741521f38e430de7c6326ad4ee12697828b7 Mon Sep 17 00:00:00 2001 From: Imran Shaik Date: Thu, 13 Oct 2022 10:27:46 +0530 Subject: [PATCH] dt-bindings: ptp: Add bindings for etu slice property Add binding for "qcom,etu-slice" property and update the bindings of other ETU properties. Change-Id: Ibf6dbf55dfdd8f76c83fae4ac8ca9975ac53ccbf --- bindings/ptp/qcom,ptp-tsc.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bindings/ptp/qcom,ptp-tsc.txt b/bindings/ptp/qcom,ptp-tsc.txt index 0b61afef..755aa9da 100644 --- a/bindings/ptp/qcom,ptp-tsc.txt +++ b/bindings/ptp/qcom,ptp-tsc.txt @@ -23,9 +23,13 @@ Optional properties: - qcom,tsc-nsec-update: boolean property to indicate the TSC counters have values in nanoseconds, rather than in secs and nanoseconds. -- qcom,etu-event-sel: array of ETU slice numbers. -- qcom,etu-event-names: ETU slice names for the corresponding - event slice numbers. +- qcom,etu-slice: array of ETU slice numbers corresponding to the ETU sel. + In case this property is not defined the sel number will be + considered as the slice number for ETU offset calculation. +- qcom,etu-event-sel: array of ETU event sel numbers for the corresponding + ETU slice numbers. +- qcom,etu-event-names: ETU event sel names for the corresponding + event sel numbers. - interrupts: interrupt numbers associated with the ETU slice. - interrupt-names: names corresponding to the above interrupt numbers. - pinctrl-<#> : pinctrl configurations @@ -44,6 +48,7 @@ Example: assigned-clocks = <&gcc GCC_TSC_CNTR_CLK>, <&gcc GCC_TSC_ETU_CLK>; assigned-clock-rates = <500000000> , <500000000>; + qcom,etu-slice = <1 5>; qcom,etu-event-sel = <1 3>; qcom,etu-event-names = "gps_pps", "tod_pps";