From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Wed, 14 Jan 2015 17:33:51 +0100 Subject: [PATCH v3 05/13] ARM: dts: sun9i: Add clock-indices property for bus gate clocks In-Reply-To: <1421113055-17867-6-git-send-email-wens@csie.org> References: <1421113055-17867-1-git-send-email-wens@csie.org> <1421113055-17867-6-git-send-email-wens@csie.org> Message-ID: <20150114163351.GY4891@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jan 13, 2015 at 09:37:27AM +0800, Chen-Yu Tsai wrote: > of_clk_get_parent_name() uses the clock-indices property to resolve > clock phandle arguments in case that the argument index does not > match the clock-output-names sequence. > > This is the case on sunxi, where we use the actual bit index as the > argument to the phandle. Add the clock-indices property so that > of_clk_get_parent_name() resolves the names correctly. > > Signed-off-by: Chen-Yu Tsai Applied. Are the mask in the clock driver still of any use now? I don't think they are, and if we're going that way, I'd rather have them removed from the driver. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: