]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: drop tab characters from DTS examples
authorDaniel Golle <daniel@makrotopia.org>
Wed, 29 Apr 2026 03:48:56 +0000 (04:48 +0100)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 5 May 2026 15:54:45 +0000 (10:54 -0500)
YAML literal block scalars cannot use tabs for indent.
Replace tab separators (mostly between values and trailing /* ... */
comments) with single spaces.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/2044ee0cac191c7be8b6e989fc3c99b24aa4cc5e.1777434096.git.daniel@makrotopia.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
15 files changed:
Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml
Documentation/devicetree/bindings/iio/adc/st,spear600-adc.yaml
Documentation/devicetree/bindings/input/imx-keypad.yaml
Documentation/devicetree/bindings/input/microchip,cap11xx.yaml
Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.yaml
Documentation/devicetree/bindings/memory-controllers/samsung,exynos5422-dmc.yaml
Documentation/devicetree/bindings/pci/mediatek-pcie-mt7623.yaml
Documentation/devicetree/bindings/pci/samsung,exynos-pcie.yaml
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml
Documentation/devicetree/bindings/sound/simple-card.yaml
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml

index d9ef8672901125b33a64a7f8143878823781fbda..736e9a3eab8a9e1838cf4c3a88c94344e395e8e7 100644 (file)
@@ -95,8 +95,8 @@ examples:
       interrupts = <10>;
       opencores,ip-clock-frequency = <20000000>;
 
-      reg-shift = <0>; /* 8 bit registers */
-      reg-io-width = <1>;      /* 8 bit read/write */
+      reg-shift = <0>; /* 8 bit registers */
+      reg-io-width = <1>; /* 8 bit read/write */
     };
 
     i2c@b0000000 {
@@ -108,7 +108,7 @@ examples:
       clocks = <&osc>;
       clock-frequency = <400000>; /* i2c bus frequency 400 KHz */
 
-      reg-shift = <0>; /* 8 bit registers */
-      reg-io-width = <1>;      /* 8 bit read/write */
+      reg-shift = <0>; /* 8 bit registers */
+      reg-io-width = <1>; /* 8 bit read/write */
     };
 ...
index dd9ec303870336bbdd40297fe5500a180f9ffa9a..c8b8f28541ce24d027b25565ec31f5f72b136a8d 100644 (file)
@@ -65,5 +65,5 @@ examples:
         interrupt-parent = <&vic1>;
         interrupts = <6>;
         sampling-frequency = <5000000>;
-        vref-external = <2500>;        /* 2.5V VRef */
+        vref-external = <2500>; /* 2.5V VRef */
     };
index b110eb1f3358ae1e234477ef9abbf000a9988f40..175256cb1295a3b3b118c67030c6c372b3902e6a 100644 (file)
@@ -66,20 +66,20 @@ examples:
         clocks = <&clks 0>;
         pinctrl-names = "default";
         pinctrl-0 = <&pinctrl_kpp_1>;
-        linux,keymap = <0x00000067     /* KEY_UP */
-                        0x0001006c     /* KEY_DOWN */
-                        0x00020072     /* KEY_VOLUMEDOWN */
-                        0x00030066     /* KEY_HOME */
-                        0x0100006a     /* KEY_RIGHT */
-                        0x01010069     /* KEY_LEFT */
-                        0x0102001c     /* KEY_ENTER */
-                        0x01030073     /* KEY_VOLUMEUP */
-                        0x02000040     /* KEY_F6 */
-                        0x02010042     /* KEY_F8 */
-                        0x02020043     /* KEY_F9 */
-                        0x02030044     /* KEY_F10 */
-                        0x0300003b     /* KEY_F1 */
-                        0x0301003c     /* KEY_F2 */
-                        0x0302003d     /* KEY_F3 */
-                        0x03030074>;   /* KEY_POWER */
+        linux,keymap = <0x00000067 /* KEY_UP */
+                        0x0001006c /* KEY_DOWN */
+                        0x00020072 /* KEY_VOLUMEDOWN */
+                        0x00030066 /* KEY_HOME */
+                        0x0100006a /* KEY_RIGHT */
+                        0x01010069 /* KEY_LEFT */
+                        0x0102001c /* KEY_ENTER */
+                        0x01030073 /* KEY_VOLUMEUP */
+                        0x02000040 /* KEY_F6 */
+                        0x02010042 /* KEY_F8 */
+                        0x02020043 /* KEY_F9 */
+                        0x02030044 /* KEY_F10 */
+                        0x0300003b /* KEY_F1 */
+                        0x0301003c /* KEY_F2 */
+                        0x0302003d /* KEY_F3 */
+                        0x03030074>; /* KEY_POWER */
     };
index 7ade03f1b32b8108f053523ce2a170fb55a54b3b..2d762193f1c0785ef7e290dd961c8e875d76394d 100644 (file)
@@ -197,12 +197,12 @@ examples:
         microchip,sensitivity-delta-sense = <16>;
         microchip,input-threshold = <21>, <18>, <46>, <46>, <46>, <21>;
 
-        linux,keycodes = <103>,        /* KEY_UP */
-                         <106>,        /* KEY_RIGHT */
-                         <108>,        /* KEY_DOWN */
-                         <105>,        /* KEY_LEFT */
-                         <109>,        /* KEY_PAGEDOWN */
-                         <104>;        /* KEY_PAGEUP */
+        linux,keycodes = <103>, /* KEY_UP */
+                         <106>, /* KEY_RIGHT */
+                         <108>, /* KEY_DOWN */
+                         <105>, /* KEY_LEFT */
+                         <109>, /* KEY_PAGEDOWN */
+                         <104>; /* KEY_PAGEUP */
 
         #address-cells = <1>;
         #size-cells = <0>;
index 8f6335d7da1c53e2b20c565cebc81044fdf7a792..1b58fc263dce8c2d7dfb1f2d6216a67b15064b4d 100644 (file)
@@ -165,9 +165,9 @@ examples:
 
         touchscreen@0 {
             compatible = "ti,tsc2046";
-            reg = <0>; /* CS0 */
+            reg = <0>; /* CS0 */
             interrupt-parent = <&gpio1>;
-            interrupts = <8 0>;        /* BOOT6 / GPIO 8 */
+            interrupts = <8 0>; /* BOOT6 / GPIO 8 */
             pendown-gpio = <&gpio1 8 0>;
             spi-max-frequency = <1000000>;
             vcc-supply = <&reg_vcc3>;
index fe8aaecf301081cce8f2f057dd27bdfdae8f821f..67637efac3783873cee39f49c89728d7af462487 100644 (file)
@@ -183,7 +183,7 @@ examples:
             compatible = "ti,lp8501";
             reg = <0x32>;
             clock-mode = /bits/ 8 <2>;
-            pwr-sel = /bits/ 8 <3>;    /* D1~9 connected to VOUT */
+            pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
             ti,charge-pump-mode = <LP55XX_CP_BYPASS>;
 
             led@0 {
index ebc615584f921645b806206bbaeb489656f73b36..4505e66876a299c214ea272cb7a8cd18800e6359 100644 (file)
@@ -160,7 +160,7 @@ examples:
 
     vcodec_enc_vp8: vcodec@19002000 {
       compatible = "mediatek,mt8173-vcodec-enc-vp8";
-      reg =  <0x19002000 0x1000>;      /* VENC_LT_SYS */
+      reg =  <0x19002000 0x1000>; /* VENC_LT_SYS */
       interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_LOW>;
       iommus = <&iommu M4U_PORT_VENC_RCPU_SET2>,
              <&iommu M4U_PORT_VENC_REC_FRM_SET2>,
index bf8082d87ac035771a71b5ec4ee10bf07b4f9bbc..d1d209cbbd43aef7448290cb2fea29b09d9a6a02 100644 (file)
@@ -232,7 +232,7 @@ examples:
             #address-cells = <2>;
             #size-cells = <2>;
             ranges = <0 0 0 0x16000000 0 0x40000>;
-            reg = <0 0x16000000 0 0x1000>;             /* VDEC_SYS */
+            reg = <0 0x16000000 0 0x1000>; /* VDEC_SYS */
             video-codec@10000 {
                 compatible = "mediatek,mtk-vcodec-lat";
                 reg = <0 0x10000 0 0x800>;
index 55caf69053995fa0346483f3f95346968f63ee56..a33913fcd11f8150c63bf26750ec3c66488dfb7a 100644 (file)
@@ -66,8 +66,8 @@ examples:
   - |
     memory-controller@7000f000 {
         compatible = "nvidia,tegra20-mc-gart";
-        reg = <0x7000f000 0x400>,      /* Controller registers */
-              <0x58000000 0x02000000>; /* GART aperture */
+        reg = <0x7000f000 0x400>, /* Controller registers */
+              <0x58000000 0x02000000>; /* GART aperture */
         clocks = <&clock_controller 32>;
         clock-names = "mc";
 
index 783ac984d89849e6683c87a77123156a57a9c63e..4cd5af38abce18cb3b0e00f2f5c9d9065b11220f 100644 (file)
@@ -128,7 +128,7 @@ examples:
                       "mout_mx_mspll_ccore",
                       "mout_mclk_cdrex";
         operating-points-v2 = <&dmc_opp_table>;
-        devfreq-events = <&ppmu_event3_dmc0_0>,        <&ppmu_event3_dmc0_1>,
+        devfreq-events = <&ppmu_event3_dmc0_0>, <&ppmu_event3_dmc0_1>,
                          <&ppmu_event3_dmc1_0>, <&ppmu_event3_dmc1_1>;
         device-handle = <&samsung_K3QF2F20DB>;
         vdd-supply = <&buck1_reg>;
index e33bcc216e30cf6f4225ec0e453d8c4f5c97a973..542252168388b7e72b9efdbd3c5543f74e9414f6 100644 (file)
@@ -125,8 +125,8 @@ examples:
             phy-names = "pcie-phy0", "pcie-phy1", "pcie-phy2";
             power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>;
             bus-range = <0x00 0xff>;
-            ranges = <0x81000000 0 0x1a160000 0 0x1a160000 0 0x00010000>,      /* I/O space */
-                     <0x83000000 0 0x60000000 0 0x60000000 0 0x10000000>;      /* memory space */
+            ranges = <0x81000000 0 0x1a160000 0 0x1a160000 0 0x00010000>, /* I/O space */
+                     <0x83000000 0 0x60000000 0 0x60000000 0 0x10000000>; /* memory space */
 
             pcie@0,0 {
                 device_type = "pci";
index f20ed7e709f7ca7205786b1e3396962885c4ed15..57a8f163dda5969cbe1fbb8cb1efff8f39fe5170 100644 (file)
@@ -109,7 +109,7 @@ examples:
         num-lanes = <1>;
         num-viewport = <3>;
         bus-range = <0x00 0xff>;
-        ranges = <0x81000000 0 0         0x0c001000 0 0x00010000>,
+        ranges = <0x81000000 0 0   0x0c001000 0 0x00010000>,
                  <0x82000000 0 0x0c011000 0x0c011000 0 0x03feefff>;
         vdd10-supply = <&ldo6_reg>;
         vdd18-supply = <&ldo7_reg>;
index 87559d0d079a7d1a2d807a288be1bf4f152ac90d..f8a602cee37b16495f8128b329de9d8f2551ebbd 100644 (file)
@@ -248,13 +248,13 @@ examples:
       reg-names = "mpu";
       interrupts = <82>, <83>;
       interrupt-names = "tx", "rx";
-      op-mode = <0>;           /* MCASP_IIS_MODE */
+      op-mode = <0>; /* MCASP_IIS_MODE */
       tdm-slots = <2>;
       ti,async-mode;
       dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
       dma-names = "tx", "rx";
       serial-dir = <
-          0 0 0 0      /* 0: INACTIVE, 1: TX, 2: RX */
+          0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
           0 0 0 0
           0 0 0 1
           2 0 0 0 >;
index a14716b2732f00d22b093421e385f3029aca50a5..23310f303be37107051f22083f27a970a6117724 100644 (file)
@@ -315,7 +315,7 @@ examples:
         #address-cells = <1>;
         #size-cells = <0>;
 
-        simple-audio-card,dai-link@0 {         /* I2S - HDMI */
+        simple-audio-card,dai-link@0 {  /* I2S - HDMI */
             reg = <0>;
             format = "i2s";
             cpu {
@@ -326,7 +326,7 @@ examples:
             };
         };
 
-        simple-audio-card,dai-link@1 {         /* S/PDIF - HDMI */
+        simple-audio-card,dai-link@1 {  /* S/PDIF - HDMI */
             reg = <1>;
             cpu {
                 sound-dai = <&audio1>;
@@ -336,7 +336,7 @@ examples:
             };
         };
 
-        simple-audio-card,dai-link@2 {         /* S/PDIF - S/PDIF */
+        simple-audio-card,dai-link@2 {  /* S/PDIF - S/PDIF */
             reg = <2>;
             cpu {
                 sound-dai = <&audio2>;
index 653a89586f4e9bea761d339d8b3d14c12d222c09..0aaaadb584e46f4d180a924627b0951a35730f3c 100644 (file)
@@ -88,7 +88,7 @@ examples:
             power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
             clocks = <&k3_clks 288 15>, <&k3_clks 288 3>;
             clock-names = "ref", "lpm";
-            assigned-clocks = <&k3_clks 288 15>;       /* USB2_REFCLK */
+            assigned-clocks = <&k3_clks 288 15>; /* USB2_REFCLK */
             assigned-clock-parents = <&k3_clks 288 16>; /* HFOSC0 */
             #address-cells = <2>;
             #size-cells = <2>;
@@ -99,9 +99,9 @@ examples:
                         <0x00 0x6010000 0x00 0x10000>,
                         <0x00 0x6020000 0x00 0x10000>;
                   reg-names = "otg", "xhci", "dev";
-                  interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,       /* irq.0 */
-                               <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,      /* irq.6 */
-                               <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;      /* otgirq.0 */
+                  interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
+                               <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
+                               <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
                   interrupt-names = "host",
                                     "peripheral",
                                     "otg";