From patchwork Wed Feb 26 09:31:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 204190 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,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 658CCC4BA0B for ; Wed, 26 Feb 2020 11:58:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A81824656 for ; Wed, 26 Feb 2020 11:58:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="q7BXho3M" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbgBZL6a (ORCPT ); Wed, 26 Feb 2020 06:58:30 -0500 Received: from mail-pg1-f174.google.com ([209.85.215.174]:40245 "EHLO mail-pg1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbgBZL6a (ORCPT ); Wed, 26 Feb 2020 06:58:30 -0500 Received: by mail-pg1-f174.google.com with SMTP id t24so1192374pgj.7 for ; Wed, 26 Feb 2020 03:58:30 -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=WPkKnyITMi7kXeWtbSlS/aIAUZOsi+vJbY5BLkxXdmQ=; b=q7BXho3MER91BYoSM7ZxFTBBAxzMlvZ1q0Yk47po4Wvj0Cc0eLOaKYVMV8Q6cpMIok TpQLs6TP1k05LIhzfvVfjkslkrwRBJAVpOVwgb8t40/2LzR4ZilDjPK79QbyBBHerIY3 bpDv/smKFTaeQs0mooDMzL9vThHb579io6ZQOJgFMuk+Zh0zCraepLQR0U/Sc0vmGsJg wiI1BWsWa3uiJTdaVF4pTcaC87NCa1MadgXGqtVjqxhuZjXBq2lWRVrwWwFLgwEZb8Wl 50Pkbmq2MyHPWYk5X48YJUkDiQiv6VAdLHpp8Xqi4b4O5N6+F5mIxf2sH9R+lCxOY2IX tKZw== 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=WPkKnyITMi7kXeWtbSlS/aIAUZOsi+vJbY5BLkxXdmQ=; b=J3yqhWIfXIfoHW6V2QVHP1Kl/klCkArk7akOH9+lWssq8GkFUTuLalyrdGOCNEmnsV EAnTAFaUVRCYnF+KAM0metWr+fXjbnrANvVPSahFYje3mYxTf1shCvu1AU29vepquME1 +B9XXm3PRigZSgrL/tz2Px+0SiKasesH5BMHK2MP9nhKuk0sxdkbM8LLS9uINdK7Cc9i 7UUK8OMfeOm1hKZboCahdfnUmcAO0w6aMzkIhkJ2C3wa84icpvvso8KeKbo5n2MwN7XE TqQVgYWyy3P1fE+C3Rt/fy9uPNeuYs6VWivCxP+xeLj7NYLdlLZbVtYcRYHI99vfBJ37 baqg== X-Gm-Message-State: APjAAAXAUJl0nP2Uc4B3BeUv2eYj7X0u1IsDsknE4dZhSBd65tqXZ8h/ uGVtlBvIEAvpub+Y0ULw5Z+/pkhFJ8k= X-Google-Smtp-Source: APXvYqyAwBWs2W6AYgIUWs8Q01aW/TGfyDQTaU/xJ9kSZLluYVEiiIouadrDmBlXt/kqoSH0iXbiQg== X-Received: by 2002:a63:8148:: with SMTP id t69mr802349pgd.187.1582718309433; Wed, 26 Feb 2020 03:58:29 -0800 (PST) Received: from localhost ([2401:4900:1b38:7f42:3530:df3:7e53:a029]) by smtp.gmail.com with ESMTPSA id z4sm2612966pfn.42.2020.02.26.03.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 03:58:28 -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 v3 2/3] dt-bindings: thermal: tsens: Add qcom, tsens-v0_1 to msm8916.dtsi compatible Date: Wed, 26 Feb 2020 15:01:12 +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/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 --- 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>;