Skip to contentSkip to conversation

Add LPASS VA CSR HeartBeat pulse clock support

PATCH Superseded Sarath Ganapathiraju 4 participants 10 messages Jul 23 – Aug 4

Subsystems (6)

v3 of 14 Superseded Latest is v14 →

lore
Share & tools
lore
#0 lore raw

v3 cover Add LPASS VA CSR HeartBeat pulse clock support

The LPASS VA CSR block contains rate generator hardware that produces a HeartBeat Pulse (also known as RateGen Pulse). This pulse synchronizes the start of the DMAs and Codec Interfaces for the audio usecases and can serve as a periodic wakeup source for the DSP.

This series adds the DT binding and driver support to model this rate generator as a clock provider.

Patch 1 adds the YAML binding for the new qcom,hawi-lpass-va-csr clock provider node under Documentation/devicetree/bindings/clock/.

Patch 2 adds the lpass-va-csr driver under drivers/clk/qcom that registers the lpass_heartbeat_pulse clock and enables/disables the rate generator via regmap when the clock consumer requests it.

---
Changes in v3:
- Moved the qcom,lpass-va-csr binding from
Documentation/devicetree/bindings/sound/ to
Documentation/devicetree/bindings/clock/ since it is a pure clock
provider with no ASoC dependency (Krzysztof).
- Moved the driver from sound/soc/codecs/ to drivers/clk/qcom/ for
the same reason; sound/soc/codecs/Kconfig now selects
QCOM_CLK_LPASS_VA_CSR instead of carrying the driver (Krzysztof).
- Rewrote the binding description to explain the hardware instead of
duplicating schema text (Krzysztof).
- Dropped redundant reg and "#clock-cells" descriptions from the
binding (Krzysztof).
- Switched from unevaluatedProperties to additionalProperties: false
in the binding (Krzysztof).
- Renamed the example node to the generic clock-controller@7ee0000
(Krzysztof).
- Dropped the qcom,lpass-va-macro binding extension patch — no
in-tree user yet; will be resubmitted with the hawi DTSI changes.
- Link to v2: https://lore.kernel.org/linux-arm-msm/[email protected]/

Sarath Ganapathiraju (2):
dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock
clk: qcom: Add LPASS VA CSR heartbeat pulse clock

 .../bindings/clock/qcom,lpass-va-csr.yaml     |  49 ++++++
 drivers/clk/qcom/Kconfig                      |  12 ++
 drivers/clk/qcom/Makefile                     |   1 +
 drivers/clk/qcom/lpass-va-csr.c               | 143 ++++++++++++++++++
 sound/soc/codecs/Kconfig                      |   1 +
 5 files changed, 206 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml
 create mode 100644 drivers/clk/qcom/lpass-va-csr.c
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/2 dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock

Add a binding for the Qualcomm LPASS VA CSR rate generator node that exposes the lpass_heartbeat_pulse clock on hawi.

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecase and can serve as a periodic wakeup source for the DSP.

---
 .../bindings/clock/qcom,lpass-va-csr.yaml     | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml
Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml new file +49 -0
new file mode 100644
index 000000000000..b4bc33a86640
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/qcom,lpass-va-csr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm LPASS VA CSR heartbeat pulse clock provider
+
+maintainers:
+  - Srinivas Kandagatla <[email protected]>
+  - Sarath Ganapathiraju <[email protected]>
+
+description:
+  The LPASS (Low Power Audio Subsystem) VA CSR block contains a rate
+  generator that produces a periodic HeartBeat Pulse, also known as
+  the RateGen Pulse. This pulse synchronizes the start of DMAs and
+  Codec Interfaces for audio usecases and can serve as a periodic
+  wakeup source for the DSP.
+
+properties:
+  compatible:
+    enum:
+      - qcom,hawi-lpass-va-csr
+
+  reg:
+    maxItems: 1
+
+  "#clock-cells":
+    const: 0
+
+required:
+  - compatible
+  - reg
+  - "#clock-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    soc {
+      #address-cells = <2>;
+      #size-cells = <2>;
+
+      clock-controller@7ee0000 {
+        compatible = "qcom,hawi-lpass-va-csr";
+        reg = <0x0 0x07ee0000 0x0 0xe000>;
+        #clock-cells = <0>;
+      };
+    };
Signature · 1 line
2.34.1
#2 lore raw

PATCH v3 2/2 clk: qcom: Add LPASS VA CSR heartbeat pulse clock

In reply to Sarath Ganapathiraju

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecases and can serve as a periodic wakeup source for the DSP.

Add the LPASS VA CSR driver that models the rate generator as a clock provider so it is enabled and disabled automatically alongside the other clocks during runtime PM resume and suspend.

---
 drivers/clk/qcom/Kconfig        |  12 +++
 drivers/clk/qcom/Makefile       |   1 +
 drivers/clk/qcom/lpass-va-csr.c | 143 ++++++++++++++++++++++++++++++++
 sound/soc/codecs/Kconfig        |   1 +
 4 files changed, 157 insertions(+)
 create mode 100644 drivers/clk/qcom/lpass-va-csr.c
drivers/clk/qcom/Kconfig +12 -0
index 63f271aff177..6ebdccfe37e0 100644
@@ -1998,6 +1998,18 @@ config CLK_GFM_LPASS_SM8250
 	  Support for the Glitch Free Mux (GFM) Low power audio
           subsystem (LPASS) clocks found on SM8250 SoCs.
 
+config QCOM_CLK_LPASS_VA_CSR
+	tristate "Qualcomm LPASS VA CSR heartbeat pulse clock provider"
+	depends on COMMON_CLK
+	select REGMAP_MMIO
+	help
+	  Qualcomm LPASS VA CSR block contains the rate generator hardware
+	  that produces the HeartBeat Pulse (also known as RateGen Pulse).
+	  This driver models the rate generator as a clock provider so
+	  that consumers can enable or disable it via the common clock
+	  framework, and it can be used to synchronize the start of DMAs
+	  and Codec Interfaces or as a periodic wakeup source for the DSP.
+
 config SM_VIDEOCC_8450
 	tristate "SM8450 Video Clock Controller"
 	depends on ARM64 || COMPILE_TEST
drivers/clk/qcom/Makefile +1 -0
index db7689ee5dc6..2be7da737eba 100644
@@ -24,6 +24,7 @@ obj-$(CONFIG_CLK_ELIZA_DISPCC) += dispcc-eliza.o
 obj-$(CONFIG_CLK_ELIZA_GCC) += gcc-eliza.o
 obj-$(CONFIG_CLK_ELIZA_TCSRCC) += tcsrcc-eliza.o
 obj-$(CONFIG_CLK_GFM_LPASS_SM8250) += lpass-gfm-sm8250.o
+obj-$(CONFIG_QCOM_CLK_LPASS_VA_CSR) += lpass-va-csr.o
 obj-$(CONFIG_CLK_GLYMUR_CAMCC) += camcc-glymur.o
 obj-$(CONFIG_CLK_GLYMUR_DISPCC) += dispcc-glymur.o
 obj-$(CONFIG_CLK_GLYMUR_EVACC) += evacc-glymur.o
drivers/clk/qcom/lpass-va-csr.c new file +143 -0

143 lines not on this page · raw message

sound/soc/codecs/Kconfig +1 -0
index 76e90144ea91..704401faa147 100644
@@ -2907,6 +2907,7 @@ config SND_SOC_LPASS_VA_MACRO
 	depends on PM_CLK
 	select REGMAP_MMIO
 	select SND_SOC_LPASS_MACRO_COMMON
+	select QCOM_CLK_LPASS_VA_CSR
 	tristate "Qualcomm VA Macro in LPASS(Low Power Audio SubSystem)"
 
 config SND_SOC_LPASS_RX_MACRO
Signature · 1 line
2.34.1
#3 lore raw

Re: [PATCH v3 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock

Quoted 8 lines · Sarath Ganapathiraju

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecases and can serve as a periodic wakeup source for the DSP.

Add the LPASS VA CSR driver that models the rate generator as a clock provider so it is enabled and disabled automatically alongside the other clocks during runtime PM resume and suspend.

Quoted 6 lines
---
 drivers/clk/qcom/Kconfig        |  12 +++
 drivers/clk/qcom/Makefile       |   1 +
 drivers/clk/qcom/lpass-va-csr.c | 143 ++++++++++++++++++++++++++++++++
 sound/soc/codecs/Kconfig        |   1 +

This patch spans 2 subsystems and 2 separate maintainers.. we'll need Mark's ack for the sound/ change

drivers/clk/qcom/Kconfig config CLK_GFM_LPASS_SM8250 · line 2001

Quoted 12 lines
 4 files changed, 157 insertions(+)
 create mode 100644 drivers/clk/qcom/lpass-va-csr.c
drivers/clk/qcom/Kconfig +1 -0
index 63f271aff177..6ebdccfe37e0 100644
@@ -1998,6 +1998,18 @@ config CLK_GFM_LPASS_SM8250
 	  Support for the Glitch Free Mux (GFM) Low power audio
           subsystem (LPASS) clocks found on SM8250 SoCs.
 
+config QCOM_CLK_LPASS_VA_CSR

VA_CSR is the Control-and-Status-Register space of the VA Macro, the name of the config should deifnitely focus on the heartbeat pulse clock generator within it instead

Besides, that address space is huge, yet you're claiming it for a single simple clock. Exposing anything else from within there in the future will require bindings updates, which are usually a tough sell. Is there anything else in there that we need to cover from HLOS?

Konrad

#4 lore raw

Re: [PATCH v3 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock

Quoted 2 lines · Konrad Dybcio

This patch spans 2 subsystems and 2 separate maintainers.. we'll need Mark's ack for the sound/ change

Ack, will cc Mark and get his approval on next version.

Quoted 3 lines

VA_CSR is the Control-and-Status-Register space of the VA Macro, the name of the config should definitely focus on the heartbeat pulse clock generator within it instead

Ack. Will rename in the next revision.

Quoted 5 lines

Besides, that address space is huge, yet you're claiming it for a single simple clock. Exposing anything else from within there in the future will require bindings updates, which are usually a tough sell. Is there anything else in there that we need to cover from HLOS?

The only register block we need from HLOS is the rate generator at offsets 0xd000-0xd010 (CTRL, COUNTER_0, DELAY). Nothing else in the VA CSR space needs HLOS coverage for hawi. Will narrow the reg to cover only those registers in the next revision.

Thanks,
Sarath

#5 lore raw

v3 cover Add LPASS VA CSR HeartBeat pulse clock support

The LPASS VA CSR block contains rate generator hardware that produces a HeartBeat Pulse (also known as RateGen Pulse). This pulse synchronizes the start of the DMAs and Codec Interfaces for the audio usecases and can serve as a periodic wakeup source for the DSP.

This series adds the DT binding and driver support to model this rate generator as a clock provider.

Patch 1 adds the YAML binding for the new qcom,hawi-lpass-va-csr clock provider node under Documentation/devicetree/bindings/clock/.

Patch 2 adds the lpass-va-csr driver under drivers/clk/qcom that registers the lpass_heartbeat_pulse clock and enables/disables the rate generator via regmap when the clock consumer requests it.

Changes in v3:
- Moved the qcom,lpass-va-csr binding from
Documentation/devicetree/bindings/sound/ to
Documentation/devicetree/bindings/clock/ since it is a pure clock
provider with no ASoC dependency (Krzysztof).
- Moved the driver from sound/soc/codecs/ to drivers/clk/qcom/ for
the same reason; sound/soc/codecs/Kconfig now selects
QCOM_CLK_LPASS_VA_CSR instead of carrying the driver (Krzysztof).
- Rewrote the binding description to explain the hardware instead of
duplicating schema text (Krzysztof).
- Dropped redundant reg and "#clock-cells" descriptions from the
binding (Krzysztof).
- Switched from unevaluatedProperties to additionalProperties: false
in the binding (Krzysztof).
- Renamed the example node to the generic clock-controller@7ee0000
(Krzysztof).
- Dropped the qcom,lpass-va-macro binding extension patch — no
in-tree user yet; will be resubmitted with the hawi DTSI changes.
- Link to v2: https://lore.kernel.org/linux-arm-msm/[email protected]/

---
To: Bjorn Andersson <[email protected]>
To: Michael Turquette <[email protected]>
To: Stephen Boyd <[email protected]>
To: Brian Masney <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Srinivas Kandagatla <[email protected]>
To: Liam Girdwood <[email protected]>
To: Mark Brown <[email protected]>
To: Jaroslav Kysela <[email protected]>
To: Takashi Iwai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Sarath Ganapathiraju (2):
dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock
clk: qcom: Add LPASS VA CSR heartbeat pulse clock

 .../bindings/clock/qcom,lpass-va-csr.yaml          |  49 +++++++
 drivers/clk/qcom/Kconfig                           |  12 ++
 drivers/clk/qcom/Makefile                          |   1 +
 drivers/clk/qcom/lpass-va-csr.c                    | 143 +++++++++++++++++++++
 sound/soc/codecs/Kconfig                           |   1 +
 5 files changed, 206 insertions(+)

---
base-commit: a6092686b891422f5ba0106b5e0962aecd480b05
change-id: 20260722-master-5651ff5cd8f9

Best regards,

Signature · 1 line
Sarath Ganapathiraju <[email protected]>
#6 lore raw

PATCH v3 1/2 dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock

Add a binding for the Qualcomm LPASS VA CSR rate generator node that exposes the lpass_heartbeat_pulse clock on hawi.

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecase and can serve as a periodic wakeup source for the DSP.

---
 .../bindings/clock/qcom,lpass-va-csr.yaml          | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml new file +49 -0
new file mode 100644
index 000000000000..b4bc33a86640
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/qcom,lpass-va-csr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm LPASS VA CSR heartbeat pulse clock provider
+
+maintainers:
+  - Srinivas Kandagatla <[email protected]>
+  - Sarath Ganapathiraju <[email protected]>
+
+description:
+  The LPASS (Low Power Audio Subsystem) VA CSR block contains a rate
+  generator that produces a periodic HeartBeat Pulse, also known as
+  the RateGen Pulse. This pulse synchronizes the start of DMAs and
+  Codec Interfaces for audio usecases and can serve as a periodic
+  wakeup source for the DSP.
+
+properties:
+  compatible:
+    enum:
+      - qcom,hawi-lpass-va-csr
+
+  reg:
+    maxItems: 1
+
+  "#clock-cells":
+    const: 0
+
+required:
+  - compatible
+  - reg
+  - "#clock-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    soc {
+      #address-cells = <2>;
+      #size-cells = <2>;
+
+      clock-controller@7ee0000 {
+        compatible = "qcom,hawi-lpass-va-csr";
+        reg = <0x0 0x07ee0000 0x0 0xe000>;
+        #clock-cells = <0>;
+      };
+    };
Signature · 1 line
2.34.1
Reviewed-by on v3 1/2
#7 lore raw

Re: [PATCH v3 1/2] dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock

Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml

Quoted 13 lines · Sarath Ganapathiraju

Add a binding for the Qualcomm LPASS VA CSR rate generator node that exposes the lpass_heartbeat_pulse clock on hawi.

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecase and can serve as a periodic wakeup source for the DSP.

---
 .../bindings/clock/qcom,lpass-va-csr.yaml          | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
Documentation/devicetree/bindings/clock/qcom,lpass-va-csr.yaml +0 -0

Use compatible as filename, so qcom,hawi-lpass-va-csr.yaml.

With this fixed:

Best regards,
Krzysztof

#8 lore raw

PATCH v3 2/2 clk: qcom: Add LPASS VA CSR heartbeat pulse clock

In reply to Sarath Ganapathiraju

The HeartBeat Pulse (also known as RateGen Pulse) synchronizes the start of the DMAs and Codec Interfaces for the audio usecases and can serve as a periodic wakeup source for the DSP.

Add the LPASS VA CSR driver that models the rate generator as a clock provider so it is enabled and disabled automatically alongside the other clocks during runtime PM resume and suspend.

---
 drivers/clk/qcom/Kconfig        |  12 ++++
 drivers/clk/qcom/Makefile       |   1 +
 drivers/clk/qcom/lpass-va-csr.c | 143 ++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/Kconfig        |   1 +
 4 files changed, 157 insertions(+)
drivers/clk/qcom/Kconfig +12 -0
index 63f271aff177..6ebdccfe37e0 100644
@@ -1998,6 +1998,18 @@ config CLK_GFM_LPASS_SM8250
 	  Support for the Glitch Free Mux (GFM) Low power audio
           subsystem (LPASS) clocks found on SM8250 SoCs.
 
+config QCOM_CLK_LPASS_VA_CSR
+	tristate "Qualcomm LPASS VA CSR heartbeat pulse clock provider"
+	depends on COMMON_CLK
+	select REGMAP_MMIO
+	help
+	  Qualcomm LPASS VA CSR block contains the rate generator hardware
+	  that produces the HeartBeat Pulse (also known as RateGen Pulse).
+	  This driver models the rate generator as a clock provider so
+	  that consumers can enable or disable it via the common clock
+	  framework, and it can be used to synchronize the start of DMAs
+	  and Codec Interfaces or as a periodic wakeup source for the DSP.
+
 config SM_VIDEOCC_8450
 	tristate "SM8450 Video Clock Controller"
 	depends on ARM64 || COMPILE_TEST
drivers/clk/qcom/Makefile +1 -0
index db7689ee5dc6..2be7da737eba 100644
@@ -24,6 +24,7 @@ obj-$(CONFIG_CLK_ELIZA_DISPCC) += dispcc-eliza.o
 obj-$(CONFIG_CLK_ELIZA_GCC) += gcc-eliza.o
 obj-$(CONFIG_CLK_ELIZA_TCSRCC) += tcsrcc-eliza.o
 obj-$(CONFIG_CLK_GFM_LPASS_SM8250) += lpass-gfm-sm8250.o
+obj-$(CONFIG_QCOM_CLK_LPASS_VA_CSR) += lpass-va-csr.o
 obj-$(CONFIG_CLK_GLYMUR_CAMCC) += camcc-glymur.o
 obj-$(CONFIG_CLK_GLYMUR_DISPCC) += dispcc-glymur.o
 obj-$(CONFIG_CLK_GLYMUR_EVACC) += evacc-glymur.o
drivers/clk/qcom/lpass-va-csr.c new file +143 -0

143 lines not on this page · raw message

sound/soc/codecs/Kconfig +1 -0
index 76e90144ea91..704401faa147 100644
@@ -2907,6 +2907,7 @@ config SND_SOC_LPASS_VA_MACRO
 	depends on PM_CLK
 	select REGMAP_MMIO
 	select SND_SOC_LPASS_MACRO_COMMON
+	select QCOM_CLK_LPASS_VA_CSR
 	tristate "Qualcomm VA Macro in LPASS(Low Power Audio SubSystem)"
 
 config SND_SOC_LPASS_RX_MACRO
Signature · 1 line
2.34.1
#9 lore raw

Re: [PATCH v3 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Missing PM runtime enablement in lpass-va-csr causes a synchronous external abort when CCF reads…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing PM runtime enablement in lpass-va-csr causes a synchronous external abort when CCF reads the hardware state. --

--- Patch [2]: [PATCH v3 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock --- commit f6c6796cc5343493b52dddf79a9e09e549136b51
Author: Sarath Ganapathiraju <[email protected]>

clk: qcom: Add LPASS VA CSR heartbeat pulse clock

Adds the LPASS VA CSR driver to model the rate generator as a clock provider. This synchronizes the start of DMAs and Codec Interfaces and can serve as a periodic wakeup source for the DSP.

Quoted 5 lines
drivers/clk/qcom/lpass-va-csr.c new file +0 -0
new file mode 100644
index 0000000000000..1d0805789e25a

[ ... ]

drivers/clk/qcom/lpass-va-csr.c line 75

Quoted 5 lines
drivers/clk/qcom/lpass-va-csr.c new file +5 -0
+static int heartbeat_pulse_is_prepared(struct clk_hw *hw)
+{
+	struct lpass_va_csr *csr = to_lpass_va_csr(hw);
+
+	return regmap_test_bits(csr->regmap, LPASS_RATE_GEN_CTRL, LPASS_RG_CTRL_EN);

[Severity: High]
Could this MMIO read cause a synchronous external abort?

When CCF calls the .is_prepared callback (e.g., during late boot via clk_disable_unused() or a debugfs read from clk_summary), this executes an unprotected MMIO read. If the LPASS hardware is power-gated at this time, the unpowered access can crash the system.

Quoted 1 line

+}

[ ... ]

Quoted 2 lines
drivers/clk/qcom/lpass-va-csr.c new file +2 -0
+static int lpass_va_csr_probe(struct platform_device *pdev)
+{

[ ... ]

drivers/clk/qcom/lpass-va-csr.c line 115

Quoted 3 lines
drivers/clk/qcom/lpass-va-csr.c new file +3 -0
+	csr->hb_hw.init = &init;
+
+	ret = devm_clk_hw_register(dev, &csr->hb_hw);

[Severity: High]
Is a call to devm_pm_runtime_enable() missing before clock registration?

Without PM runtime enabled on the device beforehand, CCF's clk_pm_runtime_get() sees core->rpm_enabled as false and skips acquiring the power domain. This leaves the hardware unpowered and vulnerable to crashes during the .is_prepared checks.

Quoted 9 lines
drivers/clk/qcom/lpass-va-csr.c new file +9 -0
+	if (ret)
+		return dev_err_probe(dev, ret, "failed to register heartbeat clock\n");
+
+	ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, &csr->hb_hw);
+	if (ret)
+		return dev_err_probe(dev, ret, "failed to add clock provider\n");
+
+	return 0;
+}
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2