linux-i3c.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc
@ 2023-10-17 19:46 Frank Li
  2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
  2023-11-03 19:04 ` [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Alexandre Belloni
  0 siblings, 2 replies; 11+ messages in thread
From: Frank Li @ 2023-10-17 19:46 UTC (permalink / raw)
  To: miquel.raynal
  Cc: Frank.Li, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, shawnguo, sherry.sun, xiaoning.wang

In the binding documentation, the compatible string is specified as
'silvaco,i3c-master-v1', but in the driver, it is defined as
'silvaco,i3c-master'.

Rename 'silvaco,i3c-master' to 'silvaco,i3c-master-v1' to ensure
compatibility with the documentation.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---

Notes:
    Change from v2 to v3
    - Miquèl think drop silvaco,i3c-master totally. I grep dts tree. No
    upstream dts use silvaco,i3c-master yet.
      I have not add "Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>",
    it is different solution with previous one even just one line change.
      I think v2/v3 both is good, feel free to pick each one.
    
    Change from v1 to v2
    - update driver by using compatible string silvaco,i3c-master-v1
    
    Change from v1 to v2
    - update driver by using compatible string silvaco,i3c-master-v1

 drivers/i3c/master/svc-i3c-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c
index cf932ee056ef9..e307ba2b965e6 100644
--- a/drivers/i3c/master/svc-i3c-master.c
+++ b/drivers/i3c/master/svc-i3c-master.c
@@ -1650,7 +1650,7 @@ static const struct dev_pm_ops svc_i3c_pm_ops = {
 };
 
 static const struct of_device_id svc_i3c_master_of_match_tbl[] = {
-	{ .compatible = "silvaco,i3c-master" },
+	{ .compatible = "silvaco,i3c-master-v1"},
 	{ /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, svc_i3c_master_of_match_tbl);
-- 
2.34.1


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-10-17 19:46 [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Frank Li
@ 2023-10-17 19:46 ` Frank Li
  2023-11-09 15:51   ` Frank Li
  2023-12-13  8:12   ` Shawn Guo
  2023-11-03 19:04 ` [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Alexandre Belloni
  1 sibling, 2 replies; 11+ messages in thread
From: Frank Li @ 2023-10-17 19:46 UTC (permalink / raw)
  To: miquel.raynal
  Cc: Frank.Li, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, shawnguo, sherry.sun, xiaoning.wang

Add I3C1 and I3C2.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---

Notes:
    Change from v1 to v2
    - using compatible string silvaco,i3c-master-v1

 arch/arm64/boot/dts/freescale/imx93.dtsi | 26 ++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 6f85a05ee7e1a..c6ad9ba9eb9af 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -242,6 +242,19 @@ tpm2: pwm@44320000 {
 				status = "disabled";
 			};
 
+			i3c1: i3c-master@44330000 {
+				compatible = "silvaco,i3c-master-v1";
+				reg = <0x44330000 0x10000>;
+				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <3>;
+				#size-cells = <0>;
+				clocks = <&clk IMX93_CLK_BUS_AON>,
+					 <&clk IMX93_CLK_I3C1_GATE>,
+					 <&clk IMX93_CLK_I3C1_SLOW>;
+				clock-names = "pclk", "fast_clk", "slow_clk";
+				status = "disabled";
+			};
+
 			lpi2c1: i2c@44340000 {
 				compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
 				reg = <0x44340000 0x10000>;
@@ -496,6 +509,19 @@ tpm6: pwm@42510000 {
 				status = "disabled";
 			};
 
+			i3c2: i3c-master@42520000 {
+				compatible = "silvaco,i3c-master-v1";
+				reg = <0x42520000 0x10000>;
+				interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <3>;
+				#size-cells = <0>;
+				clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
+					 <&clk IMX93_CLK_I3C2_GATE>,
+					 <&clk IMX93_CLK_I3C2_SLOW>;
+				clock-names = "pclk", "fast_clk", "slow_clk";
+				status = "disabled";
+			};
+
 			lpi2c3: i2c@42530000 {
 				compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
 				reg = <0x42530000 0x10000>;
-- 
2.34.1


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc
  2023-10-17 19:46 [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Frank Li
  2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
@ 2023-11-03 19:04 ` Alexandre Belloni
  1 sibling, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2023-11-03 19:04 UTC (permalink / raw)
  To: miquel.raynal, Frank Li
  Cc: alexander.stein, conor+dt, conor.culhane, conor, devicetree,
	festevam, haibo.chen, imx, joe, kernel, krzysztof.kozlowski+dt,
	krzysztof.kozlowski, linux-arm-kernel, linux-i3c, linux-imx,
	linux-kernel, peng.fan, ping.bai, robh+dt, s.hauer, shawnguo,
	sherry.sun, xiaoning.wang


On Tue, 17 Oct 2023 15:46:56 -0400, Frank Li wrote:
> In the binding documentation, the compatible string is specified as
> 'silvaco,i3c-master-v1', but in the driver, it is defined as
> 'silvaco,i3c-master'.
> 
> Rename 'silvaco,i3c-master' to 'silvaco,i3c-master-v1' to ensure
> compatibility with the documentation.
> 
> [...]

Applied, thanks!

[1/2] i3c: master: svc: fix compatibility string mismatch with binding doc
      commit: 8911eae9c8a947e5c1cc4fcce40473f1f5e475cd

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
@ 2023-11-09 15:51   ` Frank Li
  2023-11-09 16:51     ` Krzysztof Kozlowski
  2023-11-27  2:21     ` Shawn Guo
  2023-12-13  8:12   ` Shawn Guo
  1 sibling, 2 replies; 11+ messages in thread
From: Frank Li @ 2023-11-09 15:51 UTC (permalink / raw)
  To: shawnguo
  Cc: alexander.stein, alexandre.belloni, conor+dt, conor.culhane,
	conor, devicetree, festevam, haibo.chen, imx, joe, kernel,
	krzysztof.kozlowski+dt, krzysztof.kozlowski, linux-arm-kernel,
	linux-i3c, linux-imx, linux-kernel, peng.fan, ping.bai, robh+dt,
	s.hauer, shawnguo, sherry.sun, xiaoning.wang

On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> Add I3C1 and I3C2.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---

@Guo Shawn:

Driver part already merged. 

Please pick up dts part

Frank

> 
> Notes:
>     Change from v1 to v2
>     - using compatible string silvaco,i3c-master-v1
> 
>  arch/arm64/boot/dts/freescale/imx93.dtsi | 26 ++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 6f85a05ee7e1a..c6ad9ba9eb9af 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -242,6 +242,19 @@ tpm2: pwm@44320000 {
>  				status = "disabled";
>  			};
>  
> +			i3c1: i3c-master@44330000 {
> +				compatible = "silvaco,i3c-master-v1";
> +				reg = <0x44330000 0x10000>;
> +				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
> +				#address-cells = <3>;
> +				#size-cells = <0>;
> +				clocks = <&clk IMX93_CLK_BUS_AON>,
> +					 <&clk IMX93_CLK_I3C1_GATE>,
> +					 <&clk IMX93_CLK_I3C1_SLOW>;
> +				clock-names = "pclk", "fast_clk", "slow_clk";
> +				status = "disabled";
> +			};
> +
>  			lpi2c1: i2c@44340000 {
>  				compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
>  				reg = <0x44340000 0x10000>;
> @@ -496,6 +509,19 @@ tpm6: pwm@42510000 {
>  				status = "disabled";
>  			};
>  
> +			i3c2: i3c-master@42520000 {
> +				compatible = "silvaco,i3c-master-v1";
> +				reg = <0x42520000 0x10000>;
> +				interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
> +				#address-cells = <3>;
> +				#size-cells = <0>;
> +				clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
> +					 <&clk IMX93_CLK_I3C2_GATE>,
> +					 <&clk IMX93_CLK_I3C2_SLOW>;
> +				clock-names = "pclk", "fast_clk", "slow_clk";
> +				status = "disabled";
> +			};
> +
>  			lpi2c3: i2c@42530000 {
>  				compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
>  				reg = <0x42530000 0x10000>;
> -- 
> 2.34.1
> 

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-11-09 15:51   ` Frank Li
@ 2023-11-09 16:51     ` Krzysztof Kozlowski
  2023-11-27  2:21     ` Shawn Guo
  1 sibling, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-09 16:51 UTC (permalink / raw)
  To: Frank Li, shawnguo
  Cc: alexander.stein, alexandre.belloni, conor+dt, conor.culhane,
	conor, devicetree, festevam, haibo.chen, imx, joe, kernel,
	krzysztof.kozlowski+dt, linux-arm-kernel, linux-i3c, linux-imx,
	linux-kernel, peng.fan, ping.bai, robh+dt, s.hauer, sherry.sun,
	xiaoning.wang

On 09/11/2023 16:51, Frank Li wrote:
> On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
>> Add I3C1 and I3C2.
>>
>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>> ---
> 
> @Guo Shawn:
> 
> Driver part already merged. 
> 
> Please pick up dts part

It's merge window. What do you expect exactly?

Best regards,
Krzysztof


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-11-09 15:51   ` Frank Li
  2023-11-09 16:51     ` Krzysztof Kozlowski
@ 2023-11-27  2:21     ` Shawn Guo
  2023-11-27  9:35       ` Conor Dooley
  1 sibling, 1 reply; 11+ messages in thread
From: Shawn Guo @ 2023-11-27  2:21 UTC (permalink / raw)
  To: Frank Li
  Cc: alexander.stein, alexandre.belloni, conor+dt, conor.culhane,
	conor, devicetree, festevam, haibo.chen, imx, joe, kernel,
	krzysztof.kozlowski+dt, krzysztof.kozlowski, linux-arm-kernel,
	linux-i3c, linux-imx, linux-kernel, peng.fan, ping.bai, robh+dt,
	s.hauer, sherry.sun, xiaoning.wang

On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote:
> On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> > Add I3C1 and I3C2.
> > 
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> 
> @Guo Shawn:
> 
> Driver part already merged. 
> 
> Please pick up dts part

Rob had a comment [1] about SoC specific compatible.  That's not what we
want?

Shawn

[1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-11-27  2:21     ` Shawn Guo
@ 2023-11-27  9:35       ` Conor Dooley
  2023-12-06  5:46         ` Frank Li
  0 siblings, 1 reply; 11+ messages in thread
From: Conor Dooley @ 2023-11-27  9:35 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Frank Li, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, sherry.sun, xiaoning.wang


[-- Attachment #1.1: Type: text/plain, Size: 712 bytes --]

On Mon, Nov 27, 2023 at 10:21:40AM +0800, Shawn Guo wrote:
> On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote:
> > On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> > > Add I3C1 and I3C2.
> > > 
> > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > ---
> > 
> > @Guo Shawn:
> > 
> > Driver part already merged. 
> > 
> > Please pick up dts part
> 
> Rob had a comment [1] about SoC specific compatible.  That's not what we
> want?
> 
> Shawn
> 
> [1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html

Yeah, Rob's request here looks valid to me. Should just be a bindings
change Frank & fall back to the "silvaco,i3c-master-v1" compatible.

Cheers,
Conor.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 111 bytes --]

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-11-27  9:35       ` Conor Dooley
@ 2023-12-06  5:46         ` Frank Li
  2023-12-06  9:31           ` Shawn Guo
  0 siblings, 1 reply; 11+ messages in thread
From: Frank Li @ 2023-12-06  5:46 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Shawn Guo, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, sherry.sun, xiaoning.wang

On Mon, Nov 27, 2023 at 09:35:39AM +0000, Conor Dooley wrote:
> On Mon, Nov 27, 2023 at 10:21:40AM +0800, Shawn Guo wrote:
> > On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote:
> > > On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> > > > Add I3C1 and I3C2.
> > > > 
> > > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > > ---
> > > 
> > > @Guo Shawn:
> > > 
> > > Driver part already merged. 
> > > 
> > > Please pick up dts part
> > 
> > Rob had a comment [1] about SoC specific compatible.  That's not what we
> > want?
> > 
> > Shawn
> > 
> > [1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html
> 
> Yeah, Rob's request here looks valid to me. Should just be a bindings
> change Frank & fall back to the "silvaco,i3c-master-v1" compatible.
> 
> Cheers,
> Conor.

@shawn:
	rob agree on "silvaco,i3c-master-v1" compatible.

Frank

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-12-06  5:46         ` Frank Li
@ 2023-12-06  9:31           ` Shawn Guo
  2023-12-06 16:33             ` Frank Li
  0 siblings, 1 reply; 11+ messages in thread
From: Shawn Guo @ 2023-12-06  9:31 UTC (permalink / raw)
  To: Frank Li
  Cc: Conor Dooley, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, sherry.sun, xiaoning.wang

On Wed, Dec 06, 2023 at 12:46:15AM -0500, Frank Li wrote:
> On Mon, Nov 27, 2023 at 09:35:39AM +0000, Conor Dooley wrote:
> > On Mon, Nov 27, 2023 at 10:21:40AM +0800, Shawn Guo wrote:
> > > On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote:
> > > > On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> > > > > Add I3C1 and I3C2.
> > > > > 
> > > > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > > > ---
> > > > 
> > > > @Guo Shawn:
> > > > 
> > > > Driver part already merged. 
> > > > 
> > > > Please pick up dts part
> > > 
> > > Rob had a comment [1] about SoC specific compatible.  That's not what we
> > > want?
> > > 
> > > Shawn
> > > 
> > > [1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html
> > 
> > Yeah, Rob's request here looks valid to me. Should just be a bindings
> > change Frank & fall back to the "silvaco,i3c-master-v1" compatible.
> > 
> > Cheers,
> > Conor.
> 
> @shawn:
> 	rob agree on "silvaco,i3c-master-v1" compatible.

Hmm, not sure I have seen that.  Here is what I saw from Rob:

"
The real problem here is not whether we have "v1" or not, but you need
an SoC specific compatible. Unless there's a public spec where we can
know exactly how many resets, clocks, interrupts, etc.
"

Shawn

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-12-06  9:31           ` Shawn Guo
@ 2023-12-06 16:33             ` Frank Li
  0 siblings, 0 replies; 11+ messages in thread
From: Frank Li @ 2023-12-06 16:33 UTC (permalink / raw)
  To: Shawn Guo, robh+dt
  Cc: Conor Dooley, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, sherry.sun, xiaoning.wang

On Wed, Dec 06, 2023 at 05:31:06PM +0800, Shawn Guo wrote:
> On Wed, Dec 06, 2023 at 12:46:15AM -0500, Frank Li wrote:
> > On Mon, Nov 27, 2023 at 09:35:39AM +0000, Conor Dooley wrote:
> > > On Mon, Nov 27, 2023 at 10:21:40AM +0800, Shawn Guo wrote:
> > > > On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote:
> > > > > On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> > > > > > Add I3C1 and I3C2.
> > > > > > 
> > > > > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > > > > ---
> > > > > 
> > > > > @Guo Shawn:
> > > > > 
> > > > > Driver part already merged. 
> > > > > 
> > > > > Please pick up dts part
> > > > 
> > > > Rob had a comment [1] about SoC specific compatible.  That's not what we
> > > > want?
> > > > 
> > > > Shawn
> > > > 
> > > > [1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html
> > > 
> > > Yeah, Rob's request here looks valid to me. Should just be a bindings
> > > change Frank & fall back to the "silvaco,i3c-master-v1" compatible.
> > > 
> > > Cheers,
> > > Conor.
> > 
> > @shawn:
> > 	rob agree on "silvaco,i3c-master-v1" compatible.
> 
> Hmm, not sure I have seen that.  Here is what I saw from Rob:
> 
> "
> The real problem here is not whether we have "v1" or not, but you need
> an SoC specific compatible. Unless there's a public spec where we can
> know exactly how many resets, clocks, interrupts, etc.
> "

@Rob:
	Previous existed binding doc is "silvaco,i3c-master-v1". So far
this IP in our difference SOC have the same resets and clocks, and only one
interrrupts.
	current existed i3c controller compatible string is

	snps,dw-i3c-master-1.00a
	cdns,i3c-master
	mipi-i3c-hci

	mipi-i3c-hci is standard. "snps", "cdns" are similar as prefix
"silivaco".
	I think the same IP vendor and same IP version should have same
resets, clocks, and interrupts. So far still not met exception yet.

Frank


> 
> Shawn

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

* Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2
  2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
  2023-11-09 15:51   ` Frank Li
@ 2023-12-13  8:12   ` Shawn Guo
  1 sibling, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2023-12-13  8:12 UTC (permalink / raw)
  To: Frank Li
  Cc: miquel.raynal, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, sherry.sun, xiaoning.wang

On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote:
> Add I3C1 and I3C2.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Applied, thanks!

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

end of thread, other threads:[~2023-12-13  8:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 19:46 [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Frank Li
2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
2023-11-09 15:51   ` Frank Li
2023-11-09 16:51     ` Krzysztof Kozlowski
2023-11-27  2:21     ` Shawn Guo
2023-11-27  9:35       ` Conor Dooley
2023-12-06  5:46         ` Frank Li
2023-12-06  9:31           ` Shawn Guo
2023-12-06 16:33             ` Frank Li
2023-12-13  8:12   ` Shawn Guo
2023-11-03 19:04 ` [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Alexandre Belloni

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).