| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | qcom,sc8280xp-qmp-ufs-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-ufs-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm QMP PHY controller (UFS, SC8280XP) 10 - Vinod Koul <vkoul@kernel.org> 14 controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB. 19 - items: 20 - enum: 21 - qcom,qcs615-qmp-ufs-phy [all …]
|
| H A D | mediatek,ufs-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek Universal Flash Storage (UFS) M-PHY 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 12 - Peter Wang <peter.wang@mediatek.com> 13 - Chaotian Jing <chaotian.jing@mediatek.com> 16 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. 17 Each UFS M-PHY node should have its own node. [all …]
|
| /linux/drivers/ufs/host/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # Kernel configuration file for the UFS host controller drivers. 5 # Copyright (C) 2011-2013 Samsung India Software Operations 12 tristate "PCI bus based UFS Controller support" 15 This selects the PCI UFS Host Controller Interface. Select this if 16 you have UFS Host Controller with PCI Interface. 31 tristate "Platform bus based UFS Controller support" 34 This selects the UFS host controller support. Select this if 35 you have an UFS controller on Platform bus. 42 tristate "Cadence UFS Controller platform driver" [all …]
|
| H A D | ufs-exynos.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * UFS Host Controller driver for Exynos specific extensions 5 * Copyright (C) 2014-2015 Samsung Electronics Co., Ltd. 41 * results in non-functioning UFS. 116 #define UNIPRO_PCLK_PERIOD(ufs) (NSEC_PER_SEC / ufs->pclk_rate) argument 120 /* vendor specific pre-defined parameters */ 122 #define FAST 2 186 int (*drv_init)(struct exynos_ufs *ufs); 187 int (*pre_link)(struct exynos_ufs *ufs); 188 int (*post_link)(struct exynos_ufs *ufs); [all …]
|
| H A D | cdns-pltfrm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Platform UFS Host driver for Cadence controller 19 #include "ufshcd-pltfrm.h" 27 * cdns_ufs_dme_attr_val - for storing L4 attributes 33 * cdns_ufs_get_l4_attr - get L4 attributes on local side 42 &host->cdns_ufs_dme_attr_val[0]); in cdns_ufs_get_l4_attr() 44 &host->cdns_ufs_dme_attr_val[1]); in cdns_ufs_get_l4_attr() 46 &host->cdns_ufs_dme_attr_val[2]); in cdns_ufs_get_l4_attr() 48 &host->cdns_ufs_dme_attr_val[3]); in cdns_ufs_get_l4_attr() 50 &host->cdns_ufs_dme_attr_val[4]); in cdns_ufs_get_l4_attr() [all …]
|
| /linux/Documentation/devicetree/bindings/ufs/ |
| H A D | samsung,exynos-ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/samsung,exynos-ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung SoC series UFS host controller 10 - Alim Akhtar <alim.akhtar@samsung.com> 13 Each Samsung UFS host controller instance should have its own node. 18 - google,gs101-ufs 19 - samsung,exynos7-ufs 20 - samsung,exynosautov9-ufs [all …]
|
| H A D | hisilicon,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/hisilicon,ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon Universal Flash Storage (UFS) Controller 10 - Li Wei <liwei213@huawei.com> 12 # Select only our matches, not all jedec,ufs 18 - hisilicon,hi3660-ufs 19 - hisilicon,hi3670-ufs 21 - compatible [all …]
|
| H A D | ti,j721e-ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/ufs/ti,j721e-ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI J721e UFS Host Controller Glue Driver 10 - Vignesh Raghavendra <vigneshr@ti.com> 15 - const: ti,j721e-ufs 19 description: address of TI UFS glue registers 23 description: phandle to the M-PHY clock 25 power-domains: [all …]
|
| H A D | mediatek,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek Universal Flash Storage (UFS) Controller 10 - Peter Wang <peter.wang@mediatek.com> 11 - Chaotian Jing <chaotian.jing@mediatek.com> 16 - mediatek,mt8183-ufshci 17 - mediatek,mt8192-ufshci 18 - mediatek,mt8195-ufshci [all …]
|
| H A D | sprd,ums9620-ufs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ufs/sprd,ums9620-ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Unisoc Universal Flash Storage (UFS) Controller 10 - Zhe Wang <zhe.wang1@unisoc.com> 13 - $ref: ufs-common.yaml 17 const: sprd,ums9620-ufs 25 clock-names: 27 - const: controller_eb [all …]
|
| H A D | amd,versal2-ufs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ufs/amd,versal2-ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AMD Versal Gen 2 UFS Host Controller 10 - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> 13 - $ref: ufs-common.yaml 17 const: amd,versal2-ufs 25 clock-names: 27 - const: core [all …]
|
| H A D | renesas,ufs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ufs/renesas,ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car UFS Host Controller 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 13 - $ref: ufs-common.yaml 17 const: renesas,r8a779f0-ufs 23 maxItems: 2 25 clock-names: [all …]
|
| H A D | rockchip,rk3576-ufshc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ufs/rockchip,rk3576-ufshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip UFS Host Controller 10 - Shawn Lin <shawn.lin@rock-chips.com> 13 - $ref: ufs-common.yaml 17 const: rockchip,rk3576-ufshc 22 reg-names: 24 - const: hci [all …]
|
| H A D | qcom,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/qcom,ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Universal Flash Storage (UFS) Controller 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Andy Gross <agross@kernel.org> 13 # Select only our matches, not all jedec,ufs-2.0 19 - qcom,msm8994-ufshc 20 - qcom,msm8996-ufshc [all …]
|
| H A D | cdns,ufshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/cdns,ufshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cadence Universal Flash Storage (UFS) Controller 10 - Jan Kotas <jank@cadence.com> 12 # Select only our matches, not all jedec,ufs-2.0 18 - cdns,ufshc 19 - cdns,ufshc-m31-16nm 21 - compatible [all …]
|
| H A D | qcom,sm8650-ufshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/qcom,sm8650-ufshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SM8650 and Other SoCs UFS Controllers 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 # Select only our matches, not all jedec,ufs-2.0 18 - qcom,kaanapali-ufshc 19 - qcom,sm8650-ufshc 20 - qcom,sm8750-ufshc [all …]
|
| H A D | snps,tc-dwc-g210.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare Universal Flash Storage (UFS) Controller 10 - Li Wei <liwei213@huawei.com> 12 # Select only our matches, not all jedec,ufs 18 - snps,dwc-ufshcd-1.40a 20 - compatible 23 - $ref: ufs-common.yaml [all …]
|
| /linux/Documentation/scsi/ |
| H A D | ufs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 2. UFS Architecture Overview 13 2.2 UFS Transport Protocol (UTP) layer 14 2.3 UFS Interconnect (UIC) Layer 16 3.1 UFS controller initialization 18 3.3 UFS error handling 21 5. UFS Reference Clock Frequency configuration 27 Universal Flash Storage (UFS) is a storage specification for flash devices. 29 embedded and removable flash memory-based storage in mobile 31 is defined by JEDEC Solid State Technology Association. UFS is based [all …]
|
| /linux/include/ufs/ |
| H A D | ufs_quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 22 * ufs_dev_quirk - ufs device quirk info 23 * @card: ufs card details 33 * Some vendor's UFS device sends back to back NACs for the DL data frames 35 * such UFS devices send back to back NAC without waiting for new 42 * - As soon as SW sees the DL NAC error, it should schedule the error handler 43 * - Error handler would sleep for 50ms to see if there are any fatal errors 44 * raised by UFS controller. 45 * - If there are fatal errors then SW does normal error recovery. [all …]
|
| H A D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 16 #include <linux/blk-crypto-profile.h> 17 #include <linux/blk-mq.h> 19 #include <linux/fault-inject.h> 23 #include <linux/dma-direction.h> 26 #include <ufs/unipro.h> 27 #include <ufs/ufs.h> 28 #include <ufs/ufs_quirks.h> [all …]
|
| H A D | ufs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 27 #define QUERY_DESC_MIN_SIZE 2 28 #define QUERY_DESC_HDR_SIZE 2 29 #define QUERY_OSF_SIZE (GENERAL_UPIU_REQUEST_SIZE - \ 34 * UFS device may have standard LUs and LUN id could be from 0x00 to 36 * UFS device may also have the Well Known LUs (also referred as W-LU) 37 * which again could be from 0x00 to 0x7F. For W-LUs, device only use 38 * the "Extended Addressing Format" which means the W-LUNs would be 40 * This means max. LUN number reported from UFS device could be 0xC17F. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-ufs | 3 Contact: linux-scsi@vger.kernel.org 5 This file contains the auto-hibernate idle timer setting of a 6 UFS host controller. A value of '0' means auto-hibernate is not 8 idle time before the UFS host controller will autonomously put 11 10-bit values with a power-of-ten multiplier which allows a 12 maximum value of 102300000. Refer to the UFS Host Controller 16 What: /sys/bus/platform/devices/*.ufs/device_descriptor/device_type 19 Description: This file shows the device type. This is one of the UFS 21 the descriptor could be found at UFS specifications 2.1. 26 What: /sys/bus/platform/devices/*.ufs/device_descriptor/device_class [all …]
|
| /linux/drivers/ufs/core/ |
| H A D | ufs-rpmb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * UFS OP-TEE based RPMB Driver 20 #include <ufs/ufshcd.h> 22 #include "ufshcd-priv.h" 24 #define UFS_RPMB_SEC_PROTOCOL 0xEC /* JEDEC UFS application */ 25 #define UFS_RPMB_SEC_PROTOCOL_ID 0x01 /* JEDEC UFS RPMB protocol ID, CDB byte3 */ 31 /* UFS RPMB device structure */ 42 struct scsi_device *sdev = hba->ufs_rpmb_wlun; in ufs_sec_submit() 47 put_unaligned_be16(spsp, &cdb[2]); in ufs_sec_submit() 54 /* UFS RPMB route frames implementation */ [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | qcom,gcc-apq8084.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-apq8084.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 18 include/dt-bindings/clock/qcom,gcc-apq8084.h 19 include/dt-bindings/reset/qcom,gcc-apq8084.h 22 - $ref: qcom,gcc.yaml# 26 const: qcom,gcc-apq8084 [all …]
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-ufs.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 22 #include <ufs/unipro.h> 24 #include "phy-qcom-qmp-common.h" 26 #include "phy-qcom-qmp.h" 27 #include "phy-qcom-qmp-pcs-ufs-v2.h" 28 #include "phy-qcom-qmp-pcs-ufs-v3.h" 29 #include "phy-qcom-qmp-pcs-ufs-v4.h" 30 #include "phy-qcom-qmp-pcs-ufs-v5.h" 31 #include "phy-qcom-qmp-pcs-ufs-v6.h" [all …]
|