diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2026-06-05 16:18:36 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-09 09:52:40 +0300 |
| commit | 59e2ba77f18cb7c6de5d10c1091012fc0af9e8cb (patch) | |
| tree | efbaf583b59b2d9ec4d796297720ebab96e67b87 /BaseTools/Source/Python/CommonDataClass | |
| parent | 5f59408df89515ca097461e421df0ebf05200695 (diff) | |
| download | edk2-59e2ba77f18cb7c6de5d10c1091012fc0af9e8cb.tar.xz | |
DynamicTablesPkg/HwInfoParser: Rework SerialPortParser
The serial port clock frequency is not parsed correctly.
Linux's device tree binding specifies:
- PL011 [1]:
"clocks" property is optional and contains a phandle referencing
a clock node. The clock node must have a "clock-frequency" property.
- SBSA-UART [2]:
There is no clock specifier. Do not support this case until
a device tree with this property is encountered.
- 8250 [3]:
One of "clock", "clock-frequency" properties must be present.
The "clock" property contains a phandle referencing a clock node.
Correct the code to parse the above properties.
[1] Documentation/devicetree/bindings/serial/pl011.yaml
[2] Documentation/devicetree/bindings/serial/arm,sbsa-uart.yaml
[3] Documentation/devicetree/bindings/serial/8250.yaml
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass')
0 files changed, 0 insertions, 0 deletions
