[PATCH 6/6] MIPS: eyeq5_defconfig: add I2C subsystem, driver and temp sensor driver

Théo Lebrun posted 6 patches 5 months, 1 week ago
[PATCH 6/6] MIPS: eyeq5_defconfig: add I2C subsystem, driver and temp sensor driver
Posted by Théo Lebrun 5 months, 1 week ago
Enable I2C support on the EyeQ5 platform. The evaluation board has a
temperature sensor mounted which helps test the integration.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
 arch/mips/configs/eyeq5_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/mips/configs/eyeq5_defconfig b/arch/mips/configs/eyeq5_defconfig
index 05a579e21970eed203d96bd4b8103d030e39f262..2064b79b59b6d94bf003f0c2c95e61948c77b1b0 100644
--- a/arch/mips/configs/eyeq5_defconfig
+++ b/arch/mips/configs/eyeq5_defconfig
@@ -62,10 +62,14 @@ CONFIG_CAN_M_CAN=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 CONFIG_HW_RANDOM=y
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_NOMADIK=y
 # CONFIG_PTP_1588_CLOCK is not set
 CONFIG_PINCTRL=y
 CONFIG_GPIOLIB=y
 CONFIG_GPIO_NOMADIK=y
+CONFIG_SENSORS_LM75=y
 CONFIG_MFD_SYSCON=y
 CONFIG_HID_A4TECH=y
 CONFIG_HID_BELKIN=y

-- 
2.50.0

Re: [PATCH 6/6] MIPS: eyeq5_defconfig: add I2C subsystem, driver and temp sensor driver
Posted by Gregory CLEMENT 5 months ago
Théo Lebrun <theo.lebrun@bootlin.com> writes:

> Enable I2C support on the EyeQ5 platform. The evaluation board has a
> temperature sensor mounted which helps test the integration.
>
> Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>

Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>

Thanks,

Gregory
> ---
>  arch/mips/configs/eyeq5_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/mips/configs/eyeq5_defconfig b/arch/mips/configs/eyeq5_defconfig
> index 05a579e21970eed203d96bd4b8103d030e39f262..2064b79b59b6d94bf003f0c2c95e61948c77b1b0 100644
> --- a/arch/mips/configs/eyeq5_defconfig
> +++ b/arch/mips/configs/eyeq5_defconfig
> @@ -62,10 +62,14 @@ CONFIG_CAN_M_CAN=y
>  CONFIG_SERIAL_AMBA_PL011=y
>  CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
>  CONFIG_HW_RANDOM=y
> +CONFIG_I2C=y
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_I2C_NOMADIK=y
>  # CONFIG_PTP_1588_CLOCK is not set
>  CONFIG_PINCTRL=y
>  CONFIG_GPIOLIB=y
>  CONFIG_GPIO_NOMADIK=y
> +CONFIG_SENSORS_LM75=y
>  CONFIG_MFD_SYSCON=y
>  CONFIG_HID_A4TECH=y
>  CONFIG_HID_BELKIN=y
>
> -- 
> 2.50.0
>

-- 
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com