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

Commit e724cf3b authored by Derek Chen's avatar Derek Chen
Browse files

ARM: dts: qcom: add A2B I2C support on auto platforms



* Enable I2C device and add alias for sa6155.
* Move alias to shared audio dtsi file for sa8195.

Change-Id: Id0075c64f0264eacdb0533753695b8baab187404
Suggested-by: default avatarTahir Dawson <dawson@qti.qualcomm.com>
Signed-off-by: default avatarDerek Chen <chenche@codeaurora.org>
parent 4fbca409
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, 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
@@ -12,6 +12,12 @@
 */
#include "sm6150-lpi.dtsi"

/ {
	aliases {
		i2c7 = &qupv3_se8_i2c;
	};
};

&soc {
	tdm_pri_rx: qcom,msm-dai-tdm-pri-rx {
		compatible = "qcom,msm-dai-tdm";
@@ -595,3 +601,6 @@
	};
};

&qupv3_se8_i2c {
	status = "ok";
};
+7 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, 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
@@ -11,6 +11,12 @@
 * GNU General Public License for more details.
 */

/ {
	aliases {
		i2c7 = &qupv3_se20_i2c;
	};
};

&soc {
	tdm_pri_rx: qcom,msm-dai-tdm-pri-rx {
		compatible = "qcom,msm-dai-tdm";
+1 −7
Original line number Diff line number Diff line
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2020, 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
@@ -10,12 +10,6 @@
 * GNU General Public License for more details.
 */

/ {
	aliases {
		i2c7 = &qupv3_se20_i2c;
	};
};

/* Remove regulator nodes specific to SA8155 */
&soc {
	/delete-node/ regulator-pm8150-s4;