[Letux-kernel] build log :)

H. Nikolaus Schaller hns at goldelico.com
Sat Oct 29 11:25:36 CEST 2016

>> Here is the tree:
>> http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/work/hns/gpu/pvr-v2
> I have looked a little into the DM3730 TRM and it appears as if the power domain
> and reset registers are well documented.
> For example the PM_PWSTST_SGX @ 0x4830 6BE4 should tell something about the
> power state of the SGX module.
> CM_FCLKEN_SGX @ 0x4800 4B00 and CM_ICLKEN_SGX @ 0x4800 4B10 tell if the clocks are enabled.
> CM_IDLEST_SGX @ 0x4800 4B20 should tell if theSGX is active or in standby.
> Finally RM_RSTST_SGX @ 0x4830 6B58 should say something about the reset state.
> And section explicitly says:
> "Software controls the release of SGX_RST using the PRCM.RM_RSTCTRL_SGX[0] SGX_RST bit."
> All these registers can be inspected by devmem2. And even written...
> I am quite sure that we have all information we need to fix the SGX reset control.
> Then I hope the SGX starts up.

I did look a little deeper into the code and the warnings and there is a second problem.

There is no OMAP reset-controller driver but the reset-controller framework assumes
to have properly defined device tree nodes for all resets. E.g. reset_control_get()
looks explicitly for a "resets = " property which we likely have to define for the sgx DT

There was a patch set a while ago but it appears to have not been rejected or accepted:


So I will ask Tero Kristo what happened to it.

More information about the Letux-kernel mailing list