Re: [PATCH] dt-bindings: clock: gcc-apq8064: move qcom,apq8084 back to gcc-other.yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/04/2022 10:07, Dmitry Baryshkov wrote:
> On Tue, 26 Apr 2022 at 10:31, Krzysztof Kozlowski
> <krzysztof.kozlowski@xxxxxxxxxx> wrote:
>>
>> On 26/04/2022 09:24, Dmitry Baryshkov wrote:
>>> The global clock controller on apq8084 has nothing to do with the schema
>>> for apq8064. It uses the schema defined in qcom,gcc-other.yaml. Move
>>> respective declarations back.
>>>
>>> Instead add what was really meant to be present in qcom,gcc-apq8064
>>> schema: the compatibility string for qcom,apq8064 device.
>>>
>>
>> Reported-by: Rob Herring <robh@xxxxxxxxxx>
>>
>>
>>> Fixes: a469bf89a009 ("dt-bindings: clock: simplify qcom,gcc-apq8064 Documentation")
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
>>> ---
>>>  .../devicetree/bindings/clock/qcom,gcc-apq8064.yaml         | 6 +++---
>>>  Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml | 3 +++
>>>  2 files changed, 6 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
>>> index 97936411b6b4..b867da12761e 100644
>>> --- a/Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
>>> +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
>>> @@ -20,12 +20,12 @@ description: |
>>>    See also:
>>>    - dt-bindings/clock/qcom,gcc-msm8960.h
>>>    - dt-bindings/reset/qcom,gcc-msm8960.h
>>> -  - dt-bindings/clock/qcom,gcc-apq8084.h
>>> -  - dt-bindings/reset/qcom,gcc-apq8084.h
>>>
>>>  properties:
>>>    compatible:
>>> -    const: qcom,gcc-apq8084
>>> +    enum:
>>> +      - qcom,gcc-apq8064
>>> +      - qcom,gcc-msm8060
>>
>> This looks wrong. msm8060 was not broken by that commit and was never
>> here, was it?
> 
> I'm not sure that msm8060 even existed. This should be msm8960.
> 
> I can send v2 if you like this approach or I can rebase my tsens
> patches on top of your patch.

Your approach of moving the apq8064 here is correct, but addition of
msm8960 should be a separate patch because this compatible was not
broken by that commit. What is more, that compatible is in gcc-other.yaml.


Best regards,
Krzysztof



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux