Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4aa0af4a authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: utils: Define DDR device types



Include header to invoke api to determine DDR device type,
also define macros to validate the same.

Change-Id: Ifdb56c2b6b08676cf8bf81259498c2087ee5f692
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent be03fcbe
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/regulator/consumer.h>
#include <linux/regulator/consumer.h>
#include <linux/clk/qcom.h>
#include <linux/clk/qcom.h>
#include <linux/debugfs.h>
#include <linux/debugfs.h>
#include <linux/of_fdt.h>


#include "cam_io_util.h"
#include "cam_io_util.h"


@@ -34,6 +35,10 @@
/* maximum number of device clock */
/* maximum number of device clock */
#define CAM_SOC_MAX_CLK             32
#define CAM_SOC_MAX_CLK             32


/* DDR device types */
#define DDR_TYPE_LPDDR4       6
#define DDR_TYPE_LPDDR5       9

/**
/**
 * enum cam_vote_level - Enum for voting level
 * enum cam_vote_level - Enum for voting level
 *
 *