From patchwork Mon Oct 15 14:11:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10641933 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 7BB4118FD for ; Mon, 15 Oct 2018 14:12:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D58329974 for ; Mon, 15 Oct 2018 14:12:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6115629A93; Mon, 15 Oct 2018 14:12:13 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 044EA29A27 for ; Mon, 15 Oct 2018 14:12:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726635AbeJOV5j (ORCPT ); Mon, 15 Oct 2018 17:57:39 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:41213 "EHLO mail-pg1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbeJOV5j (ORCPT ); Mon, 15 Oct 2018 17:57:39 -0400 Received: by mail-pg1-f179.google.com with SMTP id 23-v6so9221361pgc.8; Mon, 15 Oct 2018 07:12:11 -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; bh=hAh6T9szI3lW06n4kO2saRCGgLvj2cQTZRZKhgiRxNQ=; b=UbHqqTsyAeb1qoRUXjbxAJLwIQvLCfjH8WE0qyo0/CaIYDUbYiDEwFSoUYsGVs+J7J BcgvhvXGJeN9mergp+JcmWj9j0mcm+j/HMjAXnEZDnFuNVzlTB26LYTEWXBJ5hInfGOV TT2L+7vTysbWmiWCwSCSXsY6DEX+NuLNgJzcMfSoJ3pP1HYaFnxbs51YhzRr+00qDryf tQIbi5zNhEYMeekgD0eyeGE+UMijCvOa/2PEiJuJ2b4/olPnb4kF6lTnYuyf+iobM1iB RXjxpIf+Xnc2b5RG/kZ5D6sEvntymDI4WqEQj3DIKBgl78lftninQfcbIjBnS10vZaez N0gw== 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; bh=hAh6T9szI3lW06n4kO2saRCGgLvj2cQTZRZKhgiRxNQ=; b=g7jkLklR8OjYFnKecefRO02p2LvDJO8C5W31JcX5S0Wm8VPMZkeqettKWoCYzhyZju 3kbFo82AzyURgLk7SCDW7JUPBihpoFTF3UVHoHhHbKRT44tJ15XUb8uy4fknAH/O/Tva xp2Mo4G1Fgpp5WZl8+xAKQF5oDxrh9Cr8/jGrHtV4deAc0yZno38fxDmsOe8DbOeWflw eHn8jowYErzdN0n9wbtoNXgReW3GLBIh5DUjw/wfdpI55Ojhl8caoBdFAKb7atIHA+pC lcDq5lHPlFrOOHh3kBc9vbc8sodjQM3K9nwcRfQTBZv40GaWDeHdLKLxN2mmyIzNVyxY AYtQ== X-Gm-Message-State: ABuFfoh0NjD2JmZaufROU+GkyXoiLVdmXoWbREbHqoMxq27F7CY5hp/b TDlMK9YP+jpRt9oKdbjMGCBqYv6O X-Google-Smtp-Source: ACcGV634PkgFCYAqt10VI3j5DrsWIiZFXDjaK3ZGularkdZuCQ883sG1/3EiCX6pffFgN9mNcsOrqw== X-Received: by 2002:a65:5cc3:: with SMTP id b3-v6mr16307666pgt.277.1539612730682; Mon, 15 Oct 2018 07:12:10 -0700 (PDT) Received: from localhost.localdomain (p7732116-ipngn36501marunouchi.tokyo.ocn.ne.jp. [114.158.79.116]) by smtp.gmail.com with ESMTPSA id f22-v6sm15875787pff.29.2018.10.15.07.12.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Oct 2018 07:12:10 -0700 (PDT) From: Yoshihiro Kaneko To: linux-pm@vger.kernel.org Cc: Zhang Rui , Eduardo Valentin , Rob Herring , Simon Horman , Magnus Damm , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Date: Mon, 15 Oct 2018 23:11:58 +0900 Message-Id: <1539612719-9650-2-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539612719-9650-1-git-send-email-ykaneko0929@gmail.com> References: <1539612719-9650-1-git-send-email-ykaneko0929@gmail.com> 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 Document the R-Car E3 (R8A77990) SoC bindings. Signed-off-by: Yoshihiro Kaneko Reviewed-by: Rob Herring Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt index 67c563f..18353b9 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt @@ -4,7 +4,7 @@ Required properties: - compatible : "renesas,thermal-", "renesas,rcar-gen2-thermal" (with thermal-zone) or "renesas,rcar-thermal" (without thermal-zone) as - fallback except R-Car D3. + fallback except R-Car E3/D3. Examples with soctypes are: - "renesas,thermal-r8a73a4" (R-Mobile APE6) - "renesas,thermal-r8a7743" (RZ/G1M) @@ -13,6 +13,7 @@ Required properties: - "renesas,thermal-r8a7791" (R-Car M2-W) - "renesas,thermal-r8a7792" (R-Car V2H) - "renesas,thermal-r8a7793" (R-Car M2-N) + - "renesas,thermal-r8a77990" (R-Car E3) - "renesas,thermal-r8a77995" (R-Car D3) - reg : Address range of the thermal registers. The 1st reg will be recognized as common register @@ -21,7 +22,7 @@ Required properties: Option properties: - interrupts : If present should contain 3 interrupts for - R-Car D3 or 1 interrupt otherwise. + R-Car E3/D3 or 1 interrupt otherwise. Example (non interrupt support): From patchwork Mon Oct 15 14:11:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10641935 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 C2B56925 for ; Mon, 15 Oct 2018 14:12:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFCCA29974 for ; Mon, 15 Oct 2018 14:12:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A484829AE1; Mon, 15 Oct 2018 14:12:15 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 6074129974 for ; Mon, 15 Oct 2018 14:12:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726581AbeJOV5l (ORCPT ); Mon, 15 Oct 2018 17:57:41 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:33301 "EHLO mail-pl1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbeJOV5l (ORCPT ); Mon, 15 Oct 2018 17:57:41 -0400 Received: by mail-pl1-f177.google.com with SMTP id s4-v6so9398576plp.0; Mon, 15 Oct 2018 07:12:14 -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; bh=71szB0tN0XKhoufwew++YEtvhEJ86Nx8UQUk8YtchBg=; b=azN+kNiZ19m2hO6Ljwyq4KhXpzg9bpNBqCanKCF0NJj6XZCxFBm9qmMOH/Bl8svOxv 7wxupl2fm5ljl5tcfiS8GyB2/uNxrg8LN6FbtPxRqoKYnD2jwN3wHK6XA/+noR6rsKpJ WsR9AfdDBKlkdUPiDNzb24J8gMhTj9zylx+THoM8xOotJ3ChTh73WODcbZ7DHqS6zyIy GBF6QYuDyJp3y6zSCHCgw5ryDqPBsPu/aZzr1IbslRR5KEyvxlKBgPWgPeRofg87gPBw jMPlQJ6+wWt+fRNYH1GnEnQfX5k5gQ+KSPg+PUGmBFT7TU15wYifPbipdgzcHBDpaChO 6ptg== 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; bh=71szB0tN0XKhoufwew++YEtvhEJ86Nx8UQUk8YtchBg=; b=mx2iY1RWg15cFW1xErm2kHEBmSPnItILqIAnosu72S3Q3Q6YfvRBfgBAxKy3ksZd7W mcfNFMgb6ECBHxiVKX7t1e5uKT8Pv+JUJLHtCKV868Fx3LBn5Fj7eZLzmisC7VgCMCMi aErQh2w/Bm9ibTWmbxOE5WPjiscvfhc+qCpWUpSI5Hm1BKTl/HX58TNKE6vpDcYBGU+9 L3kN/hpo8PWRr/GUnLFaAiF+WfsXAD57Q3MsqEAVCYny4NDBQiDxs4Dzlo/E6v7pRZSb Xu+0Ad04fFl83WTZPruqd3dyiwC8JfConK/vSxYuQTb29rbnNQiWHaMwnkcV5Zqe/GQn Rb6A== X-Gm-Message-State: ABuFfojcjzGcvUPWBNYkdxCoIO1XSHFDZydIthPeJbB1fDczrKUvOOLE +4g5I0/Cg1yVwQB/dmAGuk4wOtSN X-Google-Smtp-Source: ACcGV62CA5aJFSgTLVhUGGROqK+JB9k2WdGotquCDCr6aq9Mc7wKCUNlCbmw50eF9nikLX27+Gwimg== X-Received: by 2002:a17:902:286b:: with SMTP id e98-v6mr17246116plb.110.1539612733961; Mon, 15 Oct 2018 07:12:13 -0700 (PDT) Received: from localhost.localdomain (p7732116-ipngn36501marunouchi.tokyo.ocn.ne.jp. [114.158.79.116]) by smtp.gmail.com with ESMTPSA id f22-v6sm15875787pff.29.2018.10.15.07.12.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Oct 2018 07:12:13 -0700 (PDT) From: Yoshihiro Kaneko To: linux-pm@vger.kernel.org Cc: Zhang Rui , Eduardo Valentin , Rob Herring , Simon Horman , Magnus Damm , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH/RFT 2/2] thermal: rcar_thermal: add R8A77990 support Date: Mon, 15 Oct 2018 23:11:59 +0900 Message-Id: <1539612719-9650-3-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539612719-9650-1-git-send-email-ykaneko0929@gmail.com> References: <1539612719-9650-1-git-send-email-ykaneko0929@gmail.com> 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 support for R-Car E3 (R8A77990) thermal support. Signed-off-by: Yoshihiro Kaneko Reviewed-by: Wolfram Sang --- drivers/thermal/rcar_thermal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 78f9328..b1bc5c1 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -113,6 +113,10 @@ struct rcar_thermal_priv { .data = &rcar_gen2_thermal, }, { + .compatible = "renesas,thermal-r8a77990", + .data = &rcar_gen3_thermal, + }, + { .compatible = "renesas,thermal-r8a77995", .data = &rcar_gen3_thermal, },