All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Gross <andy.gross@linaro.org>
To: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>,
	linux-arm-msm@vger.kernel.org, Andy Gross <agross@codeaurora.org>,
	Stephen Boyd <sboyd@codeaurora.org>
Subject: Re: [PATCH 2/3] ARM64: DT: add video codec devicetree node
Date: Wed, 16 Aug 2017 09:53:48 -0500	[thread overview]
Message-ID: <20170816145348.GA4042@hector.attlocal.net> (raw)
In-Reply-To: <9ba128c6-8018-6307-448c-a7f9ea1400c6@linaro.org>

On Wed, Aug 16, 2017 at 05:31:47PM +0300, Stanimir Varbanov wrote:
> Hi Rob, Andy,
> 
> On 06/12/2017 03:43 PM, Rob Clark wrote:
> > From: Stanimir Varbanov <stanimir.varbanov@linaro.org>
> > 
> > Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
> > Signed-off-by: Rob Clark <robdclark@gmail.com>
> > ---
> >  arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 ++++++++++++++++++++++++++++
> >  1 file changed, 28 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > index 24c24ab..1dcd632 100644
> > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > @@ -88,6 +88,13 @@
> >  			no-map;
> >  		};
> >  
> > +		venus_mem: venus@89900000 {
> > +			compatible = "shared-dma-pool";
> > +			reg = <0x0 0x89900000 0x0 0x800000>;
> > +			alignment = <0x1000>;
> > +			no-map;
> > +		};
> 
> In the spirit of 377a22d3caec3d2cda0cc996101121145ac43ff2 "media: venus:
> don't abuse dma_alloc for non-DMA allocations" commit the above
> venus_mem should be changed to:
> 
> 		venus_mem: venus@89900000 {
> 			reg = <0x0 0x89900000 0x0 0x600000>;
> 			no-map;
> 		};
> 

Ok, I'll fix this up.  No need to send any update.

> > +
> >  		mba_mem: mba@8ea00000 {
> >  			no-map;
> >  			reg = <0 0x8ea00000 0 0x100000>;
> > @@ -1214,6 +1221,27 @@
> >  				};
> >  			};
> >  		};
> > +
> > +		venus: video-codec@1d00000 {
> > +			compatible = "qcom,msm8916-venus";
> > +			reg = <0x01d00000 0xff000>;
> > +			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
> > +			power-domains = <&gcc VENUS_GDSC>;
> > +			clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
> > +				 <&gcc GCC_VENUS0_AHB_CLK>,
> > +				 <&gcc GCC_VENUS0_AXI_CLK>;
> > +			clock-names = "core", "iface", "bus";
> > +			memory-region = <&venus_mem>;
> > +			status = "okay";
> 
> Is that correct, shouldn't the status be disabled and enabled in the
> board dts(i) files?

There isn't anything board specific for this, so it should be enabled by
default.

> > +
> > +			video-decoder {
> > +				compatible = "venus-decoder";
> > +			};
> > +
> > +			video-encoder {
> > +				compatible = "venus-encoder";
> > +			};
> > +		};
> >  	};
> >  
> >  	smd {
> > 

Regards,

Andy

  reply	other threads:[~2017-08-16 14:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 12:43 [PATCH 1/3] ARM64: DT: add gpu for msm8916 Rob Clark
2017-06-12 12:43 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
2017-06-13  2:12   ` Stephen Boyd
2017-08-16 14:31   ` Stanimir Varbanov
2017-08-16 14:53     ` Andy Gross [this message]
2017-06-12 12:43 ` [PATCH 3/3] ARM64: DT: add iommu for msm8916 Rob Clark
2017-06-13  2:12   ` Stephen Boyd
2017-06-13  2:11 ` [PATCH 1/3] ARM64: DT: add gpu " Stephen Boyd
  -- strict thread matches above, loose matches on Subject: below --
2017-05-25 17:48 [PATCH 0/3] gpu + venus + iommu dt nodes " Rob Clark
2017-05-25 17:48 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170816145348.GA4042@hector.attlocal.net \
    --to=andy.gross@linaro.org \
    --cc=agross@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robdclark@gmail.com \
    --cc=sboyd@codeaurora.org \
    --cc=stanimir.varbanov@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.