devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MT8195: Add reset for T-PHY (usb/pcie)
@ 2022-07-20 10:28 AngeloGioacchino Del Regno
  2022-07-20 10:28 ` [PATCH 1/2] dt-bindings: reset: mt8195: Add resets for USB/PCIe t-phy port 1 AngeloGioacchino Del Regno
  2022-07-20 10:28 ` [PATCH 2/2] clk: mediatek: mt8195: Add reset idx for USB/PCIe T-PHY AngeloGioacchino Del Regno
  0 siblings, 2 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-07-20 10:28 UTC (permalink / raw)
  To: mturquette
  Cc: sboyd, matthias.bgg, p.zabel, robh+dt, krzysztof.kozlowski+dt,
	angelogioacchino.delregno, chun-jie.chen, wenst, nfraprado,
	rex-bc.chen, linux-clk, linux-arm-kernel, linux-mediatek,
	linux-kernel, devicetree

Add the resets for TPHY Port 1 which, depending on the board layout,
is used either as USB or PCIe PHY.

This is required on MT8195 Tomato Chromebooks for correct initialization
of the secondary PCI-Express controller, where we have a MT7621 PCIe
WiFi chip.

For reference, the PCIe1 controller devicetree node resets will look
like this:

pcie@112f8000 {
	... blurb ...

	resets = <&infracfg_ao MT8195_INFRA_RST2_USBSIF_P1_SWRST>,
		 <&infracfg_ao MT8195_INFRA_RST2_PCIE_P1_SWRST>;
	reset-names = "phy", "mac";

	... blurb ...
};

This series depends on an earlier one where I introduce the MAC
resets for both PCIe (p0, p1) controllers [1]

[1]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=654980

AngeloGioacchino Del Regno (2):
  dt-bindings: reset: mt8195: Add resets for USB/PCIe t-phy port 1
  clk: mediatek: mt8195: Add reset idx for USB/PCIe T-PHY

 drivers/clk/mediatek/clk-mt8195-infra_ao.c | 1 +
 include/dt-bindings/reset/mt8195-resets.h  | 1 +
 2 files changed, 2 insertions(+)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-01  1:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-20 10:28 [PATCH 0/2] MT8195: Add reset for T-PHY (usb/pcie) AngeloGioacchino Del Regno
2022-07-20 10:28 ` [PATCH 1/2] dt-bindings: reset: mt8195: Add resets for USB/PCIe t-phy port 1 AngeloGioacchino Del Regno
2022-07-25 22:22   ` Rob Herring
2022-09-01  1:17   ` Stephen Boyd
2022-07-20 10:28 ` [PATCH 2/2] clk: mediatek: mt8195: Add reset idx for USB/PCIe T-PHY AngeloGioacchino Del Regno
2022-09-01  1:17   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).