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

Commit 4af1b577 authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

icnss: set vdd-0.8-cx-mx regulator optional for icnss driver



The wlan firmware is configuring the clk and voltage regulator
for hardware power on and hardware reset sequence.

The icnss platform driver is configuring this clk and regulators
to avoid invalid access to copy engine register during the wlan
recovery.

As platform driver is not configuring this regulator to power on
or reset the WLAN hardware, So no need to define the voltage
regulators are the required properties for the ICNSS platform driver.

Define vdd-0.8-cx-mx as an optional voltage regulator for
the icnss platform driver.

CRs-Fixed: 2014965
Change-Id: I74a1445522997ba4e7a52da5a29e9afb57ad12df
Signed-off-by: default avatarSarada Prasanna Garnayak <sgarna@codeaurora.org>
parent 783427f7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -17,14 +17,14 @@ 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

Optional properties:
  - <supply-name>-supply: phandle to the regulator device tree node
                          Required "supply-name" is "vdd-0.8-cx-mx".
			   optional "supply-name" is "vdd-0.8-cx-mx".
  - qcom,<supply>-config: Specifies voltage levels for supply. Should be
			   specified in pairs (min, max), units uV.  There can
			   be optional load in uA and Regulator settle delay in
			   uS.

Optional properties:
  - qcom,icnss-vadc: VADC handle for vph_pwr read APIs.
  - qcom,icnss-adc_tm: VADC handle for vph_pwr notification APIs.
  - qcom,smmu-s1-bypass: Boolean context flag to set SMMU to S1 bypass
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ struct icnss_clk_info {
};

static struct icnss_vreg_info icnss_vreg_info[] = {
	{NULL, "vdd-0.8-cx-mx", 800000, 800000, 0, 0, true},
	{NULL, "vdd-0.8-cx-mx", 800000, 800000, 0, 0, false},
	{NULL, "vdd-1.8-xo", 1800000, 1800000, 0, 0, false},
	{NULL, "vdd-1.3-rfa", 1304000, 1304000, 0, 0, false},
	{NULL, "vdd-3.3-ch0", 3312000, 3312000, 0, 0, false},