All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Vinod Koul <vkoul@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>
Cc: "Frank Wunderlich" <frank-w@public-files.de>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Daniel Golle" <daniel@makrotopia.org>,
	"Sean Wang" <sean.wang@mediatek.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	linux-phy@lists.infradead.org
Subject: [PATCH v4 4/8] dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
Date: Tue, 22 Apr 2025 15:24:27 +0200	[thread overview]
Message-ID: <20250422132438.15735-5-linux@fw-web.de> (raw)
In-Reply-To: <20250422132438.15735-1-linux@fw-web.de>

From: Frank Wunderlich <frank-w@public-files.de>

Add support for type switch by pericfg register between USB3/PCIe.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
v4:
- changes based on comments from Krzysztof
- change to phy type configuration controller/register
---
 .../devicetree/bindings/phy/mediatek,xsphy.yaml   | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
index 3b5253659e6f..0bed847bb4ad 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
@@ -151,6 +151,21 @@ patternProperties:
         minimum: 1
         maximum: 31
 
+      mediatek,syscon-type:
+        $ref: /schemas/types.yaml#/definitions/phandle-array
+        description:
+          A phandle to syscon used to access the register of type switch,
+          the field should always be 3 cells long.
+        items:
+          - items:
+              - description:
+                  Phandle to phy type configuration system controller
+              - description:
+                  Phy type configuration register offset
+              - description:
+                  Index of config segment
+                enum: [0, 1, 2, 3]
+
     required:
       - reg
       - clocks
-- 
2.43.0



WARNING: multiple messages have this Message-ID (diff)
From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Vinod Koul <vkoul@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>
Cc: devicetree@vger.kernel.org, "Sean Wang" <sean.wang@mediatek.com>,
	"Daniel Golle" <daniel@makrotopia.org>,
	linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	"Rafał Miłecki" <rafal@milecki.pl>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 4/8] dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
Date: Tue, 22 Apr 2025 15:24:27 +0200	[thread overview]
Message-ID: <20250422132438.15735-5-linux@fw-web.de> (raw)
In-Reply-To: <20250422132438.15735-1-linux@fw-web.de>

From: Frank Wunderlich <frank-w@public-files.de>

Add support for type switch by pericfg register between USB3/PCIe.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
v4:
- changes based on comments from Krzysztof
- change to phy type configuration controller/register
---
 .../devicetree/bindings/phy/mediatek,xsphy.yaml   | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
index 3b5253659e6f..0bed847bb4ad 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
@@ -151,6 +151,21 @@ patternProperties:
         minimum: 1
         maximum: 31
 
+      mediatek,syscon-type:
+        $ref: /schemas/types.yaml#/definitions/phandle-array
+        description:
+          A phandle to syscon used to access the register of type switch,
+          the field should always be 3 cells long.
+        items:
+          - items:
+              - description:
+                  Phandle to phy type configuration system controller
+              - description:
+                  Phy type configuration register offset
+              - description:
+                  Index of config segment
+                enum: [0, 1, 2, 3]
+
     required:
       - reg
       - clocks
-- 
2.43.0



WARNING: multiple messages have this Message-ID (diff)
From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Vinod Koul <vkoul@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>
Cc: "Frank Wunderlich" <frank-w@public-files.de>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Daniel Golle" <daniel@makrotopia.org>,
	"Sean Wang" <sean.wang@mediatek.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	linux-phy@lists.infradead.org
Subject: [PATCH v4 4/8] dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
Date: Tue, 22 Apr 2025 15:24:27 +0200	[thread overview]
Message-ID: <20250422132438.15735-5-linux@fw-web.de> (raw)
In-Reply-To: <20250422132438.15735-1-linux@fw-web.de>

From: Frank Wunderlich <frank-w@public-files.de>

Add support for type switch by pericfg register between USB3/PCIe.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
v4:
- changes based on comments from Krzysztof
- change to phy type configuration controller/register
---
 .../devicetree/bindings/phy/mediatek,xsphy.yaml   | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
index 3b5253659e6f..0bed847bb4ad 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
@@ -151,6 +151,21 @@ patternProperties:
         minimum: 1
         maximum: 31
 
+      mediatek,syscon-type:
+        $ref: /schemas/types.yaml#/definitions/phandle-array
+        description:
+          A phandle to syscon used to access the register of type switch,
+          the field should always be 3 cells long.
+        items:
+          - items:
+              - description:
+                  Phandle to phy type configuration system controller
+              - description:
+                  Phy type configuration register offset
+              - description:
+                  Index of config segment
+                enum: [0, 1, 2, 3]
+
     required:
       - reg
       - clocks
-- 
2.43.0


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

  parent reply	other threads:[~2025-04-22 14:47 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22 13:24 [PATCH v4 0/8] Add Bananapi R4 variants and add xsphy Frank Wunderlich
2025-04-22 13:24 ` Frank Wunderlich
2025-04-22 13:24 ` Frank Wunderlich
2025-04-22 13:24 ` [PATCH v4 1/8] dt-bindings: arm: mediatek: add bpi-r4 2g5 phy variant Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:29   ` AngeloGioacchino Del Regno
2025-04-22 13:29     ` AngeloGioacchino Del Regno
2025-04-22 13:29     ` AngeloGioacchino Del Regno
2025-04-23 12:33   ` Rob Herring
2025-04-23 12:33     ` Rob Herring
2025-04-23 12:33     ` Rob Herring
2025-04-23 13:47     ` Frank Wunderlich
2025-04-23 13:47       ` Frank Wunderlich
2025-04-23 13:47       ` Frank Wunderlich
2025-04-23 13:07   ` Krzysztof Kozlowski
2025-04-23 13:07     ` Krzysztof Kozlowski
2025-04-23 13:07     ` Krzysztof Kozlowski
2025-04-22 13:24 ` [PATCH v4 2/8] arm64: dts: mediatek: mt7988a-bpi-r4: allow hw variants of bpi-r4 Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:29   ` AngeloGioacchino Del Regno
2025-04-22 13:29     ` AngeloGioacchino Del Regno
2025-04-22 13:29     ` AngeloGioacchino Del Regno
2025-04-22 13:24 ` [PATCH v4 3/8] dt-bindings: phy: mtk-xs-phy: Add mt7988 compatible Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:31   ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-24  6:41   ` Krzysztof Kozlowski
2025-04-24  6:41     ` Krzysztof Kozlowski
2025-04-24  6:41     ` Krzysztof Kozlowski
2025-04-22 13:24 ` Frank Wunderlich [this message]
2025-04-22 13:24   ` [PATCH v4 4/8] dt-bindings: phy: mtk-xs-phy: support type switch by pericfg Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:31   ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-24  7:34   ` Krzysztof Kozlowski
2025-04-24  7:34     ` Krzysztof Kozlowski
2025-04-24  7:34     ` Krzysztof Kozlowski
2025-04-24  7:35   ` Krzysztof Kozlowski
2025-04-24  7:35     ` Krzysztof Kozlowski
2025-04-24  7:35     ` Krzysztof Kozlowski
2025-04-24 15:09     ` Frank Wunderlich
2025-04-24 15:09       ` Frank Wunderlich
2025-04-22 13:24 ` [PATCH v4 5/8] dt-bindings: mfd: syscon: Add mt7988-topmisc Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:31   ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-24  7:35   ` Krzysztof Kozlowski
2025-04-24  7:35     ` Krzysztof Kozlowski
2025-04-24  7:35     ` Krzysztof Kozlowski
2025-05-01 12:00   ` (subset) " Lee Jones
2025-05-01 12:00     ` Lee Jones
2025-05-01 12:00     ` Lee Jones
2025-04-22 13:24 ` [PATCH v4 6/8] phy: mediatek: xsphy: support type switch by pericfg Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:31   ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-22 13:31     ` AngeloGioacchino Del Regno
2025-04-22 13:24 ` [PATCH v4 7/8] arm64: dts: mediatek: mt7988: Add xsphy for ssusb0/pcie2 Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:32   ` AngeloGioacchino Del Regno
2025-04-22 13:32     ` AngeloGioacchino Del Regno
2025-04-22 13:32     ` AngeloGioacchino Del Regno
2025-04-22 13:24 ` [PATCH v4 8/8] arm64: dts: mediatek: mt7988a-bpi-r4: enable xsphy Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:24   ` Frank Wunderlich
2025-04-22 13:32   ` AngeloGioacchino Del Regno
2025-04-22 13:32     ` AngeloGioacchino Del Regno
2025-04-22 13:32     ` AngeloGioacchino Del Regno
2025-05-10 11:35 ` Aw: [PATCH v4 0/8] Add Bananapi R4 variants and add xsphy Frank Wunderlich
2025-05-10 11:35   ` Frank Wunderlich
2025-05-14 11:37 ` (subset) " Vinod Koul
2025-05-14 11:37   ` Vinod Koul
2025-05-14 11:37   ` Vinod Koul
2025-05-20  9:47 ` AngeloGioacchino Del Regno
2025-05-20  9:47   ` AngeloGioacchino Del Regno
2025-05-20  9:47   ` AngeloGioacchino Del Regno

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=20250422132438.15735-5-linux@fw-web.de \
    --to=linux@fw-web.de \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frank-w@public-files.de \
    --cc=kishon@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=rafal@milecki.pl \
    --cc=robh@kernel.org \
    --cc=sean.wang@mediatek.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 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.