/* returns state of I2C SCL and SDA lines. b = SCL, b = SDA Call soc specific routine to read GPIO pad input. Why? We can get the pins from our PINCTRL info but we do not know which pin is I2C clock and which pin is I2C data. There's no ordering in PINCTRL DT unless we impose an order.  */
static uint32_t get_lines(const struct device *dev)
/* returns state of I2C SCL and SDA lines. b = SCL, b = SDA Call soc specific routine to read GPIO pad input. Why? We can get the pins from our PINCTRL info but we do not know which pin is I2C clock and which pin is I2C data. There's no ordering in PINCTRL DT unless we impose an order.  */
static uint32_t get_lines(const struct device *dev)
{
	const struct i2c_xec_config *cfg =
		(const struct i2c_xec_config *const) (dev->config);
	struct i2c_smb_regs *regs = (struct i2c_smb_regs *)cfg->base_addr;
	uint8_t port = regs->CFG & MCHP_I2C_SMB_CFG_PORT_SEL_MASK;
	uint32_t lines = 0u;
	soc_i2c_port_lines_get(port, &lines);
	return lines;
}