* [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS
@ 2025-02-20 2:32 Delphine CC Chiu
2025-02-21 2:50 ` Andrew Jeffery
2025-02-21 2:51 ` Andrew Jeffery
0 siblings, 2 replies; 3+ messages in thread
From: Delphine CC Chiu @ 2025-02-20 2:32 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: MarshallZhan-wiwynn, Delphine CC Chiu, devicetree,
linux-arm-kernel, linux-aspeed, linux-kernel
From: MarshallZhan-wiwynn <marshall_zhan@wiwynn.com>
Set I3C config in yosemite4 DTS.
Test plan:
Tested PLDM GetTID successfully with the I3C hub driver.
Signed-off-by: MarshallZhan-wiwynn <marshall_zhan@wiwynn.com>
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 29f224bccd63..5dbfe073e536 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -1317,6 +1317,92 @@ eeprom@50 {
};
};
+&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 {
+ reg = <0x70 0x3c0 0x00700000>;
+ cp0-ldo-en = "disabled";
+ cp1-ldo-en = "disabled";
+ cp0-ldo-volt = "1.2V";
+ cp1-ldo-volt = "1.2V";
+ tp0145-ldo-en = "disabled";
+ tp2367-ldo-en = "disabled";
+ tp0145-ldo-volt = "1.2V";
+ tp2367-ldo-volt = "1.2V";
+ tp0145-pullup = "2k";
+ tp2367-pullup = "2k";
+
+ target-port@0 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@1 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@2 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@3 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ };
+};
+
+&i3c1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i3c2_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 {
+ reg = <0x70 0x3c0 0x00700000>;
+ cp0-ldo-en = "disabled";
+ cp1-ldo-en = "disabled";
+ cp0-ldo-volt = "1.2V";
+ cp1-ldo-volt = "1.2V";
+ tp0145-ldo-en = "disabled";
+ tp2367-ldo-en = "disabled";
+ tp0145-ldo-volt = "1.2V";
+ tp2367-ldo-volt = "1.2V";
+ tp0145-pullup = "2k";
+ tp2367-pullup = "2k";
+
+ target-port@0 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@1 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@2 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ target-port@3 {
+ mode = "i3c";
+ pullup = "enabled";
+ };
+ };
+};
+
&adc0 {
status = "okay";
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS
2025-02-20 2:32 [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS Delphine CC Chiu
@ 2025-02-21 2:50 ` Andrew Jeffery
2025-02-21 2:51 ` Andrew Jeffery
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2025-02-21 2:50 UTC (permalink / raw)
To: Delphine CC Chiu, patrick, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Joel Stanley
Cc: MarshallZhan-wiwynn, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
Hi,
On Thu, 2025-02-20 at 10:32 +0800, Delphine CC Chiu wrote:
> From: MarshallZhan-wiwynn <marshall_zhan@wiwynn.com>
Typically git's user.name config should reflect your well-known name
(with spaces between your individual names, and without e.g. a -wiwynn
suffix).
>
> Set I3C config in yosemite4 DTS.
>
> Test plan:
> Tested PLDM GetTID successfully with the I3C hub driver.
How was this successful? Your patch fails to build on top of v6.14-rc1.
Please make sure you're testing against an upstream kernel tree.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS
2025-02-20 2:32 [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS Delphine CC Chiu
2025-02-21 2:50 ` Andrew Jeffery
@ 2025-02-21 2:51 ` Andrew Jeffery
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2025-02-21 2:51 UTC (permalink / raw)
To: Delphine CC Chiu, patrick, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Joel Stanley
Cc: MarshallZhan-wiwynn, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
Hi,
On Thu, 2025-02-20 at 10:32 +0800, Delphine CC Chiu wrote:
> From: MarshallZhan-wiwynn <marshall_zhan@wiwynn.com>
Typically git's user.name config should reflect your well-known name
(with spaces between your individual names, and without e.g. a -wiwynn
suffix).
>
> Set I3C config in yosemite4 DTS.
>
> Test plan:
> Tested PLDM GetTID successfully with the I3C hub driver.
How was this successful? Your patch fails to build on top of v6.14-rc1.
Please make sure you're testing against an upstream kernel tree.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-21 2:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 2:32 [PATCH v5] ARM: dts: aspeed: yosemite4: add I3C config in DTS Delphine CC Chiu
2025-02-21 2:50 ` Andrew Jeffery
2025-02-21 2:51 ` Andrew Jeffery
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox