lkml.org 
[lkml]   [2020]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/3] dt-bindings: thermal: tsens: Make dtbs_check pass for msm8916 tsens
    On 25-02-20, 17:38, Amit Kucheria wrote:
    > The qcom-tsens binding requires a SoC-specific and a TSENS
    > family-specific binding to be specified in the compatible string.
    >
    > Since them family-specific binding is not listed in the .dtsi file, we
    > see the following warnings in 'make dtbs_check'. Fix them.

    Update subject line here too?

    > /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8916-mtp.dt.yaml:
    > thermal-sensor@4a9000: compatible: ['qcom,msm8916-tsens'] is not valid
    > under any of the given schemas (Possible causes of the failure):
    > /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8916-mtp.dt.yaml:
    > thermal-sensor@4a9000: compatible: ['qcom,msm8916-tsens'] is too short
    > /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8916-mtp.dt.yaml:
    > thermal-sensor@4a9000: compatible:0: 'qcom,msm8916-tsens' is not one of
    > ['qcom,msm8976-tsens', 'qcom,qcs404-tsens']
    > /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8916-mtp.dt.yaml:
    > thermal-sensor@4a9000: compatible:0: 'qcom,msm8916-tsens' is not one of
    > ['qcom,msm8996-tsens', 'qcom,msm8998-tsens', 'qcom,sdm845-tsens']
    >
    > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
    > ---
    > arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
    > index 9f31064f2374..1748ea3f4b4f 100644
    > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
    > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
    > @@ -860,7 +860,7 @@
    > };
    >
    > tsens: thermal-sensor@4a9000 {
    > - compatible = "qcom,msm8916-tsens";
    > + compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
    > reg = <0x4a9000 0x1000>, /* TM */
    > <0x4a8000 0x1000>; /* SROT */
    > nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
    > --
    > 2.20.1

    --
    ~Vinod

    \
     
     \ /
      Last update: 2020-02-25 14:57    [W:3.226 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site