In order for the USB HAL to issue a USB port reset, the ownership for the
mode sysfs path needs to be under the system usb group.
Change-Id: I8c330206c40b9c355fbe2f9beba0dde406026912
(cherry picked from commit 9daea1b9f6ce27f72e5b8e2a05bb7ae30acdb49d)
Change the ownership of the authorize file to allow the USB bus reset audio
recovery mechanism in the USB HAL to work. This only modifies the
ownership of the USB root hubs that are present on the system. For all
other connected devices, the default ownership is fine, as the recovery is
only allowed on direct connection to the USB root hub.
Change-Id: Idbce78b52054f75c09891aa1c1c827dda60f1d0a
Change ownership of USB devices' power autosuspend, control and wakeup
file nodes to system user and usb group. This allows the USB HAL
running as non-root to dynamically enable autosuspend for enumerated
devices.
Change-Id: I92806107a46ea0256cef5f211e7ea910541f1705
Assign the /sys/class/typec/port0 entries for data and power
role switching to system / usb ownership to allow the USB HAL
to run as non-root and write to these nodes.
Change-Id: I6317a5e6ef99179570e87705cd43a8fa667f0d03
Update RemoteProc state user and group, so system health monitor
service can trigger a RemoteProc restart.
Change-Id: I63da50a498d15e9c98607b277a26812513553219
Updated user and group for Q2SPI UWB device.
Change-Id: I50b19e83c54a103d03707f910b62a9bc14407114
(cherry picked from commit 01d6f18dd892ce96e1ee672fb2fc831959e8aae6)