Krzysztof Kozlowski
ef62548f4a
dt-bindings: mmc: sdhci-msm: document dedicated IPQ4019 and IPQ8074
...
Add dedicated compatibles for the Qualcomm IPQ4019 and IPQ8074 SoCs,
because usage of generic qcom,sdhci-msm-v4 compatible alone is
deprecated.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231211085830.25380-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-01-02 15:00:18 +01:00
Neil Armstrong
5eb8323803
dt-bindings: mmc: sdhci-msm: document the SM8650 SDHCI Controller
...
Document the SDHCI Controller on the SM8650 Platform.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20231025-topic-sm8650-upstream-bindings-sdhci-v2-1-0406fca99033@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-10-27 12:00:23 +02:00
Ulf Hansson
3e65dba664
mmc: Merge branch fixes into next
...
Merge the mmc fixes for v6.6-rc[n] into the next branch, to allow them to
get tested together with the new mmc changes that are targeted for v6.7.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-09-27 12:13:24 +02:00
Krzysztof Kozlowski
a5b5006edc
dt-bindings: mmc: sdhci-msm: allow flexible order of optional clocks
...
The Qualcomm SDHCI controller lists optional clocks, but still expects
fixed order of them and does not allow to skip such clocks if further
one in the list is needed. These optional clocks are truly optional,
so we need to allow the list to have different orders. The clocks are:
- ice: used for Inline Crypto Engine, which is actually separate block
and merging it with SDHCI is not a requirement,
- bus: clock for SDCC bus frequency voting,
- cal and sleep: used for RCLK delay calibration and required for
certain platforms for such calibration (as expressed in original
commit 4946b3af5e ("mmc: sdhci-msm: Enable delay circuit
calibration clocks")). Only MSM8974pro has these clocks.
Relaxing the order fixes dtbs_check warnings:
qcom-msm8974pro-fairphone-fp2.dtb: mmc@f9824900: clock-names:3: 'ice' was expected
qcom-msm8974pro-fairphone-fp2.dtb: mmc@f9824900: clock-names:4: 'bus' was expected
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230825135503.282135-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-09-26 15:12:44 +02:00
Krzysztof Kozlowski
1bbac8d6af
dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
...
In the TXT binding before conversion, the "xo" clock was listed as
optional. Conversion kept it optional in "clock-names", but not in
"clocks". This fixes dbts_check warnings like:
qcom-sdx65-mtp.dtb: mmc@8804000: clocks: [[13, 59], [13, 58]] is too short
Cc: <stable@vger.kernel.org >
Fixes: a45537723f ("dt-bindings: mmc: sdhci-msm: Convert bindings to yaml")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230825135503.282135-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-09-26 15:08:05 +02:00
Rohit Agarwal
014f3272af
dt-bindings: qcom: Update RPMHPD entries for some SoCs
...
Update the RPMHPD references with new bindings defined in rpmhpd.h
for Qualcomm SoCs SM8[2345]50.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Link: https://lore.kernel.org/r/1690461813-22564-1-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-08-03 20:53:34 -07:00
Komal Bajaj
ac93af1fe3
dt-bindings: mmc: sdhci-msm: Document the QDU1000/QRU1000 compatible
...
Document the compatible for SDHCI on QDU1000 and QRU1000 SoCs.
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com >
Link: https://lore.kernel.org/r/20230601111128.19562-2-quic_kbajaj@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-06-12 15:20:08 +02:00
Bjorn Andersson
2d2934783f
dt-bindings: mmc: sdhci-msm: Document SC8280XP SDHCI
...
Add compatible for the SDHCI block found in SC8280XP.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Link: https://lore.kernel.org/r/20230509030136.1524860-1-quic_bjorande@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-06-12 15:16:18 +02:00
Mantas Pucka
2fba941d34
dt-bindings: mmc: sdhci-msm: add IPQ6018 compatible
...
IPQ6018 has a sdhci-msm compatible MMC controller. Add the appropriate
compatible to the documentation.
Signed-off-by: Mantas Pucka <mantas@8devices.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1682338412-15420-2-git-send-email-mantas@8devices.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-06-12 15:16:18 +02:00
Sricharan Ramabadhran
22a4455e75
dt-bindings: mmc: sdhci-msm: Document the IPQ5018 compatible
...
Document the compatible for SDHCI on IPQ5018.
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/1681468167-11689-8-git-send-email-quic_srichara@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-04-17 11:54:26 +02:00
Konrad Dybcio
b8548e387f
dt-bindings: mmc: sdhci-msm: Document QCM2290 SDHCI
...
Document the SDHCI on QCM2290.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230314-topic-2290_compats-v1-4-47e26c3c0365@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-03-23 11:48:26 +01:00
Konrad Dybcio
09e8f154fa
dt-bindings: mmc: sdhci-msm: Allow 1 icc path
...
Some SoCs (like msm8998) only have a SDHC<->DDR path. Allow this case.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230213205529.2104120-1-konrad.dybcio@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-02-15 13:24:03 +01:00
Kathiravan T
d5d4a2bc5f
dt-bindings: mmc: sdhci-msm: add IPQ5332 compatible
...
The IPQ5332 supports eMMC with an SDHCI controller. Add the appropriate
compatible to the documentation.
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230125104520.89684-9-quic_kathirav@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-01-27 11:22:23 +01:00
devi priya
124a4c13a8
dt-bindings: mmc: sdhci-msm: Document the IPQ9574 compatible
...
Document the compatible for SDHCI on IPQ9574.
Signed-off-by: devi priya <quic_devipriy@quicinc.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20230124141541.8290-7-quic_devipriy@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-01-27 11:15:22 +01:00
Krzysztof Kozlowski
491ad767de
dt-bindings: mmc: sdhci-msm: allow dma-coherent
...
SM8350, SM8450 and SM8550 SDHCI controllers for SD card are marked with
dma-coherent, so allow it.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221204094717.74016-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:29:15 +01:00
Krzysztof Kozlowski
b64c4d8589
dt-bindings: mmc: sdhci-msm: drop properties mentioned in common MMC
...
There is no need to explicitly list properties already brought by
mmc-controller.yaml schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221204094717.74016-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:29:14 +01:00
Krzysztof Kozlowski
2ba206a2ff
dt-bindings: mmc: sdhci-msm: cleanup style
...
Drop unnecessary quotes from $ref.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221204094717.74016-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:29:14 +01:00
Krzysztof Kozlowski
07f8f060ed
dt-bindings: mmc: sdhci: document sdhci-caps and sdhci-caps-mask
...
The Linux SDHCI driver core reads 'sdhci-caps' and 'sdhci-caps-mask'
properties and few devices already use it (e.g. Qualcomm SM8450), so add
them to a shared SDHCI bindings.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221204094717.74016-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:29:14 +01:00
Abel Vesa
974b8219df
dt-bindings: mmc: sdhci-msm: Document the SM8550 compatible
...
Document the compatible for SDHCI on SM8550.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221114-narmstrong-sm8550-upstream-sdhci-v1-0-797864a30e71@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:22:35 +01:00
Konrad Dybcio
b78efae3a3
dt-bindings: mmc: sdhci-msm: Document SM8350 SDHCI
...
Document the SDHCI on SM8350.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20221116123612.34302-1-konrad.dybcio@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:22:35 +01:00
Konrad Dybcio
ac4a171b44
dt-bindings: mmc: sdhci-msm: Document the SM6375 compatible
...
Document the compatible for SDHCI on SM6375.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20221114105043.36698-2-konrad.dybcio@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:22:35 +01:00
AngeloGioacchino Del Regno
e97ee6f816
dt-bindings: mmc: sdhci-msm: Document compatible for MSM8976
...
Document the compatible for the SDHCI controller(s) found on MSM8976.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221104172122.252761-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-12-07 13:22:34 +01:00
Richard Acayan
07c7338f05
dt-bindings: mmc: sdhci-msm: add sdm670 compatible
...
The Snapdragon 670 supports eMMC with an SDHCI controller. Add the
appropriate compatible to the documentation.
Signed-off-by: Richard Acayan <mailingradian@gmail.com >
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220923014322.33620-2-mailingradian@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-09-27 13:59:46 +02:00
Iskren Chernev
a7c9986880
dt-bindings: mmc: sdhci-msm: Add pinctrl-1 property
...
Most mmc blocks contain two pinctrls, default and sleep. But then
dt-schema complains about pinctrl-1 not being defined.
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Link: https://lore.kernel.org/r/20220910143213.477261-6-iskren.chernev@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-09-14 11:58:41 +02:00
Adam Skladowski
896691f010
dt-bindings: mmc: sdhci-msm: Document the SM6115 compatible
...
Document the compatible for SDHCI on SM6115.
Signed-off-by: Adam Skladowski <a39.skl@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220815100952.23795-4-a39.skl@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-09-14 11:53:47 +02:00
Bhupesh Sharma
331753ff32
dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue
...
As Rob reported in [1], there is one more issue present
in the 'sdhci-msm' dt-binding which shows up when a fix for
'unevaluatedProperties' handling is applied:
Documentation/devicetree/bindings/mmc/sdhci-msm.example.dtb:
mmc@8804000: Unevaluated properties are not allowed
('operating-points-v2' was unexpected)
Fix the same.
[1]. https://lore.kernel.org/lkml/20220514220116.1008254-1-bhupesh.sharma@linaro.org/
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220725202709.2861789-1-bhupesh.sharma@linaro.org
2022-08-09 15:18:32 -06:00
Konrad Dybcio
99ce0f754c
dt-bindings: mmc: sdhci-msm: Document the SM8450 compatible
...
Document the compatible for SDHCI on SM8450.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220714123406.1919836-2-konrad.dybcio@somainline.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-18 13:32:15 +02:00
Krzysztof Kozlowski
9b538b0e3a
dt-bindings: mmc: sdhci-msm: add MSM8998
...
Add a MSM8998-specific SDCC compatible, because using only a generic
qcom,sdhci-msm-v4 fallback is deprecated.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Link: https://lore.kernel.org/r/20220714091042.22287-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-18 13:30:00 +02:00
Krzysztof Kozlowski
54c16b522e
dt-bindings: mmc: sdhci-msm: constrain reg-names per variants
...
The entries in arrays must have fixed order, so the bindings and Linux
driver expecting various combinations of 'reg' addresses was never
actually conforming to guidelines.
The 'core' reg entry is valid only for SDCC v4 and lower, so disallow it
in SDCC v5. SDCC v4 supports CQE and ICE, so allow them, even though
the qcom,sdhci-msm-v4 compatible is used also for earlier SoCs with SDCC
v2 or v3, so it is not entirely accurate.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Link: https://lore.kernel.org/r/20220712144245.17417-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-13 12:37:28 +02:00
Krzysztof Kozlowski
331ad8247b
dt-bindings: mmc: sdhci-msm: fix reg-names entries
...
Bindings before conversion to DT schema expected reg-names without
"_mem" suffix. This was used by older DTS files and by the MSM SDHCI
driver.
Reported-by: Douglas Anderson <dianders@chromium.org >
Fixes: edfbf8c307ff ("dt-bindings: mmc: sdhci-msm: Fix issues in yaml bindings")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Link: https://lore.kernel.org/r/20220712144245.17417-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-13 12:37:20 +02:00
Robert Marko
95a4cf7172
dt-bindings: mmc: sdhci-msm: document resets
...
Commit "mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC" added
support for utilizing a hardware reset and parsing it from DT, however
the bindings were not updated along with it.
So, document the usage of "resets" property with the limit of only one
item.
Signed-off-by: Robert Marko <robimarko@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220704143554.1180927-1-robimarko@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-12 12:44:17 +02:00
Bhupesh Sharma
8574adf522
dt-bindings: mmc: sdhci-msm: Fix issues in yaml bindings
...
Rob pointed some remaining issues in the sdhci-msm yaml
bindings (via [1]).
Fix the same by first using the 'mmc-controller.yaml' as
'ref' and thereafter also fix the issues reported by
'make dtbs_check' check.
[1]. https://lore.kernel.org/linux-arm-msm/YnLmNCwNfoqZln12@robh.at.kernel.org/
Fixes: a45537723f ("dt-bindings: mmc: sdhci-msm: Convert bindings to yaml")
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Link: https://lore.kernel.org/r/20220514220116.1008254-1-bhupesh.sharma@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-07-12 12:25:33 +02:00
Rohit Agarwal
210deba2d9
dt-bindings: mmc: sdhci-msm: Document the SDX65 compatible
...
The SDHCI controller on SDX65 is based on MSM SDHCI v5 IP. Hence, document
the compatible with "qcom,sdhci-msm-v5" as the fallback.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1651480665-14978-2-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-05-04 12:28:02 +02:00
Bhupesh Sharma
17a9f73d45
dt-bindings: mmc: sdhci-msm: Add compatible string for sm8150
...
Add sm8150 SoC specific compatible strings for qcom-sdhci controller.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Link: https://lore.kernel.org/r/20220429220833.873672-4-bhupesh.sharma@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-05-04 12:23:03 +02:00
Bhupesh Sharma
a45537723f
dt-bindings: mmc: sdhci-msm: Convert bindings to yaml
...
Convert Qualcomm sdhci-msm devicetree binding to YAML.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Link: https://lore.kernel.org/r/20220429220833.873672-2-bhupesh.sharma@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-05-04 12:22:51 +02:00