phy: Explicitly include correct DT includesThe DT of_device.h and of_platform.h date back to the separateof_platform_bus_type before it as merged into the regular platform bus.As part of that mer
phy: Explicitly include correct DT includesThe DT of_device.h and of_platform.h date back to the separateof_platform_bus_type before it as merged into the regular platform bus.As part of that merge prepping Arm DT support 13 years ago, they"temporarily" include each other. They also include platform_device.hand of.h. As a result, there's a pretty much random mix of those includefiles used throughout the tree. In order to detangle these headers andreplace the implicit includes with struct declarations, users need toexplicitly include the correct includes.Signed-off-by: Rob Herring <robh@kernel.org>Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for drivers/phy/phy-can-transceiver.cAcked-by: Heiko Stuebner <heiko@sntech.de>Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>Link: https://lore.kernel.org/r/20230714174841.4061919-1-robh@kernel.orgSigned-off-by: Vinod Koul <vkoul@kernel.org>
show more ...
phy: ingenic: Fix a typo in ingenic_usb_phy_probe()Fix the return value check typo which testing the wrong variablein ingenic_usb_phy_probe().Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driv
phy: ingenic: Fix a typo in ingenic_usb_phy_probe()Fix the return value check typo which testing the wrong variablein ingenic_usb_phy_probe().Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.")Reported-by: Hulk Robot <hulkci@huawei.com>Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>Acked-by: Paul Cercueil <paul@crapouillou.net>Link: https://lore.kernel.org/r/20210305034933.3240914-1-weiyongjun1@huawei.comSigned-off-by: Vinod Koul <vkoul@kernel.org>
Merge tag 'phy-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-nextVinod writes:phy-for-5.12 - Updates: - Conversion to YAML binding for: - mt
Merge tag 'phy-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-nextVinod writes:phy-for-5.12 - Updates: - Conversion to YAML binding for: - mtk-xsphy - mtk-tphy - mtk-ufs - HDMI PHY - MIPI DSI PHY - brcmstb-usb-phy - Support for BCM4908 usb phy - Support for Qualcomm SDX55 USB and QMP phy - Support for Qualcomm SM8350 aka Snapdragon 888 UFS and USB phy - Support for Qualcomm SDM660 USB and UFS phy - Support for Qualcomm SC8180X USB and UFS phy - Support for Qualcomm IPQ6018 USB phy - Stm32 phy updates* tag 'phy-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (41 commits) phy: cpcap-usb: Simplify bool conversion phy: qcom-qmp: make a const array static, makes object smaller phy: zynqmp: Simplify code by using dev_err_probe() phy: qcom-qmp: Add support for SM8350 UFS phy phy: qcom-qmp: Add UFS V5 registers found in SM8350 dt-bindings: phy: qcom,qmp: Add SM8350 UFS PHY bindings phy: qualcomm: usb28nm: Add MDM9607 init sequence dt-bindings: phy: qcom,qusb2: document ipq6018 compatible phy: qcom-qusb2: add QUSB2 support for IPQ6018 phy: qcom-qmp: Add SC8180X USB phy phy: qcom-qmp: Add SC8180X UFS phy dt-bindings: phy: qcom,qmp: Add SC8180X USB phy dt-bindings: phy: qcom,qmp: Add SC8180X UFS to the QMP binding dt-bindings: phy: qcom-qusb2: Document SDM660 compatible phy: qcom-qusb2: Add configuration for SDM660 phy: qcom-qusb2: Allow specifying default clock scheme dt-bindings: phy: qcom,usb-snps-femto-v2: Add SM8250 and SM8350 bindings phy: qcom-qmp: Add SM8350 USB QMP PHYs dt-bindings: phy: qcom,qmp: Add SM8150, SM8250 and SM8350 USB PHY bindings phy: qcom-qmp: Add support for SDX55 QMP PHY ...
phy: ingenic: Remove useless field .versionRemove the useless field .version from the private structure, which isset but never read.Signed-off-by: Paul Cercueil <paul@crapouillou.net>Reviewed-b
phy: ingenic: Remove useless field .versionRemove the useless field .version from the private structure, which isset but never read.Signed-off-by: Paul Cercueil <paul@crapouillou.net>Reviewed-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>Link: https://lore.kernel.org/r/20201223124505.40792-1-paul@crapouillou.netSigned-off-by: Vinod Koul <vkoul@kernel.org>
PHY: Ingenic: fix unconditional build of phy-ingenic-usbCurrently drivers/phy/ingenic/Makefile adds phy-ingenic-usb to targetsnot depending on actual Kconfig symbol CONFIG_PHY_INGENIC_USB, so this
PHY: Ingenic: fix unconditional build of phy-ingenic-usbCurrently drivers/phy/ingenic/Makefile adds phy-ingenic-usb to targetsnot depending on actual Kconfig symbol CONFIG_PHY_INGENIC_USB, so thisdriver always gets built[-in] on every system.Add missing dependency.Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.")Signed-off-by: Alexander Lobakin <alobakin@pm.me>Link: https://lore.kernel.org/r/20201222131021.4751-1-alobakin@pm.meSigned-off-by: Vinod Koul <vkoul@kernel.org>
phy: ingenic: depend on HAS_IOMEMThe driver uses devm_ioremap_resource() which will not be built ifCONFIG_HAS_IOMEM is not selected, so add depends on it to fix the buildfailure on few archss39
phy: ingenic: depend on HAS_IOMEMThe driver uses devm_ioremap_resource() which will not be built ifCONFIG_HAS_IOMEM is not selected, so add depends on it to fix the buildfailure on few archss390-linux-ld: drivers/phy/ingenic/phy-ingenic-usb.o: in function `ingenic_usb_phy_probe':>> phy-ingenic-usb.c:(.text+0xb66): undefined reference to `devm_platform_ioremap_resource'Reported-by: kernel test robot <lkp@intel.com>Link: https://lore.kernel.org/r/20201208045300.3637026-1-vkoul@kernel.orgSigned-off-by: Vinod Koul <vkoul@kernel.org>
PHY: Ingenic: Add USB PHY driver using generic PHY framework.Used the generic PHY framework API to create the PHY, this driversupoorts USB OTG PHY used in JZ4770 SoC, JZ4775 SoC, JZ4780 SoC,X1000
PHY: Ingenic: Add USB PHY driver using generic PHY framework.Used the generic PHY framework API to create the PHY, this driversupoorts USB OTG PHY used in JZ4770 SoC, JZ4775 SoC, JZ4780 SoC,X1000 SoC, X1830 SoC and X2000 SoC.Co-developed-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>Signed-off-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>Tested-by: H. Nikolaus Schaller <hns@goldelico.com>Reviewed-by: Paul Cercueil <paul@crapouillou.net>Link: https://lore.kernel.org/r/20201116141906.11758-4-zhouyanjie@wanyeetech.comSigned-off-by: Vinod Koul <vkoul@kernel.org>