From patchwork Mon Mar 9 08:21:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ang, Chee Hong" X-Patchwork-Id: 243416 List-Id: U-Boot discussion From: chee.hong.ang at intel.com (chee.hong.ang at intel.com) Date: Mon, 9 Mar 2020 01:21:58 -0700 Subject: [PATCH v1 0/2] Fix A10 clock driver crash after changes in DM core Message-ID: <1583742120-6661-1-git-send-email-chee.hong.ang@intel.com> From: "Ang, Chee Hong" 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 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(-)