a19d905cc4
Removed few VIF properties which are being hardcoded Updated the script to parse source VIF XML and add information to the output Added optional Kconfig option to configure custom source VIF XML path Cleaned up the code Signed-off-by: Madhurima Paruchuri <mparuchuri@google.com>
15 lines
322 B
Python
15 lines
322 B
Python
#!/usr/bin/env python3
|
|
|
|
# Copyright (c) 2022 The Chromium OS Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
"""This file contains device tree constants defined to be used by generate_vif.py"""
|
|
|
|
SINK_PDOS = "sink-pdos"
|
|
PD_DISABLE = "pd-disable"
|
|
POWER_ROLE = "power-role"
|
|
|
|
DT_VIF_ELEMENTS = {
|
|
SINK_PDOS: "SnkPdoList",
|
|
}
|