GPIO refactored (#495)
* **Refactor** * GPIO subsystem moved to a descriptor-based model for per-pin ownership and runtime pin management; many platform drivers now acquire/release descriptors. * Device trees and drivers now use GPIO phandle-style pin specifications across all boards and all drivers. * **Behavior** * Device list now encodes per-device status (ok/disabled); boot will skip disabled devices accordingly. * **Deprecation** * Legacy GPIO HAL marked deprecated and replaced with descriptor-based interfaces. * **Chores** * Bindings and platform configs updated to the new GPIO pin-spec format.
This commit is contained in:
committed by
GitHub
parent
dff93cb655
commit
26c17986c6
@@ -4,11 +4,9 @@ properties:
|
||||
reg:
|
||||
type: int
|
||||
required: true
|
||||
status:
|
||||
type: string
|
||||
boolean-prop:
|
||||
type: boolean
|
||||
int-prop:
|
||||
type: int
|
||||
string-prop:
|
||||
type: string
|
||||
type: string
|
||||
@@ -6,7 +6,7 @@
|
||||
compatible = "test,root";
|
||||
model = "Test Model";
|
||||
|
||||
test_device: test-device@0 {
|
||||
test_device1: test-device@0 {
|
||||
compatible = "test,device";
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
|
||||
@@ -27,7 +27,7 @@ def test_compile_success():
|
||||
result = run_compiler(TEST_DATA_DIR, output_dir)
|
||||
|
||||
if result.returncode != 0:
|
||||
print(f"FAILED: Compilation failed: {result.stderr}")
|
||||
print(f"FAILED: Compilation failed: {result.stderr} {result.stdout}")
|
||||
return False
|
||||
|
||||
if not os.path.exists(os.path.join(output_dir, "devicetree.c")):
|
||||
|
||||
Reference in New Issue
Block a user