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

Commit 4c3516fc authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of kernel.lnx.4.4-160512.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1009203   I102fd544ea0571d31d2ef9232195d4adbddda6d7   clk: msm: osm: initialize PLL test control register
1013680   I345aa2369d18e2137ce79676049bb59d715d1ee0   ARM: dts: msm: Add USB audio via ADSP support for msmcob
1003083   I4fd83519ab75a1d979573b63761676f7c99593d4   ARM: dts: msm: Add apps port entries for audio slimbus o
1010115   I13f1825f2eb04d606464d1092c222c8269084107   ARM: dts: msm: Add default configs for bcl in msmcobalt
1008505   I2dbcb8eb1ef5c6e0ebcbfb9f298a14344fbe7ce3   msm: mdss: fix qseed3 op_mode register programming
1003106   I0f3c44671d3ca1b665e91ad314513bb743f23d3c   msm: mdss: Add NULL check before de-allocating framebuff
981966   I259020d7e4613d043e213ab2cb41e80ceb11f46a   msm: kgsl: Add effuses read capabilities for A505 GPU
1013358   I715094188dc2b61c04879f8f6ce7b2c8f2d815c5   msm: sde: Correct rotator chroma alignment for nv12 ubwc
1010115   I1af565ffd3b61e424aca1cbd5ec6cbef8d89f1fa   power: bcl: snapshot of battery_current_limit driver
1013316   I6e87289627b23fc368f990fc7962854eeb3fbbc1   usb: gadget: composite: Fix double free memory bug
1013824   I87793e31d4db10acf1103127a2d1ad942d253c67   usb: gadget: rndis: Add packet filter handling for hw ac
1000380   I77523d7816edb9776014aaf3aa85321af0d20aaf   msm: kgsl: Add property to determine GPU bitness
1013316   I705d0d54fb17ca3042533f0106f91912215bd52a   usb: gadget: composite: Handle OS descriptor request pro
982993   Ic36ac920497d05131ef8162a42ee5318600a3473   icnss: Add support to configure voltage regulator
1014889   I895642c231d980633801d094c8f329d209370c88   ARM: dts: msm: fix panel mode selection GPIO specificati
1013348   Id3a9fa3238ce0f04737a7b98aa897ec83ecdc8e2   ARM: dts: msm: use msmbus_bimc node for bimc_fab for msm
1010115   I521ee6c715525bd401630ec7948e5746682de6da   ARM: dts: msm: Configure bcl peripheral driver for PMIco
1013668   I7cafb74373efbc611bc894bdf3b351aae7e03da5   defconfig: enable CONFIG_DEVMEM and CONFIG_DEVKMEM
986027   Ic0dedbad3c7b485c696198bdfcb78d45e929ec22   msm: kgsl: Use the crash dumper to read HLSQ/shader memo
1010534   I7b321c796935febb3fa3e9ae520fd65e00da507c   msm: ipa: Add NETIF_F_SG to RMNET_IPA's hw features
1010111   I8a5f913ae41263b06af99b0ee802b4fa68312f33   msm: thermal: Avoid updating the scaling max frequency t
1014373   Icd9f1478c797fbdbd76d96c3069e5baa2c30ff61   ARM: dts: msm: Correct camera nodes for msmcobalt
1010778   Ib4b50d7df15114d417898c36b229441766bd5b42   defconfig: arm64: enable Coresight drivers for msmcobalt
1013830   I5caa9a839b9fdd144af0a59a7c605777f7a3a659   usb: dwc3: Add support for gsi endpoint disable operatio
1001770   I3466ce89007d127151f6760328edad116d679db8   regmap: improve debugfs interface to dump specific addre
949650   I6379559e201f14a0fd46c1e06761fae356ec9813   regulator: cpr3-regulator: unregister CPR IRQ affinity n
1001224   I74b03c31542d4b239eb2ffdc4dc6345dff5eab86   msm: mdss: Correct block id check for mdss_mdp_misr_tabl
1008076 1009712   I120ce95ea20434b41ac88a5d686b994630516435   ARM: dts: msm: Clock fixes and Secure context banks for
1014373   I957b9744f6f627a74f805933012429c41b910e92   msm: camera: Increase wait timeout time for kernel probe
1014889   Ic79850674c42f3c59512467dbb608942b98cf74a   msm: mdss: dsi: fix configuration for mode selection GPI
1008526   Ide998ad71abccb35d899f9e1f6093949acb95b09   ARM: dts: msm: separate control and config offsets for P
1005989   I9676eb2c75e7be42b1b1901194ba5c2a206dbeb3   msm: mdss: Properly free memory in error case
1013345   I3038a2c0c7f2b7f13c412dc04890744d8dbe37ee   [media] v4l: Update v4l2 32bit structures
1013830   I06570dec368b430321ec196a5e4338f657c43b42   usb: gadget: f_gsi: Use gsi ep ops to disable endpoint
1013237   I31aaeb7cf965bfbee4aa219936d8e298899b61a8   clk: msm: clock-gcc-cobalt: Update the FMAXes for hmss_g
995735   I9440bad62d3e13b434902f167c9d23467b1c4235   msm: kgsl: Add 1M and 8K pools to the allocator
890917   Ic878f1a946955edff3a9228e7fe54b7a525e37b1   leds: leds-qpnp-flash-v2: create v2 QPNP flash LED drive
1013861   Ia0b77f23b26941ea2a53451ae61c46aa0ada731c   ARM: dts: msm: update touch screen resolution
1012221   I98c462b56dbe01930456a16d5eeb6646b0a2db83   defconfig: msm: enable rndis_ipa on cobalt
1013127   I9e7f24c5f4eb722643bf3fac2d5c898ad107dd24   slim: ngd: retention support in power-collapse
1013830   Iea9282cc8fb4f13d066d25c63ccb1da1881c0a8a   usb: dwc3: Fix dep name handling upon ep disable
872968   Id61c81753d493b6508cbe87c59077adda4675ada   ASoC: soc-core: change debug level for debugfs fail mess
1013069   I94c7d5b20fc73ba49b0c8613297f0514fedb3d97   ARM: dts: msm: Add Synaptics regulator voltage and curre
975738   I09c9f1de74e348b032d215cbb0fb9ba6c7aecf18   slimbus: Add API to get matching ID table
940415   If22cadbcfac92f8243a3b6d3201935a839cd701a   ARM: dts: msm: Add slimbus_6_rx back-end dai-link for ms
1009622   I783d87714145f58fefc9e1e6a09d1ecfab56744b   defconfig: arm64: msmcortex: Enable VADC_HC and BTM driv
1013830   I824d3fa62e2736962680ae1c883b9a2916346331   usb: gadget: f_gsi: Call ipa_usb_init_teth_prot() from g
1004933   I44314b49a6ebb5dedfdedfcddd88c12eabd1f125   msm: mdss: Properly set the PP feature cfg_payload in la
1010115   I6dad908bbc673ff1b7f7d3d05fecdfc8f48b5815   power: bcl_peripheral: Support new bcl peripheral
1010115   I7168c754e939ef9da001bcac52a5b802dea40b41   defconfig: msmcortex: Enable bcl driver
996651   Ib168d60ad89e0fd55cd1f10b773b7cdaa7400ace   msm: kgsl: Do not allocate memory for profiling and sync
1010111   I38de1699a7cdd5bc3fecef80dd34c4d22d2fd200   msm: thermal: Update the min frequency update logic
1009522   I1af08605f7d2d234b0e5a4e3c8928db6cff5c7b4   msm: ipa: Fix to polling mode
1009279   Ia3f95778d0dab1be9d15fa95d1fc5624606689ec   regulator: cpr3-mmss-regulator: add support for msmcobal
1013346   Ic5f3598644a6d93796b8613117e42ff692168c3c   ARM: dts: msm: Add mnoc ahb bus fab for msmcobalt
1005536   If2bf7dbe7caedfa42337639fea739974f99960b4   msm: mdss: Fix memory leak in panel_debugfs_create_array

Change-Id: Iaab52a710492d28098f608f0f13b81bcffc4c8e6
CRs-Fixed: 1003106, 872968, 1009622, 1012221, 949650, 1013824, 940415, 1000380, 1014373, 1009712, 1013316, 1008076, 1013668, 1010111, 1010115, 1013237, 1003083, 1013358, 1001224, 1008505, 1009279, 1010778, 1001770, 1004933, 981966, 975738, 1009522, 1013830, 986027, 1010534, 1009203, 1013069, 890917, 1013345, 1013127, 982993, 1013346, 995735, 1013348, 1014889, 1005536, 1005989, 1013680, 1013861, 996651, 1008526
parents c672aea9 b4b947c1
Loading
Loading
Loading
Loading
+220 −0
Original line number Diff line number Diff line
* Battery Current Limit

This Battery Current Limit(BCL) device, provides an interface to detect and notify
interested applications when the SOC is drawing current in excess of the limits
specified.
The BCL driver has another operation mode, where it monitors the battery
current and voltage via ADC TM hardware called BTM. The newer devices support
a BTM hardware configuration, which can measure the battery current and voltage.
This ADC hardware is capable of sampling the sensor every 1 msec and interrupts
the BCL driver, which in turn mitigates the CPU frequency based on the
current load thresholds. The BCL drivers operation mode is decided based
on the parameters given in the device tree. In this BTM operation mode, BCL
driver provides sysfs entries to configure the thresholds, ADC polling
timer interval and other operational parameters.

The device tree parameters for bcl are:

Required parameters:
- compatible: Must be "qcom,bcl"

Optional parameters:
- qcom,bcl-enable : If this property is defined, BCL functionality will
		be enabled from boot. The mode of operation, will be based
		on the properties defined in the device tree.
- qcom,ibat-vadc = <&vadc_phandle>: A phandle to the VADC device. The BTM mode
		of operation requires this property to be defined if and only
		if qcom,ibat-threshold-adc_tm and qcom,ibat-monitor are defined.
		Error in any of these properties will disable BTM mode of operation
		and will fall back to the available current monitor mode.
- qcom,ibat-threshold-adc_tm = <&vadc_tm_phandle>: A phandle to the ADC TM
		device. BCL registers with the hardware monitor for this TM
		device to be able to set thresholds and get threshold
		notifications. The BTM mode of operation requires this property
		to be defined if and only if qcom,ibat-vadc and qcom,ibat-monitor
		are defined. Error in any of these properties will disable BTM
		mode of operation and will fall back to the available current
		monitor mode.
- qcom,bcl-framework-interface: If this property is defined, then the BCL uses
		the BCL framework for monitoring battery voltage and current.
		When this property is defined, the 'qcom,high-threshold-uamp',
		'qcom,low-threshold-uamp', 'qcom,mitigation-freq-khz',
		'qcom,vph-high-threshold-uv', 'qcom,vph-low-threshold-uv' and
		'qcom,thermal-handle' properties should be defined in the
		'qcom,ibat-monitor' node.
- qcom,bcl-hotplug-list = <hotplug-phandle-list>: List of phandles to the cores
		that are to be hotplugged, when battery current limit condition
		is reached.
- qcom,bcl-soc-hotplug-list: List of phandles to the cores that are to be hotplugged,
		when battery SOC limit condition is reached.
- qcom,bcl-freq-control-list: List of phandles to the cores that are to be frequency
                mitigated when BCL condition is reached.
- qcom,bcl-no-bms: This is an optional node for BCL IAVAIL monitor mode.
		If this property is defined, BCL IAVAIL monitor gets rbat value
		from power supply battery module instead of bms module.

Optional nodes:
- qcom,ibat-monitor: This optional node defines all the parameters for the
		battery current monitoring. The BTM mode of operation requires
		all the below properties to be defined with valid values. Also,
		this node should be defined if and only if qcom,ibat-vadc and
		qcom,ibat-threshold-adc_tm are defined. Error in any of these
		properties will disable BTM mode of operation and will fall
		back to the available current monitor mode.
	* qcom,high-threshold-uamp: The battery current, in microampere, after
		which the BCL driver should cap the maximum frequency.
	* qcom,low-threshold-uamp: The battery current, in microampere, below
		which the BCL driver should clear the CPU frequency mitigation.
	* qcom,mitigation-freq-khz: The maximum frequency value the BCL driver
		should mitigate the CPUS's with. This frequency shouldn't be
		less than the minimum frequency request that the kernel thermal
		monitor driver places during vdd restriction.
	* qcom,ibat-channel: The ADC hardware's Ibat channel number.
	* qcom,uv-to-ua-numerator: The conversion parameter required for converting
		the voltage measure from ADC hardware to current value.
	* qcom,uv-to-ua-denominator: The conversion parameter required for
		converting the voltage measure from ADC hardware to current.
		The microvolt to microampere (or vice-versa) conversion uses
		the below conversion formulae.
		ua = (uv * uv-to-ua-numerator) / uv-to-ua-denominator
	* qcom,adc-interval-usec: The polling interval, in microseconds, for the ADC
		hardware.
	* qcom,vph-channel: The ADC hardware's Vph channel number.
	* qcom,vph-high-threshold-uv: The battery voltage threshold above which the
		BCL driver clears the previously applied mitigation, disables
		the battery current monitoring, and starts monitoring for low
		battery voltage.
	* qcom,vph-low-threshold-uv: The battery voltage threshold below which the
		BCL driver starts monitoring the battery current thresholds and
		mitigates the CPU on the event of high load.
	* qcom,thermal-handle = <&phandle_to_vdd_apps>: phandle to the "qcom,msm_thermal"
		vdd restriction property, "qcom,vdd-apps-rstr". This phandle is
		used by BCL driver to get the minimum frequency request that the
		thermal driver places during vdd restriction. This frequency
		value will be the lowest max frequency value the BCL driver can
		request.
	* qcom,soc-low-threshold: The battery SOC percentage threshold below which
		mitigation needs to be applied.


Example:
	qcom,bcl {
		compatible = "qcom,bcl";
		qcom,ibat-vadc = <&pma8084_vadc>;
		qcom,ibat-threshold-adc_tm = <&pma8084_adc_tm>;
		qcom,bcl-no-bms;
		qcom,ibat-monitor {
			qcom,high-threshold-uamp = <1500>;
			qcom,low-threshold-uamp = <500>;
			qcom,mitigation-freq-khz = <1958400>;
			qcom,ibat-channel = <0x15>;
			qcom,adc-interval-usec = <3900>;
			qcom,uv-to-ua-numerator = <2>;
			qcom,uv-to-ua-denominator = <1>;
			qcom,vph-channel = <0x07>;
			qcom,vph-high-threshold-uv = <3700000>;
			qcom,vph-low-threshold-uv = <3500000>;
			qcom,thermal-handle = <&msm_thermal_freq>;
		};
	};
For Using BCL peripheral interface:
	qcom,bcl {
		compatible = "qcom,bcl";
		qcom,bcl-framework-interface;
		qcom,bcl-freq-mit-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
		qcom,bcl-hotplug-list = <&CPU5 &CPU6 &CPU7>;
		qcom,bcl-soc-hotplug-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
		qcom,ibat-monitor {
			qcom,high-threshold-uamp = <1500>;
			qcom,low-threshold-uamp = <500>;
			qcom,mitigation-freq-khz = <1958400>;
			qcom,vph-high-threshold-uv = <3700000>;
			qcom,vph-low-threshold-uv = <3500000>;
			qcom,thermal-handle = <&msm_thermal_freq>;
		};
	};

===============================================================================
BCL PMIC Peripheral driver:
===============================================================================
In newer targets from MSM8994, the PMIC has BCL monitoring capabilities
in the hardware. The PMIC exposes this BCL monitoring peripheral as a PMIC
peripheral. The BCL peripheral driver interacts with the PMIC peripheral using
the SPMI driver interfaces. The details and the configuration for the BCL
peripheral can be inputted using the device tree.

The units of the Vbat and Ibat values returned and read depends on the scaling
factor that is given as input for BCL peripheral driver through device tree. The
scaling factors should be configured to handle Vbat in micro-volt and Ibat in
micro-amps.

Required Parameters:
- compatible: must be either
	1. 'qcom,msm-bcl' for bcl peripheral without LMH DCVSh
  	   interface
	2. 'qcom,msm-bcl-lmh' for bcl peripheral with LMH DCVSh interface.
- reg: <a b> where 'a' is the starting register address of the PMIC
	peripheral and 'b' is the size of the peripheral address space.
	If the BCL inhibit current derating feature is enabled, this must also
	contain the PON spare registers as well. Example: <a b c d> where
	c is the first PON spare register that will be written and d is the
	size of the registers space needed to be written. Certain version
	of PMIC, can send interrupt to LMH hardware driver directly. In that
	case the shadow peripheral address space should be mentioned along
	with the bcl peripherals address.
- reg-names: a list of names of the registers corresponding to the reg
	property. The fuel gauge peripheral should be "fg_user_adc", the
	PON spare should be "pon_spare", and the bcl-lmh shadow peripheral
	should be "fg_lmh".
-interrupts: <a b c> Where 'a' is the SLAVE ID of the PMIC, 'b' is
		the peripheral ID and 'c' is the interrupt number in PMIC.
- interrupt-names: user defined names for the interrupts. These
		interrupt names will be used by the drivers to identify the
		interrupts, instead of specifying the ID's.
- qcom,ibat-polling-delay-ms: Software polling interval for monitoring ibat
		low threshold.
- qcom,vbat-polling-delay-ms: Software polling interval for monitoring vbat
		high threshold.

Optional parameters for peripheral with LMH DCVSh interface:
- qcom,vbat-scaling-factor: The scaling factor to be used for converting
		the raw vbat ADC value to milli-volt.
- qcom,vbat-gain-numerator: The numerator of the vbat gain correction factor.
- qcom,vbat-gain-denominator: The denominator of the vbat gain correction
		factor.
- qcom,ibat-scaling-factor: The scaling factor to be used for converting
		the raw ibat ADC value to micro-amps.
- qcom, ibat-gain-numerator: The numerator of the ibat gain correction factor.
- qcom, ibat-gain-denominator: The denominator of the ibat gain correction
		factor.
- qcom, ibat-offset-numerator: The numerator of the ibat offset correction
		factor.
- qcom, ibat-offset-denominator: The denominator of the ibat offset
		correction factor.

Optional Parameters:
- qcom,inhibit-derating-ua: The amount that the bcl current high trip threshold
		should be lowered by when the bcl peripheral is operating in a
		dead time.

                bcl@4200 {
                        compatible = "qcom,msm-bcl";
                        reg = <0x4200 0xFF 0x88e 0x2>;
			reg-names = "fg_user_adc", "pon_spare";
                        interrupts = <0x2 0x42 0x0>,
                                        <0x2 0x42 0x1>;
                        interrupt-names = "bcl-high-ibat-int",
                                        "bcl-low-vbat-int";
                        qcom,vbat-scaling-factor = <39>;
                        qcom,vbat-gain-numerator = <1>;
                        qcom,vbat-gain-denominator = <32>;
                        qcom,vbat-polling-delay-ms = <50>;
                        qcom,ibat-scaling-factor = <39>;
                        qcom,ibat-gain-numerator = <1>;
                        qcom,ibat-gain-denominator = <32>;
                        qcom,ibat-offset-numerator = <12>;
                        qcom,ibat-offset-denominator = <10>;
                        qcom,ibat-polling-delay-ms = <50>;
                };

+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,10 @@ Required properties:
  - iommus: SMMUs and corresponding Stream IDs needed by WLAN
  - qcom,wlan-smmu-iova-address: I/O virtual address range as <start length>
    format to be used for allocations associated between WLAN and SMMU
  - <supply-name>-supply: phandle to the regulator device tree node
                          Required "supply-name" is "vdd-io".
  - qcom,<supply>-voltage-level - specifies voltage levels for supply. Should be
                                  specified in pairs (min, max), units uV.

Optional properties:
  - qcom,skip-qmi: Boolean property to decide whether to use QMI or not
@@ -47,4 +51,6 @@ Example:
		   <0 141 0 /* CE11 */ >;
        qcom,wlan-msa-memory = <0x200000>;
        qcom,skip-qmi;
	vdd-io-supply = <&pmcobalt_l5>;
	qcom,vdd-io-voltage-level = <800000 800000>;
    };
+153 −0
Original line number Diff line number Diff line
Qualcomm Technologies Inc. PNP v2 Flash LED

QPNP (Qualcomm Technologies Inc. Plug N Play) Flash LED (Light
Emitting Diode) driver v2 is used to provide illumination to
camera sensor when background light is dim to capture good
picture. It can also be used for flashlight/torch application.
It is part of PMIC on Qualcomm Technologies Inc. reference platforms.

Required properties:
- compatible		: Should be "qcom,qpnp-flash-led-v2"
- reg			: Base address and size for flash LED modules

Optional properties:
- qcom,hdrm-auto-mode	: Boolean type to select headroom auto mode enabled or not
- qcom,isc-delay	: Integer type to specify short circuit delay. Valid values are 32, 64,
			  128, 192. Unit is us.

Required properties inside child node. Child node contains settings for each individual LED.
Each LED channel needs a flash node and torch node for itself, and an individual switch node to
serve as an overall switch.
- label			: Type of led that will be used, either "flash", "torch", or "switch.
- qcom,led-name		: Name of the LED.
- qcom,default-led-trigger	: Trigger for the camera flash and torch. Accepted values are
			  "flash0_trigger", "flash1_trigger", "flash2_trigger, "torch0_trigger",
			  "torch1_trigger", "torch2_trigger", and "switch_trigger".
- qcom,id		: ID for each physical LED equipped. In order to handle situation when
			  only 1 or 2 LEDs are installed, flash and torch nodes on LED channel 0
			  should be specified with ID 0; nodes on channel 1 be ID 1, etc. This is
			  not required for switch node.
- qcom,max-current	: Maximum current allowed on this LED. Valid values should be
			  integer from 0 to 1500 inclusive. Flash 2 should have maximum current of
			  750 per hardware requirement. Unit is mA. This is not required for switch
			  node.
- qcom,duration-ms	: Required property for flash nodes but not needed for torch. Integer
			  type specifying flash duration. Values are from 10ms to 1280ms with
			  10ms resolution. This is not required for switch node.

Optional properties inside child node:
- qcom,ires-ua		: Integer type to specify current resolution. Accepted values should be
			  12500, 10000, 7500, and 5000. Unit is uA.
- qcom,hdrm-voltage-mv	: Integer type specifying headroom voltage. Values are from 125mV to 500mV
			  with 25mV resolution. Default setting is 325mV
- qcom,hdrm-vol-hi-lo-win-mv	: Integer type to specify headroom voltage swing range. Values are
				  from 0mV to 375mV with 25mV resolution. Default setting is 100mV.
- pinctrl-names		: This should be defined if a target uses pinctrl framework and there is GPIO
			requirement for flash LEDs. See "pinctrl" in
			Documentation/devicetree/bindings/pinctrl/msm-pinctrl.txt. It should specify
			the names of the configs that pinctrl can install in driver.
                        Following are the pinctrl configs that can be installed:
                        "led_enable" : Enablement configuration of pins. This should specify active
                        config defined in each pin or pin group.
                        "led_disable" : Disablement configuration of pins. This should specify inactive
                        config defined in each pin or pin groups.

Example:
	qcom,leds@d300 {
		compatible = "qcom,qpnp-flash-led-v2";
		status = "okay";
		reg = <0xd300 0x100>;
		label = "flash";

		qcom,hdrm-auto-mode;
		qcom,isc-delay = <192>;

		pmi8998_flash0: qcom,flash_0 {
			label = "flash";
			qcom,led-name = "led:flash_0";
			qcom,max-current = <1500>;
			qcom,default-led-trigger =
						"flash0_trigger";
			qcom,id = <0>;
			qcom,duration-ms = <1280>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
		};

		pmi8998_flash1: qcom,flash_1 {
			label = "flash";
			qcom,led-name = "led:flash_1";
			qcom,max-current = <1500>;
			qcom,default-led-trigger =
						"flash1_trigger";
			qcom,id = <1>;
			qcom,duration-ms = <1280>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
		};

		pmi8998_flash2: qcom,flash_2 {
			label = "flash";
			qcom,led-name = "led:flash_2";
			qcom,max-current = <750>;
			qcom,default-led-trigger =
						"flash2_trigger";
			qcom,id = <2>;
			qcom,duration-ms = <1280>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
			pinctrl-names = "led_enable","led_disable";
			pinctrl-0 = <&led_enable>;
			pinctrl-1 = <&led_disable>;
		};

		pmi8998_torch0: qcom,torch_0 {
			label = "torch";
			qcom,led-name = "led:torch_0";
			qcom,max-current = <200>;
			qcom,default-led-trigger =
						"torch0_trigger";
			qcom,id = <0>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
		};

		pmi8998_torch1: qcom,torch_1 {
			label = "torch";
			qcom,led-name = "led:torch_1";
			qcom,max-current = <200>;
			qcom,default-led-trigger =
						"torch1_trigger";
			qcom,id = <1>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
		};

		pmi8998_torch2: qcom,torch_2 {
			label = "torch";
			qcom,led-name = "led:torch_2";
			qcom,max-current = <200>;
			qcom,default-led-trigger =
						"torch2_trigger";
			qcom,id = <2>;
			qcom,ires-ua = <12500>;
			qcom,hdrm-voltage-mv = <325>;
			qcom,hdrm-vol-hi-lo-win-mv = <100>;
			pinctrl-names = "led_enable","led_disable";
			pinctrl-0 = <&led_enable>;
			pinctrl-1 = <&led_disable>;
		};

		pmi8998_switch: qcom,led_switch {
			label = "switch";
			qcom,led-name = "led:switch";
			qcom,default-led-trigger =
						"switch_trigger";
		};
	};
+15 −0
Original line number Diff line number Diff line
@@ -187,6 +187,11 @@
			qcom,msm-dai-q6-dev-id = <16394>;
		};

		sb_6_rx: qcom,msm-dai-q6-sb-6-rx {
			compatible = "qcom,msm-dai-q6-dev";
			qcom,msm-dai-q6-dev-id = <16396>;
		};

		sb_7_rx: qcom,msm-dai-q6-sb-7-rx {
			compatible = "qcom,msm-dai-q6-dev";
			qcom,msm-dai-q6-dev-id = <16398>;
@@ -266,6 +271,16 @@
			compatible = "qcom,msm-dai-q6-dev";
			qcom,msm-dai-q6-dev-id = <32770>;
		};

		usb_audio_rx: qcom,msm-dai-q6-usb-audio-rx {
			compatible = "qcom,msm-dai-q6-dev";
			qcom,msm-dai-q6-dev-id = <28672>;
		};

		usb_audio_tx: qcom,msm-dai-q6-usb-audio-tx {
			compatible = "qcom,msm-dai-q6-dev";
			qcom,msm-dai-q6-dev-id = <28673>;
		};
	};

	hostless: qcom,msm-pcm-hostless {
+15 −0
Original line number Diff line number Diff line
@@ -264,6 +264,21 @@
					  "msg-tx-discarded",
					  "msg-rx-discarded";
		};

		bcl@4200 {
			compatible = "qcom,msm-bcl-lmh";
			reg = <0x4200 0xff>,
				<0x4300 0xff>;
			reg-names = "fg_user_adc",
					"fg_lmh";
			interrupts = <0x2 0x42 0x0 IRQ_TYPE_NONE>,
					<0x2 0x42 0x2 IRQ_TYPE_NONE>;
			interrupt-names = "bcl-high-ibat-int",
					"bcl-low-vbat-int";
			qcom,vbat-polling-delay-ms = <100>;
			qcom,ibat-polling-delay-ms = <100>;
		};

	};

	qcom,pmicobalt@3 {
Loading