Searched hist:faed9303067a0bd9d8ddb09c0de3bc742334773a (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mmc/host/ |
H A D | tmio_mmc_core.c | diff faed9303067a0bd9d8ddb09c0de3bc742334773a Sun Dec 02 02:43:19 CST 2018 Linus Walleij <linus.walleij@linaro.org> mmc: host: tmio: Use GPIO descriptors
The TMIO MMC driver was passing global GPIO numbers around for card detect. It turns out only one single board in the kernel was actually making use of this feature so it is pretty easy to convert the driver to use only GPIO descriptors.
The lines are flagged as GPIO_ACTIVE_[LOW|HIGH] as that is what they are, and since we can now rely on the descriptors to have the right polarity, we set the "override_active_level" to false in mmc_gpiod_request_cd() and mmc_gpiod_request_ro().
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
/openbmc/linux/include/linux/mfd/ |
H A D | tmio.h | diff faed9303067a0bd9d8ddb09c0de3bc742334773a Sun Dec 02 02:43:19 CST 2018 Linus Walleij <linus.walleij@linaro.org> mmc: host: tmio: Use GPIO descriptors
The TMIO MMC driver was passing global GPIO numbers around for card detect. It turns out only one single board in the kernel was actually making use of this feature so it is pretty easy to convert the driver to use only GPIO descriptors.
The lines are flagged as GPIO_ACTIVE_[LOW|HIGH] as that is what they are, and since we can now rely on the descriptors to have the right polarity, we set the "override_active_level" to false in mmc_gpiod_request_cd() and mmc_gpiod_request_ro().
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
/openbmc/linux/arch/sh/boards/mach-ecovec24/ |
H A D | setup.c | diff faed9303067a0bd9d8ddb09c0de3bc742334773a Sun Dec 02 02:43:19 CST 2018 Linus Walleij <linus.walleij@linaro.org> mmc: host: tmio: Use GPIO descriptors
The TMIO MMC driver was passing global GPIO numbers around for card detect. It turns out only one single board in the kernel was actually making use of this feature so it is pretty easy to convert the driver to use only GPIO descriptors.
The lines are flagged as GPIO_ACTIVE_[LOW|HIGH] as that is what they are, and since we can now rely on the descriptors to have the right polarity, we set the "override_active_level" to false in mmc_gpiod_request_cd() and mmc_gpiod_request_ro().
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|