[PATCH v1 0/2] Fix A10 clock driver crash after changes in DM core

chee.hong.ang at intel.com chee.hong.ang at intel.com
Mon Mar 9 09:21:58 CET 2020


From: "Ang, Chee Hong" <chee.hong.ang at intel.com>

Changes in DM core from following patch crashed the A10 clock driver:

commit: 82de42fa14682d408da935adfb0f935354c5008f
Subject: dm: core: Allocate parent data separate from probing parent

At present the parent is probed before the child's ofdata_to_platdata()
method is called. Adjust the logic slightly so that probing parents is
not done until afterwards.

Signed-off-by: Simon Glass <sjg at chromium.org>

These patchsets fix the A10 driver issue and replce the FDT API with
ofnode API.

Chee Hong Ang (2):
  clk: socfpga: Read the clock parent's register base in probe function
  clk: socfpga: Switch to use ofnode API

 drivers/clk/altera/clk-arria10.c | 88 +++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 47 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list