1// Copyright 2020 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto3"; 6 7package chromiumos.config.api; 8 9import "chromiumos/config/api/partner_id.proto"; 10 11option go_package = "go.chromium.org/chromiumos/config/go/api"; 12 13// Defines contributing partners participating in the design, execution, 14// and support of chromiumos projects. 15message Partner { 16 // Globally unique partner identifier. 17 PartnerId id = 1; 18 // Descriptive name (for humans) of the partner. 19 string name = 2; 20 // Email alias used for coordinating project execution. 21 string email_group = 3; 22 23 // Optional config for touch vendors. 24 TouchVendor touch_vendor = 4; 25 26 // Optional config for display panel vendors. 27 DisplayPanelVendor display_panel_vendor = 5; 28 29 // Optional config for battery vendors. 30 BatteryVendor battery_vendor = 6; 31 32 // Defines partner config unique to touch manufacturers. 33 message TouchVendor { 34 // 4-digit hex vendor id assigned 35 string vendor_id = 4; 36 37 // Defines vendor-specific touch fw file formatting 38 // conventions using any of the following fields: 39 // - vendor_name 40 // - vendor_id 41 // - product_id 42 // - fw_version 43 // - product_series 44 45 // This formatting (via python format) will be applied to the symlinks 46 // that will be present in /lib/firmware 47 // E.g. 48 // "{vendor_name}_{product_id}.bin" 49 // "{vendor_name}_{vendor_id}_{product_id}_{fw_version}.bin" 50 // "{vendor_name}_{product_series}_{product_id}.hex" 51 string symlink_file_format = 5; 52 // Same formatting as symlink_file_format, except this controls 53 // the actual destination file that will be written to 54 // /opt/google/touch/firmware, which the symlink references. 55 string destination_file_format = 6; 56 } 57 58 // Defines partner config unique to display panel manufacturers. 59 message DisplayPanelVendor { 60 // Vendor code assigned (generally 3 char [A-Z]) 61 string vendor_code = 1; 62 } 63 64 // Defines partner config unique to battery manufacturers. 65 message BatteryVendor { 66 // Vendor name assigned (generally 16 char) 67 string vendor_name = 4; 68 } 69} 70