-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
mvebu: add support for Turris Omnia #1210
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,10 +185,13 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y | |
CONFIG_GENERIC_STRNLEN_USER=y | ||
CONFIG_GLOB=y | ||
CONFIG_GPIOLIB=y | ||
CONFIG_GPIOLIB_IRQCHIP=y | ||
CONFIG_GPIO_GENERIC=y | ||
CONFIG_GPIO_GENERIC_PLATFORM=y | ||
CONFIG_GPIO_MVEBU=y | ||
CONFIG_GPIO_MVEBU_PWM=y | ||
CONFIG_GPIO_PCA953X=y | ||
# CONFIG_GPIO_PCA953X_IRQ is not set | ||
CONFIG_GPIO_PCA953X_IRQ=y | ||
CONFIG_GPIO_SYSFS=y | ||
CONFIG_HANDLE_DOMAIN_IRQ=y | ||
CONFIG_HARDIRQS_SW_RESEND=y | ||
|
@@ -246,8 +249,11 @@ CONFIG_HWMON=y | |
CONFIG_HZ_FIXED=0 | ||
CONFIG_HZ_PERIODIC=y | ||
CONFIG_I2C=y | ||
CONFIG_I2C_ARB_GPIO_CHALLENGE=y | ||
CONFIG_I2C_BOARDINFO=y | ||
CONFIG_I2C_CHARDEV=y | ||
CONFIG_I2C_MUX=y | ||
CONFIG_I2C_MUX_GPIO=y | ||
CONFIG_I2C_MV64XXX=y | ||
CONFIG_INITRAMFS_SOURCE="" | ||
CONFIG_IOMMU_HELPER=y | ||
|
@@ -279,6 +285,8 @@ CONFIG_MAGIC_SYSRQ=y | |
CONFIG_MANGLE_BOOTARGS=y | ||
CONFIG_MARVELL_PHY=y | ||
CONFIG_MDIO_BOARDINFO=y | ||
CONFIG_MDIO_BUS_MUX=y | ||
CONFIG_MDIO_BUS_MUX_GPIO=y | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need this? I don't see this used anywhere There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are left over from the patch set I used as my base, I probably should have tidied up earlier. I assumed that MDIO bus mux had been added for good reason and was somehow necessary to control both the 88E6176 switch and 88E1514 PHY on the same MDIO bus, but both seem to work fine on an image compiled without. I am away from my Omnia now, but I will do some testing later to test all of these options and remove as many as possible. I suspect some will return in a future patch to add support for the Omnia's I2C-attached microcontroller for RGB LED control, but of course it is better to logically group options with the code that requires them rather than letting cruft build for 'just in case' selections. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will you push an updated version? |
||
CONFIG_MDIO_I2C=y | ||
CONFIG_MEMORY=y | ||
# CONFIG_MFD_MAX77620 is not set | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this? I don't see this used anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could someone please reply to this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SFP autodetect script shipped with the omnia uses i2c to probe the EEPROM of inserted SPF modules, as well as some GPIO pins to detect changes. Not sure if this option is related to that.
If it is, I don't think there's any reason to keep it enabled for now: the image I built from this pull request seems to be lacking driver support for some of the features that script is using anyway, so updates will have to be made to add the SFP switch support...