Panel set up to provide punishment (5)
I believe the answer is:
penal
'up to provide punishment' is the definition.
I can't judge whether this definition defines the answer.
'panel set' is the wordplay.
'set' indicates anagramming the letters (instruction to set the letters).
'panel' is an anagram of 'PENAL'.
Can you help me to learn more?
(Other definitions for penal that I've seen before include "Involving legal punishment" , "Punishable by law" , "Involving punishment as by the law" , "Punishing" , "Corrective" .)