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

Commit 259b3199 authored by Domi Papoi's avatar Domi Papoi Committed by Gerrit - the friendly Code Review server
Browse files

msm: BA: Create Bridge Abstraction (BA)



Create bridge abstraction driver to provide a framework that can be
used to abstract different types of bridge chips under a common API.
The framework also allows multiple drivers to control different
functional aspects of a bridge chip.
The bridge abstraction driver is limited to bridge chips that deal
with converting audio/video data from one protocol to a different one.

Change-Id: Ib42365fb41afda8029f4f6e9b1ec27549d885659
Signed-off-by: default avatarDomi Papoi <dpapoi@codeaurora.org>
parent cbac2b43
Loading
Loading
Loading
Loading
+17 −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".
- status :				A string that has to be set to "okay/ok" to enable
						the driver. By default this property will be set to
						"disable". Will be set to "ok/okay" status for
						specific platforms.

Example:

	qcom,ba {
		compatible = "qcom,msm-ba";
		status = "disable";
	};
+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
obj-$(CONFIG_MSM_BA_V4L2) += msm/ba/
obj-$(CONFIG_VGASTATE)            += vgastate.o
obj-$(CONFIG_HDMI)                += hdmi.o

+1 −0
Original line number Diff line number Diff line
source "drivers/video/msm/ba/Kconfig"
source "drivers/video/msm/msm_dba/Kconfig"

if FB_MSM
Loading