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: 10626747 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 96FD814BD 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 89B5B26E3E for ; Thu, 4 Oct 2018 21:03:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DC572793B; 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=unavailable 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 3318F28426 for ; Thu, 4 Oct 2018 21:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbeJED6V (ORCPT ); Thu, 4 Oct 2018 23:58:21 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35808 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbeJED6V (ORCPT ); Thu, 4 Oct 2018 23:58:21 -0400 Received: by mail-lf1-f68.google.com with SMTP id r191-v6so7865314lff.2 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=N4xZgw+oBBteYedXtKPHp64mGlNpnY+PV3Qwp7L9ceaN/OPgN4c2nPoRvCn1JMa9MV kp0Sul1e1XtIhqybVCWp5VoXn8pSzx5ncCva1TWn/jM294kQbrSnpyGNIig3c/OZq9c/ S0MNSCnN10NZQ6tNIUSxBVXRnjG04Pw/EIrMQVI0BVhGXCXvMpTCCaFM/gJZS2JvA2Eb kyEBH/fddld784iakw795u+V9K1iYMZUJi3DYOQmfdBE+836bXUWVlSmKeFu1PmE1ekm vuh6Tao7hNIqPhNFaYr89T+SB6a2zKEhAUMLf1Q2pXDM7D02e/8VvzKaTGJW6SLYeHBq d/8g== X-Gm-Message-State: ABuFfojm/FOmr4ipA6hSlFCovEJUiLnszPI5LmJ5IruFnhp/MnG/56UW /3ADRHT0UE9Mm8Bq4OmL9PL2ZQ== 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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, },