Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S971436AbdDTVjL (ORCPT ); Thu, 20 Apr 2017 17:39:11 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38402 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S971383AbdDTVjI (ORCPT ); Thu, 20 Apr 2017 17:39:08 -0400 Subject: Re: [PATCH] ARM: dts: bcm-cygnus: Add 911360's V3D device. To: Eric Anholt , Florian Fainelli , Rob Herring , Mark Rutland , devicetree@vger.kernel.org References: <20170418233234.13374-1-eric@anholt.net> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Ray Jui , Scott Branden , Jon Mason From: Scott Branden Message-ID: Date: Thu, 20 Apr 2017 14:38:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170418233234.13374-1-eric@anholt.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1757 Lines: 58 Looks good - thanks for getting the V3D open source code going on this SoC! On 17-04-18 04:32 PM, Eric Anholt wrote: > 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"; > }; >