From patchwork Tue Jun 19 15:19:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10474671 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 0EBD9603B5 for ; Tue, 19 Jun 2018 15:17:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 019DD28B53 for ; Tue, 19 Jun 2018 15:17:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E893028D38; Tue, 19 Jun 2018 15:17:26 +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 D6B6928B53 for ; Tue, 19 Jun 2018 15:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937547AbeFSPRZ (ORCPT ); Tue, 19 Jun 2018 11:17:25 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:46175 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937514AbeFSPRZ (ORCPT ); Tue, 19 Jun 2018 11:17:25 -0400 Received: by mail-pf0-f193.google.com with SMTP id q1-v6so10809pff.13 for ; Tue, 19 Jun 2018 08:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=N2i9awthWkFJpt/GL9Ki/GJblqIzWyGBEZaMIosBaa8=; b=rVRrssdUXE2Q0j4dpFz5o414o9bai+5vh1MEBA05XoOJvZwAya1HI8L7g3TNHbsbYx qXf2G4tzmCz5BesoE2r6s+6mf74IlNXXZyBXfUrqrf3U46R7ngdsilXLLkmTbx0Kcew6 8iiVJYibbBk5ri9cz40O9i0DFo3CDQ6u1yI53LJRXzYtCF5/29jNzIoOmH2KSEkd/0GK 3XQa8XQfHcsslzGRQrijFabNgFM4WnAj8tSFDNkhW4RjTwB8vBFKi2DLVFEv0Tv+hnGL ckQJ9xOcIjP723CDChY4h0V0WPR95PyDdLwU+bfI+Jp21szfhJFgdcFzvdodpEDqbu8h iuGQ== 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:date:message-id:in-reply-to :references:subject; bh=N2i9awthWkFJpt/GL9Ki/GJblqIzWyGBEZaMIosBaa8=; b=HgQMd7nuy4aKCQPbv0ywl5Bm6fAjarahKycj3s9kC0C1RNLu0QbHaAMeL9gK8pI6sF AJQv7VKWPbPuEmAPTXnntAq6i4EbSZODfT4g9sCCy1EPwGFpr86wGmdrHF9venN05TFH B2rcnrTvTgnvmgWHP5gYooibT1qolTtsAXIc+6CgowjggQUKo2/o2syeYZ4HaePO8YZ/ WzjMcIriXGC7imXwBDuqRFdwqzth4mJaad5NsharB1d4juQq7LxHw/RraL7tguuxBjPQ qyqYGKLf03KXNdYKFglUdPTzdnf4/kiMLceZ3k7LXoQBfImXjKo5xvQNbsa3SFp9odcn iBiQ== X-Gm-Message-State: APt69E3c65z1UPIg9L5SfinKmJdo4oTrKFvuVcQVG54x2T1ilhaHrytS ZPyhKbqncRnhKRzFMChyid6hTRwJ X-Google-Smtp-Source: ADUXVKKLKT3qu3iJjzIRN0bvIlE2djh1dd32SJTb4hG5wR/gW85EqrC3Kilr/EuNtpCXy0u+zh5fDQ== X-Received: by 2002:a63:7986:: with SMTP id u128-v6mr14912759pgc.273.1529421444248; Tue, 19 Jun 2018 08:17:24 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id j23-v6sm8299033pfi.137.2018.06.19.08.17.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 08:17:23 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 20 Jun 2018 00:19:03 +0900 Message-Id: <152942154349.28480.6185772843276119432.sendpatchset@little-apple> In-Reply-To: <152942152672.28480.665572564123111170.sendpatchset@little-apple> References: <152942152672.28480.665572564123111170.sendpatchset@little-apple> Subject: [PATCH 02/04] arm64: dts: renesas: r8a77990: add VIN and CSI-2 nodes 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 From: Magnus Damm Add VIN and CSI device nodes to the r8a77990 dtsi file. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 89 +++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77990.dtsi 2018-06-19 20:16:52.580607110 +0900 @@ -248,6 +248,63 @@ status = "disabled"; }; + vin4: video@e6ef4000 { + compatible = "renesas,vin-r8a77990"; + reg = <0 0xe6ef4000 0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 807>; + power-domains = <&sysc 32>; + resets = <&cpg 807>; + renesas,id = <4>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + + reg = <1>; + + vin4csi40: endpoint@0 { + reg = <0>; + remote-endpoint= <&csi40vin4>; + }; + }; + }; + }; + + vin5: video@e6ef5000 { + compatible = "renesas,vin-r8a77990"; + reg = <0 0xe6ef5000 0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 806>; + power-domains = <&sysc 32>; + resets = <&cpg 806>; + renesas,id = <5>; + status = "disabled"; + + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + + reg = <1>; + + vin5csi40: endpoint@0 { + reg = <0>; + remote-endpoint= <&csi40vin5>; + }; + }; + }; + }; + gic: interrupt-controller@f1010000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; @@ -265,6 +322,38 @@ resets = <&cpg 408>; }; + + csi40: csi2@feaa0000 { + compatible = "renesas,r8a77990-csi2"; + reg = <0 0xfeaa0000 0 0x10000>; + interrupts = ; + clocks = <&cpg CPG_MOD 716>; + power-domains = <&sysc 32>; + resets = <&cpg 716>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + + reg = <1>; + + csi40vin4: endpoint@0 { + reg = <0>; + remote-endpoint = <&vin4csi40>; + }; + csi40vin5: endpoint@1 { + reg = <1>; + remote-endpoint = <&vin5csi40>; + }; + }; + }; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>;