From patchwork Wed Sep 19 20:02:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10606515 X-Patchwork-Delegate: horms@verge.net.au 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 7E5FC112B for ; Wed, 19 Sep 2018 20:02:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DA022CB2A for ; Wed, 19 Sep 2018 20:02:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61B662CB35; Wed, 19 Sep 2018 20:02:31 +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 D695F2CB2A for ; Wed, 19 Sep 2018 20:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732225AbeITBl7 (ORCPT ); Wed, 19 Sep 2018 21:41:59 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44831 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727371AbeITBl7 (ORCPT ); Wed, 19 Sep 2018 21:41:59 -0400 Received: by mail-lj1-f193.google.com with SMTP id q127-v6so6193280ljq.11 for ; Wed, 19 Sep 2018 13:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1pUS97HqF/Jgz9zYOwt22NirTwKkDGR0vwsqaZr5/QA=; b=oUHAvC/+V7o2hecuXVijpYy0pATIZ37+ONavauMMci0PB97tRF8aZ0xU+/5viWx17g 0LBU3/w68rw7X+KYCkcgL5hwFWIGupU23k3aNO4PmQJpU411qRU++OJcdr4UqWML2Mcq l7Hm9unuoUCj1Gg5MXh+qsJnIEr8Wk0jhS811yOA5o3I2Og9VrRYt5TFxfKm3O3b1FUL soiuAa2CHjMri3LNnZyX53STYo2sJalwgsrRINKkO5dIDhq9YYK5RHasl++gp+GYVkkO 34DbzX/sMtHYpEe4fMHs2EJJjmgEpTi2KofC4tfA4dxRYeyPUjZdbAXWrZtNTkFGOdp4 TOSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=1pUS97HqF/Jgz9zYOwt22NirTwKkDGR0vwsqaZr5/QA=; b=TpHTOj6Rum5JZ5YTDrgKj8g/jYgfc6M0/OqfroDiCri/IY8KMfGEzdlDzgYQT3owKH 4Aom8HjgJjyyWW7uFR2sOTcXAO7/EUT2J3+T4SJN7JC1MYBBVz3b2l77gtvzgSjeBnay p2253FytCP5xvBkPyGOb1CGf3sdsE/y3SO0R+wfiZz+E9/x7PfETz0WDFyzvAjb89oBm SNHBdBHTAKzQ/7xRdhKa+GMaJF/kChHSBjJ8WR37oHo1BhCxL9PhzQS+6Fr0MI+tVlKT lvVmYrod5QnuUG4WQJ95/q4R1nqEZRyQmRxqrYFwEAh6xpcKBzL4DtmIt6Q3Le/E0ehP v/og== X-Gm-Message-State: APzg51A38r2/wIt8LPYJ1hiDnww250hCf9DJcop4WvOjJL0DmV+NjDI7 Hyf93cgg4GTqOjr628751Pr9pJR6vZY= X-Google-Smtp-Source: ANB0VdYYvbZJwx16+SVdS7RiP1QHxKLVSOmAmBE4NWhd9da0t7AclKgxsOqb4PZCeRg60jdl7XTiEg== X-Received: by 2002:a2e:934d:: with SMTP id m13-v6mr5174666ljh.45.1537387347842; Wed, 19 Sep 2018 13:02:27 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.87.45]) by smtp.gmail.com with ESMTPSA id c14-v6sm1210814lfi.23.2018.09.19.13.02.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 13:02:26 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] arm64: dts: renesas: r8a779{7|8}0: add TPU support To: Simon Horman , Rob Herring , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Magnus Damm , Mark Rutland References: Organization: Cogent Embedded Message-ID: <009bf131-c98e-df15-9c17-fb03c7bb09e2@cogentembedded.com> Date: Wed, 19 Sep 2018 23:02:25 +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: 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 Describe TPU in the R8A779{7|8}0 device trees. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20180919-v4.19-rc4' branch of Simon Horman's 'renesas.git' repo. arch/arm64/boot/dts/renesas/r8a77970.dtsi | 8 ++++++++ arch/arm64/boot/dts/renesas/r8a77980.dtsi | 9 +++++++++ 2 files changed, 17 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -614,6 +614,14 @@ status = "disabled"; }; + tpu: pwm@e6e80000 { + compatible = "renesas,tpu-r8a77970", "renesas,tpu"; + reg = <0 0xe6e80000 0 0x100>; + clocks = <&cpg CPG_MOD 304>; + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; + #pwm-cells = <4>; + status = "disabled"; + }; vin0: video@e6ef0000 { compatible = "renesas,vin-r8a77970"; Index: renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi @@ -666,6 +666,15 @@ status = "disabled"; }; + tpu: pwm@e6e80000 { + compatible = "renesas,tpu-r8a7798", "renesas,tpu"; + reg = <0 0xe6e80000 0 0x100>; + clocks = <&cpg CPG_MOD 304>; + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; + #pwm-cells = <4>; + status = "disabled"; + }; + vin0: video@e6ef0000 { compatible = "renesas,vin-r8a77980"; reg = <0 0xe6ef0000 0 0x1000>;