* [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens
@ 2020-02-28 6:32 Amit Kucheria
2020-02-28 6:32 ` [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Amit Kucheria
2020-02-28 6:45 ` [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Bjorn Andersson
0 siblings, 2 replies; 6+ messages in thread
From: Amit Kucheria @ 2020-02-28 6:32 UTC (permalink / raw)
To: linux-kernel, linux-arm-msm, vkoul, daniel.lezcano,
bjorn.andersson, sivaa, Andy Gross, Zhang Rui
Cc: Amit Kucheria, devicetree, linux-pm
Make dtbs_check pass for tsens bits. I'm working on another series to
cleanup other DT warnings for QC platforms.
Changes since v3:
- Fixed up subject prefix
- Added acks.
Amit Kucheria (3):
dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding
arm64: dts: qcom: msm8916:: Add qcom,tsens-v0_1 to msm8916.dtsi
compatible
arm64: dts: qcom: msm8996:: Add qcom,tsens-v2 to msm8996.dtsi
compatible
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
--
2.20.1
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding 2020-02-28 6:32 [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Amit Kucheria @ 2020-02-28 6:32 ` Amit Kucheria 2020-03-03 1:28 ` Rob Herring 2020-03-03 8:05 ` Daniel Lezcano 2020-02-28 6:45 ` [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Bjorn Andersson 1 sibling, 2 replies; 6+ messages in thread From: Amit Kucheria @ 2020-02-28 6:32 UTC (permalink / raw) To: linux-kernel, linux-arm-msm, vkoul, daniel.lezcano, bjorn.andersson, sivaa, Andy Gross, Zhang Rui Cc: Amit Kucheria, linux-pm, devicetree The qcom-tsens binding requires a SoC-specific and a TSENS family-specific binding to be specified in the compatible string. Since qcom,sc7180-tsens is not listed in the YAML binding, we see the following warnings in 'make dtbs_check'. Fix them. builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible: ['qcom,sc7180-tsens', 'qcom,tsens-v2'] is not valid under any of the given schemas (Possible causes of the failure): builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8996-tsens', 'qcom,msm8998-tsens', 'qcom,sdm845-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible:1: 'qcom,tsens-v0_1' was expected builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c263000: compatible:1: 'qcom,tsens-v1' was expected builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible: ['qcom,sc7180-tsens', 'qcom,tsens-v2'] is not valid under any of the given schemas (Possible causes of the failure): builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of ['qcom,msm8996-tsens', 'qcom,msm8998-tsens', 'qcom,sdm845-tsens'] builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible:1: 'qcom,tsens-v0_1' was expected builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: thermal-sensor@c265000: compatible:1: 'qcom,tsens-v1' was expected Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index eef13b9446a8..13e294328932 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -39,6 +39,7 @@ properties: - qcom,msm8996-tsens - qcom,msm8998-tsens - qcom,sdm845-tsens + - qcom,sc7180-tsens - const: qcom,tsens-v2 reg: -- 2.20.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding 2020-02-28 6:32 ` [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Amit Kucheria @ 2020-03-03 1:28 ` Rob Herring 2020-03-03 8:05 ` Daniel Lezcano 1 sibling, 0 replies; 6+ messages in thread From: Rob Herring @ 2020-03-03 1:28 UTC (permalink / raw) To: Amit Kucheria Cc: linux-kernel, linux-arm-msm, vkoul, daniel.lezcano, bjorn.andersson, sivaa, Andy Gross, Zhang Rui, Amit Kucheria, linux-pm, devicetree On Fri, 28 Feb 2020 12:02:40 +0530, 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 qcom,sc7180-tsens is not listed in the YAML binding, we see the > following warnings in 'make dtbs_check'. Fix them. > > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible: ['qcom,sc7180-tsens', > 'qcom,tsens-v2'] is not valid under any of the given schemas (Possible > causes of the failure): > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8996-tsens', 'qcom,msm8998-tsens', 'qcom,sdm845-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible:1: 'qcom,tsens-v0_1' was expected > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c263000: compatible:1: 'qcom,tsens-v1' was expected > > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible: ['qcom,sc7180-tsens', > 'qcom,tsens-v2'] is not valid under any of the given schemas (Possible > causes of the failure): > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible:0: 'qcom,sc7180-tsens' is not one of > ['qcom,msm8996-tsens', 'qcom,msm8998-tsens', 'qcom,sdm845-tsens'] > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible:1: 'qcom,tsens-v0_1' was expected > builds/arch/arm64/boot/dts/qcom/sc7180-idp.dt.yaml: > thermal-sensor@c265000: compatible:1: 'qcom,tsens-v1' was expected > > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> > Reviewed-by: Vinod Koul <vkoul@kernel.org> > --- > Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding 2020-02-28 6:32 ` [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Amit Kucheria 2020-03-03 1:28 ` Rob Herring @ 2020-03-03 8:05 ` Daniel Lezcano 2020-03-03 8:52 ` Amit Kucheria 1 sibling, 1 reply; 6+ messages in thread From: Daniel Lezcano @ 2020-03-03 8:05 UTC (permalink / raw) To: Amit Kucheria, linux-kernel, linux-arm-msm, vkoul, bjorn.andersson, sivaa, Andy Gross, Zhang Rui Cc: Amit Kucheria, linux-pm, devicetree On 28/02/2020 07:32, Amit Kucheria wrote: [ ... ] > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > index eef13b9446a8..13e294328932 100644 > --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > @@ -39,6 +39,7 @@ properties: > - qcom,msm8996-tsens > - qcom,msm8998-tsens > - qcom,sdm845-tsens > + - qcom,sc7180-tsens This change is already done by https://patchwork.kernel.org/patch/11319259/ I've applied it. -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding 2020-03-03 8:05 ` Daniel Lezcano @ 2020-03-03 8:52 ` Amit Kucheria 0 siblings, 0 replies; 6+ messages in thread From: Amit Kucheria @ 2020-03-03 8:52 UTC (permalink / raw) To: Daniel Lezcano Cc: Linux Kernel Mailing List, linux-arm-msm, Vinod Koul, Bjorn Andersson, sivaa, Andy Gross, Zhang Rui, Amit Kucheria, Linux PM list, DTML On Tue, Mar 3, 2020 at 1:35 PM Daniel Lezcano <daniel.lezcano@linaro.org> wrote: > > On 28/02/2020 07:32, Amit Kucheria wrote: > > [ ... ] > > > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > > index eef13b9446a8..13e294328932 100644 > > --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > > +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > > @@ -39,6 +39,7 @@ properties: > > - qcom,msm8996-tsens > > - qcom,msm8998-tsens > > - qcom,sdm845-tsens > > + - qcom,sc7180-tsens > > This change is already done by > > https://patchwork.kernel.org/patch/11319259/ > > I've applied it. Good catch! I'd forgotten I'd even reviewed it when I saw all these warnings with dtbs_check :-) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens 2020-02-28 6:32 [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Amit Kucheria 2020-02-28 6:32 ` [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Amit Kucheria @ 2020-02-28 6:45 ` Bjorn Andersson 1 sibling, 0 replies; 6+ messages in thread From: Bjorn Andersson @ 2020-02-28 6:45 UTC (permalink / raw) To: Amit Kucheria Cc: linux-kernel, linux-arm-msm, vkoul, daniel.lezcano, sivaa, Andy Gross, Zhang Rui, Amit Kucheria, devicetree, linux-pm On Thu 27 Feb 22:32 PST 2020, Amit Kucheria wrote: > Make dtbs_check pass for tsens bits. I'm working on another series to > cleanup other DT warnings for QC platforms. > Thanks for the fast respin, patch 2 and 3 applied. > Changes since v3: > - Fixed up subject prefix > - Added acks. > > Amit Kucheria (3): > dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding > arm64: dts: qcom: msm8916:: Add qcom,tsens-v0_1 to msm8916.dtsi > compatible > arm64: dts: qcom: msm8996:: Add qcom,tsens-v2 to msm8996.dtsi > compatible > > Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + > arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- > 3 files changed, 4 insertions(+), 3 deletions(-) > > -- > 2.20.1 > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-03-03 8:52 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-02-28 6:32 [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Amit Kucheria 2020-02-28 6:32 ` [PATCH v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Amit Kucheria 2020-03-03 1:28 ` Rob Herring 2020-03-03 8:05 ` Daniel Lezcano 2020-03-03 8:52 ` Amit Kucheria 2020-02-28 6:45 ` [PATCH v4 0/3] Cleanup dtbs_check warnings for tsens Bjorn Andersson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).