From: Vladimir Oltean <olteanv@gmail.com>
To: Rustam Adilov <adilov@disroot.org>
Cc: Vinod Koul <vkoul@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Stanley Chang <stanley_chang@realtek.com>,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Michael Zavertkin <misha.zavertkin@mail.ru>
Subject: Re: [PATCH v5 5/6] phy: realtek: usb2: add support for RTL9607C USB2 PHY
Date: Tue, 5 May 2026 14:20:50 +0300 [thread overview]
Message-ID: <20260505112050.dy2jn6fz4gcsrvvo@skbuf> (raw)
In-Reply-To: <20260420191941.81834-6-adilov@disroot.org>
On Tue, Apr 21, 2026 at 12:19:40AM +0500, Rustam Adilov wrote:
> @@ -146,6 +153,18 @@ static void rtk_usb2phy_write(u32 val, void __iomem *reg)
> writel(val, reg);
> }
>
> +static u32 rtk_usb2phy_read_le(void __iomem *reg)
> +{
> + return le32_to_cpu(readl(reg));
"make C=1" warning:
drivers/phy/realtek/phy-rtk-usb2.c:158:16: warning: cast to restricted __le32
> +}
> +
> +static void rtk_usb2phy_write_le(u32 val, void __iomem *reg)
> +{
> + u32 tmp = cpu_to_le32(val);
"make C=1" warning:
drivers/phy/realtek/phy-rtk-usb2.c:163:19: warning: incorrect type in initializer (different base types)
drivers/phy/realtek/phy-rtk-usb2.c:163:19: expected unsigned int [usertype] tmp
drivers/phy/realtek/phy-rtk-usb2.c:163:19: got restricted __le32 [usertype]
> +
> + writel(tmp, reg);
> +}
> +
> /* mapping 0xE0 to 0 ... 0xE7 to 7, 0xF0 to 8 ,,, 0xF7 to 15 */
> static inline int page_addr_to_array_index(u8 addr)
> {
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-05-05 11:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 19:19 [PATCH v5 0/6] phy: realtek: usb2: support for RTL9607C USB2 PHY Rustam Adilov
2026-04-20 19:19 ` [PATCH v5 1/6] phy: realtek: usb2: introduce vstatus/new_reg_req variables to driver data Rustam Adilov
2026-04-20 19:19 ` [PATCH v5 2/6] phy: realtek: usb2: introduce read and write functions " Rustam Adilov
2026-04-20 19:19 ` [PATCH v5 3/6] dt-bindings: phy: realtek,usb2phy.yaml: extend for resets and RTL9607C support Rustam Adilov
2026-04-21 7:10 ` Krzysztof Kozlowski
2026-04-20 19:19 ` [PATCH v5 4/6] phy: realtek: usb2: introduce reset controller struct Rustam Adilov
2026-04-20 19:19 ` [PATCH v5 5/6] phy: realtek: usb2: add support for RTL9607C USB2 PHY Rustam Adilov
2026-05-05 11:20 ` Vladimir Oltean [this message]
2026-05-05 11:30 ` Vladimir Oltean
2026-05-05 18:10 ` Rustam Adilov
2026-05-05 19:25 ` Vladimir Oltean
2026-04-20 19:19 ` [PATCH v5 6/6] phy: realtek: Make configs available for MACH_REALTEK_RTL Rustam Adilov
2026-04-21 7:09 ` [PATCH v5 0/6] phy: realtek: usb2: support for RTL9607C USB2 PHY Krzysztof Kozlowski
2026-04-21 14:17 ` Rustam Adilov
2026-05-05 11:37 ` Vladimir Oltean
2026-05-05 18:39 ` Rustam Adilov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260505112050.dy2jn6fz4gcsrvvo@skbuf \
--to=olteanv@gmail.com \
--cc=adilov@disroot.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=misha.zavertkin@mail.ru \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=stanley_chang@realtek.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox