Hi Bjorn, On 11/12/2018 1:35 PM, Bjorn Andersson wrote:
The AOSS QMP genpd provider implements control over power-related resources related to low-power state associated with the remoteprocs in the system as well as control over a set of clocks related to debug hardware in the SoC. Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
One more issue is that amba bus probe fails and coresight(qdss) does not work with these because of clocks being modeled as power-domain. Below is the log snippet: [ 4.580715] coresight-etm4x: probe of 7040000.etm failed with error -2 [ 4.588087] coresight-etm4x: probe of 7140000.etm failed with error -2 [ 4.595407] coresight-etm4x: probe of 7240000.etm failed with error -2 [ 4.602796] coresight-etm4x: probe of 7340000.etm failed with error -2 [ 4.610108] coresight-etm4x: probe of 7440000.etm failed with error -2 [ 4.617453] coresight-etm4x: probe of 7540000.etm failed with error -2 [ 4.624831] coresight-etm4x: probe of 7640000.etm failed with error -2 [ 4.632190] coresight-etm4x: probe of 7740000.etm failed with error -2 This is because Amba bus probe has amba_get_enable_pclk() which gets apb_pclk and returns error if it can't get that clk. Just for testing, I ignored amba_get_enable_pclk() in probe and coresight seems to work fine. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation