• Stephan Gerhold's avatar
    arm64: dts: qcom: msm8916: Remove one more thermal trip point unit name · e6859ae8
    Stephan Gerhold authored
    Commit fe2aff0c ("arm64: dts: qcom: msm8916: remove unit name for thermal trip points")
    removed the unit names for most of the thermal trip points defined
    in msm8916.dtsi, but missed to update the one for cpu0_1-thermal.
    
    So why wasn't this spotted by "make dtbs_check"? Apparently, the name
    of the thermal zone is already invalid: thermal-zones.yaml specifies
    a regex of ^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$, so it is not allowed
    to contain underscores. Therefore the thermal zone was never verified
    using the DTB schema.
    
    After replacing the underscore in the thermal zone name, the warning
    shows up:
    
        apq8016-sbc.dt.yaml: thermal-zones: cpu0-1-thermal:trips: 'trip-point@0'
        does not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$', 'pinctrl-[0-9]+'
    
    Fix up the thermal zone names and remove the unit name for the trip point.
    
    Cc: Amit Kucheria <amit.kucheria@linaro.org>
    Fixes: fe2aff0c ("arm64: dts: qcom: msm8916: remove unit name for thermal trip points")
    Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
    Link: https://lore.kernel.org/r/20200915071221.72895-3-stephan@gerhold.netSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
    e6859ae8
msm8916.dtsi 42.7 KB