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: 13113623 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D273C25B4E for ; Tue, 24 Jan 2023 08:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nfjek5I1oI6I+fvZ0/B32LKubURkbISmBCkZ0YpdN10=; b=UmfSxwbB8oewdzFsNkl5Mr4AzD /ib+eTolJRZr5mbBlpIdJl2UVS+OP+urFQtiRRbrG/c756SvcDkJaiskzX3TapPROARS0s/f7JFwk lYp4yvROQ0gQ41xAgh5h59ICEzrGp0O4dFeoTFjVxLFUD1UbFSeCUyko02CE1ftilYSbrx1ZCcXqn crmrxNxzhQkOO4E5jag8Vdhvq/s/fEqmd7/IJEslISM34OQa4M1YgRQmje/UO8Aqf0UsyV8JgFNfS uyyoQqIDMxDSWupIcQ3OtFPx3SaAMvHpPSXxt33pr3eoF8MpTBFFuySc+wO2ubay9Lxhj07iXDgv8 wbTPharA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKEP0-002hdj-WE; Tue, 24 Jan 2023 08:11:35 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKEOw-002haQ-Ng for linux-mediatek@lists.infradead.org; Tue, 24 Jan 2023 08:11:32 +0000 Received: by mail-wm1-x32e.google.com with SMTP id c10-20020a05600c0a4a00b003db0636ff84so10305739wmq.0 for ; Tue, 24 Jan 2023 00:11:29 -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=FJBXyUNlmTqhYYUvXlWMwjb+dxgQLdWAkz/Sub2/sRLfGV9v7uvIIFBCwUFeBRgzxH 2VxMkzbHgzpJSyTn21+bAkBe6RC8PS9+TvwDeUz6tW67efKl25Dl61EHsFhOQnfZ/bkL HxSHUF3PEjotlMP5eb7S2xUayUtiNc8nf6oXZQJothzogMnsoRJOnyNq/CxYcVAgfE+l 7A1zx3IbHByjvSx4lE3nbL+aAPylFp/0O0nFZKI/5Hu1hKmrCNfPe+4s0pTQeqOQ0w/4 bFNwb+SMywITHMcElyu6JlelTbGT99n87239svB/iNKKEmlk7ONTRuJ1Nyfk+d/H6l6i F9TA== X-Gm-Message-State: AFqh2kpO7tmmn04H6Tz610MzEtWem1aFzUKXi3+RypHlHAKwUloIGxIf MZcNG9xPmiOiGtSmv8pdHICFPw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230124_001130_792627_8D9AA54E X-CRM114-Status: GOOD ( 12.22 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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>; }; ...