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: 253773 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=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,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 817FAC433E3 for ; Fri, 14 Aug 2020 13:43:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59A682068E for ; Fri, 14 Aug 2020 13:43:06 +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 S1728384AbgHNNmd (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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, }, {