Message ID | 20250508-tegra210-emc-dt-v2-2-d33dc20a1123@gmail.com |
---|---|
State | New |
Headers | show |
Series | memory: tegra210-emc: Support Device Tree EMC Tables | expand |
On Thu, 08 May 2025 01:07:39 -0500, Aaron Kling wrote: > The nvidia,tegra21-emc compatible is required by the Nvidia Android > bootloader to copy emc training value into the kernel dt. So allow this > as a fallback compatible to avoid needing to change the driver. > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com> > --- > .../devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250508-tegra210-emc-dt-v2-2-d33dc20a1123@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml index 78e3417d273a329b77bf2f61de41b29017be56d3..acae6c8a6c0ab9ceaddf00342c933499350568eb 100644 --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml @@ -16,7 +16,11 @@ description: | properties: compatible: - const: nvidia,tegra210-emc + oneOf: + - const: nvidia,tegra210-emc + - items: + - const: nvidia,tegra210-emc + - const: nvidia,tegra21-emc reg: maxItems: 3