On 18.01.2024 03:31, Bjorn Andersson wrote: > In addition to the normal runtime commands, the Always On Processor > (AOP) provides a number of debug commands which can be used during > system debugging for things such as preventing power collapse or placing > floor votes for certain resources. Some of these are documented in the > Robotics RB5 "Debug AOP ADB" linked below. > > Provide a debugfs interface for the developer/tester to send some of > these commands to the AOP, which allow the user to override the DDR > frequency, preventing power collapse of cx and ddr, and prevent AOSS > from going to sleep. > > Link: https://docs.qualcomm.com/bundle/publicresource/topics/80-88500-3/85_Debugging_AOP_ADB.html > Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx> > --- [...] > > +struct qmp_debugfs_entry { > + const char *name; > + const char *fmt; > + bool is_bool; This can also be const > + const char *true_val; > + const char *false_val; All of these strings can be const ptrs to const data Konrad