linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6sl: Add a label for the cpu node
@ 2022-04-22 19:55 Fabio Estevam
  2022-05-05  2:33 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2022-04-22 19:55 UTC (permalink / raw)
  To: shawnguo; +Cc: otavio, linux-arm-kernel, Fabio Estevam

Add a label for the cpu node, so that board devicetree files can
reference to the CPU node.

This is useful for describing a PMIC voltage that supplies the CPU
voltage.

For example:

&cpu0 {
	cpu-supply = <&sw1_reg>;

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm/boot/dts/imx6sl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index c7d907c5c352..06a515121dfc 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -50,7 +50,7 @@ cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		cpu@0 {
+		cpu0: cpu@0 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <0x0>;
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: dts: imx6sl: Add a label for the cpu node
  2022-04-22 19:55 [PATCH] ARM: dts: imx6sl: Add a label for the cpu node Fabio Estevam
@ 2022-05-05  2:33 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2022-05-05  2:33 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: otavio, linux-arm-kernel

On Fri, Apr 22, 2022 at 04:55:37PM -0300, Fabio Estevam wrote:
> Add a label for the cpu node, so that board devicetree files can
> reference to the CPU node.
> 
> This is useful for describing a PMIC voltage that supplies the CPU
> voltage.
> 
> For example:
> 
> &cpu0 {
> 	cpu-supply = <&sw1_reg>;
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-05-05  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-22 19:55 [PATCH] ARM: dts: imx6sl: Add a label for the cpu node Fabio Estevam
2022-05-05  2:33 ` Shawn Guo

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