From patchwork Fri Feb 28 06:32:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 204075 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.8 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 9B604C3F2D0 for ; Fri, 28 Feb 2020 06:33:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 734682468E for ; Fri, 28 Feb 2020 06:33:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZAia9GV/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbgB1GdC (ORCPT ); Fri, 28 Feb 2020 01:33:02 -0500 Received: from mail-pj1-f52.google.com ([209.85.216.52]:39374 "EHLO mail-pj1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726687AbgB1Gc7 (ORCPT ); Fri, 28 Feb 2020 01:32:59 -0500 Received: by mail-pj1-f52.google.com with SMTP id e9so873613pjr.4 for ; Thu, 27 Feb 2020 22:32:58 -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=L0WGdBs/BRtkbt1VGWWlFtU3iVs0rs7BsxsJ0Z9JuEQ=; b=ZAia9GV/LWifb6zdeE5SJiRiN/n4SwcK8pV3wASoAfhP1RbYa862t+9EohzfH/xQPH RLF0pFbp7EDishXlm95n4HIiMxBEd3iw1Ycads7g1/WAo0rgvzew9G+1xg8k7NZTQpMO 6UzItqBGp63a4fs/Wxj9Ja8V50xyOjH3kn+mEsm2CDORJbQuyYz0zSYFgj9qCvubSjdt hVvdKpKtmLTOh95UYH1wRhSHDLZIPwWw2RacSdmzJO6lGDSmBq/xhlRdrgRQSFDnpAf2 +6juUKu2TCZd+U1wSYA+RzMC2f7gCA5+SoJd6U8tdFuxEcS1ANlK9nAa9WWCAwztkT+0 eJZg== 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=L0WGdBs/BRtkbt1VGWWlFtU3iVs0rs7BsxsJ0Z9JuEQ=; b=qPC8vVGYlckqOr5TITM22k/J5PwbyEoKYpsB7kZPEm4bInFj4nOh+QCaTVYySxCaaA oyuTQ/9OeO+NvM5pVoIIF3C+nUA0XMKSWyc8Ax8pRLhk1+RYjTckGuULISMEutD8cJns b6z9XuKRGlrlj4jgWNv1regI7dkHlqjIYP7ctx5sBlJ0u6GFvDPj07Ly2XoV6U66DdQT RUFhP3ZmjMV/4ZnD9M8T9GJjkzZxCNS0ZnSXsJDoK7/YBJllT3UETGTUTcZEIa1JCNn5 Z+QcwWqncJNSfIsIFm/Q2dWEm+GQbvBp1FNAOj3ndZEU2/Yk/vKM1du27qMalhv/0S03 k5RQ== X-Gm-Message-State: APjAAAW6M1JyHHB9vF8wH2pqMHVxCcJosP3nWGFQqZtXwVKLyfrr2pqP An2MPmRCoTKrz9PSlxrcXEXO7w== X-Google-Smtp-Source: APXvYqx7AUCLBuZ9ybD3qob3gdKTf/mKwDN3LwBOrf1HM/wCDoM0koyjqn/cGzXaUa0vBUGSBwOmow== X-Received: by 2002:a17:90a:d986:: with SMTP id d6mr3063278pjv.78.1582871577873; Thu, 27 Feb 2020 22:32:57 -0800 (PST) Received: from localhost ([103.249.89.56]) by smtp.gmail.com with ESMTPSA id d4sm763369pjz.12.2020.02.27.22.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 22:32:56 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vkoul@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 v4 1/3] dt-bindings: thermal: tsens: Add entry for sc7180 tsens to binding Date: Fri, 28 Feb 2020 12:02:40 +0530 Message-Id: <8309e39737c480b0835454cbc6db345c5a27ecd4.1582871139.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 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 Reviewed-by: Vinod Koul --- 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 Fri Feb 28 06:32:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 204074 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.8 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 33713C3F2D0 for ; Fri, 28 Feb 2020 06:33:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 083F624691 for ; Fri, 28 Feb 2020 06:33:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="i0mXqGQr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbgB1GdO (ORCPT ); Fri, 28 Feb 2020 01:33:14 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:44174 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726857AbgB1GdO (ORCPT ); Fri, 28 Feb 2020 01:33:14 -0500 Received: by mail-pl1-f194.google.com with SMTP id d9so838829plo.11 for ; Thu, 27 Feb 2020 22:33:13 -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=z16ZHpuypSAVdnxOxij5MvVMLN1BTwXGBSuHheXl+q8=; b=i0mXqGQr5GdP34akzJU2rXrJDzTsqrX/p7eCKI/ia2WYggc9Ju1+iUOP0ImylqI54T IKZX8AnrS+OqtZbM/AcsiLzWkA3iw+DD819cIseEZN+GSnbbddb+cAyMlijjCRPp3YTl dQG3CXIhIVahebgHL9zMYwpQIvpTIxC6TMZhdx3VC5FGxMkvCj5aPQ1Wfhmj9H1aBTiL tWAVIr6+FJf0qcpTQw1cGyEi/GaGAr4khCC7BGLEPPrzA+amdm+OYT0/j8TWtFTsNOK9 I5BUCS1TNSU0ugPdvCzMBgqrpS1ksu1zSkdbWbeOoblsDdImhhTxBovEs0BvTG9FT18M Q+oQ== 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=z16ZHpuypSAVdnxOxij5MvVMLN1BTwXGBSuHheXl+q8=; b=BYO7gapXqAr4oxe4E1gXzlXqn0ChURpXcv+5gGebE4kZNWwLdDpOubW0BcXxmTMLkm ndgcFF7u/43oAvaTh1qeVduLSmFkgK2DuIaPCWVj2Qh700DZcbACHoP2O3zwl3b5s1EB v1pZahiA+PlxYVicb1zXuIit5mJExKbFhqOj2S/PLIkfbvtJOdVPhWPFkffrssZqG/61 KORl+ejyZ/uHTy325ZDfuAGa7wzmTO2BF3YlK83ywmaKtX0Acq5EZJ9KfZsJP3Pf5fRC w2pMQ819N/+q/75JAxU04S/4znRKJYCDsFK2t3vlZgwbsNwzV2hMkEpagWn6Ow1YXKUb mHfw== X-Gm-Message-State: APjAAAV2Wkels9PdEBPWpDjPlcWcKBwyBkNxpkMtD26dH8/XrMWvFRap cqqW1or7idLUI1bpuCOa8ltBWFPqy58= X-Google-Smtp-Source: APXvYqw1CF+JtIMKBXwKc+VzDvcLRXgVhoVWOsCC12dQe/rihzCnhdFZbclxJc7jAwzPUcFCvD5uKg== X-Received: by 2002:a17:902:9a48:: with SMTP id x8mr2747564plv.14.1582871592974; Thu, 27 Feb 2020 22:33:12 -0800 (PST) Received: from localhost ([103.249.89.56]) by smtp.gmail.com with ESMTPSA id d73sm9942863pfd.109.2020.02.27.22.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 22:33:12 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vkoul@kernel.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, sivaa@codeaurora.org, Andy Gross , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v4 3/3] arm64: dts: qcom: msm8996:: Add qcom, tsens-v2 to msm8996.dtsi compatible Date: Fri, 28 Feb 2020 12:02:42 +0530 Message-Id: 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 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. /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 Reviewed-by: Vinod Koul --- 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>;