[bootlin/training-materials updates] master: sysdev: slides: fix device tree examples indentation (f727e755)

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Oct 10 09:25:09 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/f727e75573e2a1900712b4fc56c67a66d495c7b9

>---------------------------------------------------------------

commit f727e75573e2a1900712b4fc56c67a66d495c7b9
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Mon Oct 10 09:19:10 2022 +0200

    sysdev: slides: fix device tree examples indentation
    
    Reported-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

f727e75573e2a1900712b4fc56c67a66d495c7b9
 slides/sysdev-hw-devices/sysdev-hw-devices.tex | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/slides/sysdev-hw-devices/sysdev-hw-devices.tex b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
index ba67bb25..6852a6cb 100644
--- a/slides/sysdev-hw-devices/sysdev-hw-devices.tex
+++ b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
@@ -1042,19 +1042,19 @@ $ dtc -I dtb -O dts foo.dtb
   intc: interrupt-controller at a0021000 { ... };
   soc {
     i2c1: i2c at 40012000 {
-       compatible = "st,stm32mp15-i2c";
-       reg = <0x40012000 0x400>;
-       interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
-               <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
-       #address-cells = <1>;
-       #size-cells = <0>;
-       status = "okay";
-
-       cs42l51: cs42l51 at 4a {
-         compatible = "cirrus,cs42l51";
-         reg = <0x4a>;
-         reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>;
-         status = "okay";
+      compatible = "st,stm32mp15-i2c";
+      reg = <0x40012000 0x400>;
+      interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
+                   <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+      #address-cells = <1>;
+      #size-cells = <0>;
+      status = "okay";
+
+      cs42l51: cs42l51 at 4a {
+        compatible = "cirrus,cs42l51";
+        reg = <0x4a>;
+        reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>;
+        status = "okay";
       };
     };
     ethernet0: ethernet at 5800a000 { ... };




More information about the training-materials-updates mailing list