]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dtoc: Update test_src_scan.py for new tegra compatibles
authorTom Rini <trini@konsulko.com>
Tue, 14 Jun 2022 17:59:23 +0000 (13:59 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 14 Jun 2022 17:59:23 +0000 (13:59 -0400)
This test was written to match up with the list of compatibles in
drivers/i2c/tegra_i2c.c so adding another one requires the test to be
updated to match.

Fixes: 996d4069e69e ("arm: tegra: Update some DT compatibles")
Signed-off-by: Tom Rini <trini@konsulko.com>
tools/dtoc/test_src_scan.py

index bdfa669d816f0cb3299da362903b7bcade84884c..f93cd7f5a3a9228439c7b8b4ddfd257b8fc256eb 100644 (file)
@@ -151,6 +151,7 @@ class TestSrcScan(unittest.TestCase):
         self.assertEqual('UCLASS_I2C', drv.uclass_id)
         self.assertEqual(
             {'nvidia,tegra114-i2c': 'TYPE_114',
+             'nvidia,tegra124-i2c': 'TYPE_114',
              'nvidia,tegra20-i2c': 'TYPE_STD',
              'nvidia,tegra20-i2c-dvc': 'TYPE_DVC'}, drv.compat)
         self.assertEqual('i2c_bus', drv.priv)