schemas: legacy: Remove Bus & Address from ADC subschema
This commit removes `Bus` and `Address` from the property list of `ADC`
subschema because they are redundant. These properties are not supported
in the source code of ADCSensor daemon in dbus-sensors.
This commit therefore removes `Bus` config from ADC sensor configs in
mtjefferson_mb.json as this might be the reason `Bus` and `Address` were
mistakenly added to `ADC` subschema.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I3f9970e76d877ffc0a7ee0916753432f51a577c8
diff --git a/configurations/mtjefferson_mb.json b/configurations/mtjefferson_mb.json
index 47853bf..1ef142c 100644
--- a/configurations/mtjefferson_mb.json
+++ b/configurations/mtjefferson_mb.json
@@ -590,7 +590,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 1,
@@ -630,7 +629,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 2,
@@ -670,7 +668,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 3,
@@ -710,7 +707,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 4,
@@ -750,7 +746,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 5,
@@ -790,7 +785,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 6,
@@ -830,7 +824,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 7,
@@ -870,7 +863,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 8,
@@ -910,7 +902,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 9,
@@ -950,7 +941,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 10,
@@ -990,7 +980,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 11,
@@ -1030,7 +1019,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 12,
@@ -1076,7 +1064,6 @@
"Type": "ADC"
},
{
- "Bus": 20,
"CPURequired": 0,
"EntityId": 19,
"EntityInstance": 13,
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 6210348..da34055 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -608,12 +608,6 @@
"Name": {
"$ref": "#/$defs/Types/Name"
},
- "Address": {
- "$ref": "#/$defs/Types/Address"
- },
- "Bus": {
- "$ref": "#/$defs/Types/Bus"
- },
"BridgeGpio": {
"$ref": "#/$defs/Types/BridgeGpio"
},