From e637b67104955a15bd8eff1e4f495365af56f578 Mon Sep 17 00:00:00 2001 From: David Collins Date: Fri, 3 May 2019 17:27:14 -0700 Subject: [PATCH] dt-bindings: spmi: spmi-pmic-arb-debug: add clock management support Add support to specify a clock that is needed by the SPMI PMIC arbiter debug bus. Change-Id: I466979d93b6ca38974a2ef4b391c66507281064e --- bindings/spmi/qcom,spmi-pmic-arb-debug.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bindings/spmi/qcom,spmi-pmic-arb-debug.txt b/bindings/spmi/qcom,spmi-pmic-arb-debug.txt index 51c748e8..0d798522 100644 --- a/bindings/spmi/qcom,spmi-pmic-arb-debug.txt +++ b/bindings/spmi/qcom,spmi-pmic-arb-debug.txt @@ -35,6 +35,19 @@ Supported Properties: the corresponding addresses are specified in the reg property. +- clocks + Usage: optional + Value type: + Definition: Clock tuple consisting of a phandle to a clock controller + device and the clock ID number for the SPMI debug controller + clock. + +- clock-names + Usage: required if clocks property is specified + Value type: + Definition: Defines the name of the clock defined in the "clocks" + property. This must be "core_clk". + - #address-cells Usage: required Value type: @@ -57,6 +70,8 @@ qcom,spmi-debug@6b22000 { compatible = "qcom,spmi-pmic-arb-debug"; reg = <0x6b22000 0x60>, <0x7820a8 4>; reg-names = "core", "fuse"; + clocks = <&clock_aop QDSS_CLK>; + clock-names = "core_clk"; qcom,fuse-disable-bit = <12>; #address-cells = <2>; #size-cells = <0>;