From patchwork Wed Jan 18 18:01:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13106885 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 14EC7C38147 for ; Wed, 18 Jan 2023 18:12:09 +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=Zp84JUX2wPLB6FAIMuryYBX4UoBq5satkVPoiHfbwC8=; b=a0F7pJxFX8xVg3H2KmT2ciDcgG XIvdnjlnXFIYJGMQC2OwU9I3qetx8UbmFYyPEv7kAr23CbMYPpmNwbeJASucyb+sNM/hZ3xwuj0Ta vi+vPY7rdb38VZeHdEVVF1R7dWSmG2bdZ1f13a+8Js72ARik5BFeEsVyH2N2PwfXMEF5dKaJ/AuAL ipNoDtuJmj5iw0W/1KDfVtbslkJLgiqL9F2a6KO0xc7juhDyLLZCR8dForH2T/zatltKnZ9C1KfdF BHZC7Zxcpuw/X+fcDD38o6k8m+T05hdBXGr55C3CJ1w8TPLHOM30uS0ho/Q+hW5bHTvC18M6CCRLx wt1cviFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pICuk-002E0m-GA; Wed, 18 Jan 2023 18:11:58 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pICl0-0029lc-CD for linux-mediatek@lists.infradead.org; Wed, 18 Jan 2023 18:01:57 +0000 Received: by mail-wr1-x431.google.com with SMTP id k8so20296639wrc.9 for ; Wed, 18 Jan 2023 10:01:53 -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=Zp84JUX2wPLB6FAIMuryYBX4UoBq5satkVPoiHfbwC8=; b=SuzsQHg+VL7NqkwjrA63pCX0Wh/ri6IncPBZXyPuINUTQvvp788mh5J4vJJxBa9Mc/ y/ttCKrX0uNIm+tw6/vqD5JFPoJIAH/m1xJd12MANZgmNBGvfqVoslitJaDVlpYG6Gcg ljT6biT3+fWn72zFSlQeveqfkUxSwqcVzuAg0RUZL3rklTY4sVg1jBK14OM92QHKLI48 rjYxW/75SOrTLmszDt2eq00ibyhe+I+UMNVBKLJKKppm//AV5dM89TEYBDgLS70RCG60 7ZznQt3ixUsuMaRIYB+5yX51Oph7bYwjr0NIzHepDaw7N5dDr9M05cbdJmoCBItHwWrH SkwQ== 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=Zp84JUX2wPLB6FAIMuryYBX4UoBq5satkVPoiHfbwC8=; b=vY8J6/AK9pf2cGQPsjxYEiFqN00/8rPuPctOwWWJMxf+tI7ENHHEy/lzJUV92+H5qo vcoZvtJQj2hmDn2fvGvsg35d7HkncNBAUxxy/sG+d3J3RwQUZ+xXyQQIGwWcYG2oVOZl h12nCdak9CofUzhMQlLQIcRIWV9ARIyD6dKNIE+c/AAdIWyKY979HIkPxOMp7SCPZGgl EVDFNWIJe5E+YacgsiBlec20ByBlIMJMrEoeWALKJT4xM3gTfFssVO4M+HwcizDV8IL/ auAbt/nCMK+Vz9s1M4Fik4hbEeax/Mkq0ARPBBG/Z4semwby14YFOc3NzUNtVKyBpyPn cS5w== X-Gm-Message-State: AFqh2kq4QS/Fo7zqpK45Q1nnvwhtTbD+/Ph36N8L9bvxP+MeBd3SC2hB EopKvebeAhVMh7errWSIPhLLpA== X-Google-Smtp-Source: AMrXdXv3mSWZmyjShmt7WtX7nY6Hcxtp9KvdQ4XjWZI2xRezvrvP5e54ZFq9WAbXPQXpGcFKgypXlQ== X-Received: by 2002:adf:efc8:0:b0:29d:f817:42d4 with SMTP id i8-20020adfefc8000000b0029df81742d4mr16973520wrp.19.1674064912700; Wed, 18 Jan 2023 10:01:52 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id w4-20020a5d4b44000000b002366dd0e030sm31657450wrs.68.2023.01.18.10.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 10:01:52 -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 2/2] dt-bindings: dma: cleanup examples - indentation, lowercase hex Date: Wed, 18 Jan 2023 19:01:44 +0100 Message-Id: <20230118180144.364756-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118180144.364756-1-krzysztof.kozlowski@linaro.org> References: <20230118180144.364756-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-20230118_100154_556329_9780C6EF X-CRM114-Status: GOOD ( 11.83 ) 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. Signed-off-by: Krzysztof Kozlowski --- .../bindings/dma/snps,dw-axi-dmac.yaml | 36 +++++++++---------- .../bindings/dma/stericsson,dma40.yaml | 4 +-- 2 files changed, 20 insertions(+), 20 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..d34d0fa62ab5 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 */ + 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..57395a810719 100644 --- a/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml +++ b/Documentation/devicetree/bindings/dma/stericsson,dma40.yaml @@ -147,9 +147,9 @@ examples: #include #include #include - dma-controller@801C0000 { + dma-controller@801c0000 { compatible = "stericsson,db8500-dma40", "stericsson,dma40"; - reg = <0x801C0000 0x1000>, <0x40010000 0x800>; + reg = <0x801c0000 0x1000>, <0x40010000 0x800>; reg-names = "base", "lcpa"; interrupts = ; #dma-cells = <3>;