View Issue Details

IDProjectCategoryView StatusLast Update
0001475channel: kernel/el9--kernel--request-for-enhancement--public2024-08-20 13:29
Reporterleoleovich Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001475: Support for OCP TimeCard driver
DescriptionWe would like to add OCP TimeCard driver as a part of kmods.
The driver supports different hardware implementations and also has some dependencies based on the hardware.
The driver itself can be enabled via CONFIG_PTP_1588_CLOCK_OCP=m, but it needs some hard dependencies:
```
CONFIG_NET_DEVLINK=y
CONFIG_CRC16=y
CONFIG_DPLL=y
```

The next dependencies are for the driver to be able to read HW serial numbers and board-specific configurations:
```
CONFIG_I2C_OCORES=m
CONFIG_I2C_XILINX=m
```

And there are 4 more dependencies to be able to upgrade the firmware via devlink:
```
CONFIG_SPI_ALTERA=m
CONFIG_SPI_ALTERA_CORE=m
CONFIG_SPI_BITBANG=m
CONFIG_SPI_XILINX=m
```
TagsNo tags attached.

Activities

toracat

2024-08-15 18:47

administrator   ~0010027

I have built a kernel-ml set with the required config changes. It is available from:

https://elrepo.org/people/toracat/devel/bug1475/

Could you let me know if this works?

leoleovich

2024-08-16 12:49

reporter   ~0010029

Installed the kernel. The module loads successfully, thank you very much!

toracat

2024-08-16 12:51

administrator   ~0010030

That's good news. We will apply these changes in the next kernel update.

leoleovich

2024-08-19 06:40

reporter   ~0010031

Apologies, we also need `CONFIG_MTD_SPI_NOR=m` to add to the config. Otherwise parts of the functionality are not working.

toracat

2024-08-19 12:49

administrator   ~0010032

OK, will make that addition.

toracat

2024-08-20 13:28

administrator   ~0010039

The requested kernel config changes are in the latest kernel 6.10.6 :

https://github.com/elrepo/kernel/commit/b82f5d56140160d86e9df897430711186210adb6

I'll close this ticket as "resolved".

Issue History

Date Modified Username Field Change
2024-08-14 06:14 leoleovich New Issue
2024-08-14 06:14 leoleovich Status new => assigned
2024-08-14 06:14 leoleovich Assigned To => toracat
2024-08-14 14:38 toracat Status assigned => acknowledged
2024-08-15 18:47 toracat Note Added: 0010027
2024-08-15 18:47 toracat Status acknowledged => feedback
2024-08-16 12:49 leoleovich Note Added: 0010029
2024-08-16 12:49 leoleovich Status feedback => assigned
2024-08-16 12:51 toracat Note Added: 0010030
2024-08-19 06:40 leoleovich Note Added: 0010031
2024-08-19 12:49 toracat Note Added: 0010032
2024-08-20 13:28 toracat Note Added: 0010039
2024-08-20 13:29 toracat Status assigned => resolved
2024-08-20 13:29 toracat Resolution open => fixed