On 12/12/2024 5:55 AM, Alexey Klimov wrote: > From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> > > SM6115 (and its derivatives or similar SoCs) has an LPASS clock > controller block which provides audio-related resets. > > Add bindings for it. > > Cc: Konrad Dybcio <konradybcio@xxxxxxxxxx> > Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx> > Cc: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> > Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> > [alexey.klimov] slightly changed the commit message > Signed-off-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx> > --- > .../bindings/clock/qcom,sm6115-lpasscc.yaml | 46 +++++++++++++++++++ > .../dt-bindings/clock/qcom,sm6115-lpasscc.h | 15 ++++++ > 2 files changed, 61 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml > create mode 100644 include/dt-bindings/clock/qcom,sm6115-lpasscc.h > > diff --git a/Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml > new file mode 100644 > index 000000000000..247b6b0a9f5a > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml > @@ -0,0 +1,46 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/qcom,sm6115-lpasscc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm LPASS Core & Audio Clock Controller on SM6115 > + > +maintainers: > + - Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> Please check the mail id. > + - Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> > + > +description: | > + Qualcomm LPASS core and audio clock controllers provide audio-related resets > + on SM6115 and its derivatives. > + > + See also:: > + include/dt-bindings/clock/qcom,sm6115-lpasscc.h > + > +properties: > + compatible: > + enum: > + - qcom,sm6115-lpassaudiocc > + - qcom,sm6115-lpasscc > + > + reg: > + maxItems: 1 > + > + '#reset-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - '#reset-cells' > + > +additionalProperties: false > + > +examples: > + - | > + lpass_audiocc: clock-controller@a6a9000 { > + compatible = "qcom,sm6115-lpassaudiocc"; > + reg = <0x0a6a9000 0x1000>; > + #reset-cells = <1>; > + }; > +... > diff --git a/include/dt-bindings/clock/qcom,sm6115-lpasscc.h b/include/dt-bindings/clock/qcom,sm6115-lpasscc.h > new file mode 100644 > index 000000000000..799274517c9a > --- /dev/null > +++ b/include/dt-bindings/clock/qcom,sm6115-lpasscc.h > @@ -0,0 +1,15 @@ > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ > +/* > + * Copyright (c) 2023, Linaro Ltd. > + */ Do we need to update the Copyright year? Thanks & Regards, Manikanta.