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

Commit eee28504 authored by Terence Ho's avatar Terence Ho
Browse files

msm: ais: add AIS IFE Drivers



Add new AIS IFE driver as a lightweight variant for RDI only usecases
based on msm-4.14 cam_isp as of commit 698ee3d9
("msm: ais: isp: validate in_port before accessing").

The API definition is in ais_isp.h and ais_isp_hw.h.

Change-Id: I04927f0f184045985f52bb7cb6c8c42a47ec6476
Signed-off-by: default avatarTerence Ho <terenceh@codeaurora.org>
parent cdad21ac
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
* Qualcomm Technologies, Inc. MSM Camera ISP

The MSM AIS IFE driver provides the definitions for enabling
the Camera IFE hadware for Automotive usecase. It provides the
functions for the Client to control the IFE hardware.

=======================
Required Node Structure
=======================
The Camera AIS IFE device is described in one level of device node.

==================================
First Level Node - AIS IFE device
==================================
- compatible
  Usage: required
  Value type: <string>
  Definition: Should be "qcom,ais-ife".

- arch-compat
  Usage: required
  Value type: <string>
  Definition: Should be "ife".

- cell-index
  Usage: required
  Value type: <u32>
  Definition: Should specify the hardware index id.

Example:

	qcom,ais-ife0 {
		compatible = "qcom,ais-ife";
		cell-index = <0>;
		status = "ok";
	};
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ First Level Node - CAM IFE CSID device
  Value type: <string>
  Definition: Should be "qcom,csid170", "qcom,csid175", "qcom,csid175_200", "qcom,csid-lite170"
              or "qcom,csid-lite175".
              For automotive, can specify "qcom,ais-csid170", "qcom,ais-csid175", "qcom,ais-csid175_200", "qcom,ais-csid-lite170"
              or "qcom,ais-csid-lite175"

- cell-index
  Usage: required
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ Required properties:
  Value type: <string>
  Definition: Should specify the compatibility string for matching the
	driver. e.g. "qcom,vfe175", "qcom,vfe170", "qcom,vfe175_130",  "qcom,vfe-lite175", "qcom,vfe-lite175_130", "qcom,vfe-lite170".
	For automotive, can specify "qcom,ais-vfe175", "qcom,ais-vfe170", "qcom,ais-vfe175_130",  "qcom,ais-vfe-lite175", "qcom,ais-vfe-lite175_130", "qcom,ais-vfe-lite170".

- cell-index
  Usage: required
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ obj-$(CONFIG_MSM_AIS) += cam_sync/
obj-$(CONFIG_MSM_AIS) += cam_smmu/
obj-$(CONFIG_MSM_AIS) += cam_cpas/
obj-$(CONFIG_MSM_AIS) += cam_cdm/
obj-$(CONFIG_MSM_AIS) += ais_isp/
obj-$(CONFIG_MSM_AIS) += cam_isp/
obj-$(CONFIG_MSM_AIS) += cam_sensor_module/
obj-$(CONFIG_MSM_AIS) += cam_icp/
+12 −0
Original line number Diff line number Diff line
ccflags-y += -Idrivers/media/platform/msm/ais/cam_core
ccflags-y += -Idrivers/media/platform/msm/ais/ais_isp/include
ccflags-y += -Idrivers/media/platform/msm/ais/cam_req_mgr
ccflags-y += -Idrivers/media/platform/msm/ais/cam_smmu/
ccflags-y += -Idrivers/media/platform/msm/ais/cam_sync
ccflags-y += -Idrivers/media/platform/msm/ais/cam_utils
ccflags-y += -Idrivers/media/platform/msm/ais/cam_cdm/

obj-$(CONFIG_MSM_AIS) += csid_hw/
obj-$(CONFIG_MSM_AIS) += vfe_hw/

obj-$(CONFIG_MSM_AIS) += ais_ife_dev.o
Loading