* [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties
@ 2025-02-25 9:05 Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k " Krzysztof Kozlowski
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Devicetree properties describing exactly the same thing should be
reusable between device bindings. All Qualcomm Atheros WiFi chips needs
certain calibration data, so properties should not be prefixed with
device family (ath10k).
Deprecate qcom,ath10k-calibration-variant and alike, so we gradually
switch to a common property. This will also allow moving these
properties to common schema, if desired.
Why? Because people add qcom,ath12k-calibration-data and probably they
will add qcom,ath13k-calibration-data, qcom,ath14k-calibration-data and
so on.
I will fix DTS in separate series.
Best regards,
Krzysztof
---
Krzysztof Kozlowski (5):
dt-bindings: wireless: ath10k: Strip ath10k prefix from calibration properties
dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property
dt-bindings: wireless: ath12k: Strip ath12k prefix from calibration property
wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties
wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties
.../bindings/net/wireless/qcom,ath10k.yaml | 25 ++++++++++++++++++++--
.../bindings/net/wireless/qcom,ath11k-pci.yaml | 9 +++++++-
.../bindings/net/wireless/qcom,ath11k.yaml | 7 ++++++
.../bindings/net/wireless/qcom,ath12k-wsi.yaml | 13 ++++++++---
drivers/net/wireless/ath/ath10k/core.c | 13 ++++++++---
drivers/net/wireless/ath/ath11k/core.c | 5 ++++-
6 files changed, 62 insertions(+), 10 deletions(-)
---
base-commit: 8936cec5cb6e27649b86fabf383d7ce4113bba49
change-id: 20250225-b-wifi-qcom-calibration-variant-92a02995e996
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k prefix from calibration properties
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
@ 2025-02-25 9:05 ` Krzysztof Kozlowski
2025-02-25 17:13 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property Krzysztof Kozlowski
` (5 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Devicetree properties describing exactly the same thing should be
reusable between device bindings. All Qualcomm Atheros WiFi chips needs
certain calibration data, so properties should not be prefixed with
device family (ath10k).
Deprecate qcom,ath10k-calibration-variant and alike, so we gradually
switch to a common property. This will also allow moving these
properties to common schema, if desired.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Why? Because people add qcom,ath12k-calibration-data and probably they
will add qcom,ath13k-calibration-data, qcom,ath14k-calibration-data and
so on.
---
.../bindings/net/wireless/qcom,ath10k.yaml | 25 ++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
index aace072e2d52a6830b98dd3f52d61380105c8aa1..f2440d39b7ebcda77db592de85573bec902fb334 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
@@ -92,20 +92,41 @@ properties:
ieee80211-freq-limit: true
- qcom,ath10k-calibration-data:
+ qcom,calibration-data:
$ref: /schemas/types.yaml#/definitions/uint8-array
description:
Calibration data + board-specific data as a byte array. The length
can vary between hardware versions.
- qcom,ath10k-calibration-variant:
+ qcom,ath10k-calibration-data:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ deprecated: true
+ description:
+ Calibration data + board-specific data as a byte array. The length
+ can vary between hardware versions.
+
+ qcom,calibration-variant:
$ref: /schemas/types.yaml#/definitions/string
description:
Unique variant identifier of the calibration data in board-2.bin
for designs with colliding bus and device specific ids
+ qcom,ath10k-calibration-variant:
+ $ref: /schemas/types.yaml#/definitions/string
+ deprecated: true
+ description:
+ Unique variant identifier of the calibration data in board-2.bin
+ for designs with colliding bus and device specific ids
+
+ qcom,pre-calibration-data:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description:
+ Pre-calibration data as a byte array. The length can vary between
+ hardware versions.
+
qcom,ath10k-pre-calibration-data:
$ref: /schemas/types.yaml#/definitions/uint8-array
+ deprecated: true
description:
Pre-calibration data as a byte array. The length can vary between
hardware versions.
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k " Krzysztof Kozlowski
@ 2025-02-25 9:05 ` Krzysztof Kozlowski
2025-02-25 17:15 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k " Krzysztof Kozlowski
` (4 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Devicetree properties describing exactly the same thing should be
reusable between device bindings. All Qualcomm Atheros WiFi chips needs
certain calibration data, so properties should not be prefixed with
device family (ath11k).
Deprecate qcom,ath11k-calibration-variant and alike, so we gradually
switch to a common property. This will also allow moving these
properties to common schema, if desired.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml | 9 ++++++++-
Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 7 +++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
index a4425cf196aba58e4181e690a0448236aee15e50..653b319fee880ef0944d8e35c545890b60611756 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
@@ -22,8 +22,15 @@ properties:
reg:
maxItems: 1
+ qcom,calibration-variant:
+ $ref: /schemas/types.yaml#/definitions/string
+ description: |
+ string to uniquely identify variant of the calibration data for designs
+ with colliding bus and device ids
+
qcom,ath11k-calibration-variant:
$ref: /schemas/types.yaml#/definitions/string
+ deprecated: true
description: |
string to uniquely identify variant of the calibration data for designs
with colliding bus and device ids
@@ -127,7 +134,7 @@ examples:
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
- qcom,ath11k-calibration-variant = "LE_X13S";
+ qcom,calibration-variant = "LE_X13S";
};
};
};
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index a69ffb7b3cb884a4eeb51064cc1c8136b433f285..c089677702cf17f3016b054d21494d2a7706ce5d 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -41,8 +41,15 @@ properties:
* reg
* reg-names
+ qcom,calibration-variant:
+ $ref: /schemas/types.yaml#/definitions/string
+ description:
+ string to uniquely identify variant of the calibration data in the
+ board-2.bin for designs with colliding bus and device specific ids
+
qcom,ath11k-calibration-variant:
$ref: /schemas/types.yaml#/definitions/string
+ deprecated: true
description:
string to uniquely identify variant of the calibration data in the
board-2.bin for designs with colliding bus and device specific ids
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k prefix from calibration property
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k " Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property Krzysztof Kozlowski
@ 2025-02-25 9:05 ` Krzysztof Kozlowski
2025-02-25 17:15 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 4/5] wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties Krzysztof Kozlowski
` (3 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Devicetree properties describing exactly the same thing should be
reusable between device bindings. All Qualcomm Atheros WiFi chips needs
certain calibration data, so properties should not be prefixed with
device family (ath12k).
Deprecate qcom,ath12k-calibration-variant and alike, so we gradually
switch to a common property. This will also allow moving these
properties to common schema, if desired.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml
index 318f305405e3b34e66a31bec7460c0a9d020ebc1..589960144fe1d56eb6f15f63a2d594210e045d27 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml
@@ -52,8 +52,15 @@ properties:
reg:
maxItems: 1
+ qcom,calibration-variant:
+ $ref: /schemas/types.yaml#/definitions/string
+ description:
+ String to uniquely identify variant of the calibration data for designs
+ with colliding bus and device ids
+
qcom,ath12k-calibration-variant:
$ref: /schemas/types.yaml#/definitions/string
+ deprecated: true
description:
String to uniquely identify variant of the calibration data for designs
with colliding bus and device ids
@@ -103,7 +110,7 @@ examples:
compatible = "pci17cb,1109";
reg = <0x0 0x0 0x0 0x0 0x0>;
- qcom,ath12k-calibration-variant = "RDP433_1";
+ qcom,calibration-variant = "RDP433_1";
ports {
#address-cells = <1>;
@@ -139,7 +146,7 @@ examples:
compatible = "pci17cb,1109";
reg = <0x0 0x0 0x0 0x0 0x0>;
- qcom,ath12k-calibration-variant = "RDP433_2";
+ qcom,calibration-variant = "RDP433_2";
qcom,wsi-controller;
ports {
@@ -176,7 +183,7 @@ examples:
compatible = "pci17cb,1109";
reg = <0x0 0x0 0x0 0x0 0x0>;
- qcom,ath12k-calibration-variant = "RDP433_3";
+ qcom,calibration-variant = "RDP433_3";
ports {
#address-cells = <1>;
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/5] wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
` (2 preceding siblings ...)
2025-02-25 9:05 ` [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k " Krzysztof Kozlowski
@ 2025-02-25 9:05 ` Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 5/5] wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties Krzysztof Kozlowski
` (2 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Add support for calibration-like properties without 'ath10k' prefix,
while still keeping everything backwards compatible.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/net/wireless/ath/ath10k/core.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index b3294287bce1f7785231d3bf0f90cb15806937b2..6d336e39d6738bbe7973a25e073d03a07b9ae733 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1163,8 +1163,11 @@ int ath10k_core_check_dt(struct ath10k *ar)
if (!node)
return -ENOENT;
- of_property_read_string(node, "qcom,ath10k-calibration-variant",
+ of_property_read_string(node, "qcom,calibration-variant",
&variant);
+ if (!variant)
+ of_property_read_string(node, "qcom,ath10k-calibration-variant",
+ &variant);
if (!variant)
return -ENODATA;
@@ -2259,7 +2262,9 @@ static int ath10k_core_pre_cal_download(struct ath10k *ar)
"boot did not find a pre calibration file, try DT next: %d\n",
ret);
- ret = ath10k_download_cal_dt(ar, "qcom,ath10k-pre-calibration-data");
+ ret = ath10k_download_cal_dt(ar, "qcom,pre-calibration-data");
+ if (ret == -ENOENT)
+ ret = ath10k_download_cal_dt(ar, "qcom,ath10k-pre-calibration-data");
if (ret) {
ath10k_dbg(ar, ATH10K_DBG_BOOT,
"unable to load pre cal data from DT: %d\n", ret);
@@ -2337,7 +2342,9 @@ static int ath10k_download_cal_data(struct ath10k *ar)
"boot did not find a calibration file, try DT next: %d\n",
ret);
- ret = ath10k_download_cal_dt(ar, "qcom,ath10k-calibration-data");
+ ret = ath10k_download_cal_dt(ar, "qcom,calibration-data");
+ if (ret == -ENOENT)
+ ret = ath10k_download_cal_dt(ar, "qcom,ath10k-calibration-data");
if (ret == 0) {
ar->cal_mode = ATH10K_CAL_MODE_DT;
goto done;
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/5] wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
` (3 preceding siblings ...)
2025-02-25 9:05 ` [PATCH 4/5] wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties Krzysztof Kozlowski
@ 2025-02-25 9:05 ` Krzysztof Kozlowski
2025-02-25 10:32 ` [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties AngeloGioacchino Del Regno
2025-02-28 19:56 ` Jeff Johnson
6 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-25 9:05 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k,
Krzysztof Kozlowski
Add support for calibration-like properties without 'ath11k' prefix,
while still keeping everything backwards compatible.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/net/wireless/ath/ath11k/core.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 65bba0ae69a9a8e869e72b7e6d915577c8fb27d1..3d39ff85ba94ad7229764045e7e6dcab99dd51d5 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -1175,8 +1175,11 @@ int ath11k_core_check_dt(struct ath11k_base *ab)
if (!node)
return -ENOENT;
- of_property_read_string(node, "qcom,ath11k-calibration-variant",
+ of_property_read_string(node, "qcom,calibration-variant",
&variant);
+ if (!variant)
+ of_property_read_string(node, "qcom,ath11k-calibration-variant",
+ &variant);
if (!variant)
return -ENODATA;
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
` (4 preceding siblings ...)
2025-02-25 9:05 ` [PATCH 5/5] wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties Krzysztof Kozlowski
@ 2025-02-25 10:32 ` AngeloGioacchino Del Regno
2025-02-28 19:56 ` Jeff Johnson
6 siblings, 0 replies; 11+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-02-25 10:32 UTC (permalink / raw)
To: Krzysztof Kozlowski, Johannes Berg, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Jeff Johnson
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k
Il 25/02/25 10:05, Krzysztof Kozlowski ha scritto:
> Devicetree properties describing exactly the same thing should be
> reusable between device bindings. All Qualcomm Atheros WiFi chips needs
> certain calibration data, so properties should not be prefixed with
> device family (ath10k).
>
> Deprecate qcom,ath10k-calibration-variant and alike, so we gradually
> switch to a common property. This will also allow moving these
> properties to common schema, if desired.
>
> Why? Because people add qcom,ath12k-calibration-data and probably they
> will add qcom,ath13k-calibration-data, qcom,ath14k-calibration-data and
> so on.
>
> I will fix DTS in separate series.
>
For the whole series
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (5):
> dt-bindings: wireless: ath10k: Strip ath10k prefix from calibration properties
> dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property
> dt-bindings: wireless: ath12k: Strip ath12k prefix from calibration property
> wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties
> wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties
>
> .../bindings/net/wireless/qcom,ath10k.yaml | 25 ++++++++++++++++++++--
> .../bindings/net/wireless/qcom,ath11k-pci.yaml | 9 +++++++-
> .../bindings/net/wireless/qcom,ath11k.yaml | 7 ++++++
> .../bindings/net/wireless/qcom,ath12k-wsi.yaml | 13 ++++++++---
> drivers/net/wireless/ath/ath10k/core.c | 13 ++++++++---
> drivers/net/wireless/ath/ath11k/core.c | 5 ++++-
> 6 files changed, 62 insertions(+), 10 deletions(-)
> ---
> base-commit: 8936cec5cb6e27649b86fabf383d7ce4113bba49
> change-id: 20250225-b-wifi-qcom-calibration-variant-92a02995e996
>
> Best regards,
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k prefix from calibration properties
2025-02-25 9:05 ` [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k " Krzysztof Kozlowski
@ 2025-02-25 17:13 ` Rob Herring (Arm)
0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2025-02-25 17:13 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-kernel, Jeff Johnson, ath10k, ath12k, ath11k, devicetree,
linux-wireless, Conor Dooley, Johannes Berg, Krzysztof Kozlowski
On Tue, 25 Feb 2025 10:05:32 +0100, Krzysztof Kozlowski wrote:
> Devicetree properties describing exactly the same thing should be
> reusable between device bindings. All Qualcomm Atheros WiFi chips needs
> certain calibration data, so properties should not be prefixed with
> device family (ath10k).
>
> Deprecate qcom,ath10k-calibration-variant and alike, so we gradually
> switch to a common property. This will also allow moving these
> properties to common schema, if desired.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Why? Because people add qcom,ath12k-calibration-data and probably they
> will add qcom,ath13k-calibration-data, qcom,ath14k-calibration-data and
> so on.
> ---
> .../bindings/net/wireless/qcom,ath10k.yaml | 25 ++++++++++++++++++++--
> 1 file changed, 23 insertions(+), 2 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property
2025-02-25 9:05 ` [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property Krzysztof Kozlowski
@ 2025-02-25 17:15 ` Rob Herring (Arm)
0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2025-02-25 17:15 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Jeff Johnson, Johannes Berg, Krzysztof Kozlowski, Conor Dooley,
linux-wireless, ath10k, linux-kernel, ath11k, ath12k, devicetree
On Tue, 25 Feb 2025 10:05:33 +0100, Krzysztof Kozlowski wrote:
> Devicetree properties describing exactly the same thing should be
> reusable between device bindings. All Qualcomm Atheros WiFi chips needs
> certain calibration data, so properties should not be prefixed with
> device family (ath11k).
>
> Deprecate qcom,ath11k-calibration-variant and alike, so we gradually
> switch to a common property. This will also allow moving these
> properties to common schema, if desired.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml | 9 ++++++++-
> Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 7 +++++++
> 2 files changed, 15 insertions(+), 1 deletion(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k prefix from calibration property
2025-02-25 9:05 ` [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k " Krzysztof Kozlowski
@ 2025-02-25 17:15 ` Rob Herring (Arm)
0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2025-02-25 17:15 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, Krzysztof Kozlowski, ath10k, linux-kernel,
linux-wireless, Jeff Johnson, ath11k, Johannes Berg, Conor Dooley,
ath12k
On Tue, 25 Feb 2025 10:05:34 +0100, Krzysztof Kozlowski wrote:
> Devicetree properties describing exactly the same thing should be
> reusable between device bindings. All Qualcomm Atheros WiFi chips needs
> certain calibration data, so properties should not be prefixed with
> device family (ath12k).
>
> Deprecate qcom,ath12k-calibration-variant and alike, so we gradually
> switch to a common property. This will also allow moving these
> properties to common schema, if desired.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/net/wireless/qcom,ath12k-wsi.yaml | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
` (5 preceding siblings ...)
2025-02-25 10:32 ` [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties AngeloGioacchino Del Regno
@ 2025-02-28 19:56 ` Jeff Johnson
6 siblings, 0 replies; 11+ messages in thread
From: Jeff Johnson @ 2025-02-28 19:56 UTC (permalink / raw)
To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jeff Johnson, Krzysztof Kozlowski
Cc: linux-wireless, devicetree, ath10k, linux-kernel, ath11k, ath12k
On Tue, 25 Feb 2025 10:05:31 +0100, Krzysztof Kozlowski wrote:
> Devicetree properties describing exactly the same thing should be
> reusable between device bindings. All Qualcomm Atheros WiFi chips needs
> certain calibration data, so properties should not be prefixed with
> device family (ath10k).
>
> Deprecate qcom,ath10k-calibration-variant and alike, so we gradually
> switch to a common property. This will also allow moving these
> properties to common schema, if desired.
>
> [...]
Applied, thanks!
[1/5] dt-bindings: wireless: ath10k: Strip ath10k prefix from calibration properties
commit: fcd37e2a33167cf6b507256365e45a43009d74eb
[2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property
commit: 352e8c4379fa540747cbb6c94c4b149c7487feac
[3/5] dt-bindings: wireless: ath12k: Strip ath12k prefix from calibration property
commit: 64e37c19383f840da534449b88d7adea4c69f52d
[4/5] wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties
commit: a97ed4ecb797a69f52f66445ebca538c93462ba4
[5/5] wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties
commit: 1bd9ffec4cdb9a1f09bbba16bba538f6c58a397b
Best regards,
--
Jeff Johnson <jeff.johnson@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-02-28 20:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 9:05 [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 1/5] dt-bindings: wireless: ath10k: Strip ath10k " Krzysztof Kozlowski
2025-02-25 17:13 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 2/5] dt-bindings: wireless: ath11k: Strip ath11k prefix from calibration property Krzysztof Kozlowski
2025-02-25 17:15 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 3/5] dt-bindings: wireless: ath12k: Strip ath12k " Krzysztof Kozlowski
2025-02-25 17:15 ` Rob Herring (Arm)
2025-02-25 9:05 ` [PATCH 4/5] wifi: ath10k: Deprecate qcom,ath10k-calibration-variant properties Krzysztof Kozlowski
2025-02-25 9:05 ` [PATCH 5/5] wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties Krzysztof Kozlowski
2025-02-25 10:32 ` [PATCH 0/5] wifi: ath10k/ath11k/ath12k: Strip device prefix from calibration properties AngeloGioacchino Del Regno
2025-02-28 19:56 ` Jeff Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).