mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
i2c: octeon-core: Use generic definitions for bus frequencies
Since we have generic definitions for bus frequencies, let's use them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260618141546.3241531-1-andriy.shevchenko@linux.intel.com
This commit is contained in:
parent
dfdca0b1eb
commit
a660c2264f
|
|
@ -235,7 +235,7 @@ static inline void octeon_i2c_write_int(struct octeon_i2c *i2c, u64 data)
|
|||
octeon_i2c_writeq_flush(data, i2c->twsi_base + OCTEON_REG_TWSI_INT(i2c));
|
||||
}
|
||||
|
||||
#define IS_LS_FREQ(twsi_freq) ((twsi_freq) <= 400000)
|
||||
#define IS_LS_FREQ(twsi_freq) ((twsi_freq) <= I2C_MAX_FAST_MODE_FREQ)
|
||||
#define PCI_SUBSYS_DEVID_9XXX 0xB
|
||||
#define PCI_SUBSYS_MASK GENMASK(15, 12)
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user