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

Commit ef825aa3 authored by Abhijit Trivedi's avatar Abhijit Trivedi
Browse files

DOWNSTREAM: Merge AU282 commit '6bf4cf1b' into topic



* commit '6bf4cf1b':
  ARM: dts: msm: Add bluetooth node of wcn3990 for sdm845
  ARM: dts: msm: add SD card detect pinctrl for SDM670 QRD platform
  ARM: dts: msm: Add sleep counter support for sdm670
  regulator: cpr4: fix compilation warning
  ARM: dts: msm: Add device tree node for emac driver on sdxpoorwills
  USB: dwc3: gadget: Fix TxFIFO resizing logic
  ARM: dts: msm: reserve memory for splash on sdm670
  regulator: rpmh-regulator: add support for XOB type regulator resources
  msm: kgsl: Use the common CX debug register access functions
  ARM: dts: msm: Ioremap the CX debug GPU block in SDM845
  msm: vidc: Fix type casting issue for 32bit build error
  hbtp_input : Add timeout for wait completion
  ARM: dts: msm: Increase dsp cma heap for concurrency on SDM845
  ARM: dts: msm: Enable sw-jeita for QRD670 device
  ARM: dts: msm: Enable sw-jeita for QVR845 device
  ARM: dts: msm: Add sw-jeita configuration for mlp446579 battery
  net: rmnet_data: Optimize the UL aggregation skip logic
  msm: kgsl: Fix for '__udivdi3' build error
  msm: kgsl: Use %zu for sizeof type
  msm: kgsl: Fix parameter undeclared error in trace_kgsl_mem_sync_full_cache
  dwc3-msm: Use pm_runtime_put_sync_suspend()
  ARM: dts: msm: Add sw-jeita configuration for mlp356477 battery
  msm: vidc: Convert csc custom matrix enable bool to hfi mask
  iommu: arm-smmu: Don't call iommu unmap with zero size
  arm64: dma-mapping: Correct variable type
  msm: kgsl: Ioremap the CX debug register block
  power: qpnp-fg-gen3: disable parallel charging during battery removal
  scsi: ufs: fix the UFS command tracing events
  drivers: qcom: lpm-stats: reset CPU stats from that CPU
  msm: kgsl: Read A6XX non-context registers directly
  msm: kgsl: Correctly derive DDR stall cycles from GBIF power counters
  arm: Kconfig: Add select GENERIC_IRQ_MIGRATION for HOTPLUG_CPU
  sched: Fix for 32bit '__udivdi3' build error
  drm/msm/sde: Fix for build error of sde_rsc_client_state_update
  defconfig: sdm670: Disable unwanted flags in sdm670
  ARM: dts: msm: disable kgsl smmu ATOS for sdm670
  kernel: time: Fix low resolution timer not fire in 32bit case
  ARM: dts: msm: Add display panel support for SDM670 QRD
  ARM: dts: msm: Add support for PRNG TPDM on SDM670
  ARM: dts: msm: add SWAO TGU support on sdm670
  regulator: cpr4-apss: Update APC CPR fuse combo logic for msm8953
  ARM: dts: update ufs slave bus voting IB for SDM845
  ARM: smp: Remove use of IPI_CALL_FUNC_SINGLE
  hbtp_input : Update the callback function
  msm: kgsl: Printk format fix for 32bit build error
  PM / wakeup: Fix error when CONFIG_QCOM_SHOW_RESUME_IRQ not defined
  net: rmnet_data: Skip UL aggregation for ping packets
  sched: remove duplicate entries from Makefile/Kconfig
  cpuidle: Wrap cpu_online_mask usage with preempt_disable
  soc: qcom: service-locator: Fix error message prints for receiving messages
  msm: kgsl: Use usleep_range for GMU synchronization
  usb: host: xhci: Add NULL check in xhci_find_slot_id_by_port API
  msm: vidc: Remove PQ extradata support
  Revert "msm_11ad: keep rf_clk3 on during wil6210 activity"
  dwc3-msm: Change USB SMMU related page table range
  dwc3: Use dma_alloc_coherent() API instead of DMA pool for GSI TRB ring
  wil6210: prevent parallel suspend and dump collection
  diag: Split data stream for User PDs on LPASS
  ARM: dts: msm: update low SVS mapping for L3 sdm670
  drm/msm/dsi-staging: add error handling support to DSI driver
  power: supply: qcom: Make JEITA/step charging setting dtsi configurable
  power: qpnp-fg-gen3: Set invalid negative value for batt_id_ohms
  ARM: dts: msm: Update L3 freq mapping at high end for sdm845 v2
  dwc3-msm: Use dwc->sysdev instead of dwc->dev with DMA APIs
  msm: Add CLD80211_ATTR_META_DATA vendor attribute
  slimbus: Sequentialize the device state notifications
  soc: qcom: pil: Poll on MSS_STATUS[Q6_AXI_TO_BMIC_ACCESS]
  soc: qcom: service-locator: Update incorrect usage of qmi_send_req_wait
  i2c: busses: i2c-qcom-geni: Fix error decoding logic
  ARM: dts: msm: enable ESD check for nt35597 truly panel on sdm845
  ARM: dts: msm: Allow compute gov to go to 1.8 GHZ on sdm845 v2
  ARM: dts: msm: Add DT support for new compute governor
  drm/msm/sde: enable continuous splash
  drm/msm/sde: add support to update DRM structures during bootup
  drm/msm/sde: handle RM when continuous splash is enabled
  drm/msm/sde: update Resource manager with specific resource IDs
  drm/msm/sde: handle smmu handoff for continuous splash
  drm/msm/sde: read MDSS registers for current configuration
  drm/msm/dsi-staging: dsi resource handling for continuous splash
  drm/msm: reorder component add to accommodate continuous splash
  mmc: core: Return error if fallback to lower speed mode fails
  drm/msm/sde: delay rsc pre-stop for video/wb encoders
  media: dvb-core: Fix possible array index access error
  ARM: dts: msm: Use same sid for apps iommu test devices for sdm670
  ARM: dts: msm: Add iommu coherent test device for SDM670
  msm: adsprpc: Handle NULL pointer dereference
  msm: ADSPRPC: Fix for null-ptr-dereference
  arm: highmem: Fix CPU_DYING callback for kmap
  ARM: dts: msm: Add camera node for sdm670 qrd devices
  ARM: dts: msm: fix the audio etm QMI instance ID of sdm670
  ARM: dts: msm: Rename SMMU translation property for qce on SDM670
  defconfig: msm: add tgu config for sdm670
  drm/msm/sde: avoid large memory chunk allocation on stack
  diag: Handle data ready notification properly
  sched: Fix for compile issue
  msm: ADSPRPC: make happy of compiler -Wmaybe-uninitialized
  msm: camera: util: Disable IRQ before clocks
  PM / devfreq: memlat: Add support for compute-bound logic
  ARM: dts: msm: Add cpu set for adsp glink on sdm845
  soc: qcom: glink: Add support to set affinities
  drivers: edac: Reinitialize errxctlr and overflow counter after PM_EXIT
  soc: qcom: pil: Increase Boot FSM timeout value
  wil6210: set platform features based on FW capabilities
  ARM: dts: msm: Add dump node for cpuss debug
  include: soc: Add enum for dumping cpuss debug registers
  msm: vidc: Enable caching for pagetable pages
  net: rmnet_data: Fix assignments, reads, and logic
  nl80211: fix null-ptr dereference on invalid mesh configuration
  usb: dwc3: Read snps,bus-suspend-enable property
  of_batterydata: Add properties for step-chg/sw-jeita settings
  drm/msm/sde: separate the power notify and idle notify events
  clk: qcom: Add support for 700MHz for GPU clock for sdm670
  ARM: dts: msm: Add device tree support for sdm450
  msm: ipa3: Fix to NULL pointer dereference
  ARM: dts: msm: Correct GPI dma-cells value for SDM670
  ARM: dts: msm: Add camera node for sdm845 qvr board
  ARM: dts: msm: Enable GPI DMA SMMU support for SDM670
  drm/msm/sde: add SMART_PANEL_ALIGN_MODE config for split display
  ARM: dts: msm: Update the energy model for SDM670
  soc: qcom: pil: Fix error handling during PIL driver probe
  msm: vidc: Add NULL check for vb buffers
  dwc3-msm: Replace autosuspend delay functionality with stop host mode
  msm: clk: qcom: add clock handoff for vco to support continuous splash
  msm: kgsl: Optimize WARN() API usage in gmu driver
  msm: clk: qcom: fix recalc rate callback for 10nm DSI PLL
  soc: qcom: glink_smem_native_xport: Add readback to write index
  msm: vidc: Update input extradata buffer requirement
  ARM: dts: msm: add NULL packet insertion entry on SDM845, SDM670
  msm: kgsl: Do not expose kernel pointer for global entries
  drm/msm/dsi-staging: add support for dsi null packet insertion
  net: core: To send ARP probe when neighbor state is NUD_STALE
  ARM: dts: msm: Add touch panel support for SDM670 QRD
  ARM: dts: msm: remove non essential clocks with kgsl iommu for sdm670
  cpuidle: Wakeup only cpus for which qos has changed.
  qos: Pass the list of cpus with affected qos to notifer
  idrm/msm/sde: move lut cfg to crtc state
  msm: vidc: Don't assume session error as sys error
  defconfig: Enable ARCH_SDM450 support
  msm: Add initial support for sdm450 Kconfig platform
  socinfo: Add socinfo support for sdm450
  socinfo: Add socinfo support for msm8953
  BACKPORT: net: xfrm: support setting an output mark.
  msm: kgsl: Update GMU hang processing in adreno_stop
  drm/msm/sde: handle VSYNC_IN_EN during crtc power events
  ARM: dts: msm: Add refgen_north_bg_reg_addr value on SDM845
  usb: phy: Update BIAS_CTRL2 register based on REFGEN status
  usb: phy: Add BIAS_CTRL2 register offset as mandatory
  drm/msm/sde: avoid multi-display update during secure-session
  msm: kgsl: Update expected GMU FW version
  iommu: arm-smmu: Use remote_spin_lock_irqsave() variant
  ion: ion_cma_heap: Add no-map detection
  iommu: dma-mapping-fast: Add standard ftrace events
  iommu: Expand ftrace events
  iommu: Remove trace-events include from iommu.h
  iommu: Move report_iommu_fault() to iommu.c
  iommu: Include device.h in iommu.h
  treewide: Fix iommu.h include assumptions
  ARM: dts: msm: Add audio support for sda670
  ARM: dts: msm: update route map for sdm670 internal codec
  Linux 4.9.60
  ecryptfs: fix dereference of NULL user_key_payload
  regulator: fan53555: fix I2C device ids
  ipsec: Fix aborted xfrm policy dump crash
  cfg80211: fix connect/disconnect edge cases
  can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
  can: kvaser_usb: Correct return value in printout
  can: sun4i: fix loopback mode
  drm/powerplay: fix uninitialized variable
  scsi: sg: Re-fix off by one in sg_fill_request_table()
  scsi: zfcp: fix erp_action use-before-initialize in REC action trace
  assoc_array: Fix a buggy node-splitting case
  Input: gtco - fix potential out-of-bound access
  Input: elan_i2c - add ELAN0611 to the ACPI table
  xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
  fuse: fix READDIRPLUS skipping an entry
  spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
  spi: uapi: spidev: add missing ioctl header
  KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
  usb: xhci: Handle error condition in xhci_stop_device()
  ceph: unlock dangling spinlock in try_flush_caps()
  ALSA: hda - fix headset mic problem for machines with alc236
  ALSA: hda/realtek - Add support for ALC236/ALC3204
  workqueue: replace pool->manager_arb mutex with a flag
  ARM: dts: msm: Add audio device tree overlays for HDK845
  mmc: sdhci-msm: flush mmc detect work asynchronously.
  ARM: dts: msm: Enable HS UART instance on QVR845
  pinctrl: qcom: Update Direct connect mapping for GPIO31/41/49/89
  drm/msm/dsi-staging: fix ESD check scheduling sequence
  msm: kgsl: Print Vulkan memory types as well
  USB: dwc3-msm: Protect enabling phy irqs with mutex
  drm/msm/dp: add HDR support to DisplayPort panel
  drivers: thermal: cpu_cooling: Allow core online during resume
  ARM: dts: msm: Add RPMH nodes for sdxpoorwills target
  soc: qcom: Fix compilation issues with power drivers
  drivers: mailbox: retry message submission
  ARM: dts: msm: switch 2k landscape sim panel to portrait mode on sdm845
  sched: Honor schedtune.prefer_idle flag
  net/embms-kernel : EMBMS Tunneling Module
  ARM: dts: msm: Add ICE node for SDM670
  diag: Remove AXI prefetch related padding
  drm/msm/dsi-staging: fix ESD check command transfer failure
  mmc: core: add mmc flush detect work.
  Revert "rtc: alarm: Add power-on alarm feature"
  Revert "rtc: alarm: Change wake-up source"
  drm/msm: pass the HDR metadata sent from userspace to sink
  drm/msm: add sink capabilities for HDR support
  ARM: dts: msm: remove configuration of DBU3 vsel gpio for sdm670
  defconfig: msm: Enable weight based blkio cgroup for sdm670
  drm/msm/dsi-staging: make cmd enable/disable functions atomic
  ARM: dts: msm: resolution switch support for sim cmd panel on sdm845
  ARM: dts: msm: Fix UART clock reference for sdxpoorwills
  regulator: qpnp-labibb: add TTW support for pmi8998
  ARM: dts: msm: Add initial sda845 v2.1 DT files
  drm/msm/sde: reject partial updates during modeset
  ARM: dts: msm: Add GSI DMA channels for I2C instances on sdm670
  ARM: dts: msm: update quinary mi2s dai id for sdm670
  diag: Flush mdlog table entries while reallocation of data buffer
  defconfig: arm: msm: Enable memshare config flag
  msm: kgsl: Correct GBIF perf counter registers config
  ARM: dts: msm: Add audio support for qcs605
  ARM: dts: msm: adjust LUT safe levels for sdm670
  ARM: dts: msm: Fix the wrongly configured CTIs on sdm670
  drm/msm/sde: print timeline status information for fence_timeout
  msm: vidc: Queue buffers based on client buffer type
  drivers: thermal: Skip cpu notifier registration for platform devices
  PM / devfreq: bw_hwmon: Delete "low power mode" feature
  msm: vidc: kill session without acquiring lock
  msm: vidc: Ensure firmware released all buffers in error case
  FROMLIST: android: binder: Fix null ptr dereference in debug msg
  FROMLIST: android: binder: Change binder_shrinker to static
  msm: ipa: Add support for UL Firewall
  msm: ipa: Add support for per client lan statistics
  msm: vidc: Set instance state to invalid upon error
  msm: ipa: Add support for per client statistics and UL firewall
  serial: msm_geni_serial: Remove remaining power votes at shutdown
  Netfilter: IRC: Copy nickname to proper address
  net: netfilter: IRC DCC for private clients
  ARM: dts: msm: update cd gpio of SD card for SDA845 V2 HDK
  msm: vidc: Add memory barrier after queue header update
  drm/msm/dp: invoke device tree parser on probe
  dwc3-msm: Flush sm_work with dwc3_restart_usb_host_mode() API
  serial: msm_geni_serial: Vote resources even if power framework is disabled
  defconfig: sdm670: Enable panic on EDAC correctable errors
  Linux 4.9.59
  FS-Cache: fix dereference of NULL user_key_payload
  KEYS: Fix race between updating and finding a negative key
  fscrypt: fix dereference of NULL user_key_payload
  xfs: trim writepage mapping to within eof
  xfs: cancel dirty pages on invalidation
  xfs: handle error if xfs_btree_get_bufs fails
  xfs: reinit btree pointer on attr tree inactivation walk
  xfs: don't change inode mode if ACL update fails
  xfs: move more RT specific code under CONFIG_XFS_RT
  xfs: Don't log uninitialised fields in inode structures
  xfs: handle racy AIO in xfs_reflink_end_cow
  xfs: always swap the cow forks when swapping extents
  xfs: Capture state of the right inode in xfs_iflush_done
  xfs: perag initialization should only touch m_ag_max_usable for AG 0
  xfs: update i_size after unwritten conversion in dio completion
  xfs: report zeroed or not correctly in xfs_zero_range()
  fs/xfs: Use %pS printk format for direct addresses
  xfs: evict CoW fork extents when performing finsert/fcollapse
  xfs: don't unconditionally clear the reflink flag on zero-block files
  vmbus: fix missing signaling in hv_signal_on_read()
  pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
  KEYS: don't let add_key() update an uninstantiated key
  lib/digsig: fix dereference of NULL user_key_payload
  KEYS: encrypted: fix dereference of NULL user_key_payload
  x86/microcode/intel: Disable late loading on model 79
  rtlwifi: rtl8821ae: Fix connection lost problem
  clockevents/drivers/cs5535: Improve resilience to spurious interrupts
  bus: mbus: fix window size calculation for 4GB windows
  brcmsmac: make some local variables 'static const' to reduce stack size
  brcmfmac: Add check for short event packets
  i2c: piix4: Fix SMBus port selection for Family 17h chips
  i2c: ismt: Separate I2C block read from SMBus block read
  ALSA: hda: Abort capability probe at invalid register read
  ALSA: hda: Remove superfluous '-' added by printk conversion
  ALSA: seq: Enable 'use' locking in all configurations
  drm/nouveau/mmu: flush tlbs before deleting page tables
  drm/nouveau/bsp/g92: disable by default
  can: esd_usb2: Fix can_dlc value for received RTR, frames
  xhci: Identify USB 3.1 capable hosts by their port protocol capability
  usb: musb: Check for host-mode using is_host_active() on reset interrupt
  usb: musb: sunxi: Explicitly release USB PHY on exit
  iio: dummy: events: Add missing break
  parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
  can: gs_usb: fix busy loop if no more TX context is available
  ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
  usb: hub: Allow reset retry for USB2 devices on connect bounce
  usb: quirks: add quirk for WORLDE MINI MIDI keyboard
  usb: cdc_acm: Add quirk for Elatec TWN3
  USB: serial: metro-usb: add MS7820 device id
  USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
  USB: devio: Revert "USB: devio: Don't corrupt user memory"
  ARM: dts: msm: enable DisplayPort for SDM845 QRD
  drm/msm/dsi-staging: enable DSI command DMA scheduling
  ARM: dts: msm: ADD memshare for sdm845-v2
  msm: kgsl: Optimize HW CGC settings
  defconfig: sdm670: Enable request based  device mapper
  diag: Update the read buffers status properly
  drm/msm/sde: Change error code type when crtc is not attached
  of_batterydata: add snapshot of DT bindings documentation for batterydata
  msm: kgsl: Prevent repeated FENCE stuck errors
  usb: pd: avoid out-of-bounds access when reading PDOs
  ARM: dts: msm: change qseecom region from cma to carveout on sdm670
  qcom-cpufreq: Remove superfluous NULL check for policy->freq_table
  qcom-cpufreq: Cache the resolved frequency index
  qcom-cpufreq: Implement resolve_freq method
  ARM: dts: msm: Add GPU power level speed bins for SDM670
  msm: kgsl: Add efuse read capabilities for A615 GPU
  Revert "msm: kgsl: Disable IFPC on Adreno A630"
  msm: kgsl: Update the dispatcher timer properly
  ARM: dts: msm: set qcom,guard-memory property for rmtfs on sdm670
  regulator: mem-acc: Add range check based override fuse version map
  msm: kgsl: Move SET_MARKER to after CACHE_FLUSH_TS
  defconfig: msm: Enable thermal drivers
  wil6210: add platform capabilities bitmap
  ASoC: handle mutex correctly to avoid possible deadlock
  drm/msm/dsi-staging: fix bad pointer dereference in dsi_ctrl_get
  iommu: arm-smmu: Add smmu init latency measurement
  msm: kgsl: Return supported page size based on available memory pools
  softirq: defer softirq processing to ksoftirqd if CPU is busy with RT

Change-Id: I9a074e7d8cc7c29ef40a2c31db14e42831312c07
Signed-off-by: default avatarAbhijit Trivedi <abhijitt@codeaurora.org>
parents 4a7050a7 6bf4cf1b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ Required properties:
-label : the name of the subsystem this link connects to

Optional properties:
-cpu-affinity: Cores to pin the interrupt and receiving work thread to.
-qcom,qos-config: Reference to the qos configuration elements.It depends on
		ramp-time.
-qcom,ramp-time: Worst case time in microseconds to transition to this power
@@ -36,6 +37,7 @@ Example:
		qcom,irq-mask = <0x1000>;
		interrupts = <0 25 1>;
		label = "lpass";
		cpu-affinity = <1 2>;
		qcom,qos-config = <&glink_qos_adsp>;
		qcom,ramp-time = <0x10>,
				     <0x20>,
+6 −0
Original line number Diff line number Diff line
@@ -107,6 +107,9 @@ SoCs:
- MSM8953
  compatible = "qcom,msm8953"

- SDM450
  compatible = "qcom,sdm450"

- MSM8937
  compatible = "qcom,msm8937"

@@ -310,6 +313,9 @@ compatible = "qcom,msm8953-cdp"
compatible = "qcom,msm8953-mtp"
compatible = "qcom,msm8953-qrd"
compatible = "qcom,msm8953-qrd-sku3"
compatible = "qcom,sdm450-mtp"
compatible = "qcom,sdm450-cdp"
compatible = "qcom,sdm450-qrd"
compatible = "qcom,mdm9640-cdp"
compatible = "qcom,mdm9640-mtp"
compatible = "qcom,mdm9640-rumi"
+268 −0
Original line number Diff line number Diff line
Battery Profile Data

Battery Data is a collection of battery profile data made available to
the QPNP Charger and BMS drivers via device tree.

qcom,battery-data node required properties:
- qcom,rpull-up-kohm : The vadc pullup resistor's resistance value in kOhms.
- qcom,vref-batt-therm-uv : The vadc voltage used to make readings.
			For Qualcomm Technologies, Inc. VADCs, this should be
			1800000uV.

qcom,battery-data node optional properties:
- qcom,batt-id-range-pct : The area of variation between upper and lower bound
			for which a given battery ID resistance is valid. This
			value is expressed as a percentage of the specified kohm
			resistance provided by qcom,batt-id-kohm.

qcom,battery-data can also include any number of children nodes. These children
nodes will be treated as battery profile data nodes.

Profile data node required properties:
- qcom,fcc-mah : Full charge count of the battery in milliamp-hours
- qcom,default-rbatt-mohm : The nominal battery resistance value
- qcom,rbatt-capacitive-mohm : The capacitive resistance of the battery.
- qcom,flat-ocv-threshold-uv : The threshold under which the battery can be
			considered to be in the flat portion of the discharge
			curve.
- qcom,max-voltage-uv : The maximum rated voltage of the battery
- qcom,v-cutoff-uv : The cutoff voltage of the battery at which the device
			should shutdown gracefully.
- qcom,chg-term-ua : The termination charging current of the battery.
- qcom,batt-id-kohm : The battery id resistance of the battery. It can be
			used as an array which could support multiple IDs for one battery
			module when the ID resistance of some battery modules goes across
			several ranges.
- qcom,battery-type : A string indicating the type of battery.
- qcom,fg-profile-data : An array of hexadecimal values used to configure more
			complex fuel gauge peripherals which have a large amount
			of coefficients used in hardware state machines and thus
			influencing the final output of the state of charge read
			by software.

Profile data node optional properties:
- qcom,chg-rslow-comp-c1 : A constant for rslow compensation in the fuel gauge.
			This will be provided by the profiling tool for
			additional fuel gauge accuracy during charging.
- qcom,chg-rslow-comp-c2 : A constant for rslow compensation in the fuel gauge.
			This will be provided by the profiling tool for
			additional fuel gauge accuracy during charging.
- qcom,chg-rslow-comp-thr : A constant for rslow compensation in the fuel gauge.
			This will be provided by the profiling tool for
			additional fuel gauge accuracy during charging.
- qcom,chg-rs-to-rslow: A constant for rslow compensation in the fuel gauge.
			This will be provided by the profiling tool for
			additional fuel gauge accuracy during charging.
- qcom,fastchg-current-ma: Specifies the maximum fastcharge current.
- qcom,fg-cc-cv-threshold-mv: Voltage threshold in mV for transition from constant
			charge (CC) to constant voltage (CV). This value should
			be 10 mV less than the float voltage.
			This property should only be specified if
			"qcom,autoadjust-vfloat" property is specified in the
			charger driver to ensure a proper operation.
- qcom,thermal-coefficients: Byte array of thermal coefficients for reading
			battery thermistor. This should be exactly 6 bytes
			in length.
			Example: [01 02 03 04 05 06]
- 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
			"qcom,step-chg-ranges" tuples should be assigned as
			SoC values in percentage.
- qcom,step-chg-ranges: Array of tuples in which a tuple describes a range
			data of step charging setting.
			A range contains following 3 integer elements:
			[0]: the low threshold of battery votlage in uV
			     or SoC (State of Charge) in percentage when
			     SoC based step charge is used;
			[1]: the high threshold of battery voltage in uV
			     or SoC in percentage when SoC based step charge
			     is used;
			[2]: the FCC (full charging current) in uA when battery
			     voltage or SoC falls between the low and high
			     thresholds.
			The threshold values in range should be in ascending
			and shouldn't overlap. It support 8 ranges at max.
- qcom,jeita-fcc-ranges: Array of tuples in which a tuple describes a range
			data of sw-jeita FCC (full charging current) setting.
			A range contains following 3 integer elements:
			[0]: the low threshold of battery temperature in deci-degree;
			[1]: the high threshold of battery temperature in deci-degree;
			[2]: the FCC in uA when battery temperature falls between
			     the low and high thresholds.
			The threshold values in range should be in ascending
			and shouldn't overlap. It support 8 ranges at max.
- qcom,jeita-fv-ranges: Array of tuples in which a tuple describes a range
			data of sw-jeita FV (float voltage) setting.
			A range contains following 3 integer elements:
			[0]: the low threshold of battery temperature in deci-degree;
			[1]: the high threshold of battery temperature in deci-degree;
			[3]: the FV in uV when battery temperature falls between
			     the low and high thresholds.
			The threshold values in range should be in ascending
			and shouldn't overlap. It support 8 ranges at max.

Profile data node required subnodes:
- qcom,fcc-temp-lut : An 1-dimensional lookup table node that encodes
			temperature to fcc lookup. The units for this lookup
			table should be degrees celsius to milliamp-hours.
- qcom,pc-temp-ocv-lut : A 2-dimensional lookup table node that encodes
			temperature and percent charge to open circuit voltage
			lookup. The units for this lookup table should be
			degrees celsius and percent to millivolts.
- qcom,rbatt-sf-lut : A 2-dimentional lookup table node that encodes
			temperature and percent charge to battery internal
			resistance lookup. The units for this lookup table
			should be degrees celsius and percent to milliohms.

Profile data node optional subnodes:
- qcom,ibat-acc-luit: A 2-dimentional lookup table that encodes temperature
			and battery current to battery ACC (apparent charge
			capacity). The units for this lookup table should be
			temperature in degrees celsius, ibat in milli-amps
			and ACC in milli-ampere-hour.

Lookup table required properties:
- qcom,lut-col-legend : An array that encodes the legend of the lookup table's
			columns. The length of this array will determine the
			lookup table's width.
- qcom,lut-data : An array that encodes the lookup table's data. The size of this
			array should be equal to the size of qcom,lut-col-legend
			multiplied by 1 if it's a 1-dimensional table, or
			the size of qcom,lut-row-legend if it's a 2-dimensional
			table. The data should be in a flattened row-major
			representation.

Lookup table optional properties:
- qcom,lut-row-legend : An array that encodes the legend of the lookup table's rows.
			If this property exists, then it is assumed that the
			lookup table is a 2-dimensional table.

Example:

In msm8974-mtp.dtsi:

mtp_batterydata: qcom,battery-data {
	qcom,rpull-up-kohm = <100>;
	qcom,vref-batt-therm-uv = <1800000>;

	/include/ "batterydata-palladium.dtsi"
	/include/ "batterydata-mtp-3000mah.dtsi"
};

&pm8941_bms {
	qcom,battery-data = <&mtp_batterydata>;
};

In batterydata-palladium.dtsi:

qcom,palladium-batterydata {
	qcom,fcc-mah = <1500>;
	qcom,default-rbatt-mohm = <236>;
	qcom,rbatt-capacitive-mohm = <50>;
	qcom,flat-ocv-threshold-uv = <3800000>;
	qcom,max-voltage-uv = <4200000>;
	qcom,v-cutoff-uv = <3400000>;
	qcom,chg-term-ua = <100000>;
	qcom,batt-id-kohm = <75>;
	qcom,step-chg-ranges = <3600000 4000000 3000000
				4001000 4200000 2800000
				4201000 4400000 2000000>;
	qcom,jeita-fcc-ranges = <0      100     600000
				 101    200     2000000
				 201    450     3000000
				 451    550     600000>;
	qcom,jeita-fv-ranges = <0      100     4200000
				101    450     4350000
				451    550     4200000>;
	qcom,battery-type = "palladium_1500mah";

	qcom,fcc-temp-lut {
		qcom,lut-col-legend = <(-20) 0 25 40 65>;
		qcom,lut-data = <1492 1492 1493 1483 1502>;
	};

	qcom,pc-temp-ocv-lut {
		qcom,lut-col-legend = <(-20) 0 25 40 65>;
		qcom,lut-row-legend = <100 95 90 85 80 75 70>,
				<65 60 55 50 45 40 35>,
				<30 25 20 15 10 9 8>,
				<7 6 5 4 3 2 1 0>;
		qcom,lut-data = <4173 4167 4163 4156 4154>,
			<4104 4107 4108 4102 4104>,
			<4057 4072 4069 4061 4060>,
			<3973 4009 4019 4016 4020>,
			<3932 3959 3981 3982 3983>,
			<3899 3928 3954 3950 3950>,
			<3868 3895 3925 3921 3920>,
			<3837 3866 3898 3894 3892>,
			<3812 3841 3853 3856 3862>,
			<3794 3818 3825 3823 3822>,
			<3780 3799 3804 3804 3803>,
			<3768 3787 3790 3788 3788>,
			<3757 3779 3778 3775 3776>,
			<3747 3772 3771 3766 3765>,
			<3736 3763 3766 3760 3746>,
			<3725 3749 3756 3747 3729>,
			<3714 3718 3734 3724 3706>,
			<3701 3703 3696 3689 3668>,
			<3675 3695 3682 3675 3662>,
			<3670 3691 3680 3673 3661>,
			<3661 3686 3679 3672 3656>,
			<3649 3680 3676 3669 3641>,
			<3633 3669 3667 3655 3606>,
			<3610 3647 3640 3620 3560>,
			<3580 3607 3596 3572 3501>,
			<3533 3548 3537 3512 3425>,
			<3457 3468 3459 3429 3324>,
			<3328 3348 3340 3297 3172>,
			<3000 3000 3000 3000 3000>;
	};

	qcom,rbatt-sf-lut {
		qcom,lut-col-legend = <(-20) 0 25 40 65>;
		qcom,lut-row-legend = <100 95 90 85 80 75 70>,
				<65 60 55 50 45 40 35>,
				<30 25 20 15 10 9 8>,
				<7 6 5 4 3 2 1 0>;
		qcom,lut-data = <357 187 100 91 91>,
			<400 208 105 94 94>,
			<390 204 106 95 96>,
			<391 201 108 98 98>,
			<391 202 110 98 100>,
			<390 200 110 99 102>,
			<389 200 110 99 102>,
			<393 202 101 93 100>,
			<407 205 99 89 94>,
			<428 208 100 91 96>,
			<455 212 102 92 98>,
			<495 220 104 93 101>,
			<561 232 107 95 102>,
			<634 245 112 98 98>,
			<714 258 114 98 98>,
			<791 266 114 97 100>,
			<871 289 108 95 97>,
			<973 340 124 108 105>,
			<489 241 109 96 99>,
			<511 246 110 96 99>,
			<534 252 111 95 98>,
			<579 263 112 96 96>,
			<636 276 111 95 97>,
			<730 294 109 96 99>,
			<868 328 112 98 104>,
			<1089 374 119 101 115>,
			<1559 457 128 105 213>,
			<12886 1026 637 422 3269>,
			<170899 127211 98968 88907 77102>;
	};

	qcom,ibat-acc-lut {
		qcom,lut-col-legend = <(-20) 0 25>;
		qcom,lut-row-legend = <0 250 500 1000>;
		qcom,lut-data = <1470 1470 1473>,
				<1406 1406 1430>,
				<1247 1247 1414>,
				<764 764 1338>;
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ arm-memlat-mon is a device that represents the use of the PMU in ARM cores
to measure the parameters for latency driven memory access patterns.

Required properties:
- compatible:			Must be "qcom,arm-memlat-mon"
- compatible:			Must be "qcom,arm-memlat-mon" or "qcom,arm-cpu-mon"
- qcom,cpulist:			List of CPU phandles to be monitored in a cluster
- qcom,target-dev:		The DT device that corresponds to this master port
- qcom,core-dev-table:		A mapping table of core frequency to a required bandwidth vote at the
+6 −0
Original line number Diff line number Diff line
@@ -125,6 +125,11 @@ Optional properties:
				configuration value.
- qcom,sde-ubwc-swizzle:	Property to specify the default UBWC swizzle
				configuration value.
- qcom,sde-smart-panel-align-mode: A u32 property to specify the align mode for
				split display on smart panel. Possible values:
				0x0 - no alignment
				0xc - align at start of frame
				0xd - align at start of line
- qcom,sde-panic-per-pipe:	Boolean property to indicate if panic signal
				control feature is available on each source pipe.
- qcom,sde-has-src-split:	Boolean property to indicate if source split
@@ -535,6 +540,7 @@ Example:
    qcom,sde-ubwc-version = <0x100>;
    qcom,sde-ubwc-static = <0x100>;
    qcom,sde-ubwc-swizzle = <0>;
    qcom,sde-smart-panel-align-mode = <0xd>;
    qcom,sde-panic-per-pipe;
    qcom,sde-has-src-split;
    qcom,sde-has-dim-layer;
Loading