configs: rhel: Fix designware I2C controllers related config settings

Before 6.12 CONFIG_I2C_DESIGNWARE_CORE was not user selectable, instead it was automatically selected by CONFIG_I2C_DESIGNWARE_PLATFORM / CONFIG_I2C_DESIGNWARE_PCI.

Commit 9d1fbf22 ("[redhat] New configs in drivers/i2c") created redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE with "# CONFIG_I2C_DESIGNWARE_CORE is not set" to deal with it now being user selectable.

This is causing all the other CONFIG_I2C_DESIGNWARE_* options to be disabled breaking anything connected to any designware I2C controllers, such as touchpads, accelerometers, fuel-gauges, USB Type-C controllers, camera sensors, etc.

This commit changes 3 designware I2C controllers configs to fix things:

  1. Change the generic CONFIG_I2C_DESIGNWARE_CORE to 'm' to re-enable CONFIG_I2C_DESIGNWARE_PLATFORM which is 'm' in RHEL.

  2. Many x86 laptops require CONFIG_I2C_DESIGNWARE_PCI for I2C connected touchscreens and touchpads, set CONFIG_I2C_DESIGNWARE_PCI=m on x86.

  3. The designware I2C drivers should not be build on s390x, change the existing unsetting of CONFIG_I2C_DESIGNWARE_PLATFORM on s390x to unset CONFIG_I2C_DESIGNWARE_CORE to disable all designware I2C drivers.

Merge request reports

Loading