lkml.org 
[lkml]   [2024]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v1] ARM: dts: aspeed: yosemite4: add I3C config in DTS
Date


> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Monday, May 6, 2024 11:38 PM
> To: Delphine_CC_Chiu/WYHQ/Wiwynn <Delphine_CC_Chiu@wiwynn.com>;
> patrick@stwcx.xyz; joel@jms.id.au; openbmc@lists.ozlabs.org; Rob Herring
> <robh@kernel.org>; Krzysztof Kozlowski <krzk+dt@kernel.org>; Conor Dooley
> <conor+dt@kernel.org>; Andrew Jeffery <andrew@codeconstruct.com.au>
> Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> linux-aspeed@lists.ozlabs.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: add I3C config in DTS
>
> Security Reminder: Please be aware that this email is sent by an external
> sender.
>
> On 06/05/2024 13:33, Delphine CC Chiu wrote:
> > Set I3C config in yosemite4 DTS.
> >
> > Test plan:
> > Tested with aspeed I3C patches and I3C hub driver.
> >
> > Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
> > ---
> > .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 86
> +++++++++++++++++++
> > 1 file changed, 86 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> > index 64075cc41d92..6a30c424d745 100644
> > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> > @@ -595,6 +595,92 @@ i2c-mux@72 {
> > };
> > };
> >
> > +&i3c0 {
> > + status = "okay";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_i3c1_default>;
> > + i3c-pp-scl-hi-period-ns = <40>;
> > + i3c-pp-scl-lo-period-ns = <40>;
> > + i3c-od-scl-hi-period-ns = <380>;
> > + i3c-od-scl-lo-period-ns = <620>;
> > + sda-tx-hold-ns = <10>;
> > +
> > + mctp-controller;
> > + hub@0x70 {
>
> That's not a valid unit address.
>
>
Will update in the next patch. Thanks.

> > + reg = <0x70 0x3c0 0x00700000>;
> > + cp0-ldo-en = "enabled";
> > + cp1-ldo-en = "enabled";
> > + cp0-ldo-volt = "1.2V";
> > + cp1-ldo-volt = "1.2V";
> > + tp0145-ldo-en = "enabled";
> > + tp2367-ldo-en = "enabled";
> > + tp0145-ldo-volt = "1.2V";
> > + tp2367-ldo-volt = "1.2V";
> > + tp0145-pullup = "2k";
> > + tp2367-pullup = "2k";
>
> Where are bindings for all this?
>
The bindings are from the following binding document.
https://patchwork.kernel.org/project/linux-i3c/patch/20240217131412.4145506-1-steven.niu.uj@renesas.com/
\
 
 \ /
  Last update: 2024-05-27 18:30    [W:0.054 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site