I would like to ask about your progress
As far as I understand you need to match use same value for dts.compatible and driver.compatible so that kernel knows which driver it should use for the given dts node.
In your case driver has .compatible = “raspberrypi,7inch-touchscreen-panel” but dts has compatible =“rockpi,tc358762”
Me too is interested whether someone is more lucky than me getting the overlay working
Even though I am on 5A, I think the device tree would be pretty much identical.
Couple of things in addition to @tsadigov note is that the compatible from the metadata should be set to something like compatible = "radxa,rock-5b", "rockchip,rk3588";. And closer to the end there are also rockpi_* fields which do not seem to be applicable for the 5B.
I was also wondering, did you make the pin adapter yourself, or is there some off-the-shelf thing to make life easier?