From: Tom Rini Date: Tue, 14 Jun 2022 17:59:23 +0000 (-0400) Subject: dtoc: Update test_src_scan.py for new tegra compatibles X-Git-Tag: baikal/mips/sdk5.9~3^2~27 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=d9d03aeb9d0967eb9d52f6acbbf1650c3231b437;p=uboot.git dtoc: Update test_src_scan.py for new tegra compatibles 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 --- diff --git a/tools/dtoc/test_src_scan.py b/tools/dtoc/test_src_scan.py index bdfa669d81..f93cd7f5a3 100644 --- a/tools/dtoc/test_src_scan.py +++ b/tools/dtoc/test_src_scan.py @@ -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)