: Up/On
~# ipmitool power status
Chassis Power is on
~# ipmitool power off
Chassis Power Control: Down/Off
~# ipmitool power status
Chassis Power is off
Signed-off-by: Jian Zhang
---
hw/arm/Kconfig | 1 +
hw/arm/aspeed.c | 20
2 files changed, 21 insertions(+)
diff --git
to wire up the GPIO lines; usually the return value
* will be passed to qdev_connect_gpio_out() or a similar function to
* connect another device's output GPIO line to this input.
```
Signed-off-by: Jian Zhang
---
hw/gpio/aspeed_gpio.c | 17 +
1 file changed, 17 insertions(+)
` and `output`.
The `state` property is the initial state of the switch, and the `trigger-edge`
property is the edge that will trigger the switch state to be toggled,
the value can be `rising`, `falling` or `both`.
Signed-off-by: Jian Zhang
---
MAINTAINERS | 2 +
hw/misc/Kconfig
` to `latching-switch`
- Add `trigger-edge` property
- Add `state` property
- Using anonymous gpio
- Rename power button to input, and power good to output
- Reorder the patchset
- Rebase to latest master
Jian Zhang (3):
hw/misc/latching_switch: Add a simple latching_switch device
hw/gpio/aspeed_gpio
Power Control: Down/Off
~# ipmitool power status
Chassis Power is off
Signed-off-by: Jian Zhang
---
hw/arm/aspeed.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index 952fa11ca2..80a98b8d74 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm
r-good" gpio.
Signed-off-by: Jian Zhang
---
MAINTAINERS | 2 +
hw/arm/Kconfig | 1 +
hw/misc/Kconfig | 3 +
hw/misc/host_power.c | 105 +++
hw/misc/meson.build | 1 +
include/hw/misc/host_power.h
to wire up the GPIO lines; usually the return value
* will be passed to qdev_connect_gpio_out() or a similar function to
* connect another device's output GPIO line to this input.
```
Signed-off-by: Jian Zhang
---
hw/gpio/aspeed_gpio.c | 17 +
1 file changed, 17 insertions(+)
of the host.
The host power device is a generic device to simulate the host power,
accept the power control command from the BMC and report the power
status.
Test on the g220a machine, the host power control command can be simply
work.
Jian Zhang (3):
hw/gpio/aspeed_gpio: Add gpios in/out init
Hi,
Li Guang lig.f...@cn.fujitsu.com wrote:
Andreas Färber wrote:
Am 29.11.2013 01:46, schrieb Li Guang:
Andreas Färber wrote:
Am 27.11.2013 10:22, schrieb Andreas Färber:
Hi,
Am 26.11.2013 10:22, schrieb Peter Crosthwaite:
On
Hi,
Peter Maydell peter.mayd...@linaro.org wrote:
On 29 November 2013 08:06, Li Guang lig.f...@cn.fujitsu.com wrote:
what I design is:
we have a sunxi series as a machine, then
for sunx4i, we specify -M sunxi -cpu cortex-a8 -device x1 ...
for sunx5i, we specify -M sunxi -cpu
10 matches
Mail list logo