From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 779EEC4360C for ; Sun, 6 Oct 2019 10:01:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E17F2166E for ; Sun, 6 Oct 2019 10:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570356095; bh=pKw7s1workqYRM+2lrKQUKnNzQh2w7qZEa6yX1ajVRo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=FDiyRoGcf9Dd6L1apUKMQ5EHJ12mOa4AlkpgJ5OJf5sfek3tjmA4D/8Qalg5vsc4M rtZeWkURW7o93wA/6NfXyv86EC+hwa57EZP8MQ/j3RAmoF9+21hS0juTFbO2q2GdJ4 8RDUsI91BXC7rqzNKRTpLECNh+vNsvTk37RUV7As= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726515AbfJFKBe (ORCPT ); Sun, 6 Oct 2019 06:01:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:57392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726291AbfJFKBe (ORCPT ); Sun, 6 Oct 2019 06:01:34 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 038762133F; Sun, 6 Oct 2019 10:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570356093; bh=pKw7s1workqYRM+2lrKQUKnNzQh2w7qZEa6yX1ajVRo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G/nSFvUWTcK7PcyEYcYNM6YIeOOpvmyF9PJb02ZQz4pAAb2eqwsC7q9UE+MLrM7LU zRDwd8OmhtvvqEQ1WhCkS8jNuUIXWs5BjQz4D32ZJy9luyc87xuw7i2pe94yKZ1acQ P3uEAvkJR8D4Uwt6VUI64Ax7Km+L3Znx2at8Lpg8= Date: Sun, 6 Oct 2019 11:01:26 +0100 From: Jonathan Cameron To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Sebastian Reichel , Alessandro Zummo , Alexandre Belloni , 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: <20191006110126.131b0ca4@archlinux> In-Reply-To: <20191002160744.11307-1-krzk@kernel.org> References: <20191002160744.11307-1-krzk@kernel.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Oct 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. > I'm assuming Rob will pick these up given they span multiple subsystems. > Signed-off-by: Krzysztof Kozlowski Acked-by: Jonathan Cameron # for iio > --- > .../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"; > };