Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: I2C: Order CMakeLists and KConfig in alphabetic order #80453

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

dnltz
Copy link
Collaborator

@dnltz dnltz commented Oct 25, 2024

The first patch organizes the CMakeLists and Kconfig files in alphabetic order. This allows to better find and add new drivers to this list.

The second patch renames Renesas I2C Kconfig to align with the name convention CONFIG_I2C_driver-name.

dnltz added 2 commits October 25, 2024 09:40
Organize all drivers in alphabetic order and move common
parts at the beginning.

Signed-off-by: Daniel Schultz <[email protected]>
Kconfig names follow the convention CONFIG_I2C_driver-name. Rename
RENESAS_RA_I2C_IIC to I2C_RENESAS_RA_IIC to align this config name
with all others.

Signed-off-by: Daniel Schultz <[email protected]>
Copy link
Collaborator

@thaoluonguw thaoluonguw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good to me. Thank you.

@@ -6,107 +6,99 @@ zephyr_library()

zephyr_library_sources(i2c_common.c)

zephyr_library_sources_ifdef(CONFIG_GPIO_I2C_SWITCH gpio_i2c_switch.c)
Copy link
Member

@soburi soburi Nov 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider to add

# zephyr-keep-sorted-start

Such like https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/gpio/Kconfig#L97

@kartben kartben merged commit fc48870 into zephyrproject-rtos:main Dec 16, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: I2C platform: Renesas RA Renesas Electronics Corporation, RA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants