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

Commit 13781d61 authored by Namratha Siddappa's avatar Namratha Siddappa
Browse files

Merge remote-tracking branch 'quic/msm-4.14' into dev/msm-4.14-display



* quic/msm-4.14:
  ARM: dts: msm: Fix DT compilation failure for QCS405
  mhi: core: use debugfs lookup method to find parent directory
  msm: gsi: gsi channel mode switch spinlock fix
  ARM: dts: msm: Add Qnovo device node for PM8150B
  defconfig: sm8150: Enable QPNP_QNOVO driver
  input: qti-haptics: Add a timer to stop playing when the time expired
  msm: ipa3: fix the fast_map issue
  msm: gsi: check channel state on timeout
  Revert "msm: ipa4: fix client register and deregister for usb"
  xhci: Fix use-after-free in xhci_free_virt_device
  msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR
  msm: ipa: disable status for WAN_PROD on SSR
  ARM: dts: msm: Add device tree support for variants of qcs405
  ARM: dts: msm: Add new file of audio port types for soundwire
  cpufreq: schedutil: fix undefined reference to '__aeabi_uldivmod'
  clk: qcom: gcc: Update order of clock registration
  defconfig: msm: enable remote debugger driver on sm8150
  defconfig: sm6150: Enable clock controller drivers for SM6150
  soc: qcom: spcom: fix rx path to support power collapse (cxpc)
  msm: gsi: Update Channel 0 context structure
  msm: ipa: Fix IPA driver compilation issues on sdxprairie
  ARM: dts: msm: Add USB configuration for QCS405
  defconfig: sm8150: Disable rmnet_data driver
  arm64: dma-mapping: Correct variable type
  iommu/io-pgtable-fast: invalidate TLBs on unmap
  msm: ipa: disable in order GSI transactions
  power: qpnp-fg-gen4: Add support to configure thermistor pull up
  net: qrtr: Move resume-tx transmission to recvmsg
  defconfig: sm8150: Enable data flow control and power save
  soc: qcom: qmi: Data flow control updates
  diag: diagfwd_socket: Increase socket receive buf
  msm: vidc: update max mb/sec load
  mhi: dev: uci: update terminal signals bit settings
  mhi: dev: uci: release lock as last step during uci_remove
  mhi: core: read bhie offset from external modem
  msm: vidc: Add partial cache operations support
  staging: android: ion: WARN_ON_ONCE in ion_buffer_destroy
  regulator: qpnp-lcdb: Introduce regulator off-on delay
  coresight: Reset all activated sinks
  defconfig: Enable USB PHY drivers for QCS405
  input: qti-haptics: Add enhancements for effect definitions
  power: qpnp-qnovo5: Add driver to support Qnovo5
  defconfig: enable spmi-pmic-clkdiv driver for QCS405
  ARM: dts: msm: add PMS405 DIV CLK device
  ARM: dts: qcom: Enable iommu bus voting for sm6150
  leds: vibrator-ldo: Disable LDO if VREG_READY is not set
  staging: android: ion: Properly zero cached carveout allocations
  power: qpnp-fg-gen4: Configure Rslow coefficients based on temperature
  power: qpnp-fg-gen4: Add support for SOH calculation
  power_supply: Add SOH, ESR_Actual and ESR_Nominal properties
  power: qpnp-fg-gen4: Disable Rslow compensation for PM8150B v1
  power: qpnp-fg-gen4: Change profile compare length
  usb: xhci-plat: Remove system PM call backs
  trace/sched: fix compilation issue for UP systems
  msm: vidc: Modify multislice config before start
  genirq/cpuhotplug: Reduce logging level for couple of prints
  usb: pd: Replace dev_err with usbpd_err
  usb: pd: Fix Alert/Get_Status handling
  mhi: core: bind control device into mhi_bus
  devfreq: add CDSP L3 governor
  soc: qcom: add CDSP request manager for CPU L3 clock voting
  arm: dma-mapping: Fix broken iommu attach and detach
  arm: dma-mapping: add dma mapper for io-pgtable-fast for 32 bit
  genirq: honour default IRQ affinity setting during migration
  genriq: pick only one CPU while overriding the affinity during migration
  genirq: Use irq_set_affinity_locked to change irq affinity
  clk: qcom: gcc: Remove support of 650Mhz frequency for gfx3d_clk_src
  ARM: dts: msm: configure secondary chargers on MTP and QRD
  of: move kobj_to_device_node() into dynamic.c
  spmi: pmic-arb: Use asynchronous probe
  usb: dwc3: Fix probe deferral issue
  ANDROID: ARM: Allow to choose appended kernel image
  ARM: Add option to build Image/dtb combo
  PM/Hibernate: Add Config option to skip crc check
  PM / hibernate: Add CONFIG_HIBERNATION_IMAGE_REUSE
  msm: vidc: Do not set defer flag again
  usb: phy: Clean up phy-msm-ssusb to enable LDOs on init
  power: qpnp-fg-gen4: Add TTF support for step charging
  fg-alg: Add TTF support for step charging
  ARM: dts: msm: Add WLED support for SM8150 platforms
  msm: camera: Add front camera wled flash support
  serial: msm_geni_serial: Fix the race between termios and ISR
  ARM: dts: msm: Add GPI DMA device tree nodes for sdmmagpie
  serial: msm_geni_serial: Remove manual flow control and set as RFR OPEN
  seemp: update to seemp_logk_set_mapping()
  msm: vidc: Add uncompressed format constraint setting
  Linux 4.14.49
  drm: set FMODE_UNSIGNED_OFFSET for drm files
  PCI: hv: Do not wait forever on a device that has disappeared
  cls_flower: Fix incorrect idr release when failing to modify rule
  rtnetlink: validate attributes in do_setlink()
  virtio-net: fix leaking page for gso packet during mergeable XDP
  net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
  virtio-net: correctly check num_buf during err path
  tun: Fix NULL pointer dereference in XDP redirect
  net/mlx4: Fix irq-unsafe spinlock usage
  virtio-net: correctly transmit XDP buff after linearizing
  net-sysfs: Fix memory leak in XPS configuration
  net: phy: broadcom: Fix auxiliary control register reads
  ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline
  vrf: check the original netdevice for generating redirect
  vhost: synchronize IOTLB message with dev cleanup
  team: use netdev_features_t instead of u32
  sctp: not allow transport timeout value less than HZ/5 for hb_timer
  qed: Fix mask for physical address in ILT entry
  packet: fix reserve calculation
  net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
  net: phy: broadcom: Fix bcm_write_exp()
  net/packet: refine check for priv area size
  net: metrics: add proper netlink validation
  net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
  netdev-FAQ: clarify DaveM's position for stable backports
  kcm: Fix use-after-free caused by clonned sockets
  isdn: eicon: fix a missing-check bug
  ipv6: omit traffic class when calculating flow hash
  ipv4: remove warning in ip_recv_error
  ipmr: properly check rhltable_init() return value
  ip6_tunnel: remove magic mtu value 0xFFF8
  ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
  enic: set DMA mask to 47 bit
  dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()
  bnx2x: use the right constant
  be2net: Fix error detection logic for BE3
  kconfig: Avoid format overflow warning from GCC 8.1
  btrfs: define SUPER_FLAG_METADUMP_V2
  mmap: relax file size limit for regular files
  mmap: introduce sane default mmap limits
  scsi: sd_zbc: Avoid that resetting a zone fails sporadically
  scsi: sd_zbc: Fix potential memory leak
  msm: mdss: select dss io utility as per supported display subsystem
  FROMLIST: f2fs: run fstrim asynchronously if runtime discard is on
  arm64/mm: add speculative page fault
  arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT
  usb: dwc3: Enable l1_suspend_n signal for host mode
  msm: usb_bam: remove unused uninitialized variable
  icnss: Set fw down at server exit indication

Change-Id: Ib5fd065a912d05e499a048adc73f68fb62b36eb6
Signed-off-by: default avatarNamratha Siddappa <namratha@codeaurora.org>
parents 3737f09a af87342b
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@ SoCs:
- QCS405
  compatible = "qcom,qcs405"

- QCS403
  compatible = "qcom,qcs403"

- SDXPRAIRIE
  compatible = "qcom,sdxprairie"

@@ -100,6 +103,8 @@ Generic board variants:
- RUMI device:
  compatible = "qcom,rumi"

- IOT device:
  compatible = "qcom,iot"


Boards (SoC type + board variant):
@@ -156,8 +161,8 @@ compatible = "qcom,sm6150-cdp"
compatible = "qcom,sm6150-qrd"
compatible = "qcom,sm6150-idp"
compatible = "qcom,qcs405-rumi"
compatible = "qcom,qcs405-mtp"
compatible = "qcom,qcs405-cdp"
compatible = "qcom,qcs405-iot"
compatible = "qcom,qcs403-iot"
compatible = "qcom,sm8150-auto-adp-star"
compatible = "qcom,auto-adp-star"
compatible = "qcom,sdxprairie-rumi"
+8 −0
Original line number Diff line number Diff line
@@ -69,6 +69,14 @@ Profile data node optional properties:
			size 5.
- qcom,therm-center-offset: Specifies the resistor divide ratio between pull-up
			resistor and the thermistor for GEN4 FG.
- qcom,therm-pull-up: Specifies the thermistor pull-up resistor value in
			KOhms.
- qcom,rslow-normal-coeffs: Array of Rslow coefficients that will be applied
			when the battery temperature is greater than 0 degree
			Celsius for GEN4 FG. This should be exactly of size 4.
- qcom,rslow-low-coeffs: Array of Rslow coefficients that will be applied
			when the battery temperature is lower than 0 degree
			Celsius for GEN4 FG. This should be exactly of size 4.
- qcom,soc-based-step-chg: A bool property to indicate if the battery will
			perform SoC (State of Charge) based step charging.
			If yes, the low and high thresholds defined in
+40 −26
Original line number Diff line number Diff line
@@ -66,19 +66,6 @@ Properties:
		specified in the LRA actuator datasheet. Allowed values are:
		0 to 20475. If this is not specified, 5715us play rate is used.

- qcom,brake-pattern
  Usage:      optional
  Value type: <prop-encoded-array>
  Definition: Specifies the brake pattern with 4 elements used to enable the
		internal reverse braking. Allowed values for each element are:
			0: no brake;
			1: brake with (Vmax / 2) strength;
			2: brake with Vmax strength;
			3: brake with (2 * Vmax) strength;
		If this property is specified with an array of non-zero values,
		then the brake pattern is applied at the end of the playing
		waveform.

- qcom,external-waveform-source
  Usage:      optional
  Value type: <string>
@@ -108,11 +95,12 @@ Following properties are specific only when LRA actuator is used:
		values: "sine", "square". If this is not specified, sinusoid
		resonance driver signal is used.

- qcom,lra-auto-resonance-en
- qcom,lra-allow-variable-play-rate
  Usage:      optional
  Value type: <empty>
  Definition: If specified, the hardware feature of LRA auto resonance detection
		 is enabled for correcting the resonance frequency variation.
  Definition: If specified, "qcom,wf-play-rate-us" for LRA defined in each
		effect could be different with the resonance period of the
		LRA actuator.

- qcom,lra-auto-resonance-mode
  Usage:      optional
@@ -136,16 +124,20 @@ waveforms/effects:
  Usage:      required
  Value type: <prop-encoded-array>
  Definition: Specifies the waveform pattern in a byte array that will be
		played for the effect-id. Allowed values for each element
		are: 0x00 to 0x1F.
		played for the effect-id. The bit fields of each byte are:
		 [7]: drive direction, 0 - forward; 1 - reverse
		 [6]: overdrive, 0 -- 1x drive; 1 -- 2x drive
		 [5:1]: waveform amplitude
		 [0]: reserved.

- qcom,wf-play-rate-us
  Usage:      optional
  Value type: <u32>
  Definition: Specifies the play period in microseconds for each byte pattern.
		For LRA actuator, For LRA, it should be set equal to the resonance
		period specified in the LRA actuator datasheet. Allowed values
		are: 0 to 20475.
		Allowed values are: 0 to 20475. For LRA actuator, if
		"qcom,lra-allow-variable-play-rate" is defined, it could be
		set to other values not equal to the resonance period of the
		LRA actuator.

- qcom,wf-repeat-count
  Usage:      optional
@@ -159,6 +151,25 @@ waveforms/effects:
  Definition: Specifies the repeat times for each sample defined in
		qcom,wf-pattern. Allowed values are: 1, 2, 4, 8.

- qcom,wf-brake-pattern
  Usage:      optional
  Value type: <prop-encoded-array>
  Definition: Specifies the brake pattern with 4 elements used to enable the
		internal reverse braking. Allowed values for each element are:
			0: no brake
			1: brake with (Vmax / 2) strength
			2: brake with Vmax strength
			3: brake with (2 * Vmax) strength
		If this property is specified with an array of non-zero values,
		then the brake pattern is applied at the end of the playing
		waveform.

- qcom,lra-auto-resonance-disable
  Usage:      optional
  Value type: <empty>
  Definition: If specified, the hardware feature of LRA auto resonance detection
		is disabled.

Example:
  qcom,haptics@c000 {
	compatible = "qcom,haptics";
@@ -169,20 +180,23 @@ Example:
	qcom,actuator-type = "lra";
	qcom,vmax-mv = <1800>;
	qcom,ilim-ma = <400>;
	qcom,play-rate-us = <4255>;
	qcom,brake-pattern = [03 02 01 00];
	qcom,play-rate-us = <8000>;
	qcom,lra-resonance-sig-shape = "sine";
	qcom,lra-auto-resonance-mode;
	qcom,lra-auto-resonance-mode = "qwd";
	qcom,lra-allow-variable-play-rate;

	wf_0 {
		/* CLICK effect */
		qcom,effect-id = <0>;
		qcom,wf-pattern = [0a 14 1f 1f 1f 1f 14 0a];
		qcom,wf-play-rate-us = <6250>;
		qcom,wf-pattern = [3e 3e 3e];
		qcom,lra-auto-resonance-disable;
	};

	wf_5 {
		/* HEAVY_CLICK effect */
		qcom,effect-id = <5>;
		qcom,wf-pattern = [08 0a 1a 1f 1f 1a 0a 08];
		qcom,wf-play-rate-us = <6250>;
		qcom,wf-pattern = [7e 7e 7e];
	};
  };
+7 −1
Original line number Diff line number Diff line
@@ -65,6 +65,11 @@ First Level Node - CAM FLASH device
  Value type: <u32>
  Definition: Max duration in ms flash can glow.

- wled-flash-support
  Usage: optional
  Value type: <boolean>
  Definition: To identity wled flash hardware support.

- gpios
  Usage: optional
  Value type: <u32>
@@ -109,6 +114,7 @@ led_flash_rear: qcom,camera-flash@0 {
		flash-source = <&pmi8998_flash0 &pmi8998_flash1>;
		torch-source = <&pmi8998_torch0 &pmi8998_torch1>;
		switch-source = <&pmi8998_switch0>;
		wled-flash-support;
		qcom,slave-id = <0x00 0x00 0x0011>;
		qcom,cci-master = <0>;
		gpios = <&msmgpio 23 0>,
+40 −0
Original line number Diff line number Diff line
QPNP Qnovo5 pulse engine

QPNP Qnovo5 is a PBS based pulse charging engine which works in tandem with the
QPNP SMB5 Charger device. It configures the QPNP SMB5 charger to
charge/discharge as per pulse characteristics.

The QPNP Qnovo5 pulse engine has a single peripheral assigned to it.

Properties:
- compatible:
  Usage:      required
  Value type: <string>
  Definition: It must be "qcom,qpnp-qnovo5".

- reg:
  Usage:      required
  Value type: <u32>
  Definition: Specifies the base address of the module. Qnovo5 is using a
		SDAM peripheral so this is the address of the SDAM module
		being used.

- interrupts:
  Usage:      required
  Value type: <prop-encoded-array>
  Definition: Specifies the interrupt associated with Qnovo5.

- interrupt-names:
  Usage:      required
  Value type: <string>
  Definition: Specifies the interrupt name for Qnovo5. There is only one
		interrupt named as "ptrain-done".

Example:

qcom,qpnp-qnovo@b000 {
	compatible = "qcom,qpnp-qnovo5";
	reg = <0xb000 0x100>;
	interrupts = <0x2 0xb0 0x0 IRQ_TYPE_NONE>;
	interrupt-names = "ptrain-done";
};
Loading