blob: 6d26cc32dd1ff30a86cf76c6fa2ea86a51031054 [file] [log] [blame]
// Copyright 2025 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.amlogic.metadata;
using zx;
type VoltageTableEntry = struct {
microvolt uint32;
duty_cycle uint32;
};
@serializable
type PowerMetadata = table {
1: voltage_table vector<VoltageTableEntry>:MAX;
2: voltage_pwm_period zx.Duration;
};