All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	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>,
	Bjorn Andersson <andersson@kernel.org>,
	linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	usb4-upstream@oss.qualcomm.com,
	Raghavendra Thoorpu <rthoorpu@qti.qualcomm.com>,
	Mika Westerberg <westeri@kernel.org>,
	Sven Peter <sven@kernel.org>,
	Abel Vesa <abel.vesa@oss.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v4 3/5] phy: qualcomm: qmp-combo: Add preliminary USB4 support
Date: Fri, 4 Sep 2026 10:05:07 +0200	[thread overview]
Message-ID: <app7s9GZySBj7Mzs@hovoldconsulting.com> (raw)
In-Reply-To: <b326edbf-fe34-426b-af19-912edc18ba84@oss.qualcomm.com>

On Fri, Sep 04, 2026 at 09:36:04AM +0200, Konrad Dybcio wrote:
> On 9/1/26 2:44 PM, Manivannan Sadhasivam wrote:
> > On Thu, Aug 20, 2026 at 04:24:12PM +0200, Konrad Dybcio wrote:
> >> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> >>
> >> Some Combo PHYs (so far only on SC8280XP, X1E80100 and Glymur), come in
> >> a flavor called USB43DP, which as the name implies, features USB4, USB3
> >> and DP signal processing capabilities. In that architecture, USB3 and
> >> USB4 PHYs share the same USB_PLL while featuring separate logic spaces.
> >> The DP part is roughly the same as on the instances without USB4.
> 
> [...]
> 
> >> +	case QMPPHY_MODE_USB4:
> >> +		writel(USB4_MODE, com + QPHY_V3_DP_COM_PHY_MODE_CTRL);
> >> +
> >> +		/* bring both QMP USB and QMP DP PHYs PCS block out of reset */
> >> +		/* TODO: disable DP PLL if there are no active tunnels after router setup */
> > 
> > 100 column width generally applies to code, not comments. Comments should still
> > be wrapped to 80 columns.
> 
> I believe this isn't a real concern.. checkpatch certainly doesn't care:
> 
> # LONG_LINE_COMMENT     a comment starts before but extends beyond $max_line_length
> # LONG_LINE_STRING      a string starts before but extends beyond $max_line_length
> # LONG_LINE             all other lines longer than $max_line_length
> 
> (all take the same value, preset to 100 at the top of the file)

Checkpatch is just a dumb tool. The coding style says the preferred
limit is 80 chars unless breaking it improves readability. And that
exception generally does not apply to comments (e.g. unless it contains
a URL or similar).

Johan

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: Johan Hovold <johan@kernel.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	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>,
	Bjorn Andersson <andersson@kernel.org>,
	linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	usb4-upstream@oss.qualcomm.com,
	Raghavendra Thoorpu <rthoorpu@qti.qualcomm.com>,
	Mika Westerberg <westeri@kernel.org>,
	Sven Peter <sven@kernel.org>,
	Abel Vesa <abel.vesa@oss.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v4 3/5] phy: qualcomm: qmp-combo: Add preliminary USB4 support
Date: Fri, 4 Sep 2026 10:05:07 +0200	[thread overview]
Message-ID: <app7s9GZySBj7Mzs@hovoldconsulting.com> (raw)
In-Reply-To: <b326edbf-fe34-426b-af19-912edc18ba84@oss.qualcomm.com>

On Fri, Sep 04, 2026 at 09:36:04AM +0200, Konrad Dybcio wrote:
> On 9/1/26 2:44 PM, Manivannan Sadhasivam wrote:
> > On Thu, Aug 20, 2026 at 04:24:12PM +0200, Konrad Dybcio wrote:
> >> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> >>
> >> Some Combo PHYs (so far only on SC8280XP, X1E80100 and Glymur), come in
> >> a flavor called USB43DP, which as the name implies, features USB4, USB3
> >> and DP signal processing capabilities. In that architecture, USB3 and
> >> USB4 PHYs share the same USB_PLL while featuring separate logic spaces.
> >> The DP part is roughly the same as on the instances without USB4.
> 
> [...]
> 
> >> +	case QMPPHY_MODE_USB4:
> >> +		writel(USB4_MODE, com + QPHY_V3_DP_COM_PHY_MODE_CTRL);
> >> +
> >> +		/* bring both QMP USB and QMP DP PHYs PCS block out of reset */
> >> +		/* TODO: disable DP PLL if there are no active tunnels after router setup */
> > 
> > 100 column width generally applies to code, not comments. Comments should still
> > be wrapped to 80 columns.
> 
> I believe this isn't a real concern.. checkpatch certainly doesn't care:
> 
> # LONG_LINE_COMMENT     a comment starts before but extends beyond $max_line_length
> # LONG_LINE_STRING      a string starts before but extends beyond $max_line_length
> # LONG_LINE             all other lines longer than $max_line_length
> 
> (all take the same value, preset to 100 at the top of the file)

Checkpatch is just a dumb tool. The coding style says the preferred
limit is 80 chars unless breaking it improves readability. And that
exception generally does not apply to comments (e.g. unless it contains
a URL or similar).

Johan

  reply	other threads:[~2026-09-04  8:05 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 14:24 [PATCH v4 0/5] USB4 mode programming for QMMPHY on X1E Konrad Dybcio
2026-08-20 14:24 ` Konrad Dybcio
2026-08-20 14:24 ` [PATCH v4 1/5] dt-bindings: phy: qcom,qmp-usb3-dp: Extend X1E description for USB4 Konrad Dybcio
2026-08-20 14:24   ` Konrad Dybcio
2026-08-20 14:36   ` sashiko-bot
2026-08-20 14:36     ` sashiko-bot
2026-08-20 14:24 ` [PATCH v4 2/5] phy: core: Define TBT phy_mode Konrad Dybcio
2026-08-20 14:24   ` Konrad Dybcio
2026-09-01 12:38   ` Manivannan Sadhasivam
2026-09-01 12:38     ` Manivannan Sadhasivam
2026-08-20 14:24 ` [PATCH v4 3/5] phy: qualcomm: qmp-combo: Add preliminary USB4 support Konrad Dybcio
2026-08-20 14:24   ` Konrad Dybcio
2026-08-20 14:40   ` sashiko-bot
2026-08-20 14:40     ` sashiko-bot
2026-09-01 12:44   ` Manivannan Sadhasivam
2026-09-01 12:44     ` Manivannan Sadhasivam
2026-09-04  7:36     ` Konrad Dybcio
2026-09-04  7:36       ` Konrad Dybcio
2026-09-04  8:05       ` Johan Hovold [this message]
2026-09-04  8:05         ` Johan Hovold
2026-08-20 14:24 ` [PATCH v4 4/5] phy: qualcomm: qmp-combo: Add USB4/TBT3 configuration data for Hamoa Konrad Dybcio
2026-08-20 14:24   ` Konrad Dybcio
2026-08-20 14:44   ` sashiko-bot
2026-08-20 14:44     ` sashiko-bot
2026-09-01 12:45   ` Manivannan Sadhasivam
2026-09-01 12:45     ` Manivannan Sadhasivam
2026-08-20 14:24 ` [PATCH v4 5/5] arm64: dts: qcom: hamoa: Extend QMPPHY description for USB4 Konrad Dybcio
2026-08-20 14:24   ` Konrad Dybcio
2026-09-01 13:11   ` Manivannan Sadhasivam
2026-09-01 13:11     ` Manivannan Sadhasivam

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=app7s9GZySBj7Mzs@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=rthoorpu@qti.qualcomm.com \
    --cc=sven@kernel.org \
    --cc=usb4-upstream@oss.qualcomm.com \
    --cc=vkoul@kernel.org \
    --cc=westeri@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.