From patchwork Tue Feb 25 07:31:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 204299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 893EFC35DF8 for ; Tue, 25 Feb 2020 07:31:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5CA002176D for ; Tue, 25 Feb 2020 07:31:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Tr6XjG+8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728978AbgBYHbd (ORCPT ); Tue, 25 Feb 2020 02:31:33 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36667 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729201AbgBYHbc (ORCPT ); Tue, 25 Feb 2020 02:31:32 -0500 Received: by mail-pf1-f193.google.com with SMTP id 185so6721689pfv.3 for ; Mon, 24 Feb 2020 23:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zZsq6DdlTUllP1Ky5M6aIC5cYvOLunweWDxkADaPGjU=; b=Tr6XjG+8w/WVnbmg1OAs62FUbJ/tFZloNl/UDY8uOnR+782nDkSXFsijmlseW0afa2 aDc2uqaHoeezyb2pQeCXw6AoLdhwrEecl6pAW5nIn+IjSn9b/pYCrp13O9T4eZgnx78O 9/N1qKivaVK8c5sbSPC5l+OJSR6UZxBtH3XahWR/kETl0MlscRa8GGdWt0xBfk3nIX4d 09gBEEYu+qfpneePimChIxlh1btiBNqAra2daW6XufpEqEfcT/3RdD6zdw3wk3VCpe4W avah/+Iq3JkC+tHbi8wGsv2gFULA/6oyJN5PiTH7VUXCUtJOT1xrxdcIg3KV2kfFOZm7 2DJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zZsq6DdlTUllP1Ky5M6aIC5cYvOLunweWDxkADaPGjU=; b=DwY/7snm6g3G9Em6blZOoUXDEmmTbe7GpK4VCcVNFxAOoKGmT3559RVteB7HwUm3xq 0/yw2Prz2soljbYt2NyS30WiJ3E+RTN8AeZG90nIHjG5ZTYsQbkiyzt83Ao49gwo7WGE /WJl1K2Q0E8WsJlEWXr1NjB/X/fEcFOORLFBZH3TVRS1RetSdeo1BZCwzFEFtcY+68hQ 8Z7gJtcqKoVhRouN0IzjdnhwRTTaK/NQ0j8kAQroxY7VN8WiAvcCiYW9pgmKnngVmyU1 TBVIGTuQg6zDdZG8Q7FBd+Ch2BOQkaN5WuBwG1j0wlitONpN0SXW2yx7ocUC0ID1N6Jq h4Cw== X-Gm-Message-State: APjAAAV6hXZkgeMYGnjALMomKyLIeg3P+7VRJPC3v1v/ojpGDdgTASPJ Lgrw8MMNsxWZNUWX8mCzuWkfYw== X-Google-Smtp-Source: APXvYqws+7RY/sQ+7jnJlytqn0LEDGzDdcGQ/AzcWV/7izOxobUMOGH8YGCG/GxfQy0YS6aNbqWnRA== X-Received: by 2002:a63:e841:: with SMTP id a1mr9876074pgk.244.1582615891929; Mon, 24 Feb 2020 23:31:31 -0800 (PST) Received: from localhost ([103.195.202.114]) by smtp.gmail.com with ESMTPSA id q12sm15511899pfh.158.2020.02.24.23.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 23:31:31 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, sivaa@codeaurora.org, Andy Gross , Zhang Rui Cc: Amit Kucheria , linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v1 1/3] dt-bindings: thermal: tsens: Make dtbs_check pass for sc7180 tsens Date: Tue, 25 Feb 2020 13:01:20 +0530 Message-Id: <0f506cfdd8eb9d50b5eb43c9dca510284ac8ded1.1582615616.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fixes the following warnings: 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 --- 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: From patchwork Tue Feb 25 07:31:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 204298 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 292EDC35DFA for ; Tue, 25 Feb 2020 07:31:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 01C7724670 for ; Tue, 25 Feb 2020 07:31:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rHquTiE8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729417AbgBYHbl (ORCPT ); Tue, 25 Feb 2020 02:31:41 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41508 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729403AbgBYHbl (ORCPT ); Tue, 25 Feb 2020 02:31:41 -0500 Received: by mail-pl1-f195.google.com with SMTP id t14so5129342plr.8 for ; Mon, 24 Feb 2020 23:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6MeNT2LBtvvWRJ8skAFje3DzrXRMuYy+VgIgQTPNC+Q=; b=rHquTiE8TUja3dt4Mjut7qSrPx8UbwPjZAQBsFOjEe81TYZcG1QzVdDP5cPVCiNSRr UtdvehGce5clYBhp3qyoLcr/SjcGnOr9Y1mN3MlCj+dcXvHGpQAJmtyqsoPWxResXyLd g0zlZeB16O/TTvlRcfD/4aQb1MwwVBF8pMBeQIc7rBmQUUKJyR6tKt5joehB6IJKWjwh x1GFw/mfJuZelPLVtq5tRMkF8kf0zqkyvJsUBPS7mx1QA/BP7fB58BYjX0enTUZFVZ23 IZY+7r+MOOVqzY6kL9hD6kmviGRGQZxjcZvijNMMcI8fWJVY2feHH5Uv7C3FANoNTlVa E5cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6MeNT2LBtvvWRJ8skAFje3DzrXRMuYy+VgIgQTPNC+Q=; b=YLoNt4OccYGkc2CUYfR1B8w+uM7tv8I1Ker+fHevhhi27YUfiq3QW7R16Ju/yOyoto ROLwhAHzxeP14lgBQX6u1V4nRhugRqKJZe49ENu4S809cQK4Bk/FpcPM2cCpFY1E1nOt 6dT79VwqAjesnsbDKaxCccJd3x6B31I9urV+4vT+yQLlzpSJbSx4kOfFFpbvJ2WCcfhD Ys5ayAjY7HsaB+0VjRY5MSb+wz0Zb91FzXMeIEJfQ2Pxs32KEVVczigimA8nhOtSuQMq Dd7yn8Coo3VryHkwQ+py5J3tLfT7IG4Y7xgT3ZY4lIXWQoNnPLkYdjhqV7sLUMLa5sK3 dfKA== X-Gm-Message-State: APjAAAVMBZLLFx/eHM2qR5kwtstyRCmZN9cse3wqQbjb2rJ41HOM58AF DRWpafVXRyBg7WsG1fgqbhlUrQ== X-Google-Smtp-Source: APXvYqzJsp59Rs0HcueeuzygtiN8ttUYqfXk8tRf9Kt50g+PItQ8Lj0vSK/QmgfO/K2DCrAwmNc1Sg== X-Received: by 2002:a17:90b:3c9:: with SMTP id go9mr3647591pjb.7.1582615899920; Mon, 24 Feb 2020 23:31:39 -0800 (PST) Received: from localhost ([103.195.202.114]) by smtp.gmail.com with ESMTPSA id a17sm9056906pgv.11.2020.02.24.23.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 23:31:39 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, sivaa@codeaurora.org, Andy Gross , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v1 3/3] dt-bindings: thermal: tsens: Make dtbs_check pass for msm8996 tsens Date: Tue, 25 Feb 2020 13:01:22 +0530 Message-Id: <7b7291509e02c3100cb765cc846c6df4b5540037.1582615616.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4a9000: compatible: ['qcom,msm8996-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/msm8996-mtp.dt.yaml: thermal-sensor@4a9000: compatible: ['qcom,msm8996-tsens'] is too short /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4a9000: compatible:0: 'qcom,msm8996-tsens' is not one of ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4a9000: compatible:0: 'qcom,msm8996-tsens' is not one of ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4ad000: compatible: ['qcom,msm8996-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/msm8996-mtp.dt.yaml: thermal-sensor@4ad000: compatible: ['qcom,msm8996-tsens'] is too short /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4ad000: compatible:0: 'qcom,msm8996-tsens' is not one of ['qcom,msm8916-tsens', 'qcom,msm8974-tsens'] /home/amit/work/builds/build-aarch64/arch/arm64/boot/dts/qcom/msm8996-mtp.dt.yaml: thermal-sensor@4ad000: compatible:0: 'qcom,msm8996-tsens' is not one of ['qcom,msm8976-tsens', 'qcom,qcs404-tsens'] Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 7ae082ea14ea..f157cd4f53b4 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -446,7 +446,7 @@ }; tsens0: thermal-sensor@4a9000 { - compatible = "qcom,msm8996-tsens"; + compatible = "qcom,msm8996-tsens", "qcom,tsens-v2"; reg = <0x004a9000 0x1000>, /* TM */ <0x004a8000 0x1000>; /* SROT */ #qcom,sensors = <13>; @@ -457,7 +457,7 @@ }; tsens1: thermal-sensor@4ad000 { - compatible = "qcom,msm8996-tsens"; + compatible = "qcom,msm8996-tsens", "qcom,tsens-v2"; reg = <0x004ad000 0x1000>, /* TM */ <0x004ac000 0x1000>; /* SROT */ #qcom,sensors = <8>;