From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Mon, 4 Sep 2017 18:25:44 +0200 Subject: [PATCH V3 8/8] drivers: boot_constraint: Add Qualcomm display controller constraints In-Reply-To: References: Message-ID: <20170904162544.GA21849@amd> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi! > From: Rajendra Nayak > > NOT TO BE MERGED > > This sets boot constraints for the display controller used on Qualcomm > dragonboard 410c. > > Not-signed-off-by: Rajendra Nayak > Not-signed-off-by: Viresh Kumar > +#include > +#include > +#include > + > +struct dev_boot_constraint_clk_info iface_clk_info = { > + .name = "iface_clk", > +}; > + > +struct dev_boot_constraint_clk_info bus_clk_info = { > + .name = "bus_clk", > +}; > + > +struct dev_boot_constraint_clk_info core_clk_info = { > + .name = "core_clk", > +}; > + > +struct dev_boot_constraint_clk_info vsync_clk_info = { > + .name = "vsync_clk", > +}; > + > +struct dev_boot_constraint_clk_info esc0_clk_info = { > + .name = "core_clk", > +}; > + > +struct dev_boot_constraint_clk_info byte_clk_info = { > + .name = "byte_clk", > +}; > + > +struct dev_boot_constraint_clk_info pixel_clk_info = { > + .name = "pixel_clk", > +}; > + > +struct dev_boot_constraint_supply_info vdda_info = { > + .name = "vdda" > +}; > + > +struct dev_boot_constraint_supply_info vddio_info = { > + .name = "vddio" > +}; > + > +struct dev_boot_constraint constraints_mdss[] = { > + { > + .type = DEV_BOOT_CONSTRAINT_PM, > + .data = NULL, > + }, > +}; > + > +struct dev_boot_constraint constraints_mdp[] = { > + { > + .type = DEV_BOOT_CONSTRAINT_CLK, > + .data = &iface_clk_info, > + }, { > + .type = DEV_BOOT_CONSTRAINT_CLK, > + .data = &bus_clk_info, > + }, { > + .type = DEV_BOOT_CONSTRAINT_CLK, > + .data = &core_clk_info, > + }, { > + .type = DEV_BOOT_CONSTRAINT_CLK, > + .data = &vsync_clk_info, > + }, > +}; Hmm. I know this is not for merge, but should this go to device tree somewhere? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: