d2-common: cleanup and add new sensors permissions

Change-Id: I2caec2f6411629cddd872552c21eb843d9fb3f5e