blob: 8b7a1cf4e75c844fbc1c17b0b3855b830a5d2de2 [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.
@available(added=HEAD)
library fuchsia.hardware.ti.metadata;
const MAX_REGISTER_COUNT uint64 = 64;
/// Metadata for the Ti-LP8556 backlight driver.
@serializable
type Lp8556Metadata = table {
1: panel_id uint8;
2: allow_set_current_scale bool;
/// A list of register addresses and values to write during initialization.
3: registers vector<Register>:MAX_REGISTER_COUNT;
/// Maximum screen brightness in nits.
4: backlight_max_brightness float64;
};