From patchwork Fri Aug 14 13:41:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11714621 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 2A7B0739 for ; Fri, 14 Aug 2020 13:42:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 122DD2068E for ; Fri, 14 Aug 2020 13:42:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aqZaWTjW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728390AbgHNNmd (ORCPT ); Fri, 14 Aug 2020 09:42:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728347AbgHNNma (ORCPT ); Fri, 14 Aug 2020 09:42:30 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BD60C061385; Fri, 14 Aug 2020 06:42:30 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id t10so9966286ejs.8; Fri, 14 Aug 2020 06:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2bs0AcB7qbmfQNprig5SI2Kb6XQbYlIr4AXzloSOjX4=; b=aqZaWTjWfIK9QTifJNdS3EEbrKib8Tk9ULRvZ2JOg8nGjp/Ofc1mAPrEiN+89U3mnA hyGCMiPomiX3VgVxOTsCIBxn8Uozr6XEhVZVnWS8o8hQbMd00X8PbEEbPvAJSe+JxWdX Q+NKNZiwqWG5jTBUCGN4Q8wnutL9NThYDh1Vy2cMbuupz8Lmgl+Aw0ga5gy1Ns3bRACn qrhHAKI/9LBUSMsC6nv1wqRN2tDjpTEi2yHLZxqvoLBQ8MZ0KuUbx4Dm8xo6M/FCFdnO N+tIXT/jL3tQU4hHGE+GRvc/+M3RrDxTVYEOZlYOoHb6xT7qeK9GNSK7H8d82+97Ocd7 TnxQ== 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=2bs0AcB7qbmfQNprig5SI2Kb6XQbYlIr4AXzloSOjX4=; b=sjZYRrYIQBLAZeiXZR24rVPoKJjbJzJhDkmrh05WTwlxtasfnUWqIoMTMgZPnBOArO 0SBhsoSACQm/K9Z6vnwACENCvOgyufMTcFL9kOgdrYXURMDl5uAk/fY1U9ZBCZrjKqKF qDKS4qwKiqUKaMheWXVy2rLNP3CdzUne8cZnte5SVI3eLQkziOXpmmY1uuVKH98z8WJP QiyUeZb5RA7dE/klUyIdizLOD/5ApGgTyfKN4wdo+gnu1Uh0pfvxWrTCPZv4I7r626xE AWA0GuNJmAZ/kUPx6iGzmTSHirGipabAJx1e/IBeQDPhewbo8hNql00S0UHiGzQHjKzy Nf8Q== X-Gm-Message-State: AOAM531eLEvmWKe6HkUW5lOjVyEHAfNkccTj01Lo7Zdr225Q+uNnocUB O5xn90nk549Y+9mP2Oc6+/Q= X-Google-Smtp-Source: ABdhPJyirA/O2w/YoO9JLlrGxROtlWU2Xa5iYgGRxnr64pnEqZMbI/JTXTpgXkhoKBlv7dvZC3UgvA== X-Received: by 2002:a17:906:b294:: with SMTP id q20mr2376743ejz.223.1597412548969; Fri, 14 Aug 2020 06:42:28 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host-87-0-192-118.retail.telecomitalia.it. [87.0.192.118]) by smtp.googlemail.com with ESMTPSA id s2sm6767118ejd.17.2020.08.14.06.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 06:42:28 -0700 (PDT) From: Ansuel Smith To: Amit Kucheria Cc: Ansuel Smith , Amit Kucheria , Andy Gross , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Rob Herring , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v6 7/8] drivers: thermal: tsens: Add support for ipq8064-tsens Date: Fri, 14 Aug 2020 15:41:21 +0200 Message-Id: <20200814134123.14566-8-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200814134123.14566-1-ansuelsmth@gmail.com> References: <20200814134123.14566-1-ansuelsmth@gmail.com> 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 Add support for tsens present in ipq806x SoCs based on generic msm8960 tsens driver. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index 965c4799918a..d571a6ddd914 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -993,6 +993,9 @@ static SIMPLE_DEV_PM_OPS(tsens_pm_ops, tsens_suspend, tsens_resume); static const struct of_device_id tsens_table[] = { { + .compatible = "qcom,ipq8064-tsens", + .data = &data_8960, + }, { .compatible = "qcom,msm8916-tsens", .data = &data_8916, }, {