Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434146

Re: [PATCH 10/21] usb: chipidea: msm: Rely on core to override AHBBURST

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Peter Chen <hzpeterchen@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 10/21] usb: chipidea: msm: Rely on core to override AHBBURST
Date Thu, 30 Jun 2016 03:30:02 +0200
Message-ID <rPyXM-39e-19@gated-at.bofh.it> (permalink)
References <rOcFX-8ei-3@gated-at.bofh.it> <rOcFX-8ei-1@gated-at.bofh.it> <rPhke-Kk-23@gated-at.bofh.it> <rPyXM-39e-21@gated-at.bofh.it>
X-Original-To Stephen Boyd <stephen.boyd@linaro.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=g/Wsr+v5rn8y+N4V4hX/sdUeVfFDeS/fR6MxDAymnyU=; b=EgW5sJW53uYk6CSxI3BEOT5/CQn87zdNBWgzOLvdHqPcigUNynfiJYmqjw0Igujw5R atAhAdW0zn5KrUVipsfZJB2lRCwJbR5ZrATWZwZyfN+oLu6ty/S25Haa2b7oS8N29gV/ aLvsiN4K6imPyq30NgNtJKRXCoJ990zl3yILuiLYVBuWlG2b4pSHFeUGCNJ92bdHd3c9 Fp19UwMZdN8l1qRgR3s56K29HSILuc+pJrgGTRnGXLZ9A+2ZYLCN4J63gObazWzcL4wX YlELKm+Q32B91dfRf/LlSAHXU3qi4S0UxcFYBLdTe4OOhF16sfn6HSlPbBoQ+ay4WZjS J4wQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=g/Wsr+v5rn8y+N4V4hX/sdUeVfFDeS/fR6MxDAymnyU=; b=dgHOX9dXFlrcBNm0qWRot6jRQ8uqykKepQtDGKZLCAClH82xl6vBvXazlYjzqHurXx VtXWktyjX4j/f/9LwMptci+fz+6F4HFEZ0o3CUy5aHyWvZaUYLjAnhsDWuTIOp5ujv8v 7bzctuUyR6gqzqTXY79xSBlc5PApls1N0pmMjeHHi3RpVOIU+qYHwCzxnbab09bDjOvA NJSQMztGNzIVHtfZKKQW92DhPrKhisoJCHAjPEpiVvISkHRAmDIr6vj5rJUA9KdPMhBF 567d1MXiMuvKJT/DJqxpdQ8Zx57+2LoEecCRjONNtgFey04ccOwQIrhZULxmrCBH7qxE v+qA==
X-Gm-Message-State ALyK8tJ6tAVTLFbBoxo4RpYIKikB8fue2sEpowB2YlpGE5Bal4oMeQswTdJaJNp3Hy2Ceg==
X-Received by 10.66.248.195 with SMTP id yo3mr17067241pac.44.1467249928441; Wed, 29 Jun 2016 18:25:28 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
X-Original-Cc linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Andy Gross <andy.gross@linaro.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Neil Armstrong <narmstrong@baylibre.com>, Arnd Bergmann <arnd@arndb.de>, Felipe Balbi <balbi@kernel.org>, Peter Chen <peter.chen@nxp.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
X-Original-Date Thu, 30 Jun 2016 09:18:27 +0800
X-Original-Message-ID <20160630011827.GA19743@shlinux2>
X-Original-References <20160626072838.28082-1-stephen.boyd@linaro.org> <20160626072838.28082-11-stephen.boyd@linaro.org> <20160629063211.GE25236@shlinux2> <146722676163.16253.15476996138920236894@sboyd-linaro>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1434146

Show key headers only | View raw


On Wed, Jun 29, 2016 at 11:59:21AM -0700, Stephen Boyd wrote:
> Quoting Peter Chen (2016-06-28 23:32:11)
> > On Sun, Jun 26, 2016 at 12:28:27AM -0700, Stephen Boyd wrote:
> > > The core framework already handles setting this parameter with a
> > > platform quirk. Add the appropriate flag so that we always set
> > > AHBBURST to 0. Technically DT should be doing this, but we always
> > > do it for msm chipidea devices so setting the flag in the driver
> > > works just as well.
> > 
> > You still need to set AHB burst value at dts, this flag is just for
> > override, see below:
> > 
> > ahb-burst-config = <0x0>;
> 
> Right, I have added that to dts now, but the CI_HDRC_OVERRIDE_AHB_BURST
> flag allows us to specify it from the platdata structure in the
> ci_hdrc_msm.c file. As the value is zero for msm type controllers, I
> left it out of the static definition of platdata because all the
> non-initialized members of that structure are going to be zero anyway. I
> can explicitly set it to zero to make it more clear if you like.

I suggest setting it explicitly at dts, at current code, it is set
as zero explicitly too:)

-- 

Best Regards,
Peter Chen

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 10/21] usb: chipidea: msm: Rely on core to override AHBBURST Stephen Boyd <stephen.boyd@linaro.org> - 2016-06-26 09:30 +0200
  Re: [PATCH 10/21] usb: chipidea: msm: Rely on core to override  AHBBURST Peter Chen <hzpeterchen@gmail.com> - 2016-06-29 08:40 +0200
    Re: [PATCH 10/21] usb: chipidea: msm: Rely on core to override  AHBBURST Peter Chen <hzpeterchen@gmail.com> - 2016-06-30 03:30 +0200

csiph-web