From nobody Mon Feb 9 12:40:56 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A72EE1E9B32 for ; Tue, 7 Jan 2025 12:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736254735; cv=none; b=ta9bRWRnTbMJaFXo48oCgnEDwWQXmVMmVGjGVxjlSd4/+lKf40JPiBzK2EOycmgfl3ryiD2N84la3fTN9rcihKcw7GinpEn3spH8oSRgNV1WnQmEG6RF0YD7DWmkoGeuktS6UZS+QTOoieHyQbHBHKfmB5OS3HnPq+6+G+8CQdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736254735; c=relaxed/simple; bh=t4rRBQmo5PbKUK/M1fQaSIj1hFg+1lZQQrb46lNPPHc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fz/Aqj+gl8wgInWHoQ6eUA0cnM94Xz8Ienm5upjGR/y/ftaErnxNWFXZCsgdRxBT++jgtVf5nH8jWJUIY98wJXzITKlDsvgIlaqJxQYkJxJ4AIdIrQ/ow8ERq0fG4gRegF/RhT4cG6Y6W5zmMzouS+l3bSb5FcD1d+Opmbo3NFw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=q3gQLIvz; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="q3gQLIvz" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-436381876e2so22104825e9.1 for ; Tue, 07 Jan 2025 04:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736254731; x=1736859531; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=j2sxL0kyOnJtbxiCpqFSPJaxyhbxDHZZxCjJuwsLyyM=; b=q3gQLIvzqKpsU+ebJNrK0cXH4fHM3ljbfxNpxJ+4XFa4hrP7eq1Z3unZT2J4OspZoQ ZIGushmnZSHCs+OvF81FeuMV5fdPdSsAAf9anZiUjDuUzrw1nAGkGrewg+tym+Fdwlk3 k42LtBtcqG7p3KGOhMiiCZhHS40f+rfArAhYT6fGG3iZv9w24YfLr4Pj9PkAuTjI9y/g XlFd/jL45mFh9U3MYLIi7ACphpJFLlVvFlGL2JLNa8sMNhESoYcXY6/zxw8y4xDBUH+x DAv2s+cdodOeRpYIeT1in2aU7NkzmhSHpWcKdtWWKP8wxVk+iKDM5LJrnNQYsB0ib2Fs w+dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736254731; x=1736859531; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j2sxL0kyOnJtbxiCpqFSPJaxyhbxDHZZxCjJuwsLyyM=; b=Y4HXkRIbwcJsZAll5aPfvFcqbmOffpTKIBDmgJvvMoVt61YTn+vBPwv2xOj0oFx5Or D3g9x6i4SCBBpBdivJmE90rJ8cXE+df4sZIw0R7qQ42KLycggT5t6sydCb+vgbSgIVyi XVfhHkGw3XMOcbA2kdAyC2TZd6nNkcumr41C0s1XNah9Mct247k+IpjcNoIfaTZDGm1l MIEDtQAm4vtNUrwnVrqFBR/yFytfcyqMusra414GS1uib+fsaNfzjD4D22cEfNpYehSQ PO2PrfaNAWQU2F30AEP+W04sbg/ipvuk0Rkg9MgUf/YLnxY8tGHz5bY/DAst0RDsabI7 t80w== X-Forwarded-Encrypted: i=1; AJvYcCWb+cAQtatxSv7RfCpr7kc/lgldqHG9nIB4ip5lI3Wc/Y3TWuV89If0RlojTc+Jb9TnbzCknRhuFryDLL8=@vger.kernel.org X-Gm-Message-State: AOJu0YyI6lxK0DyBwOsczRVFWs2rTYy+PkWiTo5pq/CB70buf9k1Khrr bw3Zy6tiAFCPs6NM9wA7ZGZnPOmKzfFspIy2vqpQaK1HQ96PkkxDumax3aGMaRg= X-Gm-Gg: ASbGncvY/i/LBikIggoRk8RUdWxDHQra8bNyO63+i87w1JH33Sv5ZZ5wGekCMuoiWcD 2bAaNBEuEcsUC+z95hBSu+JyDhT+EzvI5fiYs6XZvUGhqzV+qE7/HeILYdsRFRtciLvAwODEX+0 YCWxR8CsLdBO7W6GjlvcLC6FGnFGBhgY7y1ImW9Ulu7ClfGOkZPzhC6N/LAKwA98QIjo6s2T45B 6kfTrqV8OxtKajwTc1GV/sJqEhx1/PKO7BaBHuFnGegsjqIAWY/m1zGlXBkdVRfYgPBWmg= X-Google-Smtp-Source: AGHT+IEzXNziYvB8cMSs56bRM+d+7RHATIssfR61yGfXU8wPeStQWQQ6p2QHKq5/TPazJN7kZIGr2Q== X-Received: by 2002:a5d:47a1:0:b0:388:c61d:4401 with SMTP id ffacd0b85a97d-38a221fa14emr20278640f8f.7.1736254730828; Tue, 07 Jan 2025 04:58:50 -0800 (PST) Received: from krzk-bin.. ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c832a90sm49786756f8f.28.2025.01.07.04.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 04:58:50 -0800 (PST) From: Krzysztof Kozlowski To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Puranjay Mohan , Joshua Felmeden , Sankar Velliangiri , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: iio: Correct indentation and style in DTS example Date: Tue, 7 Jan 2025 13:58:47 +0100 Message-ID: <20250107125848.226899-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski Acked-by: Nuno Sa Acked-by: Rob Herring (Arm) --- .../bindings/iio/dac/adi,ad5380.yaml | 18 +++++++++--------- .../iio/humidity/sciosense,ens210.yaml | 12 ++++++------ .../iio/temperature/maxim,max31865.yaml | 18 +++++++++--------- .../bindings/iio/temperature/ti,tmp117.yaml | 6 +++--- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml b/Do= cumentation/devicetree/bindings/iio/dac/adi,ad5380.yaml index 9eb9928500e2..3e323f1a5458 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml @@ -55,18 +55,18 @@ examples: #address-cells =3D <1>; #size-cells =3D <0>; dac@0 { - reg =3D <0>; - compatible =3D "adi,ad5390-5"; - vref-supply =3D <&dacvref>; + reg =3D <0>; + compatible =3D "adi,ad5390-5"; + vref-supply =3D <&dacvref>; }; }; - | i2c { - #address-cells =3D <1>; - #size-cells =3D <0>; - dac@42 { - reg =3D <0x42>; - compatible =3D "adi,ad5380-3"; - }; + #address-cells =3D <1>; + #size-cells =3D <0>; + dac@42 { + reg =3D <0x42>; + compatible =3D "adi,ad5380-3"; + }; }; ... diff --git a/Documentation/devicetree/bindings/iio/humidity/sciosense,ens21= 0.yaml b/Documentation/devicetree/bindings/iio/humidity/sciosense,ens210.ya= ml index ed0ea938f7f8..1e25cf781cf1 100644 --- a/Documentation/devicetree/bindings/iio/humidity/sciosense,ens210.yaml +++ b/Documentation/devicetree/bindings/iio/humidity/sciosense,ens210.yaml @@ -43,13 +43,13 @@ additionalProperties: false examples: - | i2c { - #address-cells =3D <1>; - #size-cells =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; =20 - temperature-sensor@43 { - compatible =3D "sciosense,ens210"; - reg =3D <0x43>; - }; + temperature-sensor@43 { + compatible =3D "sciosense,ens210"; + reg =3D <0x43>; + }; }; ... =20 diff --git a/Documentation/devicetree/bindings/iio/temperature/maxim,max318= 65.yaml b/Documentation/devicetree/bindings/iio/temperature/maxim,max31865.= yaml index 7cc365e0ebc8..7c0c6ab6fc69 100644 --- a/Documentation/devicetree/bindings/iio/temperature/maxim,max31865.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/maxim,max31865.yaml @@ -40,15 +40,15 @@ unevaluatedProperties: false examples: - | spi { - #address-cells =3D <1>; - #size-cells =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; =20 - temperature-sensor@0 { - compatible =3D "maxim,max31865"; - reg =3D <0>; - spi-max-frequency =3D <400000>; - spi-cpha; - maxim,3-wire; - }; + temperature-sensor@0 { + compatible =3D "maxim,max31865"; + reg =3D <0>; + spi-max-frequency =3D <400000>; + spi-cpha; + maxim,3-wire; + }; }; ... diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.ya= ml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml index 58aa1542776b..fbba5e934861 100644 --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml @@ -44,8 +44,8 @@ examples: #size-cells =3D <0>; =20 tmp117@48 { - compatible =3D "ti,tmp117"; - reg =3D <0x48>; - vcc-supply =3D <&pmic_reg_3v3>; + compatible =3D "ti,tmp117"; + reg =3D <0x48>; + vcc-supply =3D <&pmic_reg_3v3>; }; }; --=20 2.43.0