mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
arm/dts: config typeC mode iio interface
arm/dts add typeC mode iio interface Change-Id: I762ccf27aace91f3b9c002c0e44a796fe7066927 Signed-off-by: chailu1 <chailu1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2107395 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ca86f84dc6
commit
75b3da00d5
3 changed files with 27 additions and 12 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "blair-milanf-common-overlay.dtsi"
|
||||
#include "blair-nopmi-moto-common-overlay.dtsi"
|
||||
#include "tcpc_config.dtsi"
|
||||
#include "discrete-rt-pd-manger.dtsi"
|
||||
#include "sgm7220.dtsi"
|
||||
#include "rt9426a.dtsi"
|
||||
#include "discrete_charging.dtsi"
|
||||
|
|
|
|||
26
qcom/discrete-rt-pd-manger.dtsi
Normal file
26
qcom/discrete-rt-pd-manger.dtsi
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* Copyright (c) 2021, 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 {
|
||||
rpm: rt-pd-manager {
|
||||
compatible = "richtek,rt-pd-manager";
|
||||
#io-channel-cells = <1>;
|
||||
io-channels = <&mmi_discrete_charger PSY_IIO_USB_REAL_TYPE>,
|
||||
<&mmi_discrete_charger PSY_IIO_MMI_OTG_ENABLE>,
|
||||
<&mmi_discrete_charger PSY_IIO_TYPEC_MODE>;
|
||||
io-channel-names = "usb_real_type",
|
||||
"otg_enable",
|
||||
"typec_mode";
|
||||
|
||||
};
|
||||
};
|
||||
|
|
@ -162,18 +162,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
rpm: rt-pd-manager {
|
||||
compatible = "richtek,rt-pd-manager";
|
||||
#io-channel-cells = <1>;
|
||||
io-channels = <&mmi_discrete_charger PSY_IIO_USB_REAL_TYPE>,
|
||||
<&mmi_discrete_charger PSY_IIO_MMI_OTG_ENABLE>;
|
||||
io-channel-names = "usb_real_type",
|
||||
"otg_enable";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
rt1711h_int_n: rt1711h_int_n {
|
||||
mux {
|
||||
|
|
|
|||
Loading…
Reference in a new issue