From patchwork Tue Apr 18 23:32:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 9686689 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 5ECBB602C9 for ; Tue, 18 Apr 2017 23:33:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 503672787C for ; Tue, 18 Apr 2017 23:33:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 448EE28236; Tue, 18 Apr 2017 23:33:10 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CD7B12787C for ; Tue, 18 Apr 2017 23:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=cj+kknuiCOKgjw5mRBogUnAV/tOTwALzIw9buzudyd4=; b=OeV sqEh+LRlrbGJ9H8k5LfQKKgnkLf18t+A4K1LiXlAe4/nzEa60lZZbfbsuLUU2C4Q+1NJLt6uYJrL0 +QR/Ie8Ts8LiKyOBRTEI/EWe5iK6J1534xybOzs1BONYpWM+KjsiCRMRvvD5QrR2jylBB19H589Sy 8/CcY9Hdg1AwSekOBdgNFZnPoZqQiJUUsGn/BLpr1HBne1AqTdJPGpDITR60omMb5/+PCqMWP/rDA +blgTPwJmQ48ChGTI7czZY7v9p0qIkG2lXoCyil4Z1mOvm7Z4iS0X+wcQm924iq8qy+xW9pZA11gf znPQsnlzYW6gHJ+55MORqpsdJyo8JHA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d0ccL-0008Bs-32; Tue, 18 Apr 2017 23:33:05 +0000 Received: from anholt.net ([50.246.234.109]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d0ccF-0007pL-Lv for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2017 23:33:02 +0000 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 352E910A1F24; Tue, 18 Apr 2017 16:32:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xZNFTlPJ-XzE; Tue, 18 Apr 2017 16:32:34 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id C4AD110A1E74; Tue, 18 Apr 2017 16:32:34 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 646622E7765; Tue, 18 Apr 2017 16:32:34 -0700 (PDT) From: Eric Anholt To: Florian Fainelli , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH] ARM: dts: bcm-cygnus: Add 911360's V3D device. Date: Tue, 18 Apr 2017 16:32:34 -0700 Message-Id: <20170418233234.13374-1-eric@anholt.net> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170418_163300_237849_6C48866C X-CRM114-Status: GOOD ( 11.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Scott Branden , Jon Mason , Ray Jui , linux-kernel@vger.kernel.org, Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This loads the VC4 driver on the 911360_entphn platform (with the corresponding series sent to dri-devel), which is supported by master of the Mesa tree. Signed-off-by: Eric Anholt Acked-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 13 +++++++++++++ arch/arm/boot/dts/bcm911360_entphn.dts | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index f52750c6d3ed..907a5e843364 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -406,6 +406,19 @@ status = "disabled"; }; + v3d: v3d@180a2000 { + compatible = "brcm,cygnus-v3d"; + reg = <0x180a2000 0x1000>; + clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>; + clock-names = "v3d_clk"; + interrupts = ; + status = "disabled"; + }; + + vc4: gpu { + compatible = "brcm,cygnus-vc4"; + }; + adc: adc@180a6000 { compatible = "brcm,iproc-static-adc"; #io-channel-cells = <1>; diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b/arch/arm/boot/dts/bcm911360_entphn.dts index 8b3800f46288..037621c13290 100644 --- a/arch/arm/boot/dts/bcm911360_entphn.dts +++ b/arch/arm/boot/dts/bcm911360_entphn.dts @@ -57,6 +57,14 @@ }; }; +&v3d { + assigned-clocks = + <&mipipll BCM_CYGNUS_MIPIPLL>, + <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>; + assigned-clock-rates = <525000000>, <300000000>; + status = "okay"; +}; + &uart3 { status = "okay"; };