Files
device_google_sunfish/init.hardware.userdebug.rc.userdebug
Andrew Chant 3a4737b6a0 dumpstate: dump display PMIC registers
Dump PMIC registers for display power supplies.

Bug: 146400230
Test: took a bugreport in userdebug build, saw
display register dumps:
  ------ ELVDD Register Dump (/sys/kernel/debug/regmap/spmi0-05/data) ------
  de00: 00
  de01: 01
  de02: 01
  ...

Change-Id: I9d9e0c74af9e10d4bdaf0151b97ed382d269021e
2019-12-17 19:50:35 +08:00

22 lines
832 B
Plaintext

#
# Copyright (C) 2019 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
on property:sys.boot_completed=1
chown system system /sys/kernel/debug/regmap/spmi0-05/address
chown system system /sys/kernel/debug/regmap/spmi0-05/count
chown system system /sys/kernel/debug/regmap/spmi0-05/data