Message ID | 20230207103207.759-1-quic_youghand@quicinc.com |
---|---|
Headers | show |
Series | dt: bindings: add dt entry for XO calibration support | expand |
Add dt binding to get XO calibration data support for Wi-Fi RF clock. Retrieve the XO trim offset via system firmware (e.g., device tree), especially in the case where the device doesn't have a useful EEPROM on which to store the calibrated XO offset. Calibrated XO offset is sent to firmware, which compensate the RF clock drift by programing the XO trim register. Changes from v2: - Added proper commit text Changes from v1: - Sending the series to right list Youghandhar Chintala (2): dt: bindings: net: ath11k: add dt entry for XO calibration support wifi: ath11k: PMIC XO cal data support .../bindings/net/wireless/qcom,ath11k.yaml | 4 ++++ drivers/net/wireless/ath/ath11k/ahb.c | 8 +++++++ drivers/net/wireless/ath/ath11k/core.h | 3 +++ drivers/net/wireless/ath/ath11k/qmi.c | 24 +++++++++++++++++++ drivers/net/wireless/ath/ath11k/qmi.h | 4 +++- 5 files changed, 42 insertions(+), 1 deletion(-)
On 07/02/2023 11:32, Youghandhar Chintala wrote: > Add dt binding to get XO calibration data support for Wi-Fi RF clock. This is a friendly reminder during the review process. It seems my previous comments were not fully addressed. Maybe my feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Several comments were ignored. Use subject prefixes matching the subsystem (which you can get for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching). Subject: drop second/last, redundant "dt entry for". The "dt-bindings" prefix is already stating that these are bindings. dt-bindings: net: qcom,ath11k: add XO frequency offset > > Retrieve the XO trim offset via system firmware (e.g., device tree), > especially in the case where the device doesn't have a useful EEPROM > on which to store the calibrated XO offset. > Calibrated XO offset is sent to firmware, which compensate the RF clock > drift by programing the XO trim register. > > Signed-off-by: Youghandhar Chintala <quic_youghand@quicinc.com> > --- > .../devicetree/bindings/net/wireless/qcom,ath11k.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > index f7cf135aa37f..4745251e70d4 100644 > --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > @@ -41,6 +41,10 @@ properties: > * reg > * reg-names > > + xo-cal-data: > + description: > + XO frequency offset to program the XO trim register This is a friendly reminder during the review process. It seems my previous comments were not fully addressed. Maybe my feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Thank you. (missing type/ref, vendor prefix). Best regards, Krzysztof
Add dt binding to get XO calibration data support for Wi-Fi RF clock. Signed-off-by: Youghandhar Chintala <quic_youghand@quicinc.com> Changes from v1: - Sending the series to right list Youghandhar Chintala (2): dt: bindings: add dt entry for XO calibration support wifi: ath11k: PMIC XO cal data support .../bindings/net/wireless/qcom,ath11k.yaml | 4 ++++ drivers/net/wireless/ath/ath11k/ahb.c | 8 +++++++ drivers/net/wireless/ath/ath11k/core.h | 3 +++ drivers/net/wireless/ath/ath11k/qmi.c | 24 +++++++++++++++++++ drivers/net/wireless/ath/ath11k/qmi.h | 4 +++- 5 files changed, 42 insertions(+), 1 deletion(-)