From patchwork Mon Dec 17 14:50:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10733605 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 79BEF13BF for ; Mon, 17 Dec 2018 14:50:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DD3A2984D for ; Mon, 17 Dec 2018 14:50:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6102529FD2; Mon, 17 Dec 2018 14:50:51 +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 181EF2984D for ; Mon, 17 Dec 2018 14:50:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733151AbeLQOuu (ORCPT ); Mon, 17 Dec 2018 09:50:50 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44001 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733001AbeLQOut (ORCPT ); Mon, 17 Dec 2018 09:50:49 -0500 Received: by mail-pg1-f196.google.com with SMTP id v28so6222994pgk.10; Mon, 17 Dec 2018 06:50:48 -0800 (PST) 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=yvgL8zvdUdrLClTmydYduIuUpOYbTV0KPXZsw84MMyQ=; b=SaiLQxkLqGA5obEUcgaBMLoHTx+OBDrNk+RZnHpX1ID2WuDDwZavY7a5O0aVFHwpd3 BccyZ8HyES2yv+JsQ+rsKSuzrCfb6QxI8cIHuXC4N50OLmNQbIIekOZ4yXd/thB3vo7T bYoyHhQY0akmXlEUvnW3CpnWjck1IEpE6mHXGUlxI/ma4bAZ0018eCLFuyKIHIfnMklA MifdYGfGKiI8vuyt9jZrxxa7NdmHoZTHga1/li8b4vZDt/L7XpDaHLi4h4Etn7CPwn4v Uq1WNrwxFIdwRWeZ0jqNQlD5uliBZPNT0eQwy9XevicnnpfHSYxSyWFdye3y5gwzEVAb 4ZLw== 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=yvgL8zvdUdrLClTmydYduIuUpOYbTV0KPXZsw84MMyQ=; b=RTF4mxfHMzsvCFEZ3GWZDxoUjQFpd3NOaOhh6VZrhj4yu7DoeV1RA9iNSdxAjYMN5T 0kzmljcLLrurq2B8Cu1b1FURooLukkN2Zagr/xBhEFdWaMNoM7V/dDWkJ7inIs6OYINZ Jk5TtoRya4Q2kJerk/yUwzK9OtQRBuP9nRm0e7kuo2I7xBWhFvwzmQsCvGiB8VVtcVU9 yr7oYENZvutCrrY5Aj/HVHJp4PxCc/zVe6+4u+0Ukon5mRB8qUhSw1Yu1ze16p+Y2G/M loWYJu+RgtzXOjeygfmUI/l3iweZ07S6/OWS+XZ8hkKIr2bs6QR3fznB86L8XRkOZv7u /mQQ== X-Gm-Message-State: AA+aEWZdfRsv1k+DGOwB8XjUHYpm3AWUjW+LGrXnSDQBt9iBhXNIS/Xl VFhQGz5Gpm8rQq+raxzz268tTusL X-Google-Smtp-Source: AFSGD/Uncu+QC31SEMyjkImHrJ9pyfBDANNkYP8p9nDbuEvEOPle49vDEsw9C8Iu8WxjE5A3W7wQFA== X-Received: by 2002:a63:6207:: with SMTP id w7mr12048575pgb.90.1545058248320; Mon, 17 Dec 2018 06:50:48 -0800 (PST) Received: from macc.flets-east.jp (p7732116-ipngn36501marunouchi.tokyo.ocn.ne.jp. [114.158.79.116]) by smtp.gmail.com with ESMTPSA id v191sm33312081pgb.77.2018.12.17.06.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Dec 2018 06:50:47 -0800 (PST) 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 v2 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Date: Mon, 17 Dec 2018 23:50:20 +0900 Message-Id: <1545058221-22529-2-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1545058221-22529-1-git-send-email-ykaneko0929@gmail.com> References: <1545058221-22529-1-git-send-email-ykaneko0929@gmail.com> 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 Document the R-Car E3 (R8A77990) SoC bindings. Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman Tested-by: Simon Horman --- 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 73e1613..0520c18 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 V3M/D3. + fallback except R-Car V3M/E3/D3. Examples with soctypes are: - "renesas,thermal-r8a73a4" (R-Mobile APE6) - "renesas,thermal-r8a7743" (RZ/G1M) @@ -15,6 +15,7 @@ Required properties: - "renesas,thermal-r8a7792" (R-Car V2H) - "renesas,thermal-r8a7793" (R-Car M2-N) - "renesas,thermal-r8a77970" (R-Car V3M) + - "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 @@ -23,7 +24,7 @@ Required properties: Option properties: - interrupts : If present should contain 3 interrupts for - R-Car V3M/D3 or 1 interrupt otherwise. + R-Car V3M/E3/D3 or 1 interrupt otherwise. Example (non interrupt support): From patchwork Mon Dec 17 14:50:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10733607 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 A7B466C2 for ; Mon, 17 Dec 2018 14:50:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A9EB29FDA for ; Mon, 17 Dec 2018 14:50:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98FC129FE4; Mon, 17 Dec 2018 14:50:53 +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 50EA729FDA for ; Mon, 17 Dec 2018 14:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733194AbeLQOux (ORCPT ); Mon, 17 Dec 2018 09:50:53 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:38046 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733001AbeLQOuw (ORCPT ); Mon, 17 Dec 2018 09:50:52 -0500 Received: by mail-pl1-f195.google.com with SMTP id e5so6254582plb.5; Mon, 17 Dec 2018 06:50:52 -0800 (PST) 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=VDpm9XAXf6PrjUNDyRnZQ552e2GsFAQOEWJeKcN8wPw=; b=nBMA5phgavUe1Z/pS3KPGg6312d0ptrxWA/NoxoXKILNcWmq9J1bwN0gqVIUzrEU6K 7cWq6NmSYDB7ydlBRKfR9s8ovTpOSokZZhPp5kNzsBBSj6NJB85p4gotluxtwJ/JvbAS 1LC62EFzfII6Q/4AdyvXnqab7wHDCNm1ANdeW1iRKzI32NnF7r+QhyhJM+UZaq+M9tG8 xVEkBriUTGZRHr3NkclN0/MjhnsLxBgiLzXHIIH2Dz0SlFWdcjRqNJBjo+LEGekw4gwT KEJDSZ4B1SJ4vviruACM4upaP73DvJzB0hsD5KQ7tEIjkxvFZM9xfD/amRK4rssANMqA hk7w== 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=VDpm9XAXf6PrjUNDyRnZQ552e2GsFAQOEWJeKcN8wPw=; b=pJJ99mrxQ/4rJlU0xdlVlbxP3f4NF0hvDaD54uxr2lpPFwO/ZUr4MofGc6mNzk0wZS SLLaC1W6tC4Q4j4+Hh/xzEA0xcVokgsT9Rm29L3s5f0kaCpjw82G6uBYh8yDctTa+m9B xsW+Yl8Y/bPWzNj8xxzcUjTkFH24ND2ng9qn0CKajfZ6HPuwV3A9HBhjqG4yHFjdSGxB 908ORod59DvbThP5qc4A7ZGMbxZ7NmezxK8TTBFyZ4UkrAH6Sp8NyazYrk1O6J5QK8NK VQTDXNt5Ao/82mRSWylR5fxbqmfomjfL1xkrzoUM1vGuPsCVkRKWu60WHokeh0XTZ+EP pAqA== X-Gm-Message-State: AA+aEWZSmQSCZnF6WE+22U41xgkT5jqGzCqxIKHKoNkWscfy2qZ2HFVk DMQt9d1ZLiXF4mhhi7Y51Te+v7gb X-Google-Smtp-Source: AFSGD/UYUEtwlMqnw75dEqVgommBxqpFFTv4Nk9eWK51fI4PM739JD2xJsQ7qVXH207RM5+oPHgw1g== X-Received: by 2002:a17:902:8d8e:: with SMTP id v14mr12857424plo.133.1545058252143; Mon, 17 Dec 2018 06:50:52 -0800 (PST) Received: from macc.flets-east.jp (p7732116-ipngn36501marunouchi.tokyo.ocn.ne.jp. [114.158.79.116]) by smtp.gmail.com with ESMTPSA id v191sm33312081pgb.77.2018.12.17.06.50.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Dec 2018 06:50:51 -0800 (PST) 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 v2 2/2] thermal: rcar_thermal: add R8A77990 support Date: Mon, 17 Dec 2018 23:50:21 +0900 Message-Id: <1545058221-22529-3-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1545058221-22529-1-git-send-email-ykaneko0929@gmail.com> References: <1545058221-22529-1-git-send-email-ykaneko0929@gmail.com> 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 support for R-Car E3 (R8A77990) thermal support. Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- 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 8014a20..30a12b8 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -117,6 +117,10 @@ struct rcar_thermal_priv { .data = &rcar_gen3_thermal, }, { + .compatible = "renesas,thermal-r8a77990", + .data = &rcar_gen3_thermal, + }, + { .compatible = "renesas,thermal-r8a77995", .data = &rcar_gen3_thermal, },