Message ID | 20170110095521.14146-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show |
On Tue, Jan 10, 2017 at 10:55:21AM +0100, Linus Walleij wrote: > This default-enables the devices found on the APQ8060 DragonBoard > in the qcom_defconfig: > > - EBI2 bus > - SMSC911x ethernet > - LEDs class and PM8058 LEDs driver, trigger and heartbeat > trigger (so we get heartbeat on the board by default) > - IIO framework, including the HRTimer trigger, KXSD9 > accelerometer, MPU3050 gyroscope, AK8975 magnetometer and > BMP085 pressure sensor > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> This brings up a point of discussion. Do we even need the qcom_defconfig any more? Is everyone comfortable with using the multi_v7_defconfig? Aside from size of the image, i can't think of any other reason to keep around the separate qcom file. Regards, Andy -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wednesday, January 11, 2017 2:19:55 PM CET Linus Walleij wrote: > On Tue, Jan 10, 2017 at 3:53 PM, Andy Gross <andy.gross@linaro.org> wrote: > > On Tue, Jan 10, 2017 at 10:55:21AM +0100, Linus Walleij wrote: > >> This default-enables the devices found on the APQ8060 DragonBoard > >> in the qcom_defconfig: > >> > >> - EBI2 bus > >> - SMSC911x ethernet > >> - LEDs class and PM8058 LEDs driver, trigger and heartbeat > >> trigger (so we get heartbeat on the board by default) > >> - IIO framework, including the HRTimer trigger, KXSD9 > >> accelerometer, MPU3050 gyroscope, AK8975 magnetometer and > >> BMP085 pressure sensor > >> > >> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > > > > This brings up a point of discussion. Do we even need the qcom_defconfig any > > more? Is everyone comfortable with using the multi_v7_defconfig? I think having one specialized defconfig for the platform is helpful for the build/boot testing, e.g. it can show whether a boot failure with multi_v7_defconfig is the result of a qcom-specific change, or a side-effect of something that was done on another platform. > > Aside from size of the image, i can't think of any other reason to keep around > > the separate qcom file. > > Actually a bit of Arnd/Olof question. > > Bystander opinion below: > > That is pretty much up to the maintainer (you) I guess. > Reasons would be: > > - Lower footprint (because you may not need all stuff selected > as 'y' compiled-in in multi_v7) on some platforms this is even > necessary to get a bootable image or one that will load in > reasonable time. > > - Enable a few things by default (both compiled-in and modules) > that multi_v7 would consider to be littering > > - For "my" systems I usually like them because these defconfigs > have vastly shorter compile time (because so much stuff that > idon't concern me is left out). > > On the other hand: some ARMv7 system maintainers have x86 > ambitions: compile once, run everywhere, and certainly that is > the ambition with multi_v7, and if that overshadows all the above, > just kill off qcom_defconfig and be happy :) We recently killed of the Broadcom defconfig file that actually contained some very different platforms that had not much in common besides the company name. I think my preference is to keep it, but if Andy wants it removed and nobody complains, that's fine too. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 01/11/2017 03:08 PM, Arnd Bergmann wrote: > On Wednesday, January 11, 2017 2:19:55 PM CET Linus Walleij wrote: >> On Tue, Jan 10, 2017 at 3:53 PM, Andy Gross <andy.gross@linaro.org> wrote: >>> On Tue, Jan 10, 2017 at 10:55:21AM +0100, Linus Walleij wrote: >>>> This default-enables the devices found on the APQ8060 DragonBoard >>>> in the qcom_defconfig: >>>> >>>> - EBI2 bus >>>> - SMSC911x ethernet >>>> - LEDs class and PM8058 LEDs driver, trigger and heartbeat >>>> trigger (so we get heartbeat on the board by default) >>>> - IIO framework, including the HRTimer trigger, KXSD9 >>>> accelerometer, MPU3050 gyroscope, AK8975 magnetometer and >>>> BMP085 pressure sensor >>>> >>>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> >>> >>> This brings up a point of discussion. Do we even need the qcom_defconfig any >>> more? Is everyone comfortable with using the multi_v7_defconfig? > > I think having one specialized defconfig for the platform is helpful for > the build/boot testing, e.g. it can show whether a boot failure with > multi_v7_defconfig is the result of a qcom-specific change, or a side-effect > of something that was done on another platform. > >>> Aside from size of the image, i can't think of any other reason to keep around >>> the separate qcom file. >> >> Actually a bit of Arnd/Olof question. >> >> Bystander opinion below: >> >> That is pretty much up to the maintainer (you) I guess. >> Reasons would be: >> >> - Lower footprint (because you may not need all stuff selected >> as 'y' compiled-in in multi_v7) on some platforms this is even >> necessary to get a bootable image or one that will load in >> reasonable time. >> >> - Enable a few things by default (both compiled-in and modules) >> that multi_v7 would consider to be littering >> >> - For "my" systems I usually like them because these defconfigs >> have vastly shorter compile time (because so much stuff that >> idon't concern me is left out). >> >> On the other hand: some ARMv7 system maintainers have x86 >> ambitions: compile once, run everywhere, and certainly that is >> the ambition with multi_v7, and if that overshadows all the above, >> just kill off qcom_defconfig and be happy :) > > We recently killed of the Broadcom defconfig file that actually > contained some very different platforms that had not much in common > besides the company name. > > I think my preference is to keep it, but if Andy wants it removed > and nobody complains, that's fine too. > > Arnd > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > Hi all, In fact, as far as I remember the multi_v7 did not fit on the MDM9615 due to it's limited memory available to Linux. Neil -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jan 11, 2017 at 03:11:01PM +0100, Neil Armstrong wrote: > On 01/11/2017 03:08 PM, Arnd Bergmann wrote: > > On Wednesday, January 11, 2017 2:19:55 PM CET Linus Walleij wrote: > >> On Tue, Jan 10, 2017 at 3:53 PM, Andy Gross <andy.gross@linaro.org> wrote: > >>> On Tue, Jan 10, 2017 at 10:55:21AM +0100, Linus Walleij wrote: > >>>> This default-enables the devices found on the APQ8060 DragonBoard > >>>> in the qcom_defconfig: > >>>> > >>>> - EBI2 bus > >>>> - SMSC911x ethernet > >>>> - LEDs class and PM8058 LEDs driver, trigger and heartbeat > >>>> trigger (so we get heartbeat on the board by default) > >>>> - IIO framework, including the HRTimer trigger, KXSD9 > >>>> accelerometer, MPU3050 gyroscope, AK8975 magnetometer and > >>>> BMP085 pressure sensor > >>>> > >>>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > >>> > >>> This brings up a point of discussion. Do we even need the qcom_defconfig any > >>> more? Is everyone comfortable with using the multi_v7_defconfig? > > > > I think having one specialized defconfig for the platform is helpful for > > the build/boot testing, e.g. it can show whether a boot failure with > > multi_v7_defconfig is the result of a qcom-specific change, or a side-effect > > of something that was done on another platform. > > > >>> Aside from size of the image, i can't think of any other reason to keep around > >>> the separate qcom file. > >> > >> Actually a bit of Arnd/Olof question. > >> > >> Bystander opinion below: > >> > >> That is pretty much up to the maintainer (you) I guess. > >> Reasons would be: > >> > >> - Lower footprint (because you may not need all stuff selected > >> as 'y' compiled-in in multi_v7) on some platforms this is even > >> necessary to get a bootable image or one that will load in > >> reasonable time. > >> > >> - Enable a few things by default (both compiled-in and modules) > >> that multi_v7 would consider to be littering > >> > >> - For "my" systems I usually like them because these defconfigs > >> have vastly shorter compile time (because so much stuff that > >> idon't concern me is left out). > >> > >> On the other hand: some ARMv7 system maintainers have x86 > >> ambitions: compile once, run everywhere, and certainly that is > >> the ambition with multi_v7, and if that overshadows all the above, > >> just kill off qcom_defconfig and be happy :) > > > > We recently killed of the Broadcom defconfig file that actually > > contained some very different platforms that had not much in common > > besides the company name. > > > > I think my preference is to keep it, but if Andy wants it removed > > and nobody complains, that's fine too. > > > > Arnd > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > > > > Hi all, > > In fact, as far as I remember the multi_v7 did not fit on the MDM9615 > due to it's limited memory available to Linux. This was mainly a user poll. We'll keep it in as there is at least one user who cannot use the multiv7 due to size. That alone is enough to keep it around. Linus, I'll add this to my pull list. Andy -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 8c3a0108a231..eed314e39721 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -55,6 +55,7 @@ CONFIG_CFG80211=y CONFIG_RFKILL=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_QCOM_EBI2=y CONFIG_MTD=y CONFIG_MTD_BLOCK=y CONFIG_MTD_M25P80=y @@ -71,6 +72,7 @@ CONFIG_SCSI_SCAN_ASYNC=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_KS8851=y +CONFIG_SMSC911X=y CONFIG_MDIO_BITBANG=y CONFIG_MDIO_GPIO=y CONFIG_SLIP=y @@ -151,6 +153,12 @@ CONFIG_MMC_QCOM_DML=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_MSM=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_PM8058=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_PM8XXX=y CONFIG_DMADEVICES=y @@ -171,6 +179,14 @@ CONFIG_QCOM_PM=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_SMD=y CONFIG_QCOM_SMD_RPM=y +CONFIG_IIO=y +CONFIG_IIO_BUFFER_CB=y +CONFIG_IIO_SW_TRIGGER=y +CONFIG_KXSD9=y +CONFIG_MPU3050_I2C=y +CONFIG_AK8975=y +CONFIG_IIO_HRTIMER_TRIGGER=y +CONFIG_BMP280=y CONFIG_PHY_QCOM_APQ8064_SATA=y CONFIG_PHY_QCOM_IPQ806X_SATA=y CONFIG_EXT2_FS=y
This default-enables the devices found on the APQ8060 DragonBoard in the qcom_defconfig: - EBI2 bus - SMSC911x ethernet - LEDs class and PM8058 LEDs driver, trigger and heartbeat trigger (so we get heartbeat on the board by default) - IIO framework, including the HRTimer trigger, KXSD9 accelerometer, MPU3050 gyroscope, AK8975 magnetometer and BMP085 pressure sensor Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/configs/qcom_defconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html