Test that power domain operations don't result in unbalanced requests to the power domain when the original device has PM disabled. Needed to resolve issues raised in #53979. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
36 lines
651 B
Plaintext
36 lines
651 B
Plaintext
/*
|
|
* Copyright (c) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
test_domain: test_domain {
|
|
compatible = "power-domain";
|
|
status = "okay";
|
|
};
|
|
|
|
test_dev_a: test_dev_a {
|
|
compatible = "test-device-pm";
|
|
status = "okay";
|
|
power-domain = <&test_domain>;
|
|
};
|
|
|
|
test_dev_b: test_dev_b {
|
|
compatible = "test-device-pm";
|
|
status = "okay";
|
|
power-domain = <&test_domain>;
|
|
};
|
|
|
|
test_domain_balanced: test_domain_balanced {
|
|
compatible = "power-domain";
|
|
status = "okay";
|
|
};
|
|
|
|
test_dev_balanced: test_dev_balanced {
|
|
compatible = "test-device-pm";
|
|
status = "okay";
|
|
power-domain = <&test_domain_balanced>;
|
|
};
|
|
};
|