From patchwork Tue Oct 9 19:10:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10633197 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 31C11174A for ; Tue, 9 Oct 2018 19:10:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 272D2295FA for ; Tue, 9 Oct 2018 19:10:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B66929620; Tue, 9 Oct 2018 19:10:19 +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 C486C2960B for ; Tue, 9 Oct 2018 19:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727330AbeJJC2n (ORCPT ); Tue, 9 Oct 2018 22:28:43 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:36778 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727317AbeJJC2m (ORCPT ); Tue, 9 Oct 2018 22:28:42 -0400 Received: by mail-lj1-f195.google.com with SMTP id p89-v6so2613841ljb.3 for ; Tue, 09 Oct 2018 12:10: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=svViplu/ZkEL3cvSALurrC9cJCt7alTvNsF7Wi1QLqI=; b=CPilaHBReEf1CJZAD5j27EOwI/uORlEC1nZ00YrtXQzmz862WssWHnpg6t1wS3gmLn M0mHqlEF3USFIqzCMJMbGmsNcE7Fuwx1SZAmC6qwEGlFXL11hCqyC51JzY0PVUcpaNpj 12X/j/DW0/oN/Cj7gRgz7GSWqt24uFzkZkYpRVTC2q+KB6A8N2ZzyHm1sSoW43Y29Jpz VkHqqLSqpCh4/HEeodBs1dfnLZ2ZcwdXfmrhL+fSEPKo+gp2MfGWlyelSuEKOwl36Bub +d1n4rJh9BnaF9nvwAzISlK9+gSkFcs8gKK24qlas345W7o0YyfrLUp2Q2ylUs9ihvcV jN6g== 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=svViplu/ZkEL3cvSALurrC9cJCt7alTvNsF7Wi1QLqI=; b=V60dElDnlMaRe22RBXWwn8nW1XKNx2s8Bzl3kCMQlbwhLhmTrIuLPSD5Eu69uEqsr8 cZq0WnTvlXhRXyeIhKnk5pElgL087nOG8e2/RSK3sd34P4auaDf1DiGu+OU6jjLZxfer w1QNDheeCpcWm3yavH6SAZBpqraMaLgOFwDa0IZGe25sMayUs3/T0Zk+64F6A1b+H98f T0wO20vXQZQIDtWiT8qNvZWTWFVVJuzUInjZRXfKPO7GQyaIqlZZMjBAh82JfwiJJJAm tDEsJD8Wx5h5esbzXgONYfGXBE2o+S1sq5EJwEJuRowEpJszm/Ctj447/jzZDeKgzGGH 5IVQ== X-Gm-Message-State: ABuFfohVTQ1Yeb1SANJj/BC+ETolK+CsJZnolY0n8bXISmBXPqkaooFU 4Oi4ELh2/yqp37kgX0HKzdaWiQ== X-Google-Smtp-Source: ACcGV60gQFu6hsbJDDLmHT/9w1xHzkleArXtH9Zzq8xdxOkLoqkIendlu7kyOdpoxaDd/5m5oZdksg== X-Received: by 2002:a2e:9993:: with SMTP id w19-v6mr18154257lji.165.1539112216007; Tue, 09 Oct 2018 12:10:16 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.100]) by smtp.gmail.com with ESMTPSA id u20-v6sm4305051lfu.42.2018.10.09.12.10.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 12:10:15 -0700 (PDT) Subject: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: document R8A77980 bindings From: Sergei Shtylyov To: Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, Rob Herring , "devicetree@vger.kernel.org" Cc: linux-renesas-soc@vger.kernel.org, Mark Rutland References: <3c96d51e-fc36-2ff9-03a8-176c4c0ed365@cogentembedded.com> Organization: Cogent Embedded Message-ID: Date: Tue, 9 Oct 2018 22:10:14 +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: <3c96d51e-fc36-2ff9-03a8-176c4c0ed365@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 Document the R-Car V3H (R8A77980) SoC in the Renesas R-Car gen3 thermal bindings. Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt =================================================================== --- linux-soc-thermal.orig/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +++ linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt @@ -10,6 +10,7 @@ Required properties: - "renesas,r8a7795-thermal" (R-Car H3) - "renesas,r8a7796-thermal" (R-Car M3-W) - "renesas,r8a77965-thermal" (R-Car M3-N) + - "renesas,r8a77980-thermal" (R-Car V3H) - reg : Address ranges of the thermal registers. Each sensor needs one address range. Sorting must be done in increasing order according to datasheet, i.e. @@ -19,7 +20,8 @@ Required properties: Optional properties: -- interrupts : interrupts routed to the TSC (3 for H3, M3-W and M3-N) +- interrupts : interrupts routed to the TSC (3 for H3, M3-W, M3-N, + and V3H) - power-domain : Must contain a reference to the power domain. This property is mandatory if the thermal sensor instance is part of a controllable power domain. From patchwork Tue Oct 9 19:11:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10633199 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 C3B9E14DB for ; Tue, 9 Oct 2018 19:11:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B483B29618 for ; Tue, 9 Oct 2018 19:11:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8EE229620; Tue, 9 Oct 2018 19:11:56 +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 5693D2960E for ; Tue, 9 Oct 2018 19:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727384AbeJJCaU (ORCPT ); Tue, 9 Oct 2018 22:30:20 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:41326 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbeJJCaU (ORCPT ); Tue, 9 Oct 2018 22:30:20 -0400 Received: by mail-lf1-f68.google.com with SMTP id q39-v6so2108513lfi.8 for ; Tue, 09 Oct 2018 12:11:54 -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=U+acuT43fF4MmKzfzHd16lbw6A/GXGOTGOman4gXt+k=; b=XYZkmQYMwD9C+9D4pLMAr1ItD3q1B4f0F8B+/akI0NnEBabZYR55t7nk1IpzOvylyV BrxC+HZKdoCYcvwfn4qpUK+Jc4E2GeOchaNgsA1/pNUxyltvUxallk7ybmMBoz6GkBOI 3ae1XCMhNyX5IUnSqq40KaaQ3vUOOvAd9j5Edv6Y7tf8ihOOGV9CkIBm34K66wJXLpZr RmoTQMAs5OuHXpg1N8xwtHHc7jUEM7CZMwIUVa/CfoZRvanxqZKwc1HnWIzjYB3SM7xx G9dndXEzq2fMFjvc1SKu/DQmnmve7ZTQXfIWrl22fTejcJfpDrpfVyuRthjN5oLWyrww iEJg== 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=U+acuT43fF4MmKzfzHd16lbw6A/GXGOTGOman4gXt+k=; b=b/uP+X3BaToMfQNL3t3nCpJ+xRV4WomcUtt2Yld/TCKdEAmi/W5s6bceV0DRWWy0v3 5D1YBnTLyb+f4DMroDIkWX/PdNq3kRd9oheJo2m3jGoKBzYLBhnk3HosMrip9QvPggor Fc47Z94w+rkT1I8L7QnjNHbG5DqmIW7GWFBoyjHpId4tPY9K14rpWm6VTkwtftBD4Is1 sgy7RkapjSwIuN62RM36f1/Zl7KwMs2I4nrMljZmVTQYM5Hly8K1e3OVmLImF0wpS/4n QO+Bg1HFlDvBzb4ClNo31Wn1+THiECCVwP0zp+GjZ8FB0HzzT3abbz1+i0xEl66UiYGR GxUA== X-Gm-Message-State: ABuFfoj6XkKXgN1MJ2C5LT6Rs1v/dERHaISJD+mA7jTcW6B6VmdnAt8a Af+ln49ZIVsT/sX5aauX92wZ3A== X-Google-Smtp-Source: ACcGV60oJkXgjNOY3jI93sgGIHO0aE9Q3F4OrMdwuwuIED+54IQ2HOWkNQseRE0dbFOk8gpkMRJ/fA== X-Received: by 2002:a19:14d4:: with SMTP id 81-v6mr16132192lfu.35.1539112313537; Tue, 09 Oct 2018 12:11:53 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.100]) by smtp.gmail.com with ESMTPSA id q13-v6sm4291200lfk.25.2018.10.09.12.11.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 12:11:52 -0700 (PDT) Subject: [PATCH 2/2] thermal: rcar_gen3_thermal: add R8A77980 support From: Sergei Shtylyov To: Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org References: <3c96d51e-fc36-2ff9-03a8-176c4c0ed365@cogentembedded.com> Organization: Cogent Embedded Message-ID: Date: Tue, 9 Oct 2018 22:11:51 +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: <3c96d51e-fc36-2ff9-03a8-176c4c0ed365@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 V3H (R8A77980) SoC support to the R-Car gen3 thermal driver. Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman Reviewed-by: Niklas Söderlund --- drivers/thermal/rcar_gen3_thermal.c | 1 + 1 file changed, 1 insertion(+) Index: linux-soc-thermal/drivers/thermal/rcar_gen3_thermal.c =================================================================== --- linux-soc-thermal.orig/drivers/thermal/rcar_gen3_thermal.c +++ linux-soc-thermal/drivers/thermal/rcar_gen3_thermal.c @@ -321,6 +321,7 @@ static const struct of_device_id rcar_ge { .compatible = "renesas,r8a7795-thermal", }, { .compatible = "renesas,r8a7796-thermal", }, { .compatible = "renesas,r8a77965-thermal", }, + { .compatible = "renesas,r8a77980-thermal", }, {}, }; MODULE_DEVICE_TABLE(of, rcar_gen3_thermal_dt_ids);