Skip to contentSkip to conversation

dtoc: Update test_src_scan.py for new tegra compatibles

PATCH In review Tom Rini 1 participant 2 messages Jun 14, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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 0d2105ae5e32 ("arm: tegra: Update some DT compatibles")
---
 tools/dtoc/test_src_scan.py | 1 +
 1 file changed, 1 insertion(+)
tools/dtoc/test_src_scan.py +1 -0
index bdfa669d816f..f93cd7f5a3a9 100644
@@ -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)
Signature · 1 line
2.25.1
author
#1 lore raw
Quoted 6 lines · Tom Rini

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 0d2105ae5e32 ("arm: tegra: Update some DT compatibles")

Applied to u-boot/master, thanks!

Signature · 1 line
Tom