- 06 2月, 2021 3 次提交
-
-
由 Vinod Koul 提交于
Add the tables for init sequences for UFS QMP phy found in SM8350 SoC. Signed-off-by: NVinod Koul <vkoul@kernel.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210204165805.62235-4-vkoul@kernel.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Vinod Koul 提交于
Add the registers for UFS found in SM8350. The UFS phy used in SM8350 seems to have same offsets as V5 phy, although Documentation for that is lacking. Signed-off-by: NVinod Koul <vkoul@kernel.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210204165805.62235-3-vkoul@kernel.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Vinod Koul 提交于
Add the compatible strings for the UFS PHY found on SM8350 SoC. Signed-off-by: NVinod Koul <vkoul@kernel.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210204165805.62235-2-vkoul@kernel.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
- 04 2月, 2021 7 次提交
-
-
由 Konrad Dybcio 提交于
This is required to bring up the PHY on MDM9607-based boards. Signed-off-by: NKonrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013124.54484-1-konrad.dybcio@somainline.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Baruch Siach 提交于
This compatible string is for the USB PHY on IPQ60xx systems. Signed-off-by: NBaruch Siach <baruch@tkos.co.il> Link: https://lore.kernel.org/r/7e1e7bda6ccdaab9adeeb956fac1acc39908a8dc.1611756920.git.baruch@tkos.co.ilSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Kathiravan T 提交于
Add the phy init sequence for the Super Speed ports found on IPQ6018. Signed-off-by: NKathiravan T <kathirav@codeaurora.org> [baruch: add ipq6018_regs_layout[], drop binding change] Signed-off-by: NBaruch Siach <baruch@tkos.co.il> Link: https://lore.kernel.org/r/b8c22dddf1f70d89e135fe1ae705ddc68e295ebb.1611756920.git.baruch@tkos.co.ilSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Bjorn Andersson 提交于
The Qualcomm SC8180X has two QMP phys used for SuperSpeed USB, which are either the same or very similar to the same found in SM8150. Add a compatible for this, reusing the existing SM8150 USB phy config. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210121014339.1612525-2-bjorn.andersson@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Bjorn Andersson 提交于
The UFS phy found in the Qualcomm SC8180X is either the same or very similar to the phy present in SM8150, so add a compatible and reuse the SM8150 configuration. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210120224531.1610709-2-bjorn.andersson@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Bjorn Andersson 提交于
Add compatibles for the Qualcomm QMP PHY binding for the SuperSpeed USB phys found in the SC8180x platform. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210121014339.1612525-1-bjorn.andersson@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Bjorn Andersson 提交于
Add compatible for the SC8180x UFS PHY to the QMP binding. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210120224531.1610709-1-bjorn.andersson@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
- 19 1月, 2021 6 次提交
-
-
Support for the SDM630/660 series of SoCs was added to the driver: document the qcom,sdm660-qusb2-phy compatible here. Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210114174718.398638-3-angelogioacchino.delregno@somainline.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
The SDM660 SoC uses the same configuration as MSM8996, but the clock scheme uses a differential reference clock and none of the SoCs in this series (630, 636 and others) have got a usable PHY_CLK_SCHEME register in the TCSR for clk scheme detection. Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210114174718.398638-2-angelogioacchino.delregno@somainline.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
The TCSR's PHY_CLK_SCHEME register is not available on all SoC models, but some may still use a differential reference clock. In preparation for these SoCs, add a se_clk_scheme_default configuration entry and declare it to true for all currently supported SoCs (retaining the previous defaults. This patch brings no functional changes. Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210114174718.398638-1-angelogioacchino.delregno@somainline.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Jack Pham 提交于
Add the compatible strings for the USB2 PHYs found on QCOM SM8250 & SM8350 SoCs. Note that the SM8250 compatible is already in use in the dts and driver implementation but was missing from the documentation. Signed-off-by: NJack Pham <jackp@codeaurora.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210115174723.7424-4-jackp@codeaurora.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Jack Pham 提交于
Add support for the USB DP & UNI PHYs found on SM8350. These use version 5.0.0 of the QMP PHY IP and thus require new "V5" definitions of the register offset macros for the QSERDES RX and TX blocks. The QSERDES common and QPHY PCS blocks' register offsets are largely unchanged from V4 so some of the existing macros can be reused. Signed-off-by: NJack Pham <jackp@codeaurora.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210115174723.7424-3-jackp@codeaurora.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Jack Pham 提交于
Add the compatible strings for the USB3 PHYs found on SM8150, SM8250 and SM8350 SoCs. These require separate subschemas due to the different required clock entries. Note the SM8150 and SM8250 compatibles have already been in place in the dts as well as the driver implementation but were missing from the documentation. Signed-off-by: NJack Pham <jackp@codeaurora.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210115174723.7424-2-jackp@codeaurora.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
- 17 1月, 2021 2 次提交
-
-
由 Manivannan Sadhasivam 提交于
Add support for USB3 QMP PHY found in SDX55 platform. SDX55 uses version 4.0.0 of the QMP PHY IP and doesn't make use of "com_aux" clock. Signed-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20210111113010.32056-3-manivannan.sadhasivam@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Manivannan Sadhasivam 提交于
Add devicetree YAML binding for Qualcomm QMP Super Speed (SS) PHY found in SDX55. Signed-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210111113010.32056-2-manivannan.sadhasivam@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
- 13 1月, 2021 20 次提交
-
-
由 Amelie Delaunay 提交于
USBPHYC has a register per phy to control and monitor the debug interface of the HS PHY through a digital debug access. With this register, it is possible to know if PLL Lock input to phy is high. That means the PLL is ready for HS operation. Instead of using an hard-coded delay after PLL enable and PLL disable, use this bit to ensure good operating of the HS PHY. Also use an atomic counter (n_pll_cons) to count the actual number of PLL consumers and get rid of stm32_usbphyc_has_one_phy_active. The boolean active in the usbphyc_phy structure is kept, because we need to know in remove if a phy_exit is required to properly disable the PLL. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20210105090525.23164-7-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Amelie Delaunay 提交于
To ensure a good balancing of regulators, and allow PLL disabling when the driver is removed, call stm32_usbphyc_phy_exit on each ports to set phys inactive and disable PLL. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20210105090525.23164-6-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Amelie Delaunay 提交于
To ensure a good balancing of regulators, force PLL disable either by reset or by clearing the PLLEN bit. If waiting the powerdown pulse delay isn't enough, return -EPROBE_DEFER instead of polling the PLLEN bit, which will be low at the next probe. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20210105090525.23164-5-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Amelie Delaunay 提交于
Due to async_schedule_domain call in regulator_bulk_enable, scheduling while atomic bug can raise if regulator_bulk_enable is called under atomic context. To avoid this issue, this patch replaces all regulator_bulk* by regulator_ per regulators. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20210105090525.23164-4-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Amelie Delaunay 提交于
PLL block requires to be powered with 1v1 and 1v8 supplies to catch ENABLE signal. Currently, supplies are managed through phy_ops .power_on/off, and PLL activation/deactivation is managed through phy_ops .init/exit. The sequence of phy_ops .power_on/.phy_init, .power_off/.exit is USB drivers dependent. To ensure a good behavior of the PLL, supplies have to be managed at PLL activation/deactivation. That means the supplies need to be put in usbphyc node and not in phy children nodes. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20210105090525.23164-3-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Amelie Delaunay 提交于
PLL block requires to be powered with 1v1 and 1v8 supplies to catch ENABLE signal. Currently, supplies are managed through phy_ops .power_on/off, and PLL activation/deactivation is managed through phy_ops .init/exit. The sequence of phy_ops .power_on/.phy_init, .power_off/.exit is USB drivers dependent. To ensure a good behavior of the PLL, supplies have to be managed at PLL activation/deactivation. That means the supplies need to be put in usbphyc parent node and not in phy children nodes. Signed-off-by: NAmelie Delaunay <amelie.delaunay@foss.st.com> Reviewed-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210105090525.23164-2-amelie.delaunay@foss.st.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
Changeset ba2bf1f0 ("dt-bindings: phy: Add Cadence Sierra PHY bindings in YAML format") renamed: Documentation/devicetree/bindings/phy/phy-cadence-sierra.txt to: Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml. Update its cross-reference accordingly. Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/3550b08d4e8312e7d4a247a3515a93a5f0fd04c5.1610535350.git.mchehab+huawei@kernel.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Rafał Miłecki 提交于
BCM4908 seems to have slightly different registers but works when programmed just like the STB one. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20210106205838.10964-3-zajec5@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Rafał Miłecki 提交于
BCM4908 uses the same PHY and may require just a slightly different programming. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Acked-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210106205838.10964-2-zajec5@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Rafał Miłecki 提交于
Changes that require mentioning: 1. interrupt-names Name "wakeup" was changed to the "wake". It matches example and what Linux driver looks for in the first place 2. brcm,ipp and brcm,ioc Both were described as booleans with 0 / 1 values. In examples they were integers and Linux checks for int as well. Both got uint32. 3. Added minimal description Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com> Reviewed-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210106205838.10964-1-zajec5@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Zou Wei 提交于
Fix the following sparse warning: drivers/phy/mediatek/phy-mtk-mipi-dsi.c:237:24: warning: symbol 'mtk_mipi_tx_driver' was not declared. Should it be static? Signed-off-by: NZou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1610415484-92497-1-git-send-email-zou_wei@huawei.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Chunfeng Yun 提交于
Convert MIPI DSI PHY binding to YAML schema mediatek,dsi-phy.yaml Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NChun-Kuang Hu <chunkuang.hu@kernel.org> Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org> Cc: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20201225075258.33352-7-chunfeng.yun@mediatek.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Chunfeng Yun 提交于
Convert HDMI PHY binding to YAML schema mediatek,hdmi-phy.yaml Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NChun-Kuang Hu <chunkuang.hu@kernel.org> Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org> Cc: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20201225075258.33352-6-chunfeng.yun@mediatek.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Chunfeng Yun 提交于
Convert phy-mtk-ufs.txt to YAML schema mediatek,ufs-phy.yaml Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NStanley Chu <stanley.chu@mediatek.com> Cc: Stanley Chu <stanley.chu@mediatek.com> Link: https://lore.kernel.org/r/20201225075258.33352-5-chunfeng.yun@mediatek.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Chunfeng Yun 提交于
Convert phy-mtk-tphy.txt to YAML schema mediatek,tphy.yaml Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201225075258.33352-4-chunfeng.yun@mediatek.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Chunfeng Yun 提交于
Convert phy-mtk-xsphy.txt to YAML schema mediatek,xsphy.yaml Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201225075258.33352-3-chunfeng.yun@mediatek.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Paul Cercueil 提交于
Remove the useless field .version from the private structure, which is set but never read. Signed-off-by: NPaul Cercueil <paul@crapouillou.net> Reviewed-by: N周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> Link: https://lore.kernel.org/r/20201223124505.40792-1-paul@crapouillou.netSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Dan Carpenter 提交于
This error path should return -EINVAL, but currently it returns success. Fixes: d09945ea ("phy: cadence-torrent: Check total lane count for all subnodes is within limit") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/X9s7Wxq+b6ls0q7o@mwandaSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Rafał Miłecki 提交于
This is slightly cleaner solution that assures noone assings a wrong function to the pointer. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20201216143305.12179-2-zajec5@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
由 Rafał Miłecki 提交于
1. Use of_device_get_match_data() helper to simplify the code 2. Check for NULL as a good practice Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20201216143305.12179-1-zajec5@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
-
- 28 12月, 2020 2 次提交
-
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
Since commit 36e2c742 ("fs: don't allow splice read/write without explicit ops") we've required that file operation structures explicitly enable splice support, rather than falling back to the default handlers. Most /proc files use the indirect 'struct proc_ops' to describe their file operations, and were fixed up to support splice earlier in commits 40be821d..b24c30c6, but the mountinfo files interact with the VFS directly using their own 'struct file_operations' and got missed as a result. This adds the necessary support for splice to work for /proc/*/mountinfo and friends. Reported-by: NJoan Bruguera Micó <joanbrugueram@gmail.com> Reported-by: NJussi Kivilinna <jussi.kivilinna@iki.fi> Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-