Krzysztof Kozlowski
b5237d0bdb
dt-bindings: ufs: qcom: document SM6125 UFS
...
Document already upstreamed and used Qualcomm SM6125 UFS host controller to fix
dtbs_check warnings like:
sm6125-xiaomi-laurel-sprout.dtb: ufs@4804000: compatible:0: 'qcom,sm6125-ufshc' is not one of ['qcom,msm8994-ufshc', ...
sm6125-xiaomi-laurel-sprout.dtb: ufs@4804000: Unevaluated properties are not allowed ('compatible' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Martin Botka <martin.botka@somainline.org >
Link: https://lore.kernel.org/r/20240326174632.209745-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2024-03-27 09:31:09 -05:00
Krzysztof Kozlowski
7fb5aafc0a
dt-bindings: ufs: qcom: document SC7180 UFS
...
Document already upstreamed and used Qualcomm SC7180 UFS host controller
to fix dtbs_check warnings like:
sc7180-idp.dtb: ufshc@1d84000: compatible:0: 'qcom,sc7180-ufshc' is not one of ...
sc7180-idp.dtb: ufshc@1d84000: clocks: [[39, 99], [39, 7], [39, 98], [39, 107], [36, 0], [39, 106], [39, 105]] is too short
sc7180-idp.dtb: ufshc@1d84000: clock-names: ['core_clk', 'bus_aggr_clk', 'iface_clk', 'core_clk_unipro', ...] is too short
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240326174632.209745-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2024-03-27 09:31:09 -05:00
Krzysztof Kozlowski
ad91c1d77f
dt-bindings: ufs: qcom: document SC8180X UFS
...
Document already upstreamed and used Qualcomm SC8180x UFS host
controller to fix dtbs_check warnings like:
sc8180x-primus.dtb: ufshc@1d84000: compatible:0: 'qcom,sc8180x-ufshc' is not one of ['qcom,msm8994-ufshc', ... ]
sc8180x-primus.dtb: ufshc@1d84000: Unevaluated properties are not allowed ('compatible' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240326174632.209745-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2024-03-27 09:31:09 -05:00
Linus Torvalds
339e2fca02
Merge tag 'devicetree-fixes-for-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree fixes from Rob Herring:
- Improve devlink dependency parsing for DT graphs
- Fix devlink handling of io-channels dependencies
- Fix PCI addressing in marvell,prestera example
- A few schema fixes for property constraints
- Improve performance of DT unprobed devices kselftest
- Fix regression in DT_SCHEMA_FILES handling
- Fix compile error in unittest for !OF_DYNAMIC
* tag 'devicetree-fixes-for-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: ufs: samsung,exynos-ufs: Add size constraints on "samsung,sysreg"
of: property: Add in-ports/out-ports support to of_graph_get_port_parent()
of: property: Improve finding the supplier of a remote-endpoint property
of: property: Improve finding the consumer of a remote-endpoint property
net: marvell,prestera: Fix example PCI bus addressing
of: unittest: Fix compile in the non-dynamic case
of: property: fix typo in io-channels
dt-bindings: tpm: Drop type from "resets"
dt-bindings: display: nxp,tda998x: Fix 'audio-ports' constraints
dt-bindings: xilinx: replace Piyush Mehta maintainership
kselftest: dt: Stop relying on dirname to improve performance
dt-bindings: don't anchor DT_SCHEMA_FILES to bindings directory
2024-02-15 10:19:55 -08:00
Rob Herring
4e06ec0774
dt-bindings: ufs: samsung,exynos-ufs: Add size constraints on "samsung,sysreg"
...
The 'phandle-array' type is a bit ambiguous. It can be either just an
array of phandles or an array of phandles plus args. "samsung,sysreg" is
the latter and needs to be constrained to a single entry with a phandle and
offset.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240124190733.1554314-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2024-02-13 10:32:13 -06:00
Linus Torvalds
22d29f1112
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
...
Pull SCSI updates from James Bottomley:
"Updates to the usual drivers (ufs, mpi3mr, mpt3sas, lpfc, fnic,
hisi_sas, arcmsr, ) plus the usual assorted minor fixes and updates.
This time around there's only a single line update to the core, so
nothing major and barely anything minor"
* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (135 commits)
scsi: ufs: core: Simplify ufshcd_auto_hibern8_update()
scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static
scsi: ufs: qcom: Fix ESI vector mask
scsi: ufs: host: Fix kernel-doc warning
scsi: hisi_sas: Correct the number of global debugfs registers
scsi: hisi_sas: Rollback some operations if FLR failed
scsi: hisi_sas: Check before using pointer variables
scsi: hisi_sas: Replace with standard error code return value
scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
scsi: ufs: core: Add sysfs node for UFS RTC update
scsi: ufs: core: Add UFS RTC support
scsi: ufs: core: Add ufshcd_is_ufs_dev_busy()
scsi: ufs: qcom: Remove unused definitions
scsi: ufs: qcom: Use ufshcd_rmwl() where applicable
scsi: ufs: qcom: Remove support for host controllers older than v2.0
scsi: ufs: qcom: Simplify ufs_qcom_{assert/deassert}_reset
scsi: ufs: qcom: Initialize cycles_in_1us variable in ufs_qcom_set_core_clk_ctrl()
scsi: ufs: qcom: Sort includes alphabetically
scsi: ufs: qcom: Remove unused ufs_qcom_hosts struct array
scsi: ufs: qcom: Use dev_err_probe() to simplify error handling of devm_gpiod_get_optional()
...
2024-01-11 14:24:32 -08:00
Nitin Rawat
98bfeda319
scsi: ufs: qcom: dt-bindings: Add SC7280 compatible string
...
Document the compatible string for the UFS found on SC7280.
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Bao D. Nguyen <quic_nguyenb@quicinc.com >
Acked-by: Manivannan Sadhasivam <mani@kernel.org >
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Link: https://lore.kernel.org/r/20231205-sc7280-ufs-v6-1-ad6ca7796de7@fairphone.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-12-13 22:51:45 -05:00
Ziqi Chen
af85d689ae
scsi: ufs: dt-bindings: Add msi-parent for UFS MCQ
...
The Message Signaled Interrupts (MSI) support has been introduced in UFSHCI
version 4.0 (JESD223E). The MSI is the recommended interrupt approach for
MCQ. If choose to use MSI, in UFS DT, we need to provide msi-parent
property that point to the hardware entity which serves as the MSI
controller for this UFS controller.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com >
Link: https://lore.kernel.org/r/1701144469-1018-1-git-send-email-quic_ziqichen@quicinc.com
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-12-05 21:01:52 -05:00
Neil Armstrong
e439e4a62a
scsi: ufs: qcom-ufs: dt-bindings: Document the SM8650 UFS Controller
...
Document the UFS Controller on the SM8650 Platform.
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20231030-topic-sm8650-upstream-bindings-ufs-v3-1-a96364463fd5@linaro.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-11-08 21:50:37 -05:00
Krzysztof Kozlowski
e820de1d11
scsi: ufs: dt-bindings: common: Add OPP table
...
Except scaling UFS and bus clocks, it's necessary to scale also the
voltages of regulators or power domain performance state levels. Adding
Operating Performance Points table allows to adjust power domain
performance state, depending on the UFS clock speed.
OPPv2 deprecates previous property limited to clock scaling:
freq-table-hz.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20231012172129.65172-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-10-16 20:58:02 -04:00
Luca Weiss
e95094d05d
dt-bindings: ufs: qcom: Add ICE to sm8450 example
...
SM8450 actually supports ICE (Inline Crypto Engine) so adjust the
example to match.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-3-fd94845adeda@fairphone.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-24 12:11:28 -05:00
Iskren Chernev
a11eaed308
dt-bindings: ufs: qcom: Add sm6115 binding
...
Add SM6115 UFS to DT schema.
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org >
Reviewed-by: Eric Biggers <ebiggers@google.com >
Reviewed-by: Iskren Chernev <me@iskren.info >
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-2-fd94845adeda@fairphone.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-24 12:11:28 -05:00
Luca Weiss
7839d566c6
dt-bindings: ufs: qcom: Add reg-names property for ICE
...
The code in ufs-qcom-ice.c needs the ICE reg to be named "ice". Add this
in the bindings so the existing dts can validate successfully.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-1-fd94845adeda@fairphone.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-24 12:11:28 -05:00
Rob Herring
4569820881
dt-bindings: Drop remaining unneeded quotes
...
Cleanup bindings dropping the last remaining unneeded quotes. With this,
the check for this can be enabled in yamllint.
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com > # for mtd
Acked-by: Sudeep Holla <sudeep.holla@arm.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for AT24/I2C
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # For MMC
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/20230823183749.2609013-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-24 11:43:57 -05:00
Abel Vesa
9b7c13b83c
scsi: dt-bindings: ufs: qcom: Fix ICE phandle
...
The check for 'qcom,ice' property is wrong. Fix it by checking using
if-required clause and expand the clocks minItems and maxItems for
platforms where 'qcom,ice' is not required so that it includes platforms
with single reg entry and clocks that do not provide an ICE one.
Fixes: 29a6d1215b ("scsi: ufs: dt-bindings: qcom: Add ICE phandle")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Link: https://lore.kernel.org/r/20230623113009.2512206-2-abel.vesa@linaro.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-06-28 21:56:24 -04:00
Abel Vesa
29a6d1215b
scsi: ufs: dt-bindings: qcom: Add ICE phandle
...
Starting with SM8550, the ICE will have its own devicetree node so add the
qcom,ice property to reference it.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Link: https://lore.kernel.org/r/20230612192847.1599416-2-abel.vesa@linaro.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-06-16 12:04:31 -04:00
Krzysztof Kozlowski
e246514ae6
scsi: ufs: dt-bindings: samsung,exynos: Drop unneeded quotes
...
Clean up bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230609140651.64488-1-krzysztof.kozlowski@linaro.org
Acked-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-06-16 12:04:30 -04:00
Bartosz Golaszewski
8f0c17bf6b
scsi: dt-bindings: ufs: qcom: Add compatible for sa8775p
...
Add the compatible string for the UFS on sa8775p platforms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Link: https://lore.kernel.org/r/20230411130446.401440-2-brgl@bgdev.pl
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-05-31 11:53:53 -04:00
Linus Torvalds
8395d932d2
Merge tag 'devicetree-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree updates from Rob Herring:
"DT core:
- Add node lifecycle unit tests
- Add of_property_present() helper aligned with fwnode API
- Print more information on reserved regions on boot
- Update dtc to upstream v1.6.1-66-gabbd523bae6e
- Use strscpy() to instead of strncpy() in DT core
- Add option for schema validation on %.dtb targets
Bindings:
- Add/fix support for listing multiple patterns in DT_SCHEMA_FILES
- Rework external memory controller/bus bindings to properly support
controller specific child node properties
- Convert loongson,ls1x-intc, fcs,fusb302, sil,sii8620, Rockchip
RK3399 PCIe, Synquacer I2C, and Synquacer EXIU bindings to DT
schema format
- Add RiscV SBI PMU event mapping binding
- Add missing contraints on Arm SCMI child node allowed properties
- Add a bunch of missing Socionext UniPhier glue block bindings and
example fixes
- Various fixes for duplicate or conflicting type definitions on DT
properties"
* tag 'devicetree-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (66 commits)
dt-bindings: regulator: Add mps,mpq7932 power-management IC
of: dynamic: Fix spelling mistake "kojbect" -> "kobject"
dt-bindings: drop Sagar Kadam from SiFive binding maintainership
dt-bindings: sram: qcom,imem: document sm8450
dt-bindings: interrupt-controller: convert loongson,ls1x-intc.txt to json-schema
dt-bindings: arm: Add Cortex-A715 and X3
of: dynamic: add lifecycle docbook info to node creation functions
of: add consistency check to of_node_release()
of: do not use "%pOF" printk format on node with refcount of zero
of: unittest: add node lifecycle tests
of: update kconfig unittest help
of: add processing of EXPECT_NOT to of_unittest_expect
of: prepare to add processing of EXPECT_NOT to of_unittest_expect
of: Use preferred of_property_read_* functions
of: Use of_property_present() helper
of: Add of_property_present() helper
of: reserved_mem: Use proper binary prefix
dt-bindings: Fix multi pattern support in DT_SCHEMA_FILES
of: reserved-mem: print out reserved-mem details during boot
dt-bindings: serial: restrict possible child node names
...
2023-02-24 13:31:53 -08:00
Abel Vesa
b8c2038911
scsi: ufs: qcom: dt-bindings: Add SM8550 compatible string
...
Document the compatible string for the UFS found on SM8550.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Manivannan Sadhasivam <mani@kernel.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-02-08 18:05:23 -05:00
Johan Hovold
85e182b48a
scsi: ufs: qcom: dt-bindings: Allow 'dma-coherent' property
...
UFS controllers may be cache coherent and must be marked as such in the
devicetree to avoid data corruption.
This is specifically needed on recent Qualcomm platforms like SC8280XP.
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Bjorn Andersson <andersson@kernel.org >
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Link: https://lore.kernel.org/r/20230116164236.18958-1-johan+linaro@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-01-18 18:48:43 -05:00
Krzysztof Kozlowski
8ffbaa98cc
dt-bindings: ufs: qcom,ufs: document required-opps
...
UFS device node on SC8280XP uses required-opps:
sc8280xp-crd.dtb: ufs@1d84000: Unevaluated properties are not allowed ('required-opps' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221228124331.258416-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-01-12 19:31:19 -06:00
Zhe Wang
aa67971b27
scsi: ufs: dt-bindings: Add document for Unisoc UFS host controller
...
Add Unisoc ums9620 UFS host controller devicetree document.
Signed-off-by: Zhe Wang <zhe.wang1@unisoc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-01-11 21:16:56 -05:00
Matt Ranostay
3eecdba4c0
dt-bindings: ufs: cdns,ufshc: add missing dma-coherent field
...
Add missing dma-coherent property to schema which avoids the following warnings
ufs-wrapper@4e80000: ufs@4e84000: Unevaluated properties are not allowed ('dma-coherent' was unexpected)
Signed-off-by: Matt Ranostay <mranostay@ti.com >
Link: https://lore.kernel.org/r/20221013194559.128643-1-mranostay@ti.com
Signed-off-by: Rob Herring <robh@kernel.org >
2022-10-18 10:03:45 -05:00
Andrew Lunn
dd3cb467eb
dt-bindings: Remove 'Device Tree Bindings' from end of title:
...
As indicated in
link: https://lore.kernel.org/all/20220822204945.GA808626-robh@kernel.org/
DT schema files should not have 'Device Tree Binding' as part of there
title: line. Remove this in most .yaml files, so hopefully preventing
developers copying it into new .yaml files, and being asked to remove
it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch >
Link: https://lore.kernel.org/r/20220825020427.3460650-1-andrew@lunn.ch
Signed-off-by: Rob Herring <robh@kernel.org >
2022-08-25 14:06:57 -05:00
Johan Hovold
2f3b3200ac
scsi: ufs: dt-bindings: Add SC8280XP binding
...
Add SC8280XP to the DT schema.
Link: https://lore.kernel.org/r/20220711101441.4896-1-johan+linaro@kernel.org
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2022-07-26 22:13:28 -04:00
Yoshihiro Shimoda
7522c08d1e
scsi: dt-bindings: ufs: Document Renesas R-Car UFS host controller
...
Document Renesas R-Car UFS host controller for R-Car S4-8 (r8a779f0).
Link: https://lore.kernel.org/r/20220603110524.1997825-2-yoshihiro.shimoda.uh@renesas.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2022-06-13 21:57:34 -04:00
Alim Akhtar
ea83df8e3b
scsi: dt-bindings: ufs: exynos-ufs: Add FSD compatible
...
Adds tesla,fsd-ufs compatible for Tesla FSD SoC.
Link: https://lore.kernel.org/r/20220610104119.66401-5-alim.akhtar@samsung.com
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Co-developed-by: Bharat Uppal <bharat.uppal@samsung.com >
Signed-off-by: Bharat Uppal <bharat.uppal@samsung.com >
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2022-06-13 21:57:33 -04:00
Krzysztof Kozlowski
f9095ac1ba
dt-bindings: ufs: cdns,ufshc: Add power-domains
...
The Cadence UFS controller can be part of power domain (as it is in
example DTS of TI J721e UFS Host Controller Glue), so allow such
property.
Reported-by: Rob Herring <robh@kernel.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220427065802.110402-1-krzysztof.kozlowski@linaro.org
2022-04-27 13:24:27 -05:00
Luca Weiss
3d8fa7a22d
dt-bindings: ufs: qcom: Add SM6350 compatible string
...
Document the compatible for the UFS found on SM6350.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org >
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220321133318.99406-2-luca.weiss@fairphone.com
2022-03-22 08:09:54 -05:00
Krzysztof Kozlowski
f3e00820f5
dt-bindings: ufs: snps,tc-dwc-g210: convert to dtschema
...
Convert the Synopsys Universal Flash Storage (UFS) Controller to DT
schema format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-9-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:54 -06:00
Krzysztof Kozlowski
954c601005
dt-bindings: ufs: mediatek,ufs: convert to dtschema
...
Convert the Mediatek Universal Flash Storage (UFS) Controller to DT
schema format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-8-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:54 -06:00
Krzysztof Kozlowski
516075a230
dt-bindings: ufs: hisilicon,ufs: convert to dtschema
...
Convert the HiSilicon Universal Flash Storage (UFS) Controller to DT
schema format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-7-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
462c5c0aa7
dt-bindings: ufs: qcom,ufs: convert to dtschema
...
Convert the Qualcomm Universal Flash Storage (UFS) Controller to DT
schema format.
Except the conversion, add also properties already present in DTS:
iommus, interconnects and power-domains.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-6-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
578f116b7a
dt-bindings: ufs: drop unused/old ufs-qcom PHY bindings
...
The Qualcomm UFS PHY bindings are documented in
bindings/phy/qcom,qmp-phy.yaml and the compatibles from separate file
bindings/ufs/ufs-qcom.txt are not used at all.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-5-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
1581355bd0
dt-bindings: ufs: cdns,ufshc: convert to dtschema
...
Convert the Cadence Universal Flash Storage (UFS) Controlle to DT schema
format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-4-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
cebe22345f
dt-bindings: ufs: samsung,exynos-ufs: use common bindings
...
Use common UFS bindings in Samsung Exynos UFS to cover generic/common
properties in DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-3-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
8544073271
dt-bindings: ufs: add common platform bindings
...
Add bindings for common parts (platform) of Universal Flash Storage
(UFS) Host Controllers in dtschema format.
Include also the bindings directory in the UFS maintainers entry.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-2-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Vinod Koul
07cc0fa49b
scsi: ufs: dt-bindings: Add SM8450 compatible strings
...
Document "qcom,sm8450-ufshc" compatible string. "qcom,sm8450-ufshc" is
for UFS HC found in SM8450 SoC.
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Acked-by: Martin K. Petersen <martin.petersen@oracle.com >
Link: https://lore.kernel.org/r/20211201074456.3969849-2-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2021-12-07 17:28:54 +05:30
Chanho Park
14d9f6b026
dt-bindings: ufs: exynos-ufs: add exynosautov9 compatible
...
Below two compatibles can be used for exynosautov9 SoC UFS controller.
- samsung,exynosautov9-ufs: ExynosAutov9 UFS Physical Host
- samsung,exynosautov9-ufs-vh: ExynosAutov9 UFS Virtual Host
Cc: Rob Herring <robh+dt@kernel.org >
Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Chanho Park <chanho61.park@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20211018124216.153072-16-chanho61.park@samsung.com
2021-10-29 08:42:03 -05:00
Chanho Park
57e9befa48
dt-bindings: ufs: exynos-ufs: add io-coherency property
...
Add "samsung,sysreg" regmap and the offset to the ufs shareability
register for setting io coherency of the samsung ufs. "dma-coherent"
property is also required because the driver code needs to know.
Cc: Rob Herring <robh+dt@kernel.org >
Cc: devicetree@vger.kernel.org
Signed-off-by: Chanho Park <chanho61.park@samsung.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20211018124216.153072-13-chanho61.park@samsung.com
2021-10-29 08:42:03 -05:00
Alim Akhtar
e22e509c1c
dt-bindings: ufs: Add bindings for Samsung ufs host
...
This patch adds DT bindings for Samsung ufs hci
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Chanho Park <chanho61.park@samsung.com >
Link: https://lore.kernel.org/r/20210915111844.42752-1-chanho61.park@samsung.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-09-16 09:58:28 -05:00
Vinod Koul
4517e77eb8
scsi: ufs: dt-bindings: Add sm8250, sm8350 compatible strings
...
Document "qcom,sm8250-ufshc" and "qcom,sm8350-ufshc" compatible string.
Use of "qcom,sm8250-ufshc" is already present upstream, so add misiing
documentation. "qcom,sm8350-ufshc" is for UFS HC found in SM8350 SoC.
Link: https://lore.kernel.org/r/20210204165234.61939-1-vkoul@kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2021-03-17 00:04:40 -04:00
Stanley Chu
c1a3bf99d7
scsi: ufs-mediatek: dt-bindings: Add mt8192-ufshci compatible string
...
Add "mediatek,mt8192-ufshci" compatible string to for MediaTek UFS host
controller present on MT8192 chipsets.
Link: https://lore.kernel.org/r/20200914050052.3974-3-stanley.chu@mediatek.com
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2020-09-22 20:37:11 -04:00
Rob Herring
1195b303a6
dt-bindings: ufs: ti: Add missing 'additionalProperties: false'
...
The ti,j721e-ufs schema is missing an 'additionalProperties: false'. Add
that and and the missing assigned-clock properties.
Acked-by: Vignesh Raghavendra <vigneshr@ti.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-05-14 14:43:22 -05:00
Rob Herring
346dda3167
dt-bindings: ufs: ti: Fix address properties handling
...
The ti,j721e-ufs schema and example have a couple of problems related to
address properties. First, the default #size-cells and #address-cells
are 1 for examples, so they need to be overriden with a bus node.
Second, address translation for the child ufs node is broken because
'ranges', '#address-cells', and '#size-cells' are missing from the
schema.
Acked-by: Vignesh Raghavendra <vigneshr@ti.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-05-14 14:43:17 -05:00
Vignesh Raghavendra
8e31a94938
scsi: dt-bindings: ufs: ti,j721e-ufs.yaml: Add binding for TI UFS wrapper
...
Add binding documentation of TI wrapper for Cadence UFS Controller.
Link: https://lore.kernel.org/r/20191108164857.11466-2-vigneshr@ti.com
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2019-11-12 22:21:33 -05:00
Vinod Koul
c8510d2403
scsi: dt-bindings: ufs: Add sm8150 compatible string
...
Document "qcom,sm8150-ufshc" compatible string for UFS HC found on SM8150.
Link: https://lore.kernel.org/r/20191024074802.26526-2-vkoul@kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Reviewed-by: Stephen Boyd <swboyd@chromium.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2019-11-06 00:21:09 -05:00
Bjorn Andersson
b8416b2fed
scsi: ufs-qcom: Implement device_reset vops
...
The UFS_RESET pin on Qualcomm SoCs are controlled by TLMM and exposed
through the GPIO framework. Acquire the device-reset GPIO and use this to
implement the device_reset vops, to allow resetting the attached memory.
Based on downstream support implemented by Subhash Jadavani
<subhashj@codeaurora.org >.
Link: https://lore.kernel.org/r/20190828191756.24312-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Acked-by: Avri Altman <Avri.Altman@wdc.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2019-09-07 16:36:03 -04:00
Linus Torvalds
e8a1d70117
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
...
Pull ARM Device-tree updates from Olof Johansson:
"Besides new bindings and additional descriptions of hardware blocks
for various SoCs and boards, the main new contents here is:
SoCs:
- Intel Agilex (SoCFPGA)
- NXP i.MX8MM (Quad Cortex-A53 with media/graphics focus)
New boards:
- Allwinner:
+ RerVision H3-DVK (H3)
+ Oceanic 5205 5inMFD (H6)
+ Beelink GS2 (H6)
+ Orange Pi 3 (H6)
- Rockchip:
+ Orange Pi RK3399
+ Nanopi NEO4
+ Veyron-Mighty Chromebook variant
- Amlogic:
+ SEI Robotics SEI510
- ST Micro:
+ stm32mp157a discovery1
+ stm32mp157c discovery2
- NXP:
+ Eckelmann ci4x10 (i.MX6DL)
+ i.MX8MM EVK (i.MX8MM)
+ ZII i.MX7 RPU2 (i.MX7)
+ ZII SPB4 (VF610)
+ Zii Ultra (i.MX8M)
+ TQ TQMa7S (i.MX7Solo)
+ TQ TQMa7D (i.MX7Dual)
+ Kobo Aura (i.MX50)
+ Menlosystems M53 (i.MX53)j
- Nvidia:
+ Jetson Nano (Tegra T210)"
* tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (593 commits)
arm64: dts: bitmain: Add UART pinctrl support for Sophon Edge
arm64: dts: bitmain: Add pinctrl support for BM1880 SoC
arm64: dts: bitmain: Add GPIO Line names for Sophon Edge board
arm64: dts: bitmain: Add GPIO support for BM1880 SoC
ARM: dts: gemini: Indent DIR-685 partition table
dt-bindings: hwmon (pwm-fan) Remove dead "cooling-*-state" properties
ARM: dts: qcom-apq8064: Set 'cxo_board' as ref clock of the DSI PHY
arm64: dts: msm8998: thermal: Restrict thermal zone name length to under 20
arm64: dts: msm8998: thermal: Fix number of supported sensors
arm64: dts: msm8998-mtp: thermal: Remove skin and battery thermal zones
arm64: dts: exynos: Move fixed-clocks out of soc
arm64: dts: exynos: Move pmu and timer nodes out of soc
ARM: dts: s5pv210: Fix camera clock provider on Goni board
ARM: dts: exynos: Properly override node to use MDMA0 on Universal C210
ARM: dts: exynos: Move fixed-clocks out of soc on Exynos3250
ARM: dts: exynos: Remove unneeded address/size cells from fixed-clock on Exynos3250
ARM: dts: exynos: Move pmu and timer nodes out of soc
arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
arm64: dts: db820c: Add sound card support
arm64: dts: apq8096-db820c: Add HDMI display support
...
2019-05-16 08:38:17 -07:00