From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Mon, 10 Jun 2019 09:49:47 +0000 (UTC) Subject: [U-Boot] [PATCH v4 11/13] clk: test: Provide unit test for In-Reply-To: <20190516221042.3583-12-lukma@denx.de> Message-ID: <20190610101445.51934C21FBC@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > This commit provides sandbox unit test for clk_get_parent_rate() method. > For testing the default test clocks setup had to be adjusted to emulate > structure similar to clocks in the Common Clock Framework [CCF] > (for iMX devices). > The clk_get_parent_rate() relies on dev->driver_data having the pointer > to proper struct clk. > It uses internally clk_get_parent() method also tested by this test. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================