From patchwork Thu Oct 4 21:03:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10626745 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C24E15E2 for ; Thu, 4 Oct 2018 21:03:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AFF326E3E for ; Thu, 4 Oct 2018 21:03:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C90C27F60; Thu, 4 Oct 2018 21:03:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8093B26E3E for ; Thu, 4 Oct 2018 21:03:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727536AbeJED6V (ORCPT ); Thu, 4 Oct 2018 23:58:21 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:41326 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727530AbeJED6V (ORCPT ); Thu, 4 Oct 2018 23:58:21 -0400 Received: by mail-lf1-f67.google.com with SMTP id q39-v6so7836822lfi.8 for ; Thu, 04 Oct 2018 14:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8CU8kSAHmBmTSwt1TZDHlvyLUXlfoxAeu9CPTjWg9p4=; b=nhGnhGe5x9xAH8W4t9FommDRF5pVYWmOe2YB1Wm6bUrerHFTupErZ6NG1KgMBd3x9g 6MfI5jmS+24WGJ96TpvdNo89rhgXeiLj51G3UPsBoFb6rSR+6Wze0hTdVcshaeCYEHlx 1zQQqaF8eH9/s6CKX9hWtYKV2Frv9F2/PiE7Jl7G5F1QB7/ZhNMJO031Z+PWV8rl4h9L 4Nsjh2Cc3IKgIfrRIt69XfAitjl3Ma7beNQ6QxjjSr2Wc30WBeSUylKFPFHrOSgvkx9E agTzuut8GOQqaX8tetGOGTctvkjHpTw954X6Vki9QLZshF/7x3MKHlFOTSMKglzbe5ku 7kAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=8CU8kSAHmBmTSwt1TZDHlvyLUXlfoxAeu9CPTjWg9p4=; b=nwlaK04NEYmO+y5S0ZFb3WpUFKQn5Y/TvS/J0JBOI+wC/Jk0//IXb1jcyNVwnzKxj8 Q81k2Qe0cy6Qn0Gb+dqU1drpM1kkT8jFaNpfwPGzx+kfWisrfqtvi+my03bD5slHCZ+D aHlDEv+mzAcfc6eK1g5kdfSHU5MYv0YH7QQ1ZmYDVMUpeV9NDKNM0y5ouYFUJq969Ckl 3o3dxL4+7E7/Pbvva0nrEVk/SL/AYMMsVc2T1OrFgAc+ufe9MrX0Ni72GJ1x4FXH4jYa LyOJ1BFuBNymBmca4iP6xACnTQYvKqQn784ByyYnljdlehbSmvEyCHP5+SicE7tWH1mi rlXg== X-Gm-Message-State: ABuFfoiDay+Yp5g5MUqe4GHGC7tkOQj86PnimRimzQp8tAOKlnSLocIB C9K2mxOcSEAi/mM7AR2QKlqUghp+Kwc= X-Google-Smtp-Source: ACcGV60pWTBjuMENwZZko9UPJ9fue9cstSYvLoNbrRbKArl9hmoyu9fm0RiupPZnlZkVLtoVJNPQOg== X-Received: by 2002:a19:3855:: with SMTP id d21-v6mr4727091lfj.148.1538686995467; Thu, 04 Oct 2018 14:03:15 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.87.8]) by smtp.gmail.com with ESMTPSA id q13-v6sm1296091ljj.72.2018.10.04.14.03.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Oct 2018 14:03:14 -0700 (PDT) Subject: [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support From: Sergei Shtylyov To: Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org References: <366d8e06-6164-94ff-823f-6b0d1e2d8d53@cogentembedded.com> Organization: Cogent Embedded Message-ID: <65ec6fcf-931a-a807-af1b-f204c03344f0@cogentembedded.com> Date: Fri, 5 Oct 2018 00:03:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <366d8e06-6164-94ff-823f-6b0d1e2d8d53@cogentembedded.com> Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the R-Car V3M (R8A77970) SoC support to the R-Car gen2 thermal driver. The hardware is the same as in the R-Car D3 (R8A77995) plus the CIVM status register (we don't use). Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- drivers/thermal/rcar_thermal.c | 4 ++++ 1 file changed, 4 insertions(+) Index: linux-soc-thermal/drivers/thermal/rcar_thermal.c =================================================================== --- linux-soc-thermal.orig/drivers/thermal/rcar_thermal.c +++ linux-soc-thermal/drivers/thermal/rcar_thermal.c @@ -113,6 +113,10 @@ static const struct of_device_id rcar_th .data = &rcar_gen2_thermal, }, { + .compatible = "renesas,thermal-r8a77970", + .data = &rcar_gen3_thermal, + }, + { .compatible = "renesas,thermal-r8a77995", .data = &rcar_gen3_thermal, },