search for: tegra_mc_client

Displaying 10 results from an estimated 10 matches for "tegra_mc_client".

2015 Jan 05
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...is needed this has to be a Tegra MC function and not > >burried into nouveau code. You are using knowledge about the internal > >workings of the MC driver here. > > > >Also this should probably only take the Dt node pointer as argument and > >return a something like a tegra_mc_client struct that contains both the > >MC device pointer and the swgroup so you can pass that to > >tegra_mc_flush(). > Good idea. I will have something as below in V2 if there is no other > comments for this. > > tegra_mc_client *tegra_mc_find_client(struct device_node *node) &g...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...ction and not > >>>burried into nouveau code. You are using knowledge about the internal > >>>workings of the MC driver here. > >>> > >>>Also this should probably only take the Dt node pointer as argument and > >>>return a something like a tegra_mc_client struct that contains both the > >>>MC device pointer and the swgroup so you can pass that to > >>>tegra_mc_flush(). > >>Good idea. I will have something as below in V2 if there is no other > >>comments for this. > >> > >>tegra_mc_client *t...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...urried into nouveau code. You are using knowledge about the internal > >>>>>workings of the MC driver here. > >>>>> > >>>>>Also this should probably only take the Dt node pointer as argument and > >>>>>return a something like a tegra_mc_client struct that contains both the > >>>>>MC device pointer and the swgroup so you can pass that to > >>>>>tegra_mc_flush(). > >>>>Good idea. I will have something as below in V2 if there is no other > >>>>comments for this. > >>...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...to be a Tegra MC function and not >>> burried into nouveau code. You are using knowledge about the internal >>> workings of the MC driver here. >>> >>> Also this should probably only take the Dt node pointer as argument and >>> return a something like a tegra_mc_client struct that contains both the >>> MC device pointer and the swgroup so you can pass that to >>> tegra_mc_flush(). >> Good idea. I will have something as below in V2 if there is no other >> comments for this. >> >> tegra_mc_client *tegra_mc_find_client(struc...
2014 Dec 24
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...*mc, unsigned int *swgroup) Uhm, no. If this is needed this has to be a Tegra MC function and not burried into nouveau code. You are using knowledge about the internal workings of the MC driver here. Also this should probably only take the Dt node pointer as argument and return a something like a tegra_mc_client struct that contains both the MC device pointer and the swgroup so you can pass that to tegra_mc_flush(). > +{ > + struct of_phandle_args args; > + struct platform_device *pdev; > + int ret; > + > + ret = of_parse_phandle_with_fixed_args(dev->of_node, "mc", > +...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...gt;>>> burried into nouveau code. You are using knowledge about the internal >>>>> workings of the MC driver here. >>>>> >>>>> Also this should probably only take the Dt node pointer as argument and >>>>> return a something like a tegra_mc_client struct that contains both the >>>>> MC device pointer and the swgroup so you can pass that to >>>>> tegra_mc_flush(). >>>> Good idea. I will have something as below in V2 if there is no other >>>> comments for this. >>>> >>>...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...code. You are using knowledge about the internal > > >>>>>workings of the MC driver here. > > >>>>> > > >>>>>Also this should probably only take the Dt node pointer as argument and > > >>>>>return a something like a tegra_mc_client struct that contains both the > > >>>>>MC device pointer and the swgroup so you can pass that to > > >>>>>tegra_mc_flush(). > > >>>>Good idea. I will have something as below in V2 if there is no other > > >>>>comments for...
2014 Dec 23
0
[PATCH 2/11] memory: tegra: add mc flush support
...tegra_mc_flush); + static int tegra_mc_setup_latency_allowance(struct tegra_mc *mc) { unsigned long long tick; diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index 63deb8d9f82a..4894aec7d2a0 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -39,6 +39,21 @@ struct tegra_mc_client { struct tegra_mc_la la; }; +/* hot reset */ +struct tegra_mc_hr { + unsigned int swgroup; + unsigned int ctrl; + unsigned int status; + unsigned int bit; +}; + +struct tegra_mc; + +struct tegra_mc_ops { + int (*flush)(struct tegra_mc *mc, const struct tegra_mc_hr *hr_client, + bool enable)...
2014 Dec 25
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...> Uhm, no. If this is needed this has to be a Tegra MC function and not > burried into nouveau code. You are using knowledge about the internal > workings of the MC driver here. > > Also this should probably only take the Dt node pointer as argument and > return a something like a tegra_mc_client struct that contains both the > MC device pointer and the swgroup so you can pass that to > tegra_mc_flush(). Good idea. I will have something as below in V2 if there is no other comments for this. tegra_mc_client *tegra_mc_find_client(struct device_node *node) { ... ret = of_pars...
2014 Dec 23
18
[PATCH 0/11] Add suspend/resume support for GK20A
Hi, This series includes some pieces of fixes to complete the GK20A power on/off sequences and add the suspend/resume support. The patches 1/11 - 4/11 are based on the linux-next-20141219. The patches 5/11 - 11/11 are based on the branch "linux-3.19" of Ben Skeggs's tree (http://cgit.freedesktop.org/~darktama/nouveau). Thanks, Vince Vince Hsu (4): (linux-next-20141219) ARM: