From patchwork Tue Feb 25 12:08:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11403405 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C16081395 for ; Tue, 25 Feb 2020 12:08:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FF4A24656 for ; Tue, 25 Feb 2020 12:08:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EpBw6538" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730596AbgBYMIo (ORCPT ); Tue, 25 Feb 2020 07:08:44 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41342 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730584AbgBYMIn (ORCPT ); Tue, 25 Feb 2020 07:08:43 -0500 Received: by mail-pl1-f193.google.com with SMTP id t14so5414108plr.8 for ; Tue, 25 Feb 2020 04:08:43 -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=EpBw6538rnAvkt2GJlJB2sFwMEpU+JHMH9OIxpEBoxI13fUpcFrldhEepNuSMMOLfU XYzWiDBt2TNO1/UK5UoKBkdeClU51ocNdXx9fSmeTfhKNt10DT0Dhp8UIQIVwNHSLL0u HRQluTrB29LpziFReImfOnqQ+cpr7rPrcumQmfDGfPqCsUl7eObphCuWFwZ1wQx08ENS xr3iuAiFLcQCeKkl1JYlxCLLOennjXG281tkqBDG8HzVxuvetLgi2+iDIJMqY3DA/zYv Qa5SKYV1zIpv6zeIzq91CeczSXYjsm4ro79V1Y78NS66sAuxwjkBxki8SlwZHXIXwvry 4PDg== 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=V2s4g5GmKKGrXeOBCjKX+yrl4/floiu9s/GcYnzjw2PRPNiXFsNJktgZMwR0wonMKo z5mO+xf+x08tFsEFkmeRhqfbMxTaVwu1yboTrVvgXuZzuLu3i9HuyCRVtx1PMjDhDQIC dyjz6s88LOeU66YMZ/dYAe7B3ZcvbONnovOV/YErHBvwSk8xIsKadaVB2VQHzTLDhsRu q/jUd2VFHbirc1xIOmCtBI/pJtCHjo252eSI6AkvLOgWbqUyOqCXl1b00r9NJb5Ir82h 4qajGoSE55myHcMEAiJTObD+p5gCEm7rQn8wBBgobuzsfH7kxDkkRH3rddH3Zqki9zuk pzZA== X-Gm-Message-State: APjAAAVRantu7FwfRZ5uzMfPETWmpNBZ0Z27iKkcqz7YJxAlLRSy+aXJ J1yq/CXqHygIqUnNcI9OVVHl/g== X-Google-Smtp-Source: APXvYqzSXHtUg1rAdmq8DqLm/jer+WoTdPtlDSk8bCpUE7WDHqnB1AdPOkApe299Vzns2CmCYgsVvw== X-Received: by 2002:a17:90a:ac18:: with SMTP id o24mr4939205pjq.33.1582632522438; Tue, 25 Feb 2020 04:08:42 -0800 (PST) Received: from localhost ([103.195.202.114]) by smtp.gmail.com with ESMTPSA id w128sm15175130pgb.55.2020.02.25.04.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 04:08:41 -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 v2 2/3] dt-bindings: thermal: tsens: Make dtbs_check pass for msm8916 tsens Date: Tue, 25 Feb 2020 17:38:28 +0530 Message-Id: <33b60b91ee43359d7507054e9b95c3078fd5cda3.1582632110.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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>;