Re: [PATCH v2 2/3] dt-bindings: clock: add SM6375 QCOM global clock bindings

From: Konrad Dybcio
Date: Wed Jul 20 2022 - 15:42:29 EST




On 20.07.2022 08:27, Krzysztof Kozlowski wrote:
> On 19/07/2022 13:57, Konrad Dybcio wrote:
>> Add device tree bindings for global clock controller for SM6375 SoCs.
>>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
>> ---

[...]

>> +++ b/include/dt-bindings/clock/qcom,sm6375-gcc.h
>> @@ -0,0 +1,234 @@
>> +/* SPDX-License-Identifier: GPL-2.0-only */
>
> Hm, Qualcomm gave permission to relicense bindings to dual-license,
> although I am not sure how this works with files where copyrights were
> transferred to Linux Foundation...
Right, I overlooked this.

Considering all of the headers for the clock controllers are an exact or
almost exact copy of the downstream ones ever since qcom switched to using
the common clock framework in 2017 or so, plus I am not sure how
copyrightable this is, given copying names from the .c driver, making them
uppercase and assigning them consecutive numbers is not exactly much of a
creative work.. so I don't think anybody would oppose it?

Obviously I'm not a lawyer and this is not legal advice..

Konrad
>
>> +/*
>> + * Copyright (c) 2021, The Linux Foundation. All rights reserved.
>> + * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
>> + */
>> +
>> +#ifndef _DT_BINDINGS_CLK_QCOM_GCC_SM6375_H
>> +#define _DT_BINDINGS_CLK_QCOM_GCC_SM6375_H
>> +
>
>
> Best regards,
> Krzysztof