Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Peter Chen 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: References: X-Original-To: Stephen Boyd 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: 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 , Bjorn Andersson , Neil Armstrong , Arnd Bergmann , Felipe Balbi , Peter Chen , Greg Kroah-Hartman 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 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