From patchwork Tue Jan 24 08:11:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13113613 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCDF7C25B4E for ; Tue, 24 Jan 2023 08:11:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232618AbjAXIL5 (ORCPT ); Tue, 24 Jan 2023 03:11:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232884AbjAXILy (ORCPT ); Tue, 24 Jan 2023 03:11:54 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 111C23EFEC for ; Tue, 24 Jan 2023 00:11:29 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id fl11-20020a05600c0b8b00b003daf72fc844so12245610wmb.0 for ; Tue, 24 Jan 2023 00:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nfjek5I1oI6I+fvZ0/B32LKubURkbISmBCkZ0YpdN10=; b=eDb2eUaNmqc6RJ4X2WI2l7rWHFeOluRyE/kcnDtOWp+0DqwtA38WsnV48j3ePYzbFP EQYQxNv9ZXhvWuZbMtoLxRjrcC6np4eQaLKmXzt1SB1j2qi6KqWvzw97Qqw8q9Tcj/kJ jRkpTATMw5OIV0lre30D8pKGEEkyeXkw4ljIHPMQNEyAhtrIzYwPkv7vOSeHKGF5iD40 wci0xsCQgObSm9c0bqJUw7B42/Mi/epy4pqCgUifQQemyne16Fh2aeGwJHrQWfBPLLGF eXMXqllG6GWAuOS6znc7YpeyMd2iydmUqqH51FyZvDoPgN/LAPAB5nC35L/n6/NSluM4 ynWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nfjek5I1oI6I+fvZ0/B32LKubURkbISmBCkZ0YpdN10=; b=viADaAf8Wl4TiGVKRhBhc7zzjXPJV8mCFOAlL8PuYUSVO3tUrXnu6oLYuRAVTKfz/H nWtUv4L3M08nMbXlnWp2RYKJ/WfHknsAVZTQ8k2Z+VSiNjzKuNFDbrvxDgnlwrc1Zxfp zHJnyNanyOpNMe3b59rT6HxKpxuuuwWRuENY3KHeqsNSveDBb99EaczAGXHLkQh2+2QU 9VOfN+Kju+fnozWcbKmbSH3CK3BDVheJPixKtaOLAET+sMmYsf9jZsVB9D0aia37Euul kJ9IF2aqMcyBFfwnXeo/RxoovQ2+YqELFtg81BtoMgZ5BZEpe9grFqSuwddYERQ1/1/f XZ6g== X-Gm-Message-State: AFqh2kpYMv9Lpfg6U0QQlsBqPa3OTI2UOy7zGZ162DuUyS7R6xvuyTQ9 0jiz9M+9q57Qg3NGs2jxqtgcSw== X-Google-Smtp-Source: AMrXdXsAy5Fj0pQUlmUK2moB+gPQM3akwPZ40HQiL5qb7z319tG/FrGiJd4D178rigOr93uyKBy5+Q== X-Received: by 2002:a05:600c:4928:b0:3d2:2043:9cb7 with SMTP id f40-20020a05600c492800b003d220439cb7mr26935434wmp.5.1674547888579; Tue, 24 Jan 2023 00:11:28 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id o17-20020a05600c511100b003dc0d5b4fa6sm1387338wms.3.2023.01.24.00.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 00:11:28 -0800 (PST) From: Krzysztof Kozlowski To: =?unknown-8bit?q?Vinod_Koul_=3Cvkoul=40kernel=2Eorg=3E=2C_Rob_Herring_?= =?unknown-8bit?q?=3Crobh+dt=40kernel=2Eorg=3E=2C_Krzysztof_Kozlowski_=3Ckrz?= =?unknown-8bit?q?ysztof=2Ekozlowski+dt=40linaro=2Eorg=3E=2C_Chen-Yu_Tsai_?= =?unknown-8bit?q?=3Cwens=40csie=2Eorg=3E=2C_Jernej_Skrabec_=3Cjernej=2Eskra?= =?unknown-8bit?q?bec=40gmail=2Ecom=3E=2C_Samuel_Holland_=3Csamuel=40shollan?= =?unknown-8bit?q?d=2Eorg=3E=2C_Olivier_Dautricourt_=3Colivierdautricourt=40?= =?unknown-8bit?q?gmail=2Ecom=3E=2C_Stefan_Roese_=3Csr=40denx=2Ede=3E=2C_Hec?= =?unknown-8bit?q?tor_Martin_=3Cmarcan=40marcan=2Est=3E=2C_Sven_Peter_=3Csve?= =?unknown-8bit?q?n=40svenpeter=2Edev=3E=2C_Alyssa_Rosenzweig_=3Calyssa=40ro?= =?unknown-8bit?q?senzweig=2Eio=3E=2C_Thierry_Reding_=3Cthierry=2Ereding=40g?= =?unknown-8bit?q?mail=2Ecom=3E=2C_Jonathan_Hunter_=3Cjonathanh=40nvidia=2Ec?= =?unknown-8bit?q?om=3E=2C_Andreas_F=C3=A4rber__=3Cafaerber=40suse=2Ede=3E?= =?unknown-8bit?q?=2C_Manivannan_Sadhasivam_=3Cmani=40kernel=2Eorg=3E=2C_And?= =?unknown-8bit?q?y_Gross_=3Cagross=40kernel=2Eorg=3E=2C_Bjorn_Andersson_=3C?= =?unknown-8bit?q?andersson=40kernel=2Eorg=3E=2C_Konrad_Dybcio_=3Ckonrad=2Ed?= =?unknown-8bit?q?ybcio=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvireshk=40kerne?= =?unknown-8bit?q?l=2Eorg=3E=2C_Andy_Shevchenko_=3Candriy=2Eshevchenko=40lin?= =?unknown-8bit?q?ux=2Eintel=2Ecom=3E=2C_Green_Wan_=3Cgreen=2Ewan=40sifive?= =?unknown-8bit?q?=2Ecom=3E=2C_Paul_Walmsley_=3Cpaul=2Ewalmsley=40sifive=2Ec?= =?unknown-8bit?q?om=3E=2C_Palmer_Dabbelt_=3Cpalmer=40dabbelt=2Ecom=3E=2C_Eu?= =?unknown-8bit?q?geniy_Paltsev_=3CEugeniy=2EPaltsev=40synopsys=2Ecom=3E=2C_?= =?unknown-8bit?q?Kunihiko_Hayashi_=3Chayashi=2Ekunihiko=40socionext=2Ecom?= =?unknown-8bit?q?=3E=2C_Masami_Hiramatsu_=3Cmhiramat=40kernel=2Eorg=3E=2C_M?= =?unknown-8bit?q?axime_Coquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Al?= =?unknown-8bit?q?exandre_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Maxime_Ripard_=3Cmripard=40kernel=2Eorg=3E=2C_=A1er__=3Cp?= =?unknown-8bit?q?ovik+lin=40cutebit=2Eorg=3E=2C_Peng_Fan_=3Cpeng=2Efan=40nx?= =?unknown-8bit?q?p=2Ecom=3E=2C_Paul_Cercueil_=3Cpaul=40crapouillou=2Enet=3E?= =?unknown-8bit?q?=2C_-_=3Cchuanhua=2Elei=40intel=2Ecom=3E=2C_Long_Cheng_=3C?= =?unknown-8bit?q?long=2Echeng=40mediatek=2Ecom=3E=2C_Rajesh_Gumasta_=3Crgum?= =?unknown-8bit?q?asta=40nvidia=2Ecom=3E=2C_Yoshihiro_Shimoda_=3Cyoshihiro?= =?unknown-8bit?q?=2Eshimoda=2Euh=40renesas=2Ecom=3E=2C_Biju_Das_=3Cbiju=2Ed?= =?unknown-8bit?q?as=2Ejz=40bp=2Erenesas=2Ecom=3E=2C_Miquel_Raynal_=3Cmiquel?= =?unknown-8bit?q?=2Eraynal=40bootlin=2Ecom=3E=2C_Palmer_Debbelt_=3Cpalmer?= =?unknown-8bit?q?=40sifive=2Ecom=3E=2C_Masahiro_Yamada_=3Cyamada=2Emasahiro?= =?unknown-8bit?q?=40socionext=2Ecom=3E=2C_Amelie_Delaunay_=3Camelie=2Edelau?= =?unknown-8bit?q?nay=40foss=2Est=2Ecom=3E=2C_Linus_Walleij_=3Clinus=2Ewalle?= =?unknown-8bit?q?ij=40linaro=2Eorg=3E=2C_dmaengine=40vger=2Ekernel=2Eorg=2C?= =?unknown-8bit?q?_devicetree=40vger=2Ekernel=2Eorg=2C_linux-arm-kernel=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-sunxi=40lists=2Elinux=2Edev?= =?unknown-8bit?q?=2C_linux-kernel=40vger=2Ekernel=2Eorg=2C_asahi=40lists=2E?= =?unknown-8bit?q?linux=2Edev=2C_linux-tegra=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?actions=40lists=2Einfradead=2Eorg=2C_linux-arm-msm=40vger?= =?unknown-8bit?q?=2Ekernel=2Eorg=2C_linux-riscv=40lists=2Einfradead=2Eorg?= =?unknown-8bit?q?=2C_linux-stm32=40st-md-mailman=2Estormreply=2Ecom=2C_linu?= =?unknown-8bit?q?x-mediatek=40lists=2Einfradead=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/2] dt-bindings: dma: cleanup examples - indentation, lowercase hex Date: Tue, 24 Jan 2023 09:11:17 +0100 Message-Id: <20230124081117.31186-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124081117.31186-1-krzysztof.kozlowski@linaro.org> References: <20230124081117.31186-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Cleanup examples: - use 4-space indentation (for cases when it is neither 4 not 2 space), - use lowercase hex, - drop unused node's label. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Drop unused label, correct indentation. --- .../bindings/dma/snps,dw-axi-dmac.yaml | 36 +++++++++---------- .../bindings/dma/stericsson,dma40.yaml | 16 ++++----- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml index 2bedab1f74e0..5c81194e2300 100644 --- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml @@ -113,21 +113,21 @@ additionalProperties: false examples: - | - #include - #include - /* example with snps,dw-axi-dmac */ - dmac: dma-controller@80000 { - compatible = "snps,axi-dma-1.01a"; - reg = <0x80000 0x400>; - clocks = <&core_clk>, <&cfgr_clk>; - clock-names = "core-clk", "cfgr-clk"; - interrupt-parent = <&intc>; - interrupts = <27>; - #dma-cells = <1>; - dma-channels = <4>; - snps,dma-masters = <2>; - snps,data-width = <3>; - snps,block-size = <4096 4096 4096 4096>; - snps,priority = <0 1 2 3>; - snps,axi-max-burst-len = <16>; - }; + #include + #include + /* example with snps,dw-axi-dmac */ + dma-controller@80000 { + compatible = "snps,axi-dma-1.01a"; + reg = <0x80000 0x400>; + clocks = <&core_clk>, <&cfgr_clk>; + clock-names = "core-clk", "cfgr-clk"; + interrupt-parent = <&intc>; + interrupts = <27>; + #dma-cells = <1>; + dma-channels = <4>; + snps,dma-masters = <2>; + snps,data-width = <3>; + snps,block-size = <4096 4096 4096 4096>; + snps,priority = <0 1 2 3>; + snps,axi-max-burst-len = <16>; + }; diff --git a/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml b/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml index 664ee61a00d8..64845347f44d 100644 --- a/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml +++ b/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml @@ -147,13 +147,13 @@ examples: #include #include #include - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", "stericsson,dma40"; - reg = <0x801C0000 0x1000>, <0x40010000 0x800>; - reg-names = "base", "lcpa"; - interrupts = ; - #dma-cells = <3>; - memcpy-channels = <56 57 58 59 60>; - clocks = <&prcmu_clk PRCMU_DMACLK>; + dma-controller@801c0000 { + compatible = "stericsson,db8500-dma40", "stericsson,dma40"; + reg = <0x801c0000 0x1000>, <0x40010000 0x800>; + reg-names = "base", "lcpa"; + interrupts = ; + #dma-cells = <3>; + memcpy-channels = <56 57 58 59 60>; + clocks = <&prcmu_clk PRCMU_DMACLK>; }; ...