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

Commit 25207d28 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ba: Update ba driver to latest v4l2 framework"

parents cd4879ea fe4e800a
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
* Qualcomm Technologies Inc MSM BA

[Root level node]
==================
Required properties:
- compatible: Must be "qcom,msm-ba".

[Subnode]
==========
- qcom,ba-input-profile-#: Defines child nodes for the profiles supported
              by BA driver. Each profile should have properties "qcom,type",
              "qcom,name", "qcom,ba-input", "qcom,ba-output", "qcom,sd-name",
              "qcom,ba-node" and "qcom,user-type".
Required properties:
- qcom,type: Input type such as CVBS(0), HDMI(4) etc as defined in BA driver.
             This property is of type u32.
- qcom,name: Name of the input type. This property is of type string.
- qcom,ba-input: BA input id supported by a bridge chip for this profile.
             This property is of type u32.
- qcom,ba-output: BA output id for the profile. This property is of type u32.
- qcom,sd-name: Name of the sub-device driver associated with this profile.
              This property is of type string.
- qcom,ba-node: Defines the ba node id. This is the avdevice node used by camera
                for this profile. This property is of type u32.
- qcom,user-type: This property defines how the profile is being used. If this
             profile is used by kernel it is set to 0 and if used by userspace
             it is set to 1. This property is of type u32.
Example:

	qcom,msm-ba {
		compatible = "qcom,msm-ba";
		qcom,ba-input-profile-0 {
			qcom,type = <4>;          /* input type   */
			qcom,name = "HDMI-1";     /* input name   */
			qcom,ba-input = <13>;     /* ba input id  */
			qcom,ba-output = <0>;     /* ba output id */
			qcom,sd-name = "adv7481"; /* sd name      */
			qcom,ba-node = <0>;       /* ba node      */
			qcom,user-type = <1>;     /* user type    */
		};
	};
+18 −0
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	msm_ba: qcom,ba {
		compatible = "qcom,msm-ba";
		status = "ok";
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

#include "msm8996-pinctrl.dtsi"
#include "apq8096-camera-sensor-dragonboard.dtsi"
#include "apq8096-ba.dtsi"

/ {
	bluetooth: bt_qca6174 {
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ source "drivers/gpu/msm/Kconfig"

source "drivers/gpu/drm/Kconfig"

source "drivers/video/msm/ba/Kconfig"
menu "Frame buffer Devices"
source "drivers/video/fbdev/Kconfig"
endmenu
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MSM_BA_V4L2)         += msm/ba/
obj-$(CONFIG_VGASTATE)            += vgastate.o
obj-$(CONFIG_HDMI)                += hdmi.o

Loading