Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2675009imu; Mon, 19 Nov 2018 04:26:50 -0800 (PST) X-Google-Smtp-Source: AJdET5dnuItlZS9nV2hoUj3O/9hA3j8la7c7S/FYUx+XZcwvkkHq5wh5453cWJ5/0a94KbfEkaoL X-Received: by 2002:a63:ec4b:: with SMTP id r11mr19416147pgj.44.1542630410708; Mon, 19 Nov 2018 04:26:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542630410; cv=none; d=google.com; s=arc-20160816; b=ejGXJQt1668EYO0npsCOAPK7nH100g+9Mo/G1Lou1cPtAWbCioJtG0hpDC2/BoaH3J 3p92v8d7EXfBdS3dJ6JaCoC7Wc9iR/O7IMHlQvLKtoIU/CUDiyb/FRKspS30byyubIg3 NvlT13e2RycEABxZfvfa8WIaL8hKO75Bl9MjWdulOTaWb64A7qR20hIl1RH3A+9o50u+ EUbiAEPbV/d0ikAehJ9E6AINm9MP2KC1zzWb8ppSCoZ2a/+KUnUKOy3J359SMnTHRDJ0 zQJC5Ip6UhQiZr9G2InVWIyXraZzVQPdLuN9WTDTUQZvukU9CSrKIHUVpvP7Hl20c2OE /eSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=e94DIEaO20VLtFTPXBdeuigr1I2rzbvph1yIasDBL34=; b=EJBNqailY1KembYb1vYykgVEHFTCafMqQa/Z6T0cbZXHjZlBE+KkKNA2JzB2obDYjT WReipf7/A1o681PcVW9apxlqsNZhPkZtrRnfMIPqlZOfhNgHR6PO8/mKBiiDG6tZXQ6i YOXpRNMITMoisLmzJwC5CfUaR6cK80c0egpUZE87oHTuka/jxH6xSS3ClA911jy90953 C40nA0kM3rIeVOirgpu+OL+9CgvhEmZT8JV6iW52Z84EPOtCVRhSsuas9UFz2hJ0rRfE KBrrcYRy3BsWaQWN6BSiU/nOkaYfAZjrwZEKYFdOJUD0mqTNm1hyUcAHC5uB3WRxLwSl H3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ey27Y8J2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si23777167pfc.57.2018.11.19.04.26.35; Mon, 19 Nov 2018 04:26:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ey27Y8J2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728823AbeKSWtP (ORCPT + 99 others); Mon, 19 Nov 2018 17:49:15 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40173 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728747AbeKSWtP (ORCPT ); Mon, 19 Nov 2018 17:49:15 -0500 Received: by mail-wr1-f65.google.com with SMTP id p4so22674993wrt.7 for ; Mon, 19 Nov 2018 04:25:46 -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 :in-reply-to:references; bh=e94DIEaO20VLtFTPXBdeuigr1I2rzbvph1yIasDBL34=; b=Ey27Y8J2YhDE6+lRkH45SC/ejdTI66xX5FYehwkoJNLKYb2WF+BiAYZkU3ZNZXYALm KIk21DyB6303cxBETEvNWE8CyCVt82fCJc0SAI515Ohhw/5xoHhKVCy0UP4lkDSsVY5R jCiuIVulkdgN8ok5R4m/FcpkxJ4p7OGfHnAZA= 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:in-reply-to:references; bh=e94DIEaO20VLtFTPXBdeuigr1I2rzbvph1yIasDBL34=; b=N/73QyO4uGuXa/p4IhTWLL508KfUfUHUlPzpPsaHIP4YOyAT7PLJzvHe/DfKvkF7RG ax/M9349Fm8zm89RlId7UxhUwI4dX6ksVgy0huIozyHiFz5oH4e3z470bomlz60DIT7M FIowEITepx9vvmS9NHAgz9lQLf1Fvf6KFxuOTWjK82orrQy3HYoaJZS7y94WKSIcJazB 4umUedzciqolGu4RJaSq4dlBQwZOjwBY3NtxOFvp7obB1wVIUKcHykY9CfKFFHBvf8HY 0mEQsJVjxbd58r9mb0L/7/LTYmeKUsEFTK4qRXTr9klDi+E9aR1fqO3RCeElE+HjON9q GepA== X-Gm-Message-State: AGRZ1gKCu3inrBOMIoHP+YHs+y0pqQyRCs+NcYovsC9f9AFr3U8+EITI AnKj5y6oTbFqPj3wqmUzAEItJEutqMM= X-Received: by 2002:a05:6000:1009:: with SMTP id a9mr17527207wrx.271.1542630345269; Mon, 19 Nov 2018 04:25:45 -0800 (PST) Received: from localhost ([49.248.195.80]) by smtp.gmail.com with ESMTPSA id h67-v6sm42241111wma.10.2018.11.19.04.25.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Nov 2018 04:25:44 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, vkoul@kernel.org, Zhang Rui , Daniel Lezcano , Rob Herring , Mark Rutland Subject: [PATCH v2 1/4] dt: thermal: tsens: Add bindings for qcs404 Date: Mon, 19 Nov 2018 17:55:19 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org qcs404 uses v1 of the TSENS IP block. Create a fallback DT property "qcom,tsens-v1" to gather common code. Signed-off-by: Amit Kucheria Reviewed-by: Vinod Koul Tested-by: Vinod Koul --- Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt index 1d9e8cf610181..799de30623522 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt @@ -8,9 +8,12 @@ Required properties: - "qcom,msm8996-tsens" (MSM8996) - "qcom,msm8998-tsens", "qcom,tsens-v2" (MSM8998) - "qcom,sdm845-tsens", "qcom,tsens-v2" (SDM845) + - "qcom,qcs404-tsens", "qcom,tsens-v1" (QCS404) The generic "qcom,tsens-v2" property must be used as a fallback for any SoC with version 2 of the TSENS IP. MSM8996 is the only exception because the generic property did not exist when support was added. + Similarly, the generic "qcom,tsens-v1" property must be used as a fallback for + any SoC with version 1 of the TSENS IP. - reg: Address range of the thermal registers. New platforms containing v2.x.y of the TSENS IP must specify the SROT and TM -- 2.17.1