Skip to content
Commit 05f8dd9a authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

drivers: i2c_dw: Remove hard-coded instance count assumption



Introduce a Kconfig variable that the SoC can set to indicate the
number of instances in Device Tree. This also fixes the accuracy of
the Elkhart Lake instance count where the code was previously assuming
up to 12 instances even though DT lists 15 nodes.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 704ddaa9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment