Kuldeep Singh
095a7137ba
arm64: dts: qcom: msm8996: User generic node name for DMA
...
Qcom BAM DT spec expects generic DMA controller node name as
"dma-controller" to enable validations.
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220410175056.79330-4-singh.kuldeep87k@gmail.com
2022-04-12 19:36:01 -05:00
Stephan Gerhold
372c1c3dd7
arm64: dts: qcom: msm8916-huawei-g7: Add sound card
...
The huawei-g7 uses the msm8916-wcd-digital/analog audio codecs similar
to apq8016-sbc, so we can mostly copy paste it from there to make audio
work correctly. The main difference is the hphl-jack-type-normally-open
property, which is needed to avoid inverted audio jack detection.
Note that at least on my device the jack detection is not fully
reliable: sometimes headphones are detected as headsets (with
microphone). However, this is not a big problem for typical usage.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220410195113.13646-3-stephan@gerhold.net
2022-04-12 14:28:22 -05:00
Stephan Gerhold
d317344d6e
arm64: dts: qcom: msm8916-huawei-g7: Clarify installation instructions
...
The comment with installation instructions in the huawei-g7 device tree
is a bit misleading and does not describe the recommended installation
steps very well. The bootloader is actually not patched; to avoid all
trouble with the vendor bootloader it is easier to bypass it completely
by jumping to a custom bootloader (e.g. based on the open-source LK
released by Qualcomm).
To avoid confusion, simplify the comment to state only the problem
and then refer to the wiki article which contains detailed suggested
installation instructions. This will also make it easier to keep it
up to date with new developments in the future.
Fixes: 55056b2291 ("arm64: dts: qcom: msm8916: Add device tree for Huawei Ascend G7")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220410195113.13646-2-stephan@gerhold.net
2022-04-12 14:28:20 -05:00
Konrad Dybcio
551b614e23
arm64: dts: qcom: sm8250-edo: Add dual CS35L41 amps
...
Add nodes for dual Cirrus Logic CS35L41 audio amps connected via I2C.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220222014806.22446-1-konrad.dybcio@somainline.org
2022-04-12 14:22:05 -05:00
Shaik Sajida Bhanu
959cb51307
arm64: dts: qcom: sc7280: Add reset entries for SDCC controllers
...
Add gcc hardware reset entries for eMMC and SD card.
Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/1649759528-15125-3-git-send-email-quic_c_sbhanu@quicinc.com
2022-04-12 13:53:38 -05:00
Douglas Anderson
5a026558d2
arm64: dts: qcom: sc7280-herobrine: Audio codec wants 1.8V, not 1.62V
...
The L2C rail on herobrine boards is intended to go to the audio
codec. Let's override the 1.62V specified in the qcard.dtsi file to be
1.8V.
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220411141332.v2.1.I9f06fec63b978699fe62591fec9e5ac31bb3a69d@changeid
2022-04-12 09:21:17 -05:00
Bhupesh Sharma
7011db96f6
arm64: dts: qcom: ipq6018: Fix qmp usb3 phy node
...
Fix the following 'make dtbs_check' warning(s) by
using phy@ instead of lanes@ and by moving '#clock-cells' to
sub-node:
arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dt.yaml: ssphy@78000:
'lane@78200' does not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+'
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Shawn Guo <shawn.guo@linaro.org >
[bjorn: s/clock-names/clock-cells/ per Shawn's feedback]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228123019.382037-7-bhupesh.sharma@linaro.org
2022-04-12 09:21:17 -05:00
Bhupesh Sharma
c769a3521d
arm64: dts: qcom: sm8450: Fix qmp ufs phy node (use phy@ instead of lanes@)
...
Fix the 'make dtbs_check' warning:
arch/arm64/boot/dts/qcom/sm8450-qrd.dt.yaml: phy@1d87000:
'lanes@1d87400' does not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+'
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Shawn Guo <shawn.guo@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228123019.382037-6-bhupesh.sharma@linaro.org
2022-04-12 09:21:17 -05:00
Bhupesh Sharma
56205c56ea
arm64: dts: qcom: sc7280: Fix qmp phy node (use phy@ instead of lanes@)
...
Fix the 'make dtbs_check' warning:
arch/arm64/boot/dts/qcom/sc7280-idp.dt.yaml: phy@1c0e000:
'lanes@1c0e200' does not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+'
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Shawn Guo <shawn.guo@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228123019.382037-5-bhupesh.sharma@linaro.org
2022-04-12 09:21:17 -05:00
Bhupesh Sharma
cde8b4d070
arm64: dts: qcom: msm8996-xiaomi: Drop max-microamp and vddp-ref-clk properties from QMP PHY
...
The following properties are not supported and causing dtbs_check
warnings.
- vdda-phy-max-microamp
- vdda-pll-max-microamp
- vddp-ref-clk-max-microamp
- vddp-ref-clk-always-on
arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dt.yaml: phy@627000:
'vdda-phy-max-microamp', 'vddp-ref-clk-always-on', 'vddp-ref-clk-max-microamp'
do not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+'
Drop them from QMP PHY nodes for 'msm8996-xiaomi' dts.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh+dt@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228123019.382037-4-bhupesh.sharma@linaro.org
2022-04-12 09:21:17 -05:00
Stephan Gerhold
c38406aa46
arm64: dts: qcom: msm8916: Add BAM-DMUX for WWAN network interfaces
...
The BAM Data Multiplexer provides access to the network data channels
of modems integrated into many older Qualcomm SoCs, including MSM8916.
Add the nodes for the BAM DMA engine and BAM-DMUX to enable using WWAN
on smartphones/tablets based on MSM8916. This should work out of the box
with open-source WWAN userspace such as ModemManager.
The nodes are disabled by default to avoid loading unnecessary drivers
on devices that cannot use BAM-DMUX (e.g. DragonBoard 410c). However,
strictly speaking the nodes could be enabled by default since both the
bam_dma and bam_dmux driver will simply do nothing if the modem does
not announce any BAM-DMUX channels.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228225400.146555-3-stephan@gerhold.net
2022-04-12 09:21:17 -05:00
Dmitry Baryshkov
64d3cb73b3
arm64: dts: qcom: add pm8450 support
...
Add PM8450 PMIC device tree include file. It is going to be used by
SM8450-based devices.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-8-dmitry.baryshkov@linaro.org
2022-04-12 09:21:17 -05:00
Dmitry Baryshkov
7dc11169a0
arm64: dts: qcom: pmr735a: stop depending on thermal_zones label
...
Most of SoC device trees do not provide the thermal_zones label. Thus
stop depending on it and use the full path to the thermal zones nodes.
Fixes: 7a3544e5d4 ("arm64: dts: qcom: pmr735a: Add temp-alarm support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-6-dmitry.baryshkov@linaro.org
2022-04-12 09:21:17 -05:00
Dmitry Baryshkov
d67ddd17de
arm64: dts: qcom: pm8350c: stop depending on thermal_zones label
...
Most of SoC device trees do not provide the thermal_zones label. Thus
stop depending on it and use the full path to the thermal zones nodes.
Fixes: 3795fe7d49 ("arm64: dts: qcom: pm8350c: Add temp-alarm support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-5-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
6f3426b3de
arm64: dts: qcom: pmr735b: add temp sensor and thermal zone config
...
Add temp-alarm device tree node and a default configuration for the
corresponding thermal zone for this PMIC. Temperatures are based on
downstream values.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-4-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
5c1399299d
arm64: dts: qcom: pm8350b: add temp sensor and thermal zone config
...
Add temp-alarm device tree node and a default configuration for the
corresponding thermal zone for this PMIC. Temperatures are based on
downstream values.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-3-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
7a79b95f42
arm64: dts: qcom: pm8350: add temp sensor and thermal zone config
...
Add temp-alarm device tree node and a default configuration for the
corresponding thermal zone for this PMIC. Temperatures are based on
downstream values.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226205035.1826360-2-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Baruch Siach
a2d2c809cf
arm64: dts: qcom: ipq6018: Add mdio bus description
...
The IPQ60xx has the same MDIO bug block as IPQ4019. Add IO range and
clock resources description.
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org >
Signed-off-by: Baruch Siach <baruch.siach@siklu.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/ef01a79ccc6ef86dc3a10d0fa3331794d49e9859.1646031524.git.baruch@tkos.co.il
2022-04-12 09:21:16 -05:00
Jami Kettunen
726111e687
arm64: dts: qcom: msm8998-oneplus-common: Add NFC
...
The OnePlus 5/5T both have an NXP PN553 which is supported by the
nxp-nci-i2c driver in mainline. It detects/reads NFC tags using
"nfctool" and with the NearD test scripts data can also be written
to be received by another device.
Signed-off-by: Jami Kettunen <jami.kettunen@somainline.org >
Reviewed-by: Caleb Connolly <caleb@connolly.tech >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220225215642.3916-1-jami.kettunen@somainline.org
2022-04-12 09:21:16 -05:00
Sankeerth Billakanti
e036b77be7
arm64: dts: qcom: sc7280: rename edp_out label to mdss_edp_out
...
Rename the edp_out label in the sc7280 platform to mdss_edp_out
so that the nodes related to mdss are all grouped together in
the board specific files.
Signed-off-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Stephen Boyd <swboyd@chromium.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/1647452154-16361-2-git-send-email-quic_sbillaka@quicinc.com
2022-04-12 09:21:16 -05:00
Vinod Koul
c5cb42cc84
arm64: dts: qcom: sa8155p-adp: Enable ethernet node
...
Enable the ethernet node, add the phy node and pinctrl for ethernet.
[bhsharma: Correct ethernet/rgmii related pinmuxs, specify multi-queues and
plug in the PHY interrupt for WOL]
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220325163537.1579969-3-bhupesh.sharma@linaro.org
2022-04-12 09:21:16 -05:00
Vinod Koul
05f333b746
arm64: dts: qcom: sm8150: add ethernet node
...
SM8150 SoC supports ethqos ethernet controller so add the node for it
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Vinod Koul <vkoul@kernel.org >
[bhsharma: Correct ethernet interrupt numbers and add power-domain]
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220325163537.1579969-2-bhupesh.sharma@linaro.org
2022-04-12 09:21:16 -05:00
Luca Weiss
606efee957
arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFS
...
Configure and enable the nodes for UFS that are used for internal
storage on FP4.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220321133318.99406-7-luca.weiss@fairphone.com
2022-04-12 09:21:16 -05:00
Luca Weiss
5a814af5fc
arm64: dts: qcom: sm6350: Add UFS nodes
...
Add the necessary nodes for UFS and its PHY.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Acked-by: Krzysztof Kozlowski <krzk@kernel.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220321133318.99406-6-luca.weiss@fairphone.com
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
0e0a8e35d7
arm64: dts: qcom: sdm845: correct dynamic power coefficients
...
Following sm8150/sm8250 update sdm845 capacity-dmips-mhz and
dynamic-power-coefficient based on the measurements [1], [2].
The energy model dynamic-power-coefficient values were calculated with
DPC = µW / MHz / V^2
for each OPP, and averaged across all OPPs within each cluster for the
final coefficient. Voltages were obtained from the qcom-cpufreq-hw
driver that reads voltages from the OSM LUT programmed into the SoC.
Normalized DMIPS/MHz capacity scale values for each CPU were calculated
from CoreMarks/MHz (CoreMark iterations per second per MHz), which
serves the same purpose. For each CPU, the final capacity-dmips-mhz
value is the C/MHz value of its maximum frequency normalized to
SCHED_CAPACITY_SCALE (1024) for the fastest CPU in the system.
For more details on measurement process see the commit message for the
commit 6aabed5526 ("arm64: dts: qcom: sm8250: Add CPU capacities and
energy model").
[1] https://github.com/kdrag0n/freqbench
[2] https://github.com/kdrag0n/freqbench/tree/master/results/sdm845/main
Cc: Danny Lin <danny@kdrag0n.dev >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220315141104.730235-1-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Bhupesh Sharma
6127d8e4cd
arm64: dts: qcom: sm8150: Add PDC as the interrupt parent for tlmm
...
Several wakeup gpios supported by the Top Level Mode Multiplexer (TLMM)
block on sm8150 can be used as interrupt sources and these interrupts
are routed to the PDC interrupt controller.
So, specify PDC as the interrupt parent for the TLMM block.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Vinod Koul <vkoul@kernel.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220226184028.111566-5-bhupesh.sharma@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
91d70eb708
arm64: dts: qcom: sm8450: add fastrpc nodes
...
Add fastrpc device tree nodes for aDSP, cDSP and SLPI.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220410205901.1672089-3-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
b36e493cec
arm64: dts: qcom: sm8450-hdk: Enable remoteproc instances
...
Enable the audio, compute, sensor and modem remoteproc and specify
firmware path for these on the Qualcomm SM8450 HDK.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220410205901.1672089-2-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
66d7cadb7a
arm64: dts: qcom: msm8996: remove snps,dw-pcie compatibles
...
On MSM8996 PCI controller bindings are not compatible with snps,dw-pcie
binding. The platform doesn't provide second (global) IRQ, it requires
additional glue code. To prevent it from probing against the dw-pcie
driver, remove corresponding compatible.
Fixes: ed965ef892 ("arm64: dts: qcom: msm8996: add support to pcie")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220411115808.1976500-2-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
b4f3996c75
arm64: dts: qcom: sdm845: remove snps,dw-pcie compatibles
...
On SDM845 PCI controller bindings are not compatible with snps,dw-pcie
binding. The platform doesn't provide second (global) IRQ, it requires
additional glue code. To prevent it from probing against the dw-pcie
driver, remove corresponding compatible.
Fixes: 5c538e09cb ("arm64: dts: qcom: sdm845: Add first PCIe controller and PHY")
Fixes: 42ad231338 ("arm64: dts: qcom: sdm845: Add second PCIe PHY and controller")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220411115808.1976500-1-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Dmitry Baryshkov
61fd9113f0
arm64: dts: qcom: apq8096-db820c: enable MSS node
...
APQ8096 provides a 'modem' with reduced functionality, mainly targeting
location services. Enable corresponding device tree node.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220403193911.1393920-3-dmitry.baryshkov@linaro.org
2022-04-12 09:21:16 -05:00
Yassine Oudjana
73f7731b68
arm64: dts: qcom: msm8996-xiaomi-*: Enable MSS and SLPI
...
Enable mss_pil and slpi_pil and set their firmware paths.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com >
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > #db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20210926190555.278589-6-y.oudjana@protonmail.com
2022-04-12 09:21:15 -05:00
Yassine Oudjana
127dd2f08d
arm64: dts: qcom: msm8996: Add MSS and SLPI
...
Add nodes for the MSS and SLPI remoteprocs.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com >
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > #db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20210926190555.278589-5-y.oudjana@protonmail.com
2022-04-12 09:21:15 -05:00
Yassine Oudjana
6d338feb55
arm64: dts: qcom: msm8996: Unify smp2p naming
...
Rename smp2p-modem to smp2p-mpss, and make the subnode labels of smp2p_adsp
and smp2p_slpi follow the <name>_smp2p_<out/in> layout.
Also move smp2p_slpi_out above smp2p_slpi_in to make it match mpss and adsp
where master-kernel is the first subnode.
This patch brings no functional change.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com >
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > #db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20210926190555.278589-4-y.oudjana@protonmail.com
2022-04-12 09:21:15 -05:00
Yassine Oudjana
902d97a442
arm64: dts: qcom: msm8996: Revamp reserved memory
...
Fix a total overlap between zap_shader_region and slpi_region, and rename
all regions to match the naming convention in other Qualcomm SoC device trees.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com >
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > #db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20210926190555.278589-2-y.oudjana@protonmail.com
2022-04-12 09:21:15 -05:00
Bhupesh Sharma
0deb2624e2
arm64: dts: qcom: sa8155p-adp: Add support for uSD card
...
Add support for uSD card on SA8155p-ADP board using the SDHC2
interface.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220403144151.92572-3-bhupesh.sharma@linaro.org
2022-04-12 09:21:15 -05:00
Bhupesh Sharma
876644c760
arm64: dts: qcom: sm8150: Add support for SDC2
...
Add support for SDC2 which can be used to interface uSD card.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220403144151.92572-2-bhupesh.sharma@linaro.org
2022-04-12 09:21:15 -05:00
Dmitry Baryshkov
6b834df839
arm64: dts: qcom: sdm845-db845c: add wifi variant property
...
Dragonboard845c doesn't have board-specific board-id programmed, it uses
generic 0xff. Thus add the property with the 'variant' of the
calibration data.
Note: the driver will check for the calibration data for the following
IDs, so older board-2.bin files that were distributed as a part of
Linaro releases will continue to work.
- 'bus=snoc,qmi-board-id=ff,qmi-chip-id=30214,variant=Thundercomm_DB845C'
- 'bus=snoc,qmi-board-id=ff,qmi-chip-id=30214'
- 'bus=snoc,qmi-board-id=ff'
For the reference, the board is identified by the driver in the
following way:
ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
ath10k_snoc 18800000.wifi: qmi fw_version 0x2009856b fw_build_timestamp 2018-07-19 12:28 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1
Fixes: 3f72e2d3e6 ("arm64: dts: qcom: Add Dragonboard 845c")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220403105711.1173161-1-dmitry.baryshkov@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
2374b99e19
arm64: dts: qcom: align clocks in I2C/SPI with DT schema
...
The DT schema expects clocks core-iface order. No functional change.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220405063451.12011-3-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
0e1b27f4f6
arm64: dts: qcom: align dmas in I2C/SPI/UART with DT schema
...
The DT schema expects dma channels in tx-rx order. No functional
change.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220405063451.12011-2-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
dcd0a66354
arm64: dts: qcom: msm8916: rename WCNSS child name to bluetooth
...
The "bluetooth" is more popular and more descriptive than "bt", for a
Bluetooth device. The WCNSS DT schema will expect such naming.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220405065752.27389-2-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Souradeep Chowdhury
0fa44edd0f
arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
...
Set the default dr_mode for usb2 node to "otg" to enable
role-switch for EUD(Embedded USB Debugger) connector node.
Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/451392a942f90aa9805b00afad7dff894604d189.1649235218.git.quic_schowdhu@quicinc.com
2022-04-12 09:21:15 -05:00
Manikanta Pubbisetty
cdbfb815d6
arm64: dts: qcom: sc7280: Add WCN6750 WiFi node
...
Add DTS node for WCN6750 WiFi chipset.
Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com >
Reviewed-by: Matthias Kaehlcke <mka@chromium.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220406111303.27670-1-quic_mpubbise@quicinc.com
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
7ba57d11e5
arm64: dts: qcom: sm8350: drop duplicated ref_clk in UFS
...
ref_clk clock in UFS node is already there with a <0 0> frequency, which
matches other DTSI files.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220407092725.232463-3-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
64ff698424
arm64: dts: qcom: msm8996: correct UFS compatible
...
The Qualcomm UFS bindings require to use specific (qcom,msm8996-ufshc)
and generic (jedec,ufs-2.0) compatibles.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220407092725.232463-2-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
b32846a38f
arm64: dts: qcom: msm8996: drop unsupported UFS vddp-ref-clk-max-microamp
...
The property vddp-ref-clk-max-microamp (for VDDP ref clk supply which is
l25 regulator) is not documented in MSM8996 UFS PHY bindings
(qcom,msm8996-qmp-ufs-phy). It is mentioned in the other UFS PHY
bindings for qcom,msm8996-ufs-phy-qmp-14nm.
The MSM8996-based Xiaomi devices configure l25 regulator in a
conflicting way:
1. with maximum 100 uAmp for VDDP ref clk supply of UFS PHY,
2. with maximum 450 mAmp for VCCQ supply of UFS.
Since the vddp-ref-clk-max-microamp property is basically not
documented for that UFS PHY and has a conflicting values, drop it
entirely as it looks like not tested and not used ever.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220407092725.232463-1-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Krzysztof Kozlowski
2b6d37f6b7
arm64: dts: qcom: align SPI NOR node name with dtschema
...
The node names should be generic and SPI NOR dtschema expects "flash".
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220407143112.294930-2-krzysztof.kozlowski@linaro.org
2022-04-12 09:21:15 -05:00
Rob Herring
aff4d695b4
arm64: dts: qcom: sdm845: shift6mq: Fix boolean properties with values
...
Boolean properties in DT are present or not present and don't take a value.
A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't
matter.
It may have been intended that 0 values are false, but there is no change
in behavior with this patch.
Cc: Andy Gross <agross@kernel.org >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org >
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
[bjorn: Updated subject prefix]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220407225254.2178644-1-robh@kernel.org
2022-04-12 09:20:00 -05:00
Dmitry Baryshkov
18019eb62e
arm64: dts: qcom: sm8250: don't enable rx/tx macro by default
...
Enabling rxmacro and txmacro nodes by defaults makes Qualcomm RB5 to
crash and reboot while probing audio devices. Disable these device tree
nodes by default and enabled them only when necessary (for the
SM8250-MTP board).
Fixes: 24f52ef0c4 ("arm64: dts: qcom: sm8250: Add nodes for tx and rx macros with soundwire masters")
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220401185814.519653-1-dmitry.baryshkov@linaro.org
2022-04-11 21:40:57 -05:00
Luca Weiss
413821b777
arm64: dts: qcom: sm7225-fairphone-fp4: Add AW8695 haptics
...
Add a node for the haptics driver found on the phone.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220408115311.237039-3-luca.weiss@fairphone.com
2022-04-11 21:09:16 -05:00