linux/include/linux/soc/qcom/socinfo.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __QCOM_SOCINFO_H__
#define __QCOM_SOCINFO_H__

#include <linux/types.h>

/*
 * SMEM item id, used to acquire handles to respective
 * SMEM region.
 */
#define SMEM_HW_SW_BUILD_ID

#define SMEM_SOCINFO_BUILD_ID_LENGTH
#define SMEM_SOCINFO_CHIP_ID_LENGTH

/*
 * SoC version type with major number in the upper 16 bits and minor
 * number in the lower 16 bits.
 */
#define SOCINFO_MAJOR(ver)
#define SOCINFO_MINOR(ver)
#define SOCINFO_VERSION(maj, min)

/* Socinfo SMEM item structure */
struct socinfo {};

/* Internal feature codes */
enum qcom_socinfo_feature_code {};

/* Internal feature codes */
/* Valid values: 0 <= n <= 0xf */
#define SOCINFO_FC_Yn(n)
#define SOCINFO_FC_INT_MAX

/* Product codes */
#define SOCINFO_PC_UNKNOWN
#define SOCINFO_PCn(n)
#define SOCINFO_PC_RESERVE

#endif