All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
	Jingoo Han <jingoohan1@gmail.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Krzysztof Wilczynski <kwilczynski@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-clk@vger.kernel.org, linux-phy@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 7/8] PCI: cs7542: Add CS7542 PCIe host support
Date: Tue, 24 Nov 2026 13:31:25 +0300	[thread overview]
Message-ID: <179551628581.3.13614361091709904582@gmail.com> (raw)
In-Reply-To: <f5d30781ae9502cd76ee2b6757f96a0e5ffa8b71.camel@pengutronix.de>

Hi Philipp,

I'll drop the PCIe host's select of RESET_CONTROLLER. The host only
uses the consumer API.

I looked at reset_control_pulse(). The CS7542 host asserts its
exclusive reset before enabling the clock and powering up the PHY.
The PHY has separate reset bits and leaves the host reset asserted.
I'll keep it asserted for 10 ms after phy_power_on(), deassert it,
then wait another 10 ms before accessing the host registers.

The helper would cover the assertion and hold time for a standalone
pulse. Here the line is already asserted across PHY setup and the
controller also needs the delay after deassertion, so I'll use the
explicit sequence in the host.

Thanks,
Fil



WARNING: multiple messages have this Message-ID (diff)
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
	Jingoo Han <jingoohan1@gmail.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Krzysztof Wilczynski <kwilczynski@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-clk@vger.kernel.org, linux-phy@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 7/8] PCI: cs7542: Add CS7542 PCIe host support
Date: Tue, 24 Nov 2026 13:31:25 +0300	[thread overview]
Message-ID: <179551628581.3.13614361091709904582@gmail.com> (raw)
In-Reply-To: <f5d30781ae9502cd76ee2b6757f96a0e5ffa8b71.camel@pengutronix.de>

Hi Philipp,

I'll drop the PCIe host's select of RESET_CONTROLLER. The host only
uses the consumer API.

I looked at reset_control_pulse(). The CS7542 host asserts its
exclusive reset before enabling the clock and powering up the PHY.
The PHY has separate reset bits and leaves the host reset asserted.
I'll keep it asserted for 10 ms after phy_power_on(), deassert it,
then wait another 10 ms before accessing the host registers.

The helper would cover the assertion and hold time for a standalone
pulse. Here the line is already asserted across PHY setup and the
controller also needs the delay after deassertion, so I'll use the
explicit sequence in the host.

Thanks,
Fil


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

  reply	other threads:[~2026-11-24 10:32 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 20:32 [PATCH v2 0/8] soc: cortina: Add CS7542 PCIe control, SerDes and host support Fil Dunsky
2026-11-23 20:32 ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 1/8] PCI: dwc: Export the multiplexed MSI interrupt handler Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 2/8] dt-bindings: soc: Describe CS7542 PCIe clocks and resets Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 3/8] clk: cs7542: Add PCIe gates and resets to the global provider Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 4/8] dt-bindings: phy: Describe CS7542 PCIe SerDes Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 5/8] phy: Add CS7542 PCIe SerDes support Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 6/8] dt-bindings: PCI: Describe the CS7542 host controller Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32 ` [PATCH v2 7/8] PCI: cs7542: Add CS7542 PCIe host support Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-24 10:05   ` Philipp Zabel
2026-11-24 10:05     ` Philipp Zabel
2026-11-24 10:31     ` Fil Dunsky [this message]
2026-11-24 10:31       ` Fil Dunsky
2026-11-23 20:32 ` [PATCH v2 8/8] MAINTAINERS: Add CS7542 PCIe support Fil Dunsky
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:32   ` Fil Dunsky via B4 Relay
2026-11-23 20:41 ` [PATCH v2 0/8] soc: cortina: Add CS7542 PCIe control, SerDes and host support sashiko-bot
2026-11-23 22:54 ` Bjorn Helgaas
2026-11-23 22:54   ` Bjorn Helgaas
2026-11-23 23:15   ` Fil Dunsky
2026-11-23 23:15     ` Fil Dunsky

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=179551628581.3.13614361091709904582@gmail.com \
    --to=filipp.dunsky@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet+clk@baylibre.com \
    --cc=jingoohan1@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=lpieralisi@kernel.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --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 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.