From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Mon, 10 Jun 2019 09:40:51 +0000 (UTC) Subject: [U-Boot] [PATCH v4 07/13] dm: clk: Define clk_get_parent() for clk In-Reply-To: <20190516221042.3583-8-lukma@denx.de> Message-ID: <20190610094629.A13A1C22008@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 adds the clk_get_parent() function, which is responsible > for getting the parent's struct clock pointer. > U-boot's DM support for getting parent is different (the parent > relationship is in udevice) than the one in common clock framework (CCF) > in Linux. To obtain the pointer to struct clk of parent the > pdev->driver_data field is read. > Signed-off-by: Lukasz Majewski > Reviewed-by: Peng Fan > Reviewed-by: Peng Fan > Reviewed-by: Stefano Babic 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 =====================================================================