From patchwork Tue Apr 24 08:23:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10358943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E0AD0602D6 for ; Tue, 24 Apr 2018 08:24:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDA7528CF7 for ; Tue, 24 Apr 2018 08:24:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF6D328D3F; Tue, 24 Apr 2018 08:24: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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 6FD9328CF7 for ; Tue, 24 Apr 2018 08:24:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756228AbeDXIYD (ORCPT ); Tue, 24 Apr 2018 04:24:03 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:59420 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755724AbeDXIYA (ORCPT ); Tue, 24 Apr 2018 04:24:00 -0400 Received: from reginn.horms.nl (82-95-191-104.ip.xs4all.nl [82.95.191.104]) by kirsty.vergenet.net (Postfix) with ESMTPA id 58F6325B780; Tue, 24 Apr 2018 18:23:58 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1524558238; bh=QqE+E2bzUKnk9khnVcCwMcf/02XoCprTwwSrGd4cdEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f8OIes+YiWnPbIsuAtWyHG77zTp1fbr5Y0xp9dKWd+wt1Xow5DRYXoIYJJdcgHKDI ZIVcz99UCRXZfd0wGSIOWJlzEts5zcqCmWc3Cn5tdW5y/sSbvoSl3KdGjzCpz3GDiH /V2f4mBbhFNMixThDGjNkpxqzbKeZEyi4ClgUC28= Received: by reginn.horms.nl (Postfix, from userid 7100) id 3A626940508; Tue, 24 Apr 2018 10:23:56 +0200 (CEST) Date: Tue, 24 Apr 2018 10:23:56 +0200 From: Simon Horman To: jacopo mondi Cc: Jacopo Mondi , laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@glider.be, hverkuil@xs4all.nl, mchehab@kernel.org, festevam@gmail.com, sakari.ailus@iki.fi, robh+dt@kernel.org, mark.rutland@arm.com, pombredanne@nexb.com, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU) Message-ID: <20180424082355.y2cnfkqa7bj4fpy4@verge.net.au> References: <1519235284-32286-1-git-send-email-jacopo+renesas@jmondi.org> <1519235284-32286-5-git-send-email-jacopo+renesas@jmondi.org> <20180221182918.fbxnhdl4r4y3ejfj@verge.net.au> <20180423152143.GH3999@w540> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180423152143.GH3999@w540> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Mon, Apr 23, 2018 at 05:21:43PM +0200, jacopo mondi wrote: > Hi Simon, > > On Wed, Feb 21, 2018 at 07:29:18PM +0100, Simon Horman wrote: > > On Wed, Feb 21, 2018 at 06:47:58PM +0100, Jacopo Mondi wrote: > > > Add Capture Engine Unit (CEU) node to device tree. > > > > > > Signed-off-by: Jacopo Mondi > > > Reviewed-by: Geert Uytterhoeven > > > Reviewed-by: Laurent Pinchart > > > Acked-by: Hans Verkuil > > > > This patch depends on the binding for "renesas,r7s72100-ceu". > > Please repost or otherwise ping me once that dependency has been accepted. > > Bindings for the CEU interface went in v4.17-rc1. > > Could you please resurect this patch? Sure, I took the liberty of "rebasing" it to preserve the new node-order of r7s72100.dtsi. The result is as follows: From: Jacopo Mondi Subject: [PATCH] ARM: dts: r7s72100: Add Capture Engine Unit (CEU) Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil [simon: rebased] Signed-off-by: Simon Horman --- arch/arm/boot/dts/r7s72100.dtsi | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi index ecf9516bcda8..4a1aade0e751 100644 --- a/arch/arm/boot/dts/r7s72100.dtsi +++ b/arch/arm/boot/dts/r7s72100.dtsi @@ -375,6 +375,15 @@ status = "disabled"; }; + ceu: camera@e8210000 { + reg = <0xe8210000 0x3000>; + compatible = "renesas,r7s72100-ceu"; + interrupts = ; + clocks = <&mstp6_clks R7S72100_CLK_CEU>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; + wdt: watchdog@fcfe0000 { compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt"; reg = <0xfcfe0000 0x6>; @@ -429,9 +438,9 @@ #clock-cells = <1>; compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0xfcfe042c 4>; - clocks = <&p0_clk>; - clock-indices = ; - clock-output-names = "rtc"; + clocks = <&b_clk>, <&p0_clk>; + clock-indices = ; + clock-output-names = "ceu", "rtc"; }; mstp7_clks: mstp7_clks@fcfe0430 {