DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver
@ 2018-02-19 14:12 Roland Hieber
  2018-02-19 14:12 ` [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver Roland Hieber
  2018-02-19 14:15 ` [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Robert Schwebel
  0 siblings, 2 replies; 4+ messages in thread
From: Roland Hieber @ 2018-02-19 14:12 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

SPI is a useful thing to have, especially if you want to read your
barebox-env from SPI-NOR, like some boards do.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
 configs/platform-v7a/barebox-mx6.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 70bdab8..cd90504 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -510,7 +510,7 @@ CONFIG_NET_USB_SMSC95XX=y
 #
 CONFIG_SPI=y
 # CONFIG_DRIVER_SPI_GPIO is not set
-# CONFIG_DRIVER_SPI_IMX is not set
+CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 # CONFIG_I2C is not set
 CONFIG_MTD=y
-- 
2.11.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver
  2018-02-19 14:12 [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Roland Hieber
@ 2018-02-19 14:12 ` Roland Hieber
  2018-02-19 14:15   ` Robert Schwebel
  2018-02-19 14:15 ` [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Robert Schwebel
  1 sibling, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2018-02-19 14:12 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

I2C is a useful thing to have in a generic barebox image.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
 configs/platform-v7a/barebox-mx6.config | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index cd90504..607653d 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -406,6 +406,7 @@ CONFIG_CMD_CLK=y
 CONFIG_CMD_DETECT=y
 CONFIG_CMD_FLASH=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_LED=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NANDTEST=y
@@ -512,7 +513,16 @@ CONFIG_SPI=y
 # CONFIG_DRIVER_SPI_GPIO is not set
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
-# CONFIG_I2C is not set
+CONFIG_I2C=y
+
+#
+# I2C Hardware Bus support
+#
+# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_IMX=y
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_MV64XXX is not set
+# CONFIG_I2C_MUX is not set
 CONFIG_MTD=y
 CONFIG_MTD_WRITE=y
 CONFIG_MTD_OOB_DEVICE=y
@@ -602,16 +612,19 @@ CONFIG_USB_GADGET_FASTBOOT=y
 # CONFIG_USB_MUSB is not set
 CONFIG_VIDEO=y
 # CONFIG_FRAMEBUFFER_CONSOLE is not set
+# CONFIG_DRIVER_VIDEO_FB_SSD1307 is not set
 CONFIG_VIDEO_VPL=y
 CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
 CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
 # CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
 CONFIG_DRIVER_VIDEO_SIMPLEFB=y
+# CONFIG_DRIVER_VIDEO_EDID is not set
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
 
 #
 # Video encoder chips
 #
+# CONFIG_DRIVER_VIDEO_MTL017 is not set
 # CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
 CONFIG_MCI=y
 
@@ -639,8 +652,17 @@ CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
 #
 # MFD
 #
+# CONFIG_MFD_ACT8846 is not set
+# CONFIG_MFD_DA9053 is not set
+# CONFIG_MFD_DA9063 is not set
+# CONFIG_MFD_LP3972 is not set
 # CONFIG_MFD_MC13XXX is not set
+# CONFIG_MFD_MC34704 is not set
+# CONFIG_MFD_MC9SDZ60 is not set
+# CONFIG_MFD_STMPE is not set
 # CONFIG_MFD_SYSCON is not set
+# CONFIG_MFD_TWL4030 is not set
+# CONFIG_MFD_TWL6030 is not set
 
 #
 # Misc devices
@@ -660,6 +682,7 @@ CONFIG_LED_TRIGGERS=y
 # EEPROM support
 #
 CONFIG_EEPROM_AT25=y
+# CONFIG_EEPROM_AT24 is not set
 
 #
 # Input device support
@@ -667,6 +690,7 @@ CONFIG_EEPROM_AT25=y
 CONFIG_INPUT=y
 CONFIG_KEYBOARD_GPIO=y
 # CONFIG_KEYBOARD_IMX_KEYPAD is not set
+# CONFIG_KEYBOARD_QT1070 is not set
 # CONFIG_KEYBOARD_USB is not set
 CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
 CONFIG_WATCHDOG=y
@@ -691,7 +715,9 @@ CONFIG_GPIO_IMX=y
 # CONFIG_GPIO_VF610 is not set
 # CONFIG_GPIO_MXS is not set
 # CONFIG_GPIO_OMAP is not set
+# CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_SX150X is not set
 # CONFIG_W1 is not set
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX_IOMUX_V3=y
@@ -704,6 +730,7 @@ CONFIG_PINCTRL_IMX_IOMUX_V3=y
 # CONFIG_IMX_WEIM is not set
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
+# CONFIG_REGULATOR_PFUZE is not set
 # CONFIG_RESET_CONTROLLER is not set
 CONFIG_HW_HAS_PCI=y
 
-- 
2.11.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver
  2018-02-19 14:12 [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Roland Hieber
  2018-02-19 14:12 ` [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver Roland Hieber
@ 2018-02-19 14:15 ` Robert Schwebel
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Schwebel @ 2018-02-19 14:15 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Mon, Feb 19, 2018 at 03:12:53PM +0100, Roland Hieber wrote:
> SPI is a useful thing to have, especially if you want to read your
> barebox-env from SPI-NOR, like some boards do.
> 
> Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
> ---
>  configs/platform-v7a/barebox-mx6.config | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
> index 70bdab8..cd90504 100644
> --- a/configs/platform-v7a/barebox-mx6.config
> +++ b/configs/platform-v7a/barebox-mx6.config
> @@ -510,7 +510,7 @@ CONFIG_NET_USB_SMSC95XX=y
>  #
>  CONFIG_SPI=y
>  # CONFIG_DRIVER_SPI_GPIO is not set
> -# CONFIG_DRIVER_SPI_IMX is not set
> +CONFIG_DRIVER_SPI_IMX=y
>  CONFIG_DRIVER_SPI_IMX_2_3=y
>  # CONFIG_I2C is not set
>  CONFIG_MTD=y
> -- 
> 2.11.0

Merged, thx.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver
  2018-02-19 14:12 ` [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver Roland Hieber
@ 2018-02-19 14:15   ` Robert Schwebel
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Schwebel @ 2018-02-19 14:15 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Mon, Feb 19, 2018 at 03:12:54PM +0100, Roland Hieber wrote:
> I2C is a useful thing to have in a generic barebox image.
> 
> Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
> ---
>  configs/platform-v7a/barebox-mx6.config | 29 ++++++++++++++++++++++++++++-
>  1 file changed, 28 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
> index cd90504..607653d 100644
> --- a/configs/platform-v7a/barebox-mx6.config
> +++ b/configs/platform-v7a/barebox-mx6.config
> @@ -406,6 +406,7 @@ CONFIG_CMD_CLK=y
>  CONFIG_CMD_DETECT=y
>  CONFIG_CMD_FLASH=y
>  CONFIG_CMD_GPIO=y
> +CONFIG_CMD_I2C=y
>  CONFIG_CMD_LED=y
>  CONFIG_CMD_NAND=y
>  CONFIG_CMD_NANDTEST=y
> @@ -512,7 +513,16 @@ CONFIG_SPI=y
>  # CONFIG_DRIVER_SPI_GPIO is not set
>  CONFIG_DRIVER_SPI_IMX=y
>  CONFIG_DRIVER_SPI_IMX_2_3=y
> -# CONFIG_I2C is not set
> +CONFIG_I2C=y
> +
> +#
> +# I2C Hardware Bus support
> +#
> +# CONFIG_I2C_GPIO is not set
> +CONFIG_I2C_IMX=y
> +# CONFIG_I2C_DESIGNWARE is not set
> +# CONFIG_I2C_MV64XXX is not set
> +# CONFIG_I2C_MUX is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_WRITE=y
>  CONFIG_MTD_OOB_DEVICE=y
> @@ -602,16 +612,19 @@ CONFIG_USB_GADGET_FASTBOOT=y
>  # CONFIG_USB_MUSB is not set
>  CONFIG_VIDEO=y
>  # CONFIG_FRAMEBUFFER_CONSOLE is not set
> +# CONFIG_DRIVER_VIDEO_FB_SSD1307 is not set
>  CONFIG_VIDEO_VPL=y
>  CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
>  CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
>  # CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
>  CONFIG_DRIVER_VIDEO_SIMPLEFB=y
> +# CONFIG_DRIVER_VIDEO_EDID is not set
>  # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
>  
>  #
>  # Video encoder chips
>  #
> +# CONFIG_DRIVER_VIDEO_MTL017 is not set
>  # CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
>  CONFIG_MCI=y
>  
> @@ -639,8 +652,17 @@ CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
>  #
>  # MFD
>  #
> +# CONFIG_MFD_ACT8846 is not set
> +# CONFIG_MFD_DA9053 is not set
> +# CONFIG_MFD_DA9063 is not set
> +# CONFIG_MFD_LP3972 is not set
>  # CONFIG_MFD_MC13XXX is not set
> +# CONFIG_MFD_MC34704 is not set
> +# CONFIG_MFD_MC9SDZ60 is not set
> +# CONFIG_MFD_STMPE is not set
>  # CONFIG_MFD_SYSCON is not set
> +# CONFIG_MFD_TWL4030 is not set
> +# CONFIG_MFD_TWL6030 is not set
>  
>  #
>  # Misc devices
> @@ -660,6 +682,7 @@ CONFIG_LED_TRIGGERS=y
>  # EEPROM support
>  #
>  CONFIG_EEPROM_AT25=y
> +# CONFIG_EEPROM_AT24 is not set
>  
>  #
>  # Input device support
> @@ -667,6 +690,7 @@ CONFIG_EEPROM_AT25=y
>  CONFIG_INPUT=y
>  CONFIG_KEYBOARD_GPIO=y
>  # CONFIG_KEYBOARD_IMX_KEYPAD is not set
> +# CONFIG_KEYBOARD_QT1070 is not set
>  # CONFIG_KEYBOARD_USB is not set
>  CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
>  CONFIG_WATCHDOG=y
> @@ -691,7 +715,9 @@ CONFIG_GPIO_IMX=y
>  # CONFIG_GPIO_VF610 is not set
>  # CONFIG_GPIO_MXS is not set
>  # CONFIG_GPIO_OMAP is not set
> +# CONFIG_GPIO_PCA953X is not set
>  # CONFIG_GPIO_DESIGNWARE is not set
> +# CONFIG_GPIO_SX150X is not set
>  # CONFIG_W1 is not set
>  CONFIG_PINCTRL=y
>  CONFIG_PINCTRL_IMX_IOMUX_V3=y
> @@ -704,6 +730,7 @@ CONFIG_PINCTRL_IMX_IOMUX_V3=y
>  # CONFIG_IMX_WEIM is not set
>  CONFIG_REGULATOR=y
>  CONFIG_REGULATOR_FIXED=y
> +# CONFIG_REGULATOR_PFUZE is not set
>  # CONFIG_RESET_CONTROLLER is not set
>  CONFIG_HW_HAS_PCI=y
>  
> -- 
> 2.11.0

Merged, thx.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-19 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19 14:12 [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Roland Hieber
2018-02-19 14:12 ` [DistroKit] [PATCH 2/2] platform-v7a: barebox-mx6: enable i.MX I2C driver Roland Hieber
2018-02-19 14:15   ` Robert Schwebel
2018-02-19 14:15 ` [DistroKit] [PATCH 1/2] platform-v7a: barebox-mx6: enable i.MX SPI driver Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox