Skip to content

Commit 0ec7f1a

Browse files
committed
Merge tag 'phy-fixes-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-next
Vinod writes: phy: fixes for 5.16 Fixes for: - kernel-doc warnings for various drivers - error handling fix for HiSilicon driver - name fix for zynqmp phy - property name fix in stm32 phy * tag 'phy-fixes-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: phy: HiSilicon: Fix copy and paste bug in error handling dt-bindings: phy: zynqmp-psgtr: fix USB phy name phy: ti: omap-usb2: Fix the kernel-doc style phy: qualcomm: ipq806x-usb: Fix kernel-doc style phy: ti: tusb1210: Fix the kernel-doc warn phy: qualcomm: usb-hsic: Fix the kernel-doc warn phy: qualcomm: qmp: Add missing struct documentation phy: mvebu-cp110-utmi: Fix kernel-doc warns phy: ti: report 2 non-kernel-doc comments phy: stm32: fix st,slow-hs-slew-rate with st,decrease-hs-slew-rate
2 parents d58071a + f0ae868 commit 0ec7f1a

File tree

11 files changed

+30
-25
lines changed

11 files changed

+30
-25
lines changed

Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ properties:
2929
- PHY_TYPE_PCIE
3030
- PHY_TYPE_SATA
3131
- PHY_TYPE_SGMII
32-
- PHY_TYPE_USB
32+
- PHY_TYPE_USB3
3333
- description: The PHY instance
3434
minimum: 0
3535
maximum: 1 # for DP, SATA or USB

drivers/phy/hisilicon/phy-hi3670-pcie.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@ static int hi3670_pcie_phy_get_resources(struct hi3670_pcie_phy *phy,
757757
return PTR_ERR(phy->sysctrl);
758758

759759
phy->pmctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3670-pmctrl");
760-
if (IS_ERR(phy->sysctrl))
761-
return PTR_ERR(phy->sysctrl);
760+
if (IS_ERR(phy->pmctrl))
761+
return PTR_ERR(phy->pmctrl);
762762

763763
/* clocks */
764764
phy->phy_ref_clk = devm_clk_get(dev, "phy_ref");

drivers/phy/marvell/phy-mvebu-cp110-utmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
* struct mvebu_cp110_utmi - PHY driver data
8383
*
8484
* @regs: PHY registers
85-
* @syscom: Regmap with system controller registers
85+
* @syscon: Regmap with system controller registers
8686
* @dev: device driver handle
87-
* @caps: PHY capabilities
87+
* @ops: phy ops
8888
*/
8989
struct mvebu_cp110_utmi {
9090
void __iomem *regs;

drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,13 @@ struct phy_drvdata {
127127
};
128128

129129
/**
130-
* Write register and read back masked value to confirm it is written
130+
* usb_phy_write_readback() - Write register and read back masked value to
131+
* confirm it is written
131132
*
132-
* @base - QCOM DWC3 PHY base virtual address.
133-
* @offset - register offset.
134-
* @mask - register bitmask specifying what should be updated
135-
* @val - value to write.
133+
* @phy_dwc3: QCOM DWC3 phy context
134+
* @offset: register offset.
135+
* @mask: register bitmask specifying what should be updated
136+
* @val: value to write.
136137
*/
137138
static inline void usb_phy_write_readback(struct usb_phy *phy_dwc3,
138139
u32 offset,
@@ -171,11 +172,11 @@ static int wait_for_latch(void __iomem *addr)
171172
}
172173

173174
/**
174-
* Write SSPHY register
175+
* usb_ss_write_phycreg() - Write SSPHY register
175176
*
176-
* @base - QCOM DWC3 PHY base virtual address.
177-
* @addr - SSPHY address to write.
178-
* @val - value to write.
177+
* @phy_dwc3: QCOM DWC3 phy context
178+
* @addr: SSPHY address to write.
179+
* @val: value to write.
179180
*/
180181
static int usb_ss_write_phycreg(struct usb_phy *phy_dwc3,
181182
u32 addr, u32 val)
@@ -209,10 +210,11 @@ static int usb_ss_write_phycreg(struct usb_phy *phy_dwc3,
209210
}
210211

211212
/**
212-
* Read SSPHY register.
213+
* usb_ss_read_phycreg() - Read SSPHY register.
213214
*
214-
* @base - QCOM DWC3 PHY base virtual address.
215-
* @addr - SSPHY address to read.
215+
* @phy_dwc3: QCOM DWC3 phy context
216+
* @addr: SSPHY address to read.
217+
* @val: pointer in which read is store.
216218
*/
217219
static int usb_ss_read_phycreg(struct usb_phy *phy_dwc3,
218220
u32 addr, u32 *val)

drivers/phy/qualcomm/phy-qcom-qmp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2973,6 +2973,9 @@ struct qmp_phy_combo_cfg {
29732973
* @qmp: QMP phy to which this lane belongs
29742974
* @lane_rst: lane's reset controller
29752975
* @mode: current PHY mode
2976+
* @dp_aux_cfg: Display port aux config
2977+
* @dp_opts: Display port optional config
2978+
* @dp_clks: Display port clocks
29762979
*/
29772980
struct qmp_phy {
29782981
struct phy *phy;

drivers/phy/qualcomm/phy-qcom-usb-hsic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0-only
2-
/**
2+
/*
33
* Copyright (C) 2016 Linaro Ltd
44
*/
55
#include <linux/module.h>

drivers/phy/st/phy-stm32-usbphyc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ static void stm32_usbphyc_phy_tuning(struct stm32_usbphyc *usbphyc,
478478
if (!of_property_read_bool(np, "st,no-lsfs-fb-cap"))
479479
usbphyc_phy->tune |= LFSCAPEN;
480480

481-
if (of_property_read_bool(np, "st,slow-hs-slew-rate"))
481+
if (of_property_read_bool(np, "st,decrease-hs-slew-rate"))
482482
usbphyc_phy->tune |= HSDRVSLEW;
483483

484484
ret = of_property_read_u32(np, "st,tune-hs-dc-level", &val);

drivers/phy/ti/phy-am654-serdes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* PCIe SERDES driver for AM654x SoC
44
*
55
* Copyright (C) 2018 - 2019 Texas Instruments Incorporated - http://www.ti.com/

drivers/phy/ti/phy-j721e-wiz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* Wrapper driver for SERDES used in J721E
44
*
55
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/

drivers/phy/ti/phy-omap-usb2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ static inline void omap_usb_writel(void __iomem *addr, unsigned int offset,
8989
}
9090

9191
/**
92-
* omap_usb2_set_comparator - links the comparator present in the system with
93-
* this phy
94-
* @comparator - the companion phy(comparator) for this phy
92+
* omap_usb2_set_comparator() - links the comparator present in the system with this phy
93+
*
94+
* @comparator: the companion phy(comparator) for this phy
9595
*
9696
* The phy companion driver should call this API passing the phy_companion
9797
* filled with set_vbus and start_srp to be used by usb phy.

0 commit comments

Comments
 (0)