Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4290252ybp; Mon, 7 Oct 2019 06:20:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGQfE20ALAgGm4qfgAmq3lRgk8kTvv6+5hSIDVRm/UFLHeJ6IEK7ImcQkfjvcOfYFywtCn X-Received: by 2002:a05:6402:1a52:: with SMTP id bf18mr29085048edb.67.1570454453925; Mon, 07 Oct 2019 06:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570454453; cv=none; d=google.com; s=arc-20160816; b=sRE2ED6X161nMQxUaaimBfPd+fidg0AJgD78P2WMP0w8rfohx8BeG2h4m9xZCnnaX6 Ltao+f8frWZz2S+SsWbWDYjz/SourxjLB1KdlaWkMK0/QwpmLekGTtMp8L7tVZilXydA tw0+KNs6/HlauaDhhCQLBY8gmIY2HRwqZ1RwB3tay4AUK1De+AZHY8BbTKtDX++JwXEv k3AJVzDdqBZMu+Wuy0K+WbZCYMBGpx+1FtRN1WoG+dpXYk3mVWL7YSJcm2m4got8Pd5j FV+UK3weYvB3iO6sfMhNUfl0AIdJC9VmL9eHy5SxjiBcQ/yVLLVNb9HjyVXcNQT+3R7+ wWmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3AznYbG+IAUbnRE7HeQsv4Q8zvZE9d+yUpNEyD25D2c=; b=S+BdNcDKoRSc62CKJJ8Mve3ezRzSAoHm/wq2jLOCsX2jQCg14r93kZ88nWldruehjT 8l1OekOucCxot6C4WBP7oObEbJVZPVOutzjEcNxqkmWjKkYPzohAeEzx9mOJM4uRfl8Q JzWRamGT6AX6gAJwlHx101/icR9AcvBZJ0VBFWQqBetMfXCJDbuMa6osXNAfQ05NHddR /AcWnl6I53R5zK3zP4FU4bd3Bm2yxaB+ZxIgszJgVGXtVCwA6+h5/p7m2HSJI5Cu3VOW qmT7io5dC6OZcubkQS2PASwF1F/ZYyDJ5Q3lvjbOgPnDzqXUSfsHMoXyLWU5OY+nUrmt /8Lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t49si9129207edd.198.2019.10.07.06.20.27; Mon, 07 Oct 2019 06:20:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728338AbfJGNRd (ORCPT + 99 others); Mon, 7 Oct 2019 09:17:33 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:45311 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727490AbfJGNR0 (ORCPT ); Mon, 7 Oct 2019 09:17:26 -0400 Received: from localhost (aclermont-ferrand-651-1-259-53.w86-207.abo.wanadoo.fr [86.207.98.53]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id BEDD6240009; Mon, 7 Oct 2019 13:17:22 +0000 (UTC) Date: Mon, 7 Oct 2019 15:17:22 +0200 From: Alexandre Belloni To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Sebastian Reichel , Alessandro Zummo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: samsung: Indent examples with four spaces Message-ID: <20191007131722.GI4254@piout.net> References: <20191002160744.11307-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002160744.11307-1-krzk@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/10/2019 18:07:41+0200, Krzysztof Kozlowski wrote: > Change the indentation of examples used in json-schema bindings from two > to four spaces as this makes the code easier to read and seems to be > preferred in other files. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni > --- > .../bindings/arm/samsung/exynos-chipid.yaml | 4 +- > .../bindings/iio/adc/samsung,exynos-adc.yaml | 64 +++++++++---------- > .../bindings/power/reset/syscon-poweroff.yaml | 8 +-- > .../bindings/power/reset/syscon-reboot.yaml | 8 +-- > .../devicetree/bindings/rtc/s3c-rtc.yaml | 12 ++-- > 5 files changed, 48 insertions(+), 48 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml b/Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml > index 9c573ad7dc7d..ce40adabb4e8 100644 > --- a/Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml > +++ b/Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml > @@ -20,6 +20,6 @@ properties: > examples: > - | > chipid@10000000 { > - compatible = "samsung,exynos4210-chipid"; > - reg = <0x10000000 0x100>; > + compatible = "samsung,exynos4210-chipid"; > + reg = <0x10000000 0x100>; > }; > diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > index b4c6c26681d9..a0a9b909ac40 100644 > --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > @@ -112,40 +112,40 @@ allOf: > examples: > - | > adc: adc@12d10000 { > - compatible = "samsung,exynos-adc-v1"; > - reg = <0x12d10000 0x100>; > - interrupts = <0 106 0>; > - #io-channel-cells = <1>; > - io-channel-ranges; > - > - clocks = <&clock 303>; > - clock-names = "adc"; > - > - vdd-supply = <&buck5_reg>; > - samsung,syscon-phandle = <&pmu_system_controller>; > - > - /* NTC thermistor is a hwmon device */ > - ncp15wb473@0 { > - compatible = "murata,ncp15wb473"; > - pullup-uv = <1800000>; > - pullup-ohm = <47000>; > - pulldown-ohm = <0>; > - io-channels = <&adc 4>; > - }; > + compatible = "samsung,exynos-adc-v1"; > + reg = <0x12d10000 0x100>; > + interrupts = <0 106 0>; > + #io-channel-cells = <1>; > + io-channel-ranges; > + > + clocks = <&clock 303>; > + clock-names = "adc"; > + > + vdd-supply = <&buck5_reg>; > + samsung,syscon-phandle = <&pmu_system_controller>; > + > + /* NTC thermistor is a hwmon device */ > + ncp15wb473@0 { > + compatible = "murata,ncp15wb473"; > + pullup-uv = <1800000>; > + pullup-ohm = <47000>; > + pulldown-ohm = <0>; > + io-channels = <&adc 4>; > + }; > }; > > - | > adc@126c0000 { > - compatible = "samsung,exynos3250-adc"; > - reg = <0x126C0000 0x100>; > - interrupts = <0 137 0>; > - #io-channel-cells = <1>; > - io-channel-ranges; > - > - clocks = <&cmu 0>, // CLK_TSADC > - <&cmu 1>; // CLK_SCLK_TSADC > - clock-names = "adc", "sclk"; > - > - vdd-supply = <&buck5_reg>; > - samsung,syscon-phandle = <&pmu_system_controller>; > + compatible = "samsung,exynos3250-adc"; > + reg = <0x126C0000 0x100>; > + interrupts = <0 137 0>; > + #io-channel-cells = <1>; > + io-channel-ranges; > + > + clocks = <&cmu 0>, // CLK_TSADC > + <&cmu 1>; // CLK_SCLK_TSADC > + clock-names = "adc", "sclk"; > + > + vdd-supply = <&buck5_reg>; > + samsung,syscon-phandle = <&pmu_system_controller>; > }; > diff --git a/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml b/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml > index fb812937b534..520e07e6f21b 100644 > --- a/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml > +++ b/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml > @@ -53,8 +53,8 @@ allOf: > examples: > - | > poweroff { > - compatible = "syscon-poweroff"; > - regmap = <®mapnode>; > - offset = <0x0>; > - mask = <0x7a>; > + compatible = "syscon-poweroff"; > + regmap = <®mapnode>; > + offset = <0x0>; > + mask = <0x7a>; > }; > diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > index a7920f5eef79..d38006b1f1f4 100644 > --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > @@ -53,8 +53,8 @@ allOf: > examples: > - | > reboot { > - compatible = "syscon-reboot"; > - regmap = <®mapnode>; > - offset = <0x0>; > - mask = <0x1>; > + compatible = "syscon-reboot"; > + regmap = <®mapnode>; > + offset = <0x0>; > + mask = <0x1>; > }; > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > index 951a6a485709..95570d7e19eb 100644 > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > @@ -76,10 +76,10 @@ allOf: > examples: > - | > rtc@10070000 { > - compatible = "samsung,s3c6410-rtc"; > - reg = <0x10070000 0x100>; > - interrupts = <0 44 4>, <0 45 4>; > - clocks = <&clock 0>, // CLK_RTC > - <&s2mps11_osc 0>; // S2MPS11_CLK_AP > - clock-names = "rtc", "rtc_src"; > + compatible = "samsung,s3c6410-rtc"; > + reg = <0x10070000 0x100>; > + interrupts = <0 44 4>, <0 45 4>; > + clocks = <&clock 0>, // CLK_RTC > + <&s2mps11_osc 0>; // S2MPS11_CLK_AP > + clock-names = "rtc", "rtc_src"; > }; > -- > 2.17.1 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com