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

Commit 7a7609c7 authored by Abhijit Trivedi's avatar Abhijit Trivedi
Browse files

DOWNSTREAM: Merge commit '38ef2dbc' - AU331 onto topic - 01/12/18



* commit '38ef2dbc':
  soc: qcom: dccv2: Add sanity checks to make sure we have a valid list
  usb: defconfig: Enable USB related function drivers on msm8953
  msm: ipa: Fix to validate the user inputs
  defconfig: add config options for slave side protection on msm8953
  spcom: cleanup stale rx data when channel is closed
  mm, oom_reaper: fix memory corruption
  Revert "defconfig: sdm670: enable memory cgroup"
  ARM: dts: msm: Use carve out memory to load IPA firmware for sdm845
  ARM: dts: msm: add ion heaps for msm8953
  ARM: dts: msm: add iommu device support for msm8953
  ARM: dts: msm: Enable security drivers for SDM450 and MSM8953
  ion: add support for secure dma allocations
  ARM: dts: msm: Add NX30P6093 device node for sdm670
  usb: phy: msm: Fix compilation issues
  usb: phy: msm: Remove USB power_supply
  usb: phy: msm: Use EXTCON framework for VBUS and ID detection
  usb: phy: msm: Expose DP/DM operations as a regulator
  usb: phy: Add snapshot of PHY msm usb driver
  soc: qcom: pil: get crypto cell-id through device tree
  ARM: dts: msm: Add qcom,mas-crypto property to get crypto cell-id
  ARM: dts: msm: add Reddragon 360camera overlay dts
  dmaengine: gpi: increase cmd completion timeout for de mode
  msm: ipa: Fix tip compile issue
  msm: ipa3: Fix to use after free issue
  ARM: dts: msm: Add support for WLAN FW error fatal on sdm845
  defconfig: Enable typeC support for msm8953
  power: supply: qcom: make qpnp-typec driver msm-4.9 compatible
  iommu/arm-smmu: add option to enable halt/resume of SMMU
  iommu/arm-smmu: Add support for slave side protection
  platform: qpnp-revid: Add REVID support for PMI632
  nvmem: qcom-spmi-sdam: Add support for SPMI SDAM
  msm: ipa3: Fix IPA active clients log error handling at ipa init
  msm: ipa: Fix the handling of default IPA header
  ARM: dts: msm: Enable IPA_V2 for kernel 4.9 porting in sdm450
  leds: leds-qpnp: Always configure PWM period in qpnp_rgb_set
  drm/msm/sde: update rotate flush determination
  drm/msm/sde: flush recovery commit while in reset
  power: qpnp-fg-gen3: Adjust recharge SOC after early termination
  bt: Unset multi channel bit for 44.1/88.2Khz A2DP Rx
  iommu/arm-smmu: add option to enable static context bank allocation
  ARM: dts: msm: resolution switch support for sim cmd panel on sdm670
  defconfig: enable moisture detection driver for sdm670
  power: supply: add NX30P6093 moisture detection driver
  power: supply: qpnp-smb2: add support to disable power role switch
  power: power_supply: add property for moisture detection
  defconfig: Enable ARCH_SDM632 support
  msm: Add initial support for sdm632 Kconfig platform
  udc: core: Fix use after free issue
  msm: ipa2: V2 SDM450 kernel 4.9 porting
  msm: ipa: support L+L scenarios
  qseecom: change to use QSECOM_TA heap to load TA
  msm: ipa2: SDM450 IOMMU changes for IPA V2 kernel 4.9 porting
  drivers: mailbox: rpmh: update rpmh send message trace
  ARM: dts: msm: Add crypto device nodes for sdm450
  ARM: dts: msm: Enable QRNG driver for sdm450
  ARM: dts: msm: Enable TZ-log driver for SDM450
  ARM: dts: msm: Enable QSEECOM driver for SDM450
  ARM: dts: msm: Add UFS's Vcc voltage level entry for SDM845 QVR platform
  drm/msm/sde: Add support for AD4 BL scale calculate
  ARM: dts: msm: Add support for wcnss PIL on msm8953
  usb: gadget: Fix ci13xxx compilation issues
  usb: gadget: Add snapshot of ChipIdea controller gadget driver
  ARM: dts: msm: Enable tavil i2c mode on sdxpoorwills
  ARM: dts: msm: Add support for Lpass PIL on msm8953
  Revert "msm: kgsl: Enable A6XX preemption through sysfs"
  msm: kgsl: Restrict preemption enablement through sysfs
  ARM: dts: msm: Add support for I2C, SPI and UART on SDM450
  power: fg-memif: Wait before polling MEM_GNT first time
  msm: ipa4: IPA PM clk scaling de log change
  clk: qcom: gcc-sdxpoorwills: Update EMAC RCG frequencies table
  defconfig: sdxpoorwills: Enable fast and lazy iommu mappings
  defconfig: sdxpoorwills: Enable SMMU driver for sdxpoorwills
  ARM: dts: msm: Add device tree to support SMMU for sdxpoorwills
  qcom: battery: add support to detect USB removal
  qcom: battery: update ICL split logic
  soc: qcom: Port rpm stats drivers from 4.4 to 4.9 kernel
  ARM: dts: msm: Add euro usbc support for sdm670 internal codec
  msm: rndis_ipa: fix header length calculation
  defconfig: sdm670: Enable Minidump collection support
  soc: qcom: update ss structure for alignment support minidump
  drm/msm/dp: add check for memory overflow while reading EDID modes
  ARM: defconfig: msm8953: Add coresight config support
  ARM: dts: msm: Add IPA dtsi entries for SDM450
  ARM: dts: msm: Add coresight device tree support for msm8953
  ARM: dts: msm: Remove adsp ion heap 22 for SDM670
  qcom: battery: update FCC split policy
  qcom: smb1355: support usbin-usbin parallel configuration
  qcom: smb138x/smb1351: add support to expose BATFET configuration
  power_supply: add POWER_SUPPLY_PROP_(BATFET_MODE/MIN_CIL) properties
  ARM: dts: msm: Enable sdhc1 and sdhc2 for msm8953
  defconfig: sdm845: Enable kernel AIO support
  defconfig: sdm670: Enable kernel AIO support
  diag: Proper update of logging mode
  drm/msm/sde: fix blob memory leak during mode set
  ARM: dts: msm: fix modem funnel configuration on sdm670
  drm/msm/sde: fix incorrect mixer height seen in dump
  ARM: dts: msm: Update to latest memory map for sdm845
  i2c: i2c-qcom-geni: Modify the bus vote for Core clocks
  drm/msm/sde: add check for interrupt while disabling auto-refresh
  icnss: Do not send uevent when driver is unloading
  drm/msm/sde: fix user blob memory leak
  msm: ipa: Change error value for set quota
  power: qpnp-typec: Add snapshot of qpnp-typec driver
  drm/msm/dp: send VDM_CONFIGURE event to USB driver when needed
  ARM: dts: msm: Add support for euro headset for sdm670
  ARM: dts: msm: Add support for USB device for msm8953
  ARM: dts: msm: Enable ro.boot.avb_version in sdm670
  ARM: dts: msm: Add msm cpufreq node for msm8953
  ARM: dts: msm: Add clock information for serial node in msm8953
  usb: dwc3: Fix incorrect ep0 state on reset
  usb: gadget: f_fs: Do not match when function do not bind
  ARM: dts: msm: add improveTouch device for sda845 v2 hdk
  msm: ipa: Fix to use GFP_DMA flag
  ARM: dts: msm: Do not use LPM prediction for sdm670
  usb: gadget: Add snapshot of USB RMNET Function driver
  defconfig: msm8953: Enable bus scaling for msm8953
  msm: msm_bus: Clean up the bus scaling driver
  defconfig: msm8953: Enable SPDM for msm8953
  ARM: dts: msm: Add snapshot of bus topology for msm8953
  devfreq: spdm: Add snapshot of devfreq-spdm driver
  msm: ipa: Remove unwanted gsi de register reads
  hbtp-input : fix L13A electric leakage issue
  mm: throttle show_mem() from warn_alloc()
  icnss: Add support for force error fatal from WLAN FW
  drm/msm/sde: fix refcount issue with ctl start cnt
  thermal: qpnp-adc-tm: Fix aborting suspend
  msm: kgsl: Add function to check internal commands
  msm: ipa: fix IPC low priority logging
  drm/msm/sde: add check for SDE_SSPP_RECT_SOLO in CDP & TS
  msm: kgsl: Remove active count get/put for secure context mappings
  usb: f_gsi: Use gadget->dev.parent->parent instead of gadget->dev.parent
  pinctrl: qcom: spmi-gpio: Fix a in pmic_gpio_config_set
  pinctrl: qcom: spmi-gpio: add support to enable/disable output
  net: rmnet_data: Use hrtimer for UL aggregation timer
  msm: sde: force offline rotation during hw resets
  usb: defconfig: Enable USB HOST drivers on msm8953
  qcom: smb1351: Fix compilation warning
  scsi: ufs: Fix compilation error in ufs cmd logging
  msm: kgsl: Add GPU_UCHE_GBIF_GX_CONFIG to powerup register list
  scsi: ufs: Avoid deadlock in suspend and eeh_work
  Netfilter: Fixes for NATTYPE module compilation
  usb: phy: msm: Rename phy-msm-usb.c to phy-msm-qcom.c
  drm/msm/sde: Change error log to info when device suspend
  msm: kgsl: Dump GPU_UCHE_GBIF_GX_CONFIG register in snapshot
  ARM: dts: msm: Modify UART pins configurations SDM670
  drm/msm/sde: correct HW config width in color processing
  Revert "soc: qcom: dcc_v2: Disable DCC on secure devices"
  clk: qcom: gcc-sdxpoorwills: remove gcc_mss_snoc_axi_clk
  ARM: dts: msm: Add GDSC, GCC and CPU nodes for msm8953
  clk: msm: clock-cpu: Add snapshot of CPU driver
  clk: msm: gcc: Add snapshot of GCC driver
  arm64: Kconfig: Add support for COMMON_CLK_MSM clock framework
  clk: msm: Add snapshot of clock framework files
  ARM: dts: msm: Add device tree to support ION for sdxpoorwills
  drm/msm: set bus_sel for vig de bus dump
  pinctrl: generic: Add output-enable property
  arm: dma-mapping: Fix broken iommu attach and detach
  usb: f_gsi: Fix BUG_ON for calling sleeping function in invalid context
  msm: ipa4: Fix teth_bridge disconnect method with the pm
  defconfig: arm: Enable msm-cpufreq for sdxpoorwills
  drm/msm : Unreference after using drm find object
  arm64: Kconfig: Add support to select COMMON_CLK clock framework
  defconfig: msm: Disable QCOM MDSS PLL driver for MSM8953
  ARM: dts: msm: fix sharp nt35597 phy timings for sdm670
  soc: qcom: sleepstate: Tune suspend and resume delays
  msm: vidc: Limit concurrent VP9 decode sessions
  ARM: dts: msm: Update the energy model for SDM670
  ARM: dts: msm: Add extcon handle to receive charger notification
  ARM: dts: msm: Add SMB1381 DT configuration for sdxpoorwillis
  defconfig: enable extcon support for sdxpoorwills
  power: smb138x: Add otg over current irq handler
  power: smb138x: disable try_sink SW workaround
  power: smb138x: Add REAL_TYPE psy property for usb power_supply
  power: smb138x: enable interrupt sources for usb-src-change irq
  power: smb138x: Add usb main power supply
  msm: kgsl: Enhance preemption traces
  clk: qcom: gcc-sdxpoorwills: change halt check for some PCIe clocks
  msm: ipa4: Ignore newline ending character on ipa write input
  dwc3-msm: Allow USB LPM with data role swap from dfp to ufp
  msm: sde: remove second dump after rotator reset
  msm: vidc: Update step value for bitrate control
  soc: qcom: glink: export symbols used by audio driver
  usb: gadget: Add snapshot of USB RNDIS Function driver
  ARM: dts: msm: Move PDC node for sdm845/sdm670
  msm: kgsl: Add GBIF reset sequence for SDM670 GPU
  ARM: dts: msm: Add GSI channels for SPI serial engines on SDM670
  dwc3-msm: Fix unbalanced IRQ wake disable for non-PDC based USB interrupts
  usb-phy-qusb: powerdown PHY during disconnect to avoid leakage
  USB: qusb: Add support to change TUNEX registers dynamically
  USB: phy-msm-qusb: Fix race conditions during fast PI/PO
  usb: qusb2: De-assert TCSR_QUSB2PHY_CLAMP_DIG_N_1P8 upon boot up
  USB: phy-msm-qusb: Enable autoresume only when device is connected
  usb: phy: qusb2: Enable phy auto-resume
  usb: phy: qusb: Keep LDOs ON during disconnect if PMI voted for it
  QUSB2PHY: Fix leakage current issue during wall charger disconnect
  usb: phy: qusb: Allow support for fused tune2 value correction
  usb: phy: qusb: Make sure QUSB PHY is into proper state
  ARM: dts: msm: Add volume up key configuration for QRD845
  drm/msm: correct dependency of COMMON_CLK
  msm: ipa: register with PM for USB only once
  drivers: power: reset: Do cold reset when doing oem reboot
  msm: ipa4: Mhi test case fix
  ARM: dts: msm: Add bus bandwidth vectors for USB on sdxpoorwills
  msm: kgsl: Limit the maximum number of contexts
  msm: kgsl: Increase memstore size
  drm/msm/sde: update 1.8G BW vote during cont-splash
  drm/msm/sde: avoid connector pre_kickoff from disable
  ARM: dts: msm: change LDO regulator HPM current threshold for sdm845 BT
  msm: ipa3: Fix to maintain correct active count
  ARM: dts: msm: Add thermal zone nodes on sdxpoorwills
  drm/msm: defs interface for sde connector to transfer cmds
  soc: qcom: dcc: Add snapshot of qcom-dcc driver
  drm/msm/sde: fix ESD check scheduling issue
  coresight: dbgui: Add snapshot of Coresight deUI driver
  ARM: dts: msm: Update VADC nodes for pm8953
  Documentation: bindings: Add node details for VB
  lowmemorykiller: fix scan_mutex contention
  serial: msm_geni_serial: set unmapped rx dma buffer to NULL
  ARM: dts: msm: Change the ldo load value for sdhc1 & sdhc2 in sdm670
  ARM: dts: msm: add entry to enable input suspend on de battery
  defconfig: arm: Enable DEV_BW to keep PCNOC/SNOC alive
  ARM: dts: msm: Enable RPMH mboxes for sdxpoorwills
  msm: ipa4: Fix client->state check in deactivate_all_deferred
  drm/msm: use dump all option for smmu fault handler
  ARM: dts: msm: disable dynamic FPS feature for SDM845
  drm/msm/sde: avoid reprogramming display pipeline with continuous splash
  drm/msm/sde: populate drm modes before mode set in continuous splash
  drm/msm/sde: enable one to one map on smmu
  arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
  arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
  ARM: dts: msm: Update threshold frequencies for MX voting on sdm670
  ARM: dts: msm: Update Temperature sensor support for MSM8953
  thermal: tsens: Add MTC and sysfs support for sensors
  msm: ipa4: add VLAN mode to rndis_ipa and ecm_ipa
  ARM: config: Enable MMC related configs for msm8953
  ARM: dts: msm: Add pmic support for QCS605
  dwc3: msm: Overwrite return value of pm_runtime_suspend() if > 0
  drm/msm/dsi-staging: add vote for ldo1 from dsi phy
  bindings: regulator: rpm-smd-regulator.txt: Fix file tagline
  drm/msm/sde: fix mdp clk under vote in dp
  ARM: dts: msm: Update PS_HOLD and TCSR offset for sdxpoorwills
  usb: gadget: Select RNDIS over ethernet as default class
  usb: gadget: Add support for different rndis usbif class codes
  usb: phy-msm-ssusb-qmp: Add support for USB_PHY_TYPE_USB3_OR_DP
  msm: ipa4: fix deadlock on suspend pipes
  soc: qcom: glink: smem: Add wmb between data and write index
  msm: ipa4: add support for svs2 for pm
  defconfig: Enable AOP cooling device for sdxpoorwills
  drm/msm: add event log on core clock enable and disable
  ARM: dts: msm: Add support for new Qseecom_ta ion heap for sdm845
  ion: msm_ion: Add support for new Qseecom_ta ion heap
  iommu: arm-smmu: Update safe errata sequence
  drm/msm/sde: add sysfs for vsync_event
  ARM: dts: msm: Add cpufreq support for sdxpoorwills
  drm/msm/sde: set rotator fetch even if prog fetch is zero
  msm: kgsl: Disable LM for A630
  ARM: dts: msm: Use wlan carveout region for SDM670
  ARM: dts: msm: update PMIC LDO regulator voltage limits for sdxpoorwills
  msm: ADSPRPC: Update map virtual address
  msm: ADSPRPC: use access_ok to validate pointers
  msm: adsprpc: Use unsigned integer for length values
  scsi: ufs: Increase crypto thread priority
  ARM: dts: msm: Update to memory map v6 for sdm670
  soc: qcom: pil: NULL check before pil_memset_io
  usb: gadget: Add check gadget function bind or not
  qseecom: fix an issue when requested listener svc id does not exist
  bt: Don't set multichannel bit for 44.1/88.2 A2DP Rx
  usb: core: Enable xhci irq after starting controller
  ARM: dts: msm: Update the bcl thresholds for SDM845
  ARM: dts: msm: Update the PMIC die temperature config for PM/PMI8998
  ARM: dts: msm: Add UART support for sdxpoorwills
  ARM: dts: msm: Set start and end MHI event ring ids for sdxpoorwills
  drivers: mailbox: fix race resulting in multiple message submission
  kernel: Fix perf build errors due to uninitialized variables
  ARM: dts: msm: Add voltage restriction config for SDXPoorwills
  msm: kgsl: Disable unused GPU OPP
  drm/msm/dp: avoid duplicate segment/EDID address AUX transactions
  drm/msm/sde: Add HDR support capability of chipset
  dwc3-msm: Notify proper current values in case of floating charger
  drm/msm/dsi-staging: modify dsi interrupt handling
  defconfig: sdm670: Enable config flag for File based Encryption
  drivers: llcc: Add extra check for sct size during get slice call
  USB: policy_engine: Enable VBUS after VCONN before PE_SRC_Startup
  ARM: dts: msm: Change thermal-mitigation levels for QRD670 device
  ARM: dts: msm: update min voltage limit for L19A of sdm670
  defconfig: Enable PMIC and SPMI MFD drivers for msm8953
  defconfig: msm: Enable regulator drivers for msm8953
  ARM: dts: msm: Fix interrupt configuration for PM8953/PMI8950 peripherals
  ARM: dts: msm: Add snapshot of battery profile data for msm8953
  ARM: dts: msm: Add support for TMC ETR streaming on SDM670
  ARM: dts: msm: Add snapshot of PMIC and regulator device tree files
  jbd2: Fix use after free in kjournald2()
  ARM: dts: msm: Add more platform subtypes to sdxpoorwills
  drm/msm/dsi-staging: avoid out of bounds access due to misplaced increment
  ARM: dts: msm: Update QMP interrupt mask for sdxpoorwills
  ARM: dts: msm: Fix DDR width and IP0 BCM name for sdxpoorwills
  msm: kgsl: Move LM HFI after LM initialization
  msm: kgsl: Do LM initialization after GPU is up
  msm: kgsl: Remove the isense enablement function
  Revert "msm: kgsl: Read A6XX non-context registers directly"
  drm/msm/sde: fix race condition causing undervote for bw and clk
  msm: vidc: Split HDR info into different ext controls
  ARM: dts: msm: Add HDR support for dsi 4K panels
  clk: qcom: gcc-sdxpoorwills: add USB/PCIe reference clocks
  drm/msm/gem: add cache flush api in msm_gem
  ARM: dts: msm: Update default lmh dcvsh thermal thresholds for qcs605
  ARM: dts: msm: update thermal zone rule with battery mitigation for sdm670
  msm: ADSPRPC: close glink channel in restart notification
  ARM: dts: msm: Correct the efficiency for sdm450
  regulator: core: fix defs file creation
  ARM: dts: msm: update min voltage limit for L19A of sdm670
  msm_11ad: add Talyn PCIe device support
  ARM: dts: msm: Update the pet time NS WDOG on sdm670
  usb: gadget: gsi: Add wMaxPacketSize for FS IN/OUT EP
  ARM: dts: msm: Add sched energy data for msm8953 and sdm450
  usb: gadget: ffs: Defer freeing memory on free_inst if in use
  ARM: dts: msm: ICP clock failure fix for sdm670
  soc: qcom: pil: Align to SZ_4K by default
  soc: qcom: pil: Reuse carveout region for mdt header
  ARM: dts: msm: Remove unused bus master ports for sdm845
  msm: kgsl: Recover GPU from adreno_stop failure
  drm/msm/sde: add ability to force panic before recovery
  clk: qcom: clk-cpu-osm: Allow listing similar frequencies in LUT
  clk: qcom: clk-cpu-osm: remove CPR revision check from MX supply voting
  power: smb-lib: fix a mutex deadlock issue
  drm/msm/sde: move to idle state before doze_suspend
  mm/cma: fix alloc_contig_range ret code/potential leak
  ARM: dts: msm: Add the hw-trigger flag to the IPE and BPS GDSCs on SDM670
  usb: gadget: f_mtp: Handle OS descriptors properly
  defconfig: msm: Enable Energy Aware Scheduler by default for msm8953
  dwc3: gadget: Ratelimit error message in _dwc3_gadget_ep_queue()
  ASoC: wcd-dsp-mgr: add WDSP signal for de dump
  ARM: dts: msm: Enable DP function for all SDM845 QRD devices
  defconfig: msm: Enable BLSP based I2C and HS-UART driver for SDM450
  defconfig: msm: Enable kaslr randomize base support for MSM8953
  ARM: dts: msm: Add kaslr imem offset node on msm8953
  regulator: spm_regulator: Add snapshot of spm_regulator driver
  regulator: rpm-smd-regulator: Add snapshot of rpm-smd-regulator driver
  usb: dwc3: Fix incorrect PCM value for mult less than 2
  include: Disable compile time boundary check
  kernel: Fix build errors due to uninitialized variables
  usb: host: xhci: Enable pull-down on DP while port reset
  usb: phy-msm-qusb-v2: Add support to control external pull down
  qseecom: resend continue blocked listener request
  ARM: dts: msm: Add regulator cooling devices for SDXpoorwills
  drm/msm/dsi-staging: update dma watermarks with recommended values.
  ion: ensure CMO target is valid
  ARM: dts: msm: Add active-only governor for SNOC/CNOC for sdxpoorwills
  msm: kgsl: Improve GPU snapshot design
  ARM: dts: msm: add ipa to sdxpoorwills
  msm: ipa4: prevent power collapse until uC is loaded
  drm/msm/sde: add power_enable before cleanup of unused planes
  drm/msm/sde: check both the rect's of sDMA before enabling UBWC const alpha
  clk: qcom: Change the init for sdxpoorwills clock drivers to subsys
  cnss: Add support to program MAC address thru defs
  clk: qcom: clk-cpu-osm: remove dummy clock usage to avoid struct corruption
  drm/msm: add 2700 ns delta for sde rsc mode threshold
  usb: dwc3: core: Fix error handling  in driver probe
  ARM: dts: msm: Update QMP phy register offset values for sdxpoorwills
  ARM: dts: msm: Update QMP phy init sequence for sdxpoorwills
  ARM: dts: msm: Add TCSR_USB_PHY_VLS_CLAMP reg offset for sdxpoorwills
  ARM: dts: msm: Add super speed phy reset clocks for sdxpoorwills
  usb: phy: phy-msm-snps-hs: Update vdda18 voltage range
  ARM: dts: msm: Add remote deger device configuration for SDM670
  defconfig: Enable remote deger support for sdm670
  usb: dwc3: Avoid NULL pointer access
  clk: qcom: Reconfigure the APSS RCG during boot
  ARM: dts: msm: Add iommu actlr settings for sdm670
  scsi: ufs: Trigger runtime-idle in a separate work
  ARM: dts: msm: modify drive strength for sdm670 internal codec pdm gpios
  msm: vidc: Update platform data for sdm670
  soc: qcom: pil: Remove null character writing of shared mem
  ANDROID: sdcardfs: Make WARN_RATELIMIT to pr_de
  ARM: dts: msm: Add keep alive bw voter for sdm670
  ARM: dts: msm: add wlan carveout region for sdm670
  defconfig: Enable MSM_SPM support
  ARM: dts: msm: Add device tree support for qcs605 lc variant
  usb: pd: Add support to bail out from pdphy_probe
  msm_11ad: remove clearance of platform data for msm_bus
  msm: vidc: Fix video cores clock rate value
  msm: kgsl: Add GBIF registers and debus details to A6x snapshot dump
  msm: ipa4: endpoint config update
  icnss: Reject driver reinit request when FW is down
  drm/msm/sde: fix register access path during device boot up
  soc: qcom: service-notifier: Fix use after free of clnt_handle
  drm/msm/sde: only enable async inline for command mode
  usb: gadget: f_cdev: Increase number of driver instances to 3
  drm/msm/sde: add sde bus bw ftraces
  drm/msm/sde: fix undervote due to wrong condition check
  msm: sde: reset rotator reset override after dump
  drm/msm/sde: lock mutex before accessing vbif hw
  drm/msm/dsi-staging: add support for non-embedded cmd transfer
  drm/msm/sde: add special handling for post-proc BL properties
  defconfig: msm: Add initial defconfig for msm8953 arm
  techpack: Gitignore all subdirs except stub
  msm: sde: fix compiler uninitialized warning
  msm: ipa3: Fix to set QMB on USB ep
  ARM: dts: msm: QCS605 overlay camera changes
  ARM: dts: msm: Rename sdm845-usb.dtsi to sdm845-670-usb-common.dtsi
  ARM: dts: msm: MicroUSB support on SDM670
  dwc3-msm: Add dynamic detection of USB connector
  defconfig: Enable MSM_RPM_SMD support
  msm: vidc: Add sanity check for resolutions
  perf: Fix event cleanup across CPU hotplugs
  smb1355: Use comparator for die temperature
  msm: clk: qcom: re-program PLL registers to power-on-reset value
  iommu: msm: validate subsequent lazy map arguments
  ARM: dts: msm: Expand the MPSS region on sdxpoorwills
  xhci-plat: Use USB glue driver device as sysdev
  usb: host: Fix passing of core-id property to xhci-plat
  ARM: dts: msm: enable esd feature for 2.5k panel on sdm845
  net: rmnet_data: Go back to worker thread for UL aggregation
  dwc3-msm: Use upstream IOMMU driver based dma_ops() with USB dev
  drm/msm/dsi-staging: allocate memory for cmd dma in esd path
  usb: gadget: f_uvc: Fix incorrect frame indexing
  diag: Enable flushing of mdlog table entries for multi logging mode
  usb: gadget: Disable USB2 LPM Support
  ARM: dts: msm: Add sw-jeita/step-chg setting for Ascent 3450mAh battery
  qcom-cpufreq: Add missing cpufreq registers when use common table
  Kconfig: enable default config of cpu freq qcom for msm8953
  msm: clk: qcom: fix pixel clk divider programming during continuous splash
  msm: ipa4: IPA PM threshold_max fix
  dwc3-msm: Use dma mask related APIs after attaching IOMMU
  bluetooth: Add 44.1/88.2/96 Khz for LDAC
  tty: serial: msm_geni_serial: Handle the Console RX overflow
  tty: serial: msm_geni_serial: Update framework fifo after draining
  tty: serial: msm_geni_serial: Enable IRQ after device becomes active
  ARM: dts: msm: add LDO 6 fixed regulator for pmxpoorwills
  drm/msm/sde: wait for vsync before rsc amc mode
  UPSTREAM: android: binder: fix type mismatch warning
  usb_bam: Enable SPS_BAM_SMMU_EN with BAM device
  msm: sde: add NV21 support for inline rotation
  drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers
  USB: Add functionality to map QDSS BAM address space with USB
  ARM: dts: msm: Switch to v5 memory map on sdxpoorwills
  usb: Use IPA of data fifo with DBM
  usb_bam: Add functionality to update IPA of data and desc FIFO
  drm/msm/sde: trigger connector pre commit during disables
  cpuidle: lpm-levels: Do not predict LPM for isolated cpus
  drivers: soc: Add static attribute for function in header file
  ARM: dts: msm: enable dynamic fps for SDM670 on fhd panel
  drm/msm/sde : cache crtc in sde phys wb encoder
  drm/msm/dsi-staging: add regulator name to error log
  drm/msm/sde: cache crtc in sde encoder
  drm/msm/sde: clear crtc roi if it matches full screen
  drm/msm/sde: reject commits that only update crtc roi
  drm/msm/sde: check cached connectors for partial update caps
  drm/msm: propagate mode private data without mode_config mutex
  diag: Add NULL pointer checks for upd buffer
  ARM: dts: msm: Enable DP function for HDK845
  usb: gadget: f_uvc: Fix on disconnect/connect during streaming
  usb: gadget: f_uac2: Fix sound card registration failure
  usb: dwc3: Avoid processing of TRB if HWO bit is set
  usb: dwc3: Fix frequent bus expiry failures for isoc
  leds: qpnp-flash-v2: Return error code separately during current prediction
  drm/msm/dsi-staging: Add DSI ULPS support during suspend
  defconfig: arm: sdxpoorwills: Enable the RMNET_DATA feature
  drm/msm/sde: persist inline rotate if not updated
  drivers: cpuidle: lpm-levels: Fix untrusted pointer dereference.
  spi: spi-geni-qcom: Initialize clk params to zero in FIFO mode
  drm/msm/dsi-staging: vote for LDO1A coming out of idle timeout
  msm: vidc: Invalidate video encoder output buffer
  msm: kgsl: Fix context initialization sequence
  defconfig: arm: Enable BUS_SCALING with RPMH option for sdxpoorwills
  battery: fix ordering of ICL/FCC configuration
  mmc: core: Hold clocks along with runtime get of class device
  USB: dwc3: Fix issues in ISOC endpoint handling
  scripts: Makefile: Add multi overlay dtbo-base apply verify
  drm/msm/sde: add defs nodes for underruns de
  usb: gadget: f_uvc: Fix video streaming quality issues
  usb: gadget: Fix  on calling usb gadget activate/deactivate
  ARM: dts: msm: Update topology for sdxpoorwills
  mm, oom_reaper: gather each vma to prevent leaking TLB entry
  mm: oom: let oom_reap_task and exit_mmap run concurrently
  mm/oom_kill.c: add tracepoints for oom reaper-related events
  oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA
  mm: drop zap_details::check_swap_entries
  arm64: Use larger stacks when KASAN is selected
  arm64: clean up THREAD_* definitions
  iommu: arm-smmu: add tlbi traces
  iommu: arm-smmu: modify iommu_errata_tlbi trace events
  drm/msm/dsi-staging: use usleep for wait during command transfer to panel
  defconfig: arm64: Enable USB ADB and DIAG drivers on msm8953
  USB: composite: Release spinlock before WARN()
  usb: gadget: configfs: Replace strncpy with strlcpy
  power: smb-lib: fix OTG enable error handling
  usb: gadget: replace %p with %pK
  USB: phy: qusb: Turn on vdd along with 1p8/3p3 LDOs when PMI requests
  ARM: dts: msm: update the battery profile for ascent 3450mAh battery
  mm: drop zap_details::ignore_dirty
  msm: kgsl: Look for freed entries with the pagetable name
  usb: pd: qpnp-pdphy: move RX handling to hard IRQ

Change-Id: I2a12f9cc4d800318def8aa77ad3a9ec0a8f4eb6e
Signed-off-by: default avatarAbhijit Trivedi <abhijitt@codeaurora.org>
parents d97d7419 38ef2dbc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ its hardware characteristcs.
		- "qcom,coresight-remote-etm"
		- "qcom,coresight-hwevent"
		- "qcom,coresight-dummy"
		- "qcom,coresight-dbgui"

	* port or ports: same as above.

+67 −0
Original line number Diff line number Diff line
Qualcomm Technologies MSM Clock controller

Qualcomm Technologies MSM Clock controller devices contain PLLs, root clock
generators and other clocking hardware blocks that provide stable, low power
clocking to hardware blocks on Qualcomm Technologies SOCs. The clock controller
device node lists the power supplies needed to be scaled using the vdd_*-supply
property.

Minor differences between hardware revisions are handled in code by re-using
the compatible string to indicate the revision.

Required properties:
- compatible:           Must be one of following,
			"qcom,gcc-8953"
			"qcom,cc-debug-8953"
			"qcom,gcc-mdss-8953"
                        "qcom,gcc-gfx-8953"
                        "qcom,gcc-gfx-sdm450"

- reg:                  Pairs of physical base addresses and region sizes of
                        memory mapped registers.
- reg-names:            Names of the bases for the above registers. Currently,
                        there is one expected base: "cc_base". Optional
                        reg-names are "apcs_base", "meas", "mmss_base",
                        "lpass_base", "apcs_c0_base", "apcs_c1_base",
                        "apcs_cci_base", "efuse".

Optional properties:
- vdd_dig-supply:       The digital logic rail supply.
- <pll>_dig-supply:     Some PLLs might have separate digital supply on some
                        targets. These properties will be provided on those
                        targets for specific PLLs.
- <pll>_analog-supply:  Some PLLs might have separate analog supply on some
                        targets. These properties will be provided on those
                        targets for specific PLLs.
- vdd_gpu_mx-supply:    MX rail supply for the GPU core.
- #clock_cells:         If this device will also be providing controllable
                        clocks, the clock_cells property needs to be specified.
                        This will allow the common clock device tree framework
                        to recognize _this_ device node as a clock provider.
- qcom,<clk>-corner-<vers>: List of frequency voltage pairs that the clock can
                            operate at. Drivers can use the OPP library API to
                            operate on the list of OPPs registered using these
                            values.
- qcom,<clk>-speedbinX: A table of frequency (Hz) to voltage (corner) mapping
                        that represents the max frequency possible for each
                        supported voltage level for the clock.
                        'X' is the speed bin into which the device falls into -
                        a bin will have unique frequency-voltage relationships.
                        The value 'X' is read from efuse registers, and the right
                        table is picked from multiple possible tables.
- qcom,<clock-name>-opp-handle: phandle references to the devices for which OPP
                        table is filled with the clock frequency and voltage
                        values.
- qcom,<clock-name>-opp-store-vcorner: phandle references to the devices for
                        which OPP table is filled with the clock frequency
                         and voltage corner/level.

Example:
        clock_gcc: qcom,gcc@fc400000 {
                compatible = "qcom,gcc-8974";
                reg = <0xfc400000 0x4000>;
                reg-names = "cc_base";
                vdd_dig-supply = <&pm8841_s2_corner>;
                #clock-cells = <1>;
        };
+70 −0
Original line number Diff line number Diff line
Qualcomm Technologies MSM8953 CPU clock tree

clock-cpu-8953 is a device that represents the MSM8953 CPU subystem clock
tree. It lists the various power supplies that need to be scaled when the
clocks are scaled and also other HW specific parameters like fmax tables etc.

The root clock generator could have the ramp controller in built.
Ramp control will allow programming the sequence ID for pulse swallowing,
enable sequence and for linking sequence IDs.

Required properties:
- compatible:		Must be "qcom,clock-cpu-8953".

- reg:			Pairs of physical base addresses and region sizes of
			memory mapped registers.
- reg-names:		Names of the bases for the above registers. Expected
			bases are:
			"c0-pll", "c1-pll", "c0-mux", "c1-mux", "cci-mux",
			"efuse", "perf_base"(optional), "rcgwr-c0-base(optional)",
			"rcgwr-c1-base(optional)".
- clocks:		The clocks sources used by the cluster/cci mux.
- clock-names:		Name of the clocks for the above clocks.
- vdd-mx-supply:	The regulator powering all the PLLs of clusters & cci.
- vdd-cl-supply:	The regulator powering the clusters & cci.
- qcom,speedX-bin-vY-ZZZ:
			A table of CPU frequency (Hz) to voltage (corner)
			mapping that represents the max frequency possible
			for each supported voltage level for a CPU. 'X' is
			the speed bin into which the device falls into - a
			bin will have unique frequency-voltage relationships.
			'Y' is the characterization version, implying that
			characterization (deciding what speed bin a device
			falls into) methods and/or encoding may change. The
			values 'X' and 'Y' are read from efuse registers, and
			the right table is picked from multiple possible tables.
			'ZZZ' can be cl for(c0 & c1) or cci depending on whether
			the table for the clusters or cci.

Optional Properties:
- qcom,enable-qos:      Boolean property to indicate the pm qos is required
			during set rate of the cluster clocks, which would not
			allow the cluster cores to go to low power mode.

Example:
	clock_cpu: qcom,cpu-clock-8953@b116000 {
		compatible = "qcom,cpu-clock-8953";
		reg =   <0xb114000  0x68>,
			<0xb014000  0x68>,
			<0xb116000  0x400>,
			<0xb111050  0x08>,
			<0xb011050  0x08>,
			<0xb1d1050  0x08>,
			<0x00a412c  0x08>;
		reg-names = "rcgwr-c0-base", "rcgwr-c1-base",
			    "c0-pll", "c0-mux", "c1-mux",
			    "cci-mux", "efuse";
		vdd-mx-supply = <&pm8953_s7_level_ao>;
		vdd-cl-supply = <&apc_vreg_corner>;
		clocks = <&clock_gcc clk_xo_a_clk_src>;
		clock-names = "xo_a";
		qcom,num-clusters = <2>;
		qcom,speed0-bin-v0-cl =
			<          0 0>,
			< 2208000000 7>;
		qcom,speed0-bin-v0-cci =
			<          0 0>,
			<  883200000 7>;
		#address-cells = <1>;
		#size-cells = <1>;
	};
+12 −14
Original line number Diff line number Diff line
@@ -21,27 +21,27 @@ Properties:
	Usage:      required
	Value type: <stringlist>
	Definition: Address names. Must be "osm_l3_base", "osm_pwrcl_base",
		    "osm_perfcl_base", and "cpr_rc".
		    "osm_perfcl_base".
		    Must be specified in the same order as the corresponding
		    addresses are specified in the reg property.

- qcom,mx-turbo-freq
	Usage:      optional
	Value type: <array>
	Definition: List of frequencies for the 3 clock domains (following the
		    order of L3, power, and performance clusters) that denote
		    the lowest rate that requires a TURBO vote on the MX rail.

- vdd_l3_mx_ao-supply
	Usage:      required
	Usage:      required if qcom,mx-turbo-freq is specified
	Value type: <phandle>
	Definition: Phandle to the MX active-only regulator device.

- vdd_pwrcl_mx_ao-supply
	Usage:      required
	Usage:      required if qcom,mx-turbo-freq is specified
	Value type: <phandle>
	Definition: Phandle to the MX active-only regulator device.

- qcom,mx-turbo-freq
	Usage:      required
	Value type: <array>
	Definition: List of frequencies for the 3 clock domains (following the
		    order of L3, power, and performance clusters) that denote
		    the lowest rate that requires a TURBO vote on the MX rail.

- l3-devs
	Usage: optional
	Value type: <phandle>
@@ -63,10 +63,8 @@ Example:
		compatible = "qcom,clk-cpu-osm";
		reg = <0x17d41000 0x1400>,
			<0x17d43000 0x1400>,
			<0x17d45800 0x1400>,
			<0x784248 0x4>;
		reg-names = "osm_l3_base", "osm_pwrcl_base", "osm_perfcl_base",
							"cpr_rc";
			<0x17d45800 0x1400>;
		reg-names = "osm_l3_base", "osm_pwrcl_base", "osm_perfcl_base";
		vdd_l3_mx_ao-supply = <&pm8998_s6_level_ao>;
		vdd_pwrcl_mx_ao-supply = <&pm8998_s6_level_ao>;

+47 −0
Original line number Diff line number Diff line
* RPM Stats

RPM maintains a counter of the masters i.e APPS, MPPS etc
number of times the SoC entered a deeper sleep mode involving
lowering or powering down the backbone rails - Cx and Mx and
the oscillator clock, XO.

PROPERTIES

- compatible:
	Usage: required
	Value type: <string>
	Definition: Should be "qcom,rpm-master-stats".

- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: The address on the RPM RAM from where the stats are read
	            should be provided as "phys_addr_base". The offset from
	            which the stats are available should be provided as
	            "offset_addr".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- qcom,masters:
	Usage: required
	Value tye: <string list>
	Defination: Provides the masters list.

qcom,master-offset:
	Usage: required
	Value tye: <prop-encoded-array>
	Defination: Provides the masters list

EXAMPLE:

qcom,rpm-master-stats@60150 {
		compatible = "qcom,rpm-master-stats";
		reg = <0x60150 0x5000>;
		qcom,masters = "APSS", "MPSS", "PRONTO", "TZ", "LPASS";
		qcom,master-stats-version = <2>;
		qcom,master-offset = <4096>;
	};
Loading