Making a device driver for nrf52833 using Device Tree for SPI supported device that is not available in zephyr/drivers/sensors

Hi,

I am trying to build my own driver for AS5048 (magnetic rotary position sensor) that is connected to nrf52833 using SPI communication. I couldn't fond specific guide or steps to start building a driver using zephyr. There is a section on zephyr project in DeviceTree HOWTOS section named as (Write device drivers using devicetree APIs) but it is very general that is not helpful at all in building a driver. On devZone I  found some questions where people always recommend to start modifying an existing deriver from a zephyr sensor directory but this is also not an easy or straight forward task unless a step by step guide or example available.  Some of the links like (https://interrupt.memfault.com/blog/building-drivers-on-zephyr#full-example) are available but it is using West.

If anybody has some example kindly share, it will be a lot helpful. 

Related