2189d612 | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: add documentation
Begin the process of documenting the EM configuration schema, starting with the top level elements.
Change-Id: Ie026c6cf51f980fb0ca65342ee75e8854de74395 Signed-off-by: Bra
schema: add documentation
Begin the process of documenting the EM configuration schema, starting with the top level elements.
Change-Id: Ie026c6cf51f980fb0ca65342ee75e8854de74395 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
45d42a5b | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: require type
Require the type property on every EM configuration. This is required for EM to function correctly, so configurations with the type missing suggests these configurations are no
schema: require type
Require the type property on every EM configuration. This is required for EM to function correctly, so configurations with the type missing suggests these configurations are not used and candidates for dropping from the tree.
Change-Id: I72bf9eb2fd8e7a634a8a5aab45fe94da560fa9fc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
9453a68f | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: top: add missing EMConfig properties
Set additionalProperties false on the EMConfig schema. This catches a handful of top level properties in configurations that aren't documented or checke
schema: top: add missing EMConfig properties
Set additionalProperties false on the EMConfig schema. This catches a handful of top level properties in configurations that aren't documented or checked such as Bus and Logging.
Further, a couple of unchecked dbus interfaces are found in configurations. Add those as well.
Change-Id: Ie93a89a70e5aeee8d34b21c573866522eb3f5fd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
98e78b7f | 22-Jun-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: aggregate: add missing properties
Set additionalProperties false on the Aggregrate schema. This catches a number of properties in configurations that aren't documented or checked, so add th
schema: aggregate: add missing properties
Set additionalProperties false on the Aggregrate schema. This catches a number of properties in configurations that aren't documented or checked, so add the minimum required for those as well.
Change-Id: I4e1c144b7bc638870cca53bb6033f8a18989c460 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
a1427097 | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: Add missing types
Address, BridgeGpio, and PresenceGpio can all be arrays and a number of configurations have these array properties.
With this correction, the configurations that did not p
schema: Add missing types
Address, BridgeGpio, and PresenceGpio can all be arrays and a number of configurations have these array properties.
With this correction, the configurations that did not pass the validator now pass, so remove them from the expected failures file.
Change-Id: I44103da50682448ac563340761f93e8e8c5948a5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
8e659b5b | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: Add EMConfig
Entity Manager configuration documents can contain either a single configuration (an object) or an array of that same object. Introduce a new definition "EMConfig" which makes
schema: Add EMConfig
Entity Manager configuration documents can contain either a single configuration (an object) or an array of that same object. Introduce a new definition "EMConfig" which makes this obvious.
Change-Id: I3189743d218f8ae7a00a70c4f2295dcc449997ef Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
b980991b | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: factor out dbus
Move schema that validate OpenBMC DBus interfaces to a single file to facilitate re-use and improve organization. Perhaps this file could be generated from the canonical DBu
schema: factor out dbus
Move schema that validate OpenBMC DBus interfaces to a single file to facilitate re-use and improve organization. Perhaps this file could be generated from the canonical DBus documentation for OpenBMC.
Change-Id: If02cbf1b646d39b6e71f4c6e595d1992bc71ef92 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
66665886 | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: factor out properties into legacy.json
The current Exposes element schema describes an object composed of arbitrary properties from a list. The list of allowed properties is duplicated; the
schema: factor out properties into legacy.json
The current Exposes element schema describes an object composed of arbitrary properties from a list. The list of allowed properties is duplicated; there are already miscompares between the two - so factor the list out, move it to a common place and reference the common list.
Further, schemas composed of arbitrary properties are too relaxed - more descriptive schemas that restrict elements to better defined types is conceiveable, so call the existing property list an "Aggregate" to highlight its fuzzy nature, and move it to an isolated schema document so we can add documentation that discourages adding new properties to the Aggregate schema.
Change-Id: I97df88e0a40fd6fdf1d53b69e2855d31076fa09d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
64d7cecc | 01-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: schema attribute tweak
From the json-schema website: The possibility to declare $schema without specific version (http://json-schema.org/schema#) was deprecated after Draft 4 and shoul
schema: schema attribute tweak
From the json-schema website: The possibility to declare $schema without specific version (http://json-schema.org/schema#) was deprecated after Draft 4 and should no longer be used.
Set the version to draft-07 as not all validators support 2019-09 yet and no features from 2019-09 are required.
For additional reading: https://json-schema.org/understanding-json-schema/reference/schema.html#the-schema-keyword
Change-Id: If88639d6db4e67088660a928a33881fd25cc6cd3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
ba520312 | 10-Jul-2019 |
James Feist <james.feist@linux.intel.com> |
Update DIMM Setpoints dynamically
Use an offset Threshold Value.
Tested: Pid Control used new setting with updated patch
Change-Id: Ie65170a3768001a69d158b0cb573f57b082245f0 Signed-off-by: James F
Update DIMM Setpoints dynamically
Use an offset Threshold Value.
Tested: Pid Control used new setting with updated patch
Change-Id: Ie65170a3768001a69d158b0cb573f57b082245f0 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
60d93d26 | 10-Jul-2019 |
James Feist <james.feist@linux.intel.com> |
Regenerate global schema
Regenerate with tool.
Change-Id: I2e2edfed970fd76f09c683e3f709ce658ef85abf Signed-off-by: James Feist <james.feist@linux.intel.com> |
3866be93 | 13-May-2019 |
James Feist <james.feist@linux.intel.com> |
Update json schema for fan control
Add new fields to schema so we can patch updates.
Change-Id: Ibfa0c0e336a134080e06ead58ff9e55fcb033b55 Signed-off-by: James Feist <james.feist@linux.intel.com> |
ffdc4799 | 10-Apr-2019 |
Zhu, Yunge <yunge.zhu@linux.intel.com> |
Add Fault leds gpio configurations
Add DIMM/Fan fault leds gpio mapping support
Tested: Dbus will show the fault led gpio configuration.
Change-Id: I09488f63eb446fd17854134a4ccf471b3c774a80 S
Add Fault leds gpio configurations
Add DIMM/Fan fault leds gpio mapping support
Tested: Dbus will show the fault led gpio configuration.
Change-Id: I09488f63eb446fd17854134a4ccf471b3c774a80 Signed-off-by: Zhu, Yunge <yunge.zhu@linux.intel.com>
show more ...
|
44d0c4df | 07-Apr-2019 |
Zhu, Yunge <yunge.zhu@linux.intel.com> |
[ADC-GPIO]Enable ADC Gpio bridge configuration
Commit 1: configuration Add support for ADC channel controlled by GPIO. For example,ADC channel8, connected to CMOS battery, is controlled by a GPIO. N
[ADC-GPIO]Enable ADC Gpio bridge configuration
Commit 1: configuration Add support for ADC channel controlled by GPIO. For example,ADC channel8, connected to CMOS battery, is controlled by a GPIO. Need set 1 to gpio when Channel8 sampling, and set 0 to gpio when finish sampling.
Another Commit 2: Enabling ADC-Gpio Bridge
Tested:gpio will be created and exposed on dbus
Change-Id: I52bb79930bb2483239da57001312dacecd953ed2 Signed-off-by: Zhu, Yunge <yunge.zhu@linux.intel.com>
show more ...
|
5d9875db | 27-Feb-2019 |
Qiang XU <qiang.xu@linux.intel.com> |
Add GPIO based chassis intrusion sensor config
Use "Bind*" and "Class" to support both PCH/I2C and GPIO in one "Type"
Tested-by: Intrusion status can be read via readfish on both WFP (PCH/I2C solut
Add GPIO based chassis intrusion sensor config
Use "Bind*" and "Class" to support both PCH/I2C and GPIO in one "Type"
Tested-by: Intrusion status can be read via readfish on both WFP (PCH/I2C solution) and STP(GPIO solution)
Change-Id: Ib371e91278270ca74c6db759158ffe016e5c3232 Signed-off-by: Qiang XU <qiang.xu@linux.intel.com>
show more ...
|
9aae6f48 | 25-Feb-2019 |
James Feist <james.feist@linux.intel.com> |
s/MinThermalRpm/MinThermalOutput
Start using percent instead.
Change-Id: I92f6d62d529d747c3d134477b946631593a47cf5 Signed-off-by: James Feist <james.feist@linux.intel.com> |
153b5bf4 | 30-Nov-2018 |
James Feist <james.feist@linux.intel.com> |
Add exit air temp configurations
Add exit air temp and system airflow sensor configurations to R1000 chassis.
Change-Id: Ibe21b32fd5c3a3c2f031c99105de64b095f7c82c Signed-off-by: James Feist <james.
Add exit air temp configurations
Add exit air temp and system airflow sensor configurations to R1000 chassis.
Change-Id: Ibe21b32fd5c3a3c2f031c99105de64b095f7c82c Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
f944cc41 | 18-Dec-2018 |
James Feist <james.feist@linux.intel.com> |
schema: fix stepwise schema
Integers should really be numbers.
Change-Id: I9000146f3e1c1e5ba754e4573b5ff1ddd5b06780 Signed-off-by: James Feist <james.feist@linux.intel.com> |
15dadaaa | 02-Jan-2019 |
James Feist <james.feist@linux.intel.com> |
WFT Baseboard: Make some voltage sensors power on only
Add power on only flag.
Change-Id: Iaaa8c4889a79baeecf24834e6ae47ebc5510146b Signed-off-by: James Feist <james.feist@linux.intel.com> |
9c26ef9e | 11-Dec-2018 |
James Feist <james.feist@linux.intel.com> |
R2000 Chassis: Change MaxReading for fans
Max reading from configuration data should be 14K.
Change-Id: I6a45f184d846b87cdba5d38d095948075c69ca95 Signed-off-by: James Feist <james.feist@linux.intel
R2000 Chassis: Change MaxReading for fans
Max reading from configuration data should be 14K.
Change-Id: I6a45f184d846b87cdba5d38d095948075c69ca95 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
e12bdda3 | 01-Nov-2018 |
James Feist <james.feist@linux.intel.com> |
Add fan redundancy configurations
For R1000 and R2000 chassis
Change-Id: I12f51fcb71a9df25a3a6f0b840315eabc1bb4589 Signed-off-by: James Feist <james.feist@linux.intel.com> |
3cab7871 | 11-Dec-2018 |
James Feist <james.feist@linux.intel.com> |
Make stepwise configuration writeable
Add schema file and add to writeable array
Tested-by: Verified types change to writeable
Change-Id: Ie089f4e221e2651afb0172a9314130e527728f27 Signed-off-by: J
Make stepwise configuration writeable
Add schema file and add to writeable array
Tested-by: Verified types change to writeable
Change-Id: Ie089f4e221e2651afb0172a9314130e527728f27 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
87a50dae | 25-Sep-2018 |
James Feist <james.feist@linux.intel.com> |
Add gpio properties
Adds gpio properties for gpio daemon.
Change-Id: Iab0711d5d318b5be98313e5d522a2fe147a560fa Signed-off-by: James Feist <james.feist@linux.intel.com> |
abb231cb | 05-Sep-2018 |
James Feist <james.feist@linux.intel.com> |
Add intial stepwise configuration example
This isn't based off of any fsc spreadsheet but it's good to have one configuration as an example.
Change-Id: I7451264d446fcd28b774373895eb7a19c83043f6 Sig
Add intial stepwise configuration example
This isn't based off of any fsc spreadsheet but it's good to have one configuration as an example.
Change-Id: I7451264d446fcd28b774373895eb7a19c83043f6 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
e36e5c14 | 27-Aug-2018 |
James Feist <james.feist@linux.intel.com> |
Add Pid Zone Schema
This is needed for updating Pid Zones
Change-Id: I4480658ec405feeb989d3f58f71b6cc9aa053fcb Signed-off-by: James Feist <james.feist@linux.intel.com> |