Searched hist:"0 d832b322109e76953bc58e4d2723d2c73dfb604" (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_gpio.c | 0d832b322109e76953bc58e4d2723d2c73dfb604 Fri Jul 13 04:04:56 CDT 2018 Michal Simek <michal.simek@xilinx.com> sysreset: Add support for gpio-restart
The Linux kernel has binding for gpio-restart node. This patch is adding basic support without supporting any optional properties. This driver was tested on Microblaze system where gpio is connected to SoC reset logic. Output value is handled via gpios cells values.
In gpio_reboot_request() set_value is writing 1 because dm_gpio_set_value() is capable to changing it when it is ACTIVE_LOW. ... if (desc->flags & GPIOD_ACTIVE_LOW) value = !value; ...
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
H A D | Kconfig | 0d832b322109e76953bc58e4d2723d2c73dfb604 Fri Jul 13 04:04:56 CDT 2018 Michal Simek <michal.simek@xilinx.com> sysreset: Add support for gpio-restart
The Linux kernel has binding for gpio-restart node. This patch is adding basic support without supporting any optional properties. This driver was tested on Microblaze system where gpio is connected to SoC reset logic. Output value is handled via gpios cells values.
In gpio_reboot_request() set_value is writing 1 because dm_gpio_set_value() is capable to changing it when it is ACTIVE_LOW. ... if (desc->flags & GPIOD_ACTIVE_LOW) value = !value; ...
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
H A D | Makefile | 0d832b322109e76953bc58e4d2723d2c73dfb604 Fri Jul 13 04:04:56 CDT 2018 Michal Simek <michal.simek@xilinx.com> sysreset: Add support for gpio-restart
The Linux kernel has binding for gpio-restart node. This patch is adding basic support without supporting any optional properties. This driver was tested on Microblaze system where gpio is connected to SoC reset logic. Output value is handled via gpios cells values.
In gpio_reboot_request() set_value is writing 1 because dm_gpio_set_value() is capable to changing it when it is ACTIVE_LOW. ... if (desc->flags & GPIOD_ACTIVE_LOW) value = !value; ...
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
/openbmc/u-boot/ |
H A D | MAINTAINERS | 0d832b322109e76953bc58e4d2723d2c73dfb604 Fri Jul 13 04:04:56 CDT 2018 Michal Simek <michal.simek@xilinx.com> sysreset: Add support for gpio-restart
The Linux kernel has binding for gpio-restart node. This patch is adding basic support without supporting any optional properties. This driver was tested on Microblaze system where gpio is connected to SoC reset logic. Output value is handled via gpios cells values.
In gpio_reboot_request() set_value is writing 1 because dm_gpio_set_value() is capable to changing it when it is ACTIVE_LOW. ... if (desc->flags & GPIOD_ACTIVE_LOW) value = !value; ...
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|