Commit 9d8c332b authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

i2c: use I2C_X nameing instead of I2CX



Other IOs use this format, so lets be consistent and use

I2C_0 instead of I2C0 and I2C_1 an instead of I2C1.

Change-Id: I591ab08e14bd533ef0fac38e596559da783863b8
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 052664d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ config I2C_QUARK_SE_SS_0
if I2C_QUARK_SE_SS_0

config I2C_QUARK_SE_SS_0_NAME
	default "I2C0"
	default "I2C_0"

config I2C_QUARK_SE_SS_0_DEFAULT_CFG
	default 0x12
@@ -102,7 +102,7 @@ endif # I2C_QUARK_SE_SS_0
if I2C_QUARK_SE_SS_1

config I2C_QUARK_SE_SS_1_NAME
	default "I2C1"
	default "I2C_1"

config I2C_QUARK_SE_SS_1_DEFAULT_CFG
	default 0x12
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ config I2C_DW_0
if I2C_DW_0

config I2C_DW_0_NAME
        default "I2C0"
        default "I2C_0"
config I2C_DW_0_DEFAULT_CFG
        default 0x12
config I2C_DW_0_IRQ_PRI
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ config GROVE_LCD_RGB
config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
	string "I2C Master where Grove LCD is connected"
	depends on GROVE_LCD_RGB
	default "I2C0"
	default "I2C_0"
	help
	Specify the device name of the I2C master device to which the
	Grove LCD is connected.
+4 −4
Original line number Diff line number Diff line
@@ -40,11 +40,11 @@ config I2C_ATMEL_SAM3_0
config I2C_ATMEL_SAM3_0_NAME
	string "Device name for Atmel SAM3 I2C Controller 0"
	depends on I2C_ATMEL_SAM3_0
	default "I2C0"
	default "I2C_0"
	help
	The device name for Atmel SAM3 I2C Controller 0.

	Default is "I2C0".
	Default is "I2C_0".

config I2C_ATMEL_SAM3_0_IRQ_PRI
	int "IRQ Priority for Atmel SAM3 I2C Controller 0"
@@ -80,11 +80,11 @@ config I2C_ATMEL_SAM3_1
config I2C_ATMEL_SAM3_1_NAME
	string "Device name for Atmel SAM3 I2C Controller 1"
	depends on I2C_ATMEL_SAM3_1
	default "I2C1"
	default "I2C_1"
	help
	The device name for Atmel SAM3 I2C Controller 1.

	Default is "I2C1".
	Default is "I2C_1".

config I2C_ATMEL_SAM3_1_IRQ_PRI
	int "IRQ Priority for Atmel SAM3 I2C Controller 1"
+5 −5
Original line number Diff line number Diff line
@@ -31,17 +31,17 @@ config I2C_DW_SHARED_IRQ
	depends on I2C_DW

config I2C_DW_0
        bool "Enable I2C0"
        bool "Enable I2C_0"
        default n
	depends on I2C_DW

config I2C_DW_0_NAME
        string "Select a name for finding the device"
        depends on I2C_DW_0
        default "I2C0"
        default "I2C_0"

choice
	prompt "I2C0 Interrupts via"
	prompt "I2C_0 Interrupts via"
	default I2C_DW_0_IRQ_DIRECT
	depends on I2C_DW_0

@@ -86,14 +86,14 @@ config I2C_DW_0_DEFAULT_CFG
        the values later.  Refer to the I2C datasheet for proper values.

config I2C_DW_1
        bool "Enable I2C1"
        bool "Enable I2C_1"
        default n
	depends on I2C_DW

config I2C_DW_1_NAME
        string "Select a name for finding the device"
        depends on I2C_DW_1
        default "I2C1"
        default "I2C_1"

config I2C_DW_1_IRQ_PRI
        int "Controller interrupt priority"
Loading