diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 13:28:45 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 13:28:45 -0500 |
| commit | 540a7c5061f10a07748c89b6741af90db1a07252 (patch) | |
| tree | 27285b973326f894980e029cb5f726e8865e1443 /include/linux/phy | |
| parent | 718749d56214aa97015fe01b76b6d6dd0c171796 (diff) | |
| parent | 9c4a6b1e42801343535ccab4c190019d9975cce8 (diff) | |
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull first round of SCSI updates from James Bottomley:
"This is the usual grab bag of driver updates (hpsa, storvsc, mp2sas,
megaraid_sas, ses) plus an assortment of minor updates.
There's also an update to ufs which adds new phy drivers and finally a
new logging infrastructure for SCSI"
* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (114 commits)
scsi_logging: return void for dev_printk() functions
scsi: print single-character strings with seq_putc
scsi: merge consecutive seq_puts calls
scsi: replace seq_printf with seq_puts
aha152x: replace seq_printf with seq_puts
advansys: replace seq_printf with seq_puts
scsi: remove SPRINTF macro
sg: remove an unused variable
hpsa: Use local workqueues instead of system workqueues
hpsa: add in P840ar controller model name
hpsa: add in gen9 controller model names
hpsa: detect and report failures changing controller transport modes
hpsa: shorten the wait for the CISS doorbell mode change ack
hpsa: refactor duplicated scan completion code into a new routine
hpsa: move SG descriptor set-up out of hpsa_scatter_gather()
hpsa: do not use function pointers in fast path command submission
hpsa: print CDBs instead of kernel virtual addresses for uncommon errors
hpsa: do not use a void pointer for scsi_cmd field of struct CommandList
hpsa: return failed from device reset/abort handlers
hpsa: check for ctlr lockup after command allocation in main io path
...
Diffstat (limited to 'include/linux/phy')
| -rw-r--r-- | include/linux/phy/phy-qcom-ufs.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/include/linux/phy/phy-qcom-ufs.h b/include/linux/phy/phy-qcom-ufs.h new file mode 100644 index 000000000000..9d18e9f948e9 --- /dev/null +++ b/include/linux/phy/phy-qcom-ufs.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2013-2015, Linux Foundation. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 and | ||
| 6 | * only version 2 as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | */ | ||
| 14 | |||
| 15 | #ifndef PHY_QCOM_UFS_H_ | ||
| 16 | #define PHY_QCOM_UFS_H_ | ||
| 17 | |||
| 18 | #include "phy.h" | ||
| 19 | |||
| 20 | /** | ||
| 21 | * ufs_qcom_phy_enable_ref_clk() - Enable the phy | ||
| 22 | * ref clock. | ||
| 23 | * @phy: reference to a generic phy | ||
| 24 | * | ||
| 25 | * returns 0 for success, and non-zero for error. | ||
| 26 | */ | ||
| 27 | int ufs_qcom_phy_enable_ref_clk(struct phy *phy); | ||
| 28 | |||
| 29 | /** | ||
| 30 | * ufs_qcom_phy_disable_ref_clk() - Disable the phy | ||
| 31 | * ref clock. | ||
| 32 | * @phy: reference to a generic phy. | ||
| 33 | */ | ||
| 34 | void ufs_qcom_phy_disable_ref_clk(struct phy *phy); | ||
| 35 | |||
| 36 | /** | ||
| 37 | * ufs_qcom_phy_enable_dev_ref_clk() - Enable the device | ||
| 38 | * ref clock. | ||
| 39 | * @phy: reference to a generic phy. | ||
| 40 | */ | ||
| 41 | void ufs_qcom_phy_enable_dev_ref_clk(struct phy *phy); | ||
| 42 | |||
| 43 | /** | ||
| 44 | * ufs_qcom_phy_disable_dev_ref_clk() - Disable the device | ||
| 45 | * ref clock. | ||
| 46 | * @phy: reference to a generic phy. | ||
| 47 | */ | ||
| 48 | void ufs_qcom_phy_disable_dev_ref_clk(struct phy *phy); | ||
| 49 | |||
| 50 | int ufs_qcom_phy_enable_iface_clk(struct phy *phy); | ||
| 51 | void ufs_qcom_phy_disable_iface_clk(struct phy *phy); | ||
| 52 | int ufs_qcom_phy_start_serdes(struct phy *phy); | ||
| 53 | int ufs_qcom_phy_set_tx_lane_enable(struct phy *phy, u32 tx_lanes); | ||
| 54 | int ufs_qcom_phy_calibrate_phy(struct phy *phy, bool is_rate_B); | ||
| 55 | int ufs_qcom_phy_is_pcs_ready(struct phy *phy); | ||
| 56 | void ufs_qcom_phy_save_controller_version(struct phy *phy, | ||
| 57 | u8 major, u16 minor, u16 step); | ||
| 58 | |||
| 59 | #endif /* PHY_QCOM_UFS_H_ */ | ||
