* [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4
@ 2024-09-26 3:28 Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 1/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards Delphine CC Chiu
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick
Cc: Delphine CC Chiu, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
- v1
- Add i2c-mux for ADC monitor on Spider Board.
- Revise adc128d818 adc mode on Fan Boards.
- Change the address of Fan IC on fan boards.
- Remove led gpio pca9552 on fan boards.
- Add i2c mux for for two fan boards.
Ricky CX Wu (5):
ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards
ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on fan boards
ARM: dts: aspeed: yosemite4: Change the address of Fan IC on fan
boards
ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards
ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider
Board
.../aspeed/aspeed-bmc-facebook-yosemite4.dts | 131 ++++++++----------
1 file changed, 55 insertions(+), 76 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v1 1/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
@ 2024-09-26 3:28 ` Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on " Delphine CC Chiu
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: Ricky CX Wu, Delphine CC Chiu, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Change the address of the I2C mux for two fan boards to 0x74
according to schematic.
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
.../aspeed/aspeed-bmc-facebook-yosemite4.dts | 81 ++++++++++---------
1 file changed, 44 insertions(+), 37 deletions(-)
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 98477792aa00..04f6378c2b5f 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -17,6 +17,9 @@ aliases {
serial6 = &uart7;
serial7 = &uart8;
serial8 = &uart9;
+
+ i2c30 = &imux30;
+ i2c31 = &imux31;
};
chosen {
@@ -380,6 +383,8 @@ ipmb@10 {
};
&i2c14 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
bus-frequency = <400000>;
adc@1d {
@@ -440,20 +445,50 @@ eeprom@51 {
reg = <0x51>;
};
- i2c-mux@71 {
- compatible = "nxp,pca9846";
+ i2c-mux@73 {
+ compatible = "nxp,pca9544";
#address-cells = <1>;
#size-cells = <0>;
idle-state = <0>;
i2c-mux-idle-disconnect;
- reg = <0x71>;
+ reg = <0x73>;
i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+ adc@35 {
+ compatible = "maxim,max11617";
+ reg = <0x35>;
+ };
+ };
+
+ i2c@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+
+ adc@35 {
+ compatible = "maxim,max11617";
+ reg = <0x35>;
+ };
+ };
+ };
+
+ i2c-mux@74 {
+ compatible = "nxp,pca9546";
+ reg = <0x74>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ i2c-mux-idle-disconnect;
+
+ imux30: i2c@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
adc@1f {
compatible = "ti,adc128d818";
reg = <0x1f>;
@@ -470,6 +505,8 @@ pwm@20{
gpio@22{
compatible = "ti,tca6424";
reg = <0x22>;
+ gpio-controller;
+ #gpio-cells = <2>;
};
pwm@23{
@@ -499,10 +536,10 @@ gpio@61 {
};
};
- i2c@1 {
+ imux31: i2c@1 {
+ reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
- reg = <0>;
adc@1f {
compatible = "ti,adc128d818";
@@ -520,6 +557,8 @@ pwm@20{
gpio@22{
compatible = "ti,tca6424";
reg = <0x22>;
+ gpio-controller;
+ #gpio-cells = <2>;
};
pwm@23{
@@ -549,38 +588,6 @@ gpio@61 {
};
};
};
-
- i2c-mux@73 {
- compatible = "nxp,pca9544";
- #address-cells = <1>;
- #size-cells = <0>;
-
- idle-state = <0>;
- i2c-mux-idle-disconnect;
- reg = <0x73>;
-
- i2c@0 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
-
- adc@35 {
- compatible = "maxim,max11617";
- reg = <0x35>;
- };
- };
-
- i2c@1 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
-
- adc@35 {
- compatible = "maxim,max11617";
- reg = <0x35>;
- };
- };
- };
};
&i2c15 {
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on fan boards
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 1/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards Delphine CC Chiu
@ 2024-09-26 3:28 ` Delphine CC Chiu
2024-09-27 5:43 ` Andrew Jeffery
2024-09-26 3:28 ` [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC " Delphine CC Chiu
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: Ricky CX Wu, Delphine CC Chiu, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Remove led gpio contorller: pca9552 on fan boards since there is
no binding document for pca9552 currently.
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
.../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ------------------
1 file changed, 18 deletions(-)
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 04f6378c2b5f..430c28bdd314 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -525,15 +525,6 @@ eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
-
- gpio@61 {
- compatible = "nxp,pca9552";
- reg = <0x61>;
- #address-cells = <1>;
- #size-cells = <0>;
- gpio-controller;
- #gpio-cells = <2>;
- };
};
imux31: i2c@1 {
@@ -577,15 +568,6 @@ eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
-
- gpio@61 {
- compatible = "nxp,pca9552";
- reg = <0x61>;
- #address-cells = <1>;
- #size-cells = <0>;
- gpio-controller;
- #gpio-cells = <2>;
- };
};
};
};
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC on fan boards
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 1/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on " Delphine CC Chiu
@ 2024-09-26 3:28 ` Delphine CC Chiu
2024-09-27 5:46 ` Andrew Jeffery
2024-09-26 3:28 ` [PATCH v1 4/5] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 5/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Delphine CC Chiu
4 siblings, 1 reply; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: Ricky CX Wu, Delphine CC Chiu, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Change the address of Fan IC: Max31790 on fan boards according to
schematic.
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
.../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 +++++++------------
1 file changed, 8 insertions(+), 16 deletions(-)
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 430c28bdd314..a7e51725c595 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -496,10 +496,8 @@ adc@1f {
};
pwm@20{
- compatible = "max31790";
+ compatible = "maxim,max31790";
reg = <0x20>;
- #address-cells = <1>;
- #size-cells = <0>;
};
gpio@22{
@@ -509,11 +507,9 @@ gpio@22{
#gpio-cells = <2>;
};
- pwm@23{
- compatible = "max31790";
- reg = <0x23>;
- #address-cells = <1>;
- #size-cells = <0>;
+ pwm@2f{
+ compatible = "maxim,max31790";
+ reg = <0x2f>;
};
adc@33 {
@@ -539,10 +535,8 @@ adc@1f {
};
pwm@20{
- compatible = "max31790";
+ compatible = "maxim,max31790";
reg = <0x20>;
- #address-cells = <1>;
- #size-cells = <0>;
};
gpio@22{
@@ -552,11 +546,9 @@ gpio@22{
#gpio-cells = <2>;
};
- pwm@23{
- compatible = "max31790";
- reg = <0x23>;
- #address-cells = <1>;
- #size-cells = <0>;
+ pwm@2f{
+ compatible = "maxim,max31790";
+ reg = <0x2f>;
};
adc@33 {
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v1 4/5] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
` (2 preceding siblings ...)
2024-09-26 3:28 ` [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC " Delphine CC Chiu
@ 2024-09-26 3:28 ` Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 5/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Delphine CC Chiu
4 siblings, 0 replies; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: Ricky CX Wu, Delphine CC Chiu, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Revise adc128d818 adc mode on Fan Boards according to schematic.
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 a7e51725c595..29dd109ebd08 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -492,7 +492,7 @@ imux30: i2c@0 {
adc@1f {
compatible = "ti,adc128d818";
reg = <0x1f>;
- ti,mode = /bits/ 8 <2>;
+ ti,mode = /bits/ 8 <1>;
};
pwm@20{
@@ -531,7 +531,7 @@ imux31: i2c@1 {
adc@1f {
compatible = "ti,adc128d818";
reg = <0x1f>;
- ti,mode = /bits/ 8 <2>;
+ ti,mode = /bits/ 8 <1>;
};
pwm@20{
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v1 5/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
` (3 preceding siblings ...)
2024-09-26 3:28 ` [PATCH v1 4/5] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards Delphine CC Chiu
@ 2024-09-26 3:28 ` Delphine CC Chiu
4 siblings, 0 replies; 9+ messages in thread
From: Delphine CC Chiu @ 2024-09-26 3:28 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery
Cc: Ricky CX Wu, Delphine CC Chiu, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Add I2C mux for ADC monitor on Spider Board.
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
.../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
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 29dd109ebd08..40f6090fcb36 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -20,6 +20,8 @@ aliases {
i2c30 = &imux30;
i2c31 = &imux31;
+ i2c32 = &imux32;
+ i2c33 = &imux33;
};
chosen {
@@ -447,29 +449,25 @@ eeprom@51 {
i2c-mux@73 {
compatible = "nxp,pca9544";
+ reg = <0x73>;
#address-cells = <1>;
#size-cells = <0>;
-
- idle-state = <0>;
i2c-mux-idle-disconnect;
- reg = <0x73>;
- i2c@0 {
+ imux32: i2c@0 {
+ reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
- reg = <0>;
-
adc@35 {
compatible = "maxim,max11617";
reg = <0x35>;
};
};
- i2c@1 {
+ imux33: i2c@1 {
+ reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
- reg = <0>;
-
adc@35 {
compatible = "maxim,max11617";
reg = <0x35>;
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on fan boards
2024-09-26 3:28 ` [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on " Delphine CC Chiu
@ 2024-09-27 5:43 ` Andrew Jeffery
2024-09-30 1:56 ` Delphine_CC_Chiu/WYHQ/Wiwynn
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Jeffery @ 2024-09-27 5:43 UTC (permalink / raw)
To: Delphine CC Chiu, patrick, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Joel Stanley
Cc: Ricky CX Wu, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
On Thu, 2024-09-26 at 11:28 +0800, Delphine CC Chiu wrote:
> From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
>
> Remove led gpio contorller: pca9552 on fan boards since there is
> no binding document for pca9552 currently.
That's not true, there is, just it's not converted to dt-schema:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/leds/leds-pca955x.txt?h=v6.11
So the nodes can stay, though they probably generate warnings. The
right way to fix this is to convert the binding document.
Andrew
>
> Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
> Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
> ---
> .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> 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 04f6378c2b5f..430c28bdd314 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> @@ -525,15 +525,6 @@ eeprom@52 {
> compatible = "atmel,24c128";
> reg = <0x52>;
> };
> -
> - gpio@61 {
> - compatible = "nxp,pca9552";
> - reg = <0x61>;
> - #address-cells = <1>;
> - #size-cells = <0>;
> - gpio-controller;
> - #gpio-cells = <2>;
> - };
> };
>
> imux31: i2c@1 {
> @@ -577,15 +568,6 @@ eeprom@52 {
> compatible = "atmel,24c128";
> reg = <0x52>;
> };
> -
> - gpio@61 {
> - compatible = "nxp,pca9552";
> - reg = <0x61>;
> - #address-cells = <1>;
> - #size-cells = <0>;
> - gpio-controller;
> - #gpio-cells = <2>;
> - };
> };
> };
> };
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC on fan boards
2024-09-26 3:28 ` [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC " Delphine CC Chiu
@ 2024-09-27 5:46 ` Andrew Jeffery
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Jeffery @ 2024-09-27 5:46 UTC (permalink / raw)
To: Delphine CC Chiu, patrick, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Joel Stanley
Cc: Ricky CX Wu, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
On Thu, 2024-09-26 at 11:28 +0800, Delphine CC Chiu wrote:
> From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
>
> Change the address of Fan IC: Max31790 on fan boards according to
> schematic.
>
> Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
> Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
> ---
> .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 +++++++------------
> 1 file changed, 8 insertions(+), 16 deletions(-)
>
> 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 430c28bdd314..a7e51725c595 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> @@ -496,10 +496,8 @@ adc@1f {
> };
>
> pwm@20{
> - compatible = "max31790";
> + compatible = "maxim,max31790";
This isn't changing the address, it's fixing the compatible string.
Please make this a separate patch with an appropriate Fixes: tag.
> reg = <0x20>;
> - #address-cells = <1>;
> - #size-cells = <0>;
Maybe put this in the same patch as the compatible fix though, if it's
correct.
> };
>
> gpio@22{
> @@ -509,11 +507,9 @@ gpio@22{
> #gpio-cells = <2>;
> };
>
> - pwm@23{
> - compatible = "max31790";
> - reg = <0x23>;
> - #address-cells = <1>;
> - #size-cells = <0>;
> + pwm@2f{
> + compatible = "maxim,max31790";
> + reg = <0x2f>;
> };
>
> adc@33 {
> @@ -539,10 +535,8 @@ adc@1f {
> };
>
> pwm@20{
> - compatible = "max31790";
> + compatible = "maxim,max31790";
> reg = <0x20>;
> - #address-cells = <1>;
> - #size-cells = <0>;
As above for this diff hunk too.
Andrew
> };
>
> gpio@22{
> @@ -552,11 +546,9 @@ gpio@22{
> #gpio-cells = <2>;
> };
>
> - pwm@23{
> - compatible = "max31790";
> - reg = <0x23>;
> - #address-cells = <1>;
> - #size-cells = <0>;
> + pwm@2f{
> + compatible = "maxim,max31790";
> + reg = <0x2f>;
> };
>
> adc@33 {
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on fan boards
2024-09-27 5:43 ` Andrew Jeffery
@ 2024-09-30 1:56 ` Delphine_CC_Chiu/WYHQ/Wiwynn
0 siblings, 0 replies; 9+ messages in thread
From: Delphine_CC_Chiu/WYHQ/Wiwynn @ 2024-09-30 1:56 UTC (permalink / raw)
To: Andrew Jeffery, Delphine_CC_Chiu/WYHQ/Wiwynn, patrick@stwcx.xyz,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley
Cc: Ricky CX Wu, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Andrew Jeffery <andrew@codeconstruct.com.au>
> Sent: Friday, September 27, 2024 1:43 PM
> To: Delphine_CC_Chiu/WYHQ/Wiwynn <Delphine_CC_Chiu@wiwynn.com>;
> patrick@stwcx.xyz; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Joel Stanley
> <joel@jms.id.au>
> Cc: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>;
> devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> linux-aspeed@lists.ozlabs.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio
> pca9552 on fan boards
>
> [External Sender]
>
> [External Sender]
>
> On Thu, 2024-09-26 at 11:28 +0800, Delphine CC Chiu wrote:
> > From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
> >
> > Remove led gpio contorller: pca9552 on fan boards since there is no
> > binding document for pca9552 currently.
>
> That's not true, there is, just it's not converted to dt-schema:
>
> https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/t
> orvalds/linux.git/tree/Documentation/devicetree/bindings/leds/leds-pca955x.t
> xt?h=v6.11__;!!J63qqgXj!KJlZXg_GnpgYEsfLwrxkUEqwfsHkt_41jTnC09yd5VPAqT
> raqktY5p-KwUNQ3xPEbdockSD-knzTeOrQ8ijruq3-Q4c$
>
> So the nodes can stay, though they probably generate warnings. The right way
> to fix this is to convert the binding document.
>
> Andrew
>
Hi Andrew,
Thanks for your suggestions.
I'll remain the nodes and provide the binding document in another patch.
Regards,
Ricky
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-09-30 1:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 3:28 [PATCH v1 0/5] Add I2C mux on BUS 14 for yosemite4 Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 1/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for two fan boards Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 2/5] ARM: dts: aspeed: yosemite4: remove led gpio pca9552 on " Delphine CC Chiu
2024-09-27 5:43 ` Andrew Jeffery
2024-09-30 1:56 ` Delphine_CC_Chiu/WYHQ/Wiwynn
2024-09-26 3:28 ` [PATCH v1 3/5] ARM: dts: aspeed: yosemite4: Change the address of Fan IC " Delphine CC Chiu
2024-09-27 5:46 ` Andrew Jeffery
2024-09-26 3:28 ` [PATCH v1 4/5] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards Delphine CC Chiu
2024-09-26 3:28 ` [PATCH v1 5/5] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Delphine CC Chiu
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).