phy: rockchip: inno-usb2: Add missing clkout_ctl_phy kerneldoc
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/1 phy: rockchip: inno-usb2: Add missing clkout_ctl_phy kerneldoc
Add the missing documentation for the newly added clkout_ctl_phy field.
--- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/phy/rockchip/phy-rockchip-inno-usb2.c +2 -1
@@ -170,7 +170,8 @@ struct rockchip_usb2phy_port_cfg {* @reg: the address offset of grf for usb-phy config. * @num_ports: specify how many ports that the phy has. * @phy_tuning: phy default parameters tuning. -* @clkout_ctl: keep on/turn off output clk of phy. +* @clkout_ctl: register to enable output clk of phy, when set in GRF +* @clkout_ctl_phy: register to enable output clk of phy, when set inside phy * @port_cfgs: usb-phy port configurations. * @chg_det: charger detection registers. */
Signature · 7 lines
2.47.3 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The patch adds a kernel-doc description for a non-existent struct member `clkout_ctl_phy`, causing…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch adds a kernel-doc description for a non-existent struct member clkout_ctl_phy, causing a documentation build warning. --
commit f1dbf7fe726d10232258e61a8deb0085a6686e19
Author: Heiko Stuebner <[email protected]>
phy: rockchip: inno-usb2: Add missing clkout_ctl_phy kerneldoc
Add the missing documentation for the newly added clkout_ctl_phy field.
drivers/phy/rockchip/phy-rockchip-inno-usb2.c struct rockchip_usb2phy_port_cfg { · line 174
Quoted 11 lines
drivers/phy/rockchip/phy-rockchip-inno-usb2.c +2
-1@@ -170,7 +170,8 @@ struct rockchip_usb2phy_port_cfg {* @reg: the address offset of grf for usb-phy config. * @num_ports: specify how many ports that the phy has. * @phy_tuning: phy default parameters tuning. -* @clkout_ctl: keep on/turn off output clk of phy. +* @clkout_ctl: register to enable output clk of phy, when set in GRF +* @clkout_ctl_phy: register to enable output clk of phy, when set inside phy
[Severity: Low]
Will this cause an excess struct member warning during the documentation build?
Looking at struct rockchip_usb2phy_cfg in this file, it does not contain a clkout_ctl_phy field:
struct rockchip_usb2phy_cfg {
unsigned int reg;
unsigned int num_ports;
int (*phy_tuning)(struct rockchip_usb2phy *rphy);
struct usb2phy_reg clkout_ctl;
const struct rockchip_usb2phy_port_cfg port_cfgs[USB2PHY_NUM_PORTS];
const struct rockchip_chg_det_reg chg_det;
};Does this code document a member that does not exist in the structure definition on this branch?
Quoted 3 lines
drivers/phy/rockchip/phy-rockchip-inno-usb2.c +0
-0* @port_cfgs: usb-phy port configurations. * @chg_det: charger detection registers. */
Signature · 6 lines
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Quoted 3 lines · Heiko Stuebner
Add the missing documentation for the newly added
clkout_ctl_phyfield.
Applied, thanks!
[1/1] phy: rockchip: inno-usb2: Add missing clkout_ctl_phy kerneldoc
commit: 2ace2e949979b82f82f12dd76d7c5a6145246ca3
Best regards,
Signature · 1 line
~Vinod