Best way to set bits in RASTER_CTRL register?

Hello,

I want to use all 24 bits for LCD output and see that the LCDTFT and TFT24 bits need to be set in the RASTER_CTRL register.

What is the best way to do this? I’ve searched around for an answer and I see references to the device tree, but is there an easier way to do this? Thank you.

Best regards,
Paul