From patchwork Wed Jan 18 17:39:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13106753 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 078ACC32793 for ; Wed, 18 Jan 2023 17:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0y9xe5MnS0P1BwsmW+M7/trE+ReFK/WIpMwSQqCsVMc=; b=cgxANu5/6FdOmn lu26BlJBgHpGwRftWr4xAKMQoTJTw7OJ4K2j1nN9cjGQgCLDXB1B7/tb9UgNgEPTy91Yu54MwpQlh OWIxMAFHN7Cs5+4fcJf910+OCh1cF46eJOv49OIcRBqMn1NVCVhTO/qsWukiu9AsRleFOw9Nb0qCZ 6m+o+GUbIa3v0MK7RiLTi+HPa+w22djrJuFbGKMmdwR02Mc5jlhIUUfP95AzXNlmiGMA2pmLZRwEO Zgpqx570Gg5Wla2ZnAJcfoSdF/S61CNBzodjL0mhKESitC7PleyjsXvTrh7wzwpZDBTAAyf0Ydps0 LqpPrKU6SZoFzQfODv6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pICPt-00253D-LI; Wed, 18 Jan 2023 17:40:05 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pICPj-0024wY-Bi for linux-riscv@lists.infradead.org; Wed, 18 Jan 2023 17:40:02 +0000 Received: by mail-wr1-x42a.google.com with SMTP id r30so10302225wrr.10 for ; Wed, 18 Jan 2023 09:39:52 -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=wtwVyM3K+4xfqOEqd0qS9jQUn3un4dIlOZ3IaOVmOyo=; b=uG1LoW51EyTrR5K0su1WK7HgiV36VrKRpjf9MMIxBKxArggNiL2gx3cbAclzZEnGrX 173HD3BB4/BQRq2R/W1sT/l09f8WqPXdK9ZPSgaKxMRXJt+aOo4q9JY/ZqcxAv0tb9XJ 3TFUWt70aAnHCUa6YQWTveEKwbt/QJjGE5UYjs2tS0LyI0aNugkdYz3HNb7zquj5Ndkz mtkMvQ18inXyuY2JCFt8qMVlOhEEzXZtKX0RscXIU/CXARgdk1SfAd2RxyqZZf0Bcm3l qSz5PmQX71Tk4es9dGaQQe+EN2Th4RsmYJ0Ch2xaYIKqc+U24Fu5lJ1HvVj+ZL8rf0YJ NTbQ== 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=wtwVyM3K+4xfqOEqd0qS9jQUn3un4dIlOZ3IaOVmOyo=; b=hyOypuys/77qWJdUjztgLMNLt8On487ZJyppEVpWlZQM++oUlwEEGskJogoJghnrlU D0fHwu+PvxEOrxyqlOQNmzITBQkFCh0li8YM1Lc0SimxUdk3Xn6HX/eWNHt9egatk1jl 1vWUVjOoGSlDtk9fBBQeFvHLOliePUuFANdAMCw7Q/hsTpaco8Bm4UlKro7Xe5MNHCVs sxJCwpBhi+mM383J+xWJuvwaEghtRgxZhb2H9iaGC/uUWgqMg0lzioRSuHtz0+z1eBj4 d/VlLIHnBxirqw3m+P6FKBC6ptQWUcJtbQnD0MQo1qzU/xoCs4XPNCH2WIUVVM9C6HOM vFDg== X-Gm-Message-State: AFqh2koCmrjd5Q0Ef2eD/8Iz7UyMZ5uYA8Wld3O7G4RMznS8Ju0U4WVM 5QH7URiiPgOHp2Uiwqhlic5uCA== X-Google-Smtp-Source: AMrXdXssGP6UUIlZOO/mf0W4Agmrlx2dZmmc5gPJRGSrJysLLW8tVlfCePh1WGEBQI7iccNrD8TtpQ== X-Received: by 2002:a05:6000:110e:b0:2bd:db2a:ec8 with SMTP id z14-20020a056000110e00b002bddb2a0ec8mr2666620wrw.28.1674063591544; Wed, 18 Jan 2023 09:39:51 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id u24-20020adfa198000000b002bc84c55758sm28730074wru.63.2023.01.18.09.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 09:39:51 -0800 (PST) From: Krzysztof Kozlowski To: =?unknown-8bit?q?Mark_Brown_=3Cbroonie=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_Neil_Armstrong_=3Cneil=2Earmstrong=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Kevin_Hilman_=3Ckhilman=40baylibre=2Ecom=3E?= =?unknown-8bit?q?=2C_Jerome_Brunet_=3Cjbrunet=40baylibre=2Ecom=3E=2C_Martin?= =?unknown-8bit?q?_Blumenstingl_=3Cmartin=2Eblumenstingl=40googlemail=2Ecom?= =?unknown-8bit?q?=3E=2C_Chin-Ting_Kuo_=3Cchin-ting=5Fkuo=40aspeedtech=2Ecom?= =?unknown-8bit?q?=3E=2C_C=C3=A9dric_Le_Goater__=3Cclg=40kaod=2Eorg=3E=2C_Jo?= =?unknown-8bit?q?el_Stanley_=3Cjoel=40jms=2Eid=2Eau=3E=2C_Andrew_Jeffery_?= =?unknown-8bit?q?=3Candrew=40aj=2Eid=2Eau=3E=2C_Kamal_Dasu_=3Ckdasu=2Ekdev?= =?unknown-8bit?q?=40gmail=2Ecom=3E=2C_Broadcom_internal_kernel_review_list_?= =?unknown-8bit?q?=3Cbcm-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Han_Xu_?= =?unknown-8bit?q?=3Chan=2Exu=40nxp=2Ecom=3E=2C_Shawn_Guo_=3Cshawnguo=40kern?= =?unknown-8bit?q?el=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40pengutronix=2Ed?= =?unknown-8bit?q?e=3E=2C_Pengutronix_Kernel_Team_=3Ckernel=40pengutronix=2E?= =?unknown-8bit?q?de=3E=2C_Fabio_Estevam_=3Cfestevam=40gmail=2Ecom=3E=2C_NXP?= =?unknown-8bit?q?_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E=2C_Matthias_Brugge?= =?unknown-8bit?q?r_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_Thierry_Reding_=3C?= =?unknown-8bit?q?thierry=2Ereding=40gmail=2Ecom=3E=2C_Jonathan_Hunter_=3Cjo?= =?unknown-8bit?q?nathanh=40nvidia=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel?= =?unknown-8bit?q?=2Eorg=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg?= =?unknown-8bit?q?=3E=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E?= =?unknown-8bit?q?=2C_Serge_Semin_=3Cfancer=2Elancer=40gmail=2Ecom=3E=2C_Hai?= =?unknown-8bit?q?bo_Chen_=3Chaibo=2Echen=40nxp=2Ecom=3E=2C_Yogesh_Gaur_=3Cy?= =?unknown-8bit?q?ogeshgaur=2E83=40gmail=2Ecom=3E=2C_Linus_Walleij_=3Clinus?= =?unknown-8bit?q?=2Ewalleij=40linaro=2Eorg=3E=2C_Heiko_Stuebner_=3Cheiko=40?= =?unknown-8bit?q?sntech=2Ede=3E=2C_Palmer_Dabbelt_=3Cpalmer=40dabbelt=2Ecom?= =?unknown-8bit?q?=3E=2C_Paul_Walmsley_=3Cpaul=2Ewalmsley=40sifive=2Ecom=3E?= =?unknown-8bit?q?=2C_Li-hao_Kuo_=3Clhjeff911=40gmail=2Ecom=3E=2C_Michal_Sim?= =?unknown-8bit?q?ek_=3Cmichal=2Esimek=40xilinx=2Ecom=3E=2C_Orson_Zhai_=3Cor?= =?unknown-8bit?q?sonzhai=40gmail=2Ecom=3E=2C_Baolin_Wang_=3Cbaolin=2Ewang?= =?unknown-8bit?q?=40linux=2Ealibaba=2Ecom=3E=2C_Chunyan_Zhang_=3Czhang=2Ely?= =?unknown-8bit?q?ra=40gmail=2Ecom=3E=2C_Maxime_Coquelin_=3Cmcoquelin=2Estm3?= =?unknown-8bit?q?2=40gmail=2Ecom=3E=2C_Alexandre_Torgue_=3Calexandre=2Etorg?= =?unknown-8bit?q?ue=40foss=2Est=2Ecom=3E=2C_Maxime_Ripard_=3Cmripard=40kern?= =?unknown-8bit?q?el=2Eorg=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Vais?= =?unknown-8bit?q?hnav_Achath_=3Cvaishnav=2Ea=40ti=2Ecom=3E=2C_Parshuram_Tho?= =?unknown-8bit?q?mbare_=3Cpthombar=40cadence=2Ecom=3E=2C_Leilk_Liu_=3Cleilk?= =?unknown-8bit?q?=2Eliu=40mediatek=2Ecom=3E=2C_Gabor_Juhos_=3Cjuhosg=40open?= =?unknown-8bit?q?wrt=2Eorg=3E=2C_Bert_Vermeulen_=3Cbert=40biot=2Ecom=3E=2C_?= =?unknown-8bit?q?Miquel_Raynal_=3Cmiquel=2Eraynal=40bootlin=2Ecom=3E=2C_Mar?= =?unknown-8bit?q?ek_Vasut_=3Cmarex=40denx=2Ede=3E=2C_Birger_Koblitz_=3Cmail?= =?unknown-8bit?q?=40birger-koblitz=2Ede=3E=2C_Geert_Uytterhoeven_=3Cgeert+r?= =?unknown-8bit?q?enesas=40glider=2Ebe=3E=2C_Anson_Huang_=3CAnson=2EHuang=40?= =?unknown-8bit?q?nxp=2Ecom=3E=2C_Chris_Packham_=3Cchris=2Epackham=40alliedt?= =?unknown-8bit?q?elesis=2Eco=2Enz=3E=2C_Kuldeep_Singh_=3Csingh=2Ekuldeep87k?= =?unknown-8bit?q?=40gmail=2Ecom=3E=2C_Pragnesh_Patel_=3Cpragnesh=2Epatel=40?= =?unknown-8bit?q?sifive=2Ecom=3E=2C_Christophe_Kerello_=3Cchristophe=2Ekere?= =?unknown-8bit?q?llo=40foss=2Est=2Ecom=3E=2C_Patrice_Chotard_=3Cpatrice=2Ec?= =?unknown-8bit?q?hotard=40foss=2Est=2Ecom=3E=2C_Erwan_Leray_=3Cerwan=2Elera?= =?unknown-8bit?q?y=40foss=2Est=2Ecom=3E=2C_Fabrice_Gasnier_=3Cfabrice=2Egas?= =?unknown-8bit?q?nier=40foss=2Est=2Ecom=3E=2C_linux-spi=40vger=2Ekernel=2Eo?= =?unknown-8bit?q?rg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-arm-kernel?= =?unknown-8bit?q?=40lists=2Einfradead=2Eorg=2C_linux-sunxi=40lists=2Elinux?= =?unknown-8bit?q?=2Edev=2C_linux-kernel=40vger=2Ekernel=2Eorg=2C_linux-amlo?= =?unknown-8bit?q?gic=40lists=2Einfradead=2Eorg=2C_linux-aspeed=40lists=2Eoz?= =?unknown-8bit?q?labs=2Eorg=2C_openbmc=40lists=2Eozlabs=2Eorg=2C_linux-medi?= =?unknown-8bit?q?atek=40lists=2Einfradead=2Eorg=2C_linux-tegra=40vger=2Eker?= =?unknown-8bit?q?nel=2Eorg=2C_linux-arm-msm=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?rockchip=40lists=2Einfradead=2Eorg=2C_linux-riscv=40lists?= =?unknown-8bit?q?=2Einfradead=2Eorg=2C_linux-stm32=40st-md-mailman=2Estormr?= =?unknown-8bit?q?eply=2Ecom?= Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] spi: dt-bindings: cleanup examples - indentation, lowercase hex Date: Wed, 18 Jan 2023 18:39:32 +0100 Message-Id: <20230118173932.358153-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118173932.358153-1-krzysztof.kozlowski@linaro.org> References: <20230118173932.358153-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_093955_446563_7824E6ED X-CRM114-Status: GOOD ( 13.39 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Cleanup examples: - use 4-space indentation (for cases when it is neither 4 not 2 space), - drop redundant blank lines, - use lowercase hex. No functional impact except adjusting to preferred coding style. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven Reviewed-by: Andrew Jeffery Reviewed-by: Neil Armstrong --- .../bindings/spi/amlogic,meson-gx-spicc.yaml | 26 +-- .../bindings/spi/amlogic,meson6-spifc.yaml | 22 +-- .../bindings/spi/aspeed,ast2600-fmc.yaml | 24 +-- .../bindings/spi/brcm,spi-bcm-qspi.yaml | 156 +++++++++--------- .../bindings/spi/cdns,qspi-nor.yaml | 4 +- .../bindings/spi/nvidia,tegra210-quad.yaml | 42 ++--- .../bindings/spi/qcom,spi-qcom-qspi.yaml | 1 - .../devicetree/bindings/spi/renesas,rspi.yaml | 22 +-- .../bindings/spi/spi-sunplus-sp7021.yaml | 4 +- .../devicetree/bindings/spi/st,stm32-spi.yaml | 1 - 10 files changed, 150 insertions(+), 152 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml index e5eca3a6f132..4e28e6e9d8e0 100644 --- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml +++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml @@ -100,17 +100,17 @@ unevaluatedProperties: false examples: - | spi@c1108d80 { - compatible = "amlogic,meson-gx-spicc"; - reg = <0xc1108d80 0x80>; - interrupts = <112>; - clocks = <&clk81>; - clock-names = "core"; - #address-cells = <1>; - #size-cells = <0>; - - display@0 { - compatible = "lg,lg4573"; - spi-max-frequency = <1000000>; - reg = <0>; - }; + compatible = "amlogic,meson-gx-spicc"; + reg = <0xc1108d80 0x80>; + interrupts = <112>; + clocks = <&clk81>; + clock-names = "core"; + #address-cells = <1>; + #size-cells = <0>; + + display@0 { + compatible = "lg,lg4573"; + spi-max-frequency = <1000000>; + reg = <0>; + }; }; diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml index 806043fed4d1..8e769ccda97f 100644 --- a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml +++ b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml @@ -40,15 +40,15 @@ unevaluatedProperties: false examples: - | spi@c1108c80 { - compatible = "amlogic,meson6-spifc"; - reg = <0xc1108c80 0x80>; - clocks = <&clk81>; - #address-cells = <1>; - #size-cells = <0>; - - flash: flash@0 { - compatible = "spansion,m25p80", "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <40000000>; - }; + compatible = "amlogic,meson6-spifc"; + reg = <0xc1108c80 0x80>; + clocks = <&clk81>; + #address-cells = <1>; + #size-cells = <0>; + + flash: flash@0 { + compatible = "spansion,m25p80", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; }; diff --git a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml index aae6fb139b5b..57d932af4506 100644 --- a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml +++ b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml @@ -60,23 +60,23 @@ examples: interrupts = ; flash@0 { - reg = < 0 >; - compatible = "jedec,spi-nor"; - spi-max-frequency = <50000000>; - spi-rx-bus-width = <2>; + reg = < 0 >; + compatible = "jedec,spi-nor"; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <2>; }; flash@1 { - reg = < 1 >; - compatible = "jedec,spi-nor"; - spi-max-frequency = <50000000>; - spi-rx-bus-width = <2>; + reg = < 1 >; + compatible = "jedec,spi-nor"; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <2>; }; flash@2 { - reg = < 2 >; - compatible = "jedec,spi-nor"; - spi-max-frequency = <50000000>; - spi-rx-bus-width = <2>; + reg = < 2 >; + compatible = "jedec,spi-nor"; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <2>; }; }; diff --git a/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml b/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml index ec5873919170..28222aae3077 100644 --- a/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml @@ -99,98 +99,98 @@ required: examples: - | # BRCMSTB SoC: SPI Master (MSPI+BSPI) for SPI-NOR access spi@f03e3400 { - compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi"; - reg = <0xf03e3400 0x188>, <0xf03e3200 0x50>, <0xf03e0920 0x4>; - reg-names = "mspi", "bspi", "cs_reg"; - interrupts = <0x5>, <0x6>, <0x1>, <0x2>, <0x3>, <0x4>, <0x0>; - interrupt-parent = <&gic>; - interrupt-names = "mspi_done", - "mspi_halted", - "spi_lr_fullness_reached", - "spi_lr_session_aborted", - "spi_lr_impatient", - "spi_lr_session_done", - "spi_lr_overread"; - clocks = <&hif_spi>; - #address-cells = <0x1>; - #size-cells = <0x0>; - - flash@0 { - #size-cells = <0x2>; - #address-cells = <0x2>; - compatible = "m25p80"; - reg = <0x0>; - spi-max-frequency = <0x2625a00>; - spi-cpol; - spi-cpha; - }; + compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi"; + reg = <0xf03e3400 0x188>, <0xf03e3200 0x50>, <0xf03e0920 0x4>; + reg-names = "mspi", "bspi", "cs_reg"; + interrupts = <0x5>, <0x6>, <0x1>, <0x2>, <0x3>, <0x4>, <0x0>; + interrupt-parent = <&gic>; + interrupt-names = "mspi_done", + "mspi_halted", + "spi_lr_fullness_reached", + "spi_lr_session_aborted", + "spi_lr_impatient", + "spi_lr_session_done", + "spi_lr_overread"; + clocks = <&hif_spi>; + #address-cells = <0x1>; + #size-cells = <0x0>; + + flash@0 { + #size-cells = <0x2>; + #address-cells = <0x2>; + compatible = "m25p80"; + reg = <0x0>; + spi-max-frequency = <0x2625a00>; + spi-cpol; + spi-cpha; + }; }; - | # BRCMSTB SoC: MSPI master for any SPI device spi@f0416000 { - clocks = <&upg_fixed>; - compatible = "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi"; - reg = <0xf0416000 0x180>; - reg-names = "mspi"; - interrupts = <0x14>; - interrupt-parent = <&irq0_aon_intc>; - interrupt-names = "mspi_done"; - #address-cells = <1>; - #size-cells = <0>; + clocks = <&upg_fixed>; + compatible = "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi"; + reg = <0xf0416000 0x180>; + reg-names = "mspi"; + interrupts = <0x14>; + interrupt-parent = <&irq0_aon_intc>; + interrupt-names = "mspi_done"; + #address-cells = <1>; + #size-cells = <0>; }; - | # iProc SoC #include #include spi@18027200 { - compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; - reg = <0x18027200 0x184>, - <0x18027000 0x124>, - <0x1811c408 0x004>, - <0x180273a0 0x01c>; - reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg"; - interrupts = , - , - , - , - , - , - ; - interrupt-names = "mspi_done", - "mspi_halted", - "spi_lr_fullness_reached", - "spi_lr_session_aborted", - "spi_lr_impatient", - "spi_lr_session_done"; - clocks = <&iprocmed>; - num-cs = <2>; - #address-cells = <1>; - #size-cells = <0>; + compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; + reg = <0x18027200 0x184>, + <0x18027000 0x124>, + <0x1811c408 0x004>, + <0x180273a0 0x01c>; + reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg"; + interrupts = , + , + , + , + , + , + ; + interrupt-names = "mspi_done", + "mspi_halted", + "spi_lr_fullness_reached", + "spi_lr_session_aborted", + "spi_lr_impatient", + "spi_lr_session_done"; + clocks = <&iprocmed>; + num-cs = <2>; + #address-cells = <1>; + #size-cells = <0>; }; - | # NS2 SoC #include #include spi@66470200 { - compatible = "brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi"; - reg = <0x66470200 0x184>, - <0x66470000 0x124>, - <0x67017408 0x004>, - <0x664703a0 0x01c>; - reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg"; - interrupts = ; - interrupt-names = "spi_l1_intr"; - clocks = <&iprocmed>; - num-cs = <2>; + compatible = "brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi"; + reg = <0x66470200 0x184>, + <0x66470000 0x124>, + <0x67017408 0x004>, + <0x664703a0 0x01c>; + reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg"; + interrupts = ; + interrupt-names = "spi_l1_intr"; + clocks = <&iprocmed>; + num-cs = <2>; + #address-cells = <1>; + #size-cells = <0>; + + flash@0 { #address-cells = <1>; - #size-cells = <0>; - - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "m25p80"; - reg = <0x0>; - spi-max-frequency = <12500000>; - spi-cpol; - spi-cpha; - }; + #size-cells = <1>; + compatible = "m25p80"; + reg = <0x0>; + spi-max-frequency = <12500000>; + spi-cpol; + spi-cpha; + }; }; diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index 9be4e2c5d1ee..7606b5a252b6 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -117,7 +117,7 @@ examples: reset-names = "qspi", "qspi-ocp"; flash@0 { - compatible = "jedec,spi-nor"; - reg = <0x0>; + compatible = "jedec,spi-nor"; + reg = <0x0>; }; }; diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml index 9f78b2c06494..9ae1611175f2 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml @@ -74,25 +74,25 @@ examples: #include #include spi@70410000 { - compatible = "nvidia,tegra210-qspi"; - reg = <0x70410000 0x1000>; - interrupts = ; - #address-cells = <1>; - #size-cells = <0>; - clocks = <&tegra_car TEGRA210_CLK_QSPI>, - <&tegra_car TEGRA210_CLK_QSPI_PM>; - clock-names = "qspi", "qspi_out"; - resets = <&tegra_car 211>; - dmas = <&apbdma 5>, <&apbdma 5>; - dma-names = "rx", "tx"; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <104000000>; - spi-tx-bus-width = <2>; - spi-rx-bus-width = <2>; - nvidia,tx-clk-tap-delay = <0>; - nvidia,rx-clk-tap-delay = <0>; - }; + compatible = "nvidia,tegra210-qspi"; + reg = <0x70410000 0x1000>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&tegra_car TEGRA210_CLK_QSPI>, + <&tegra_car TEGRA210_CLK_QSPI_PM>; + clock-names = "qspi", "qspi_out"; + resets = <&tegra_car 211>; + dmas = <&apbdma 5>, <&apbdma 5>; + dma-names = "rx", "tx"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + nvidia,tx-clk-tap-delay = <0>; + nvidia,rx-clk-tap-delay = <0>; + }; }; diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml index 85e7770703bd..e94d915e28c8 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml @@ -87,7 +87,6 @@ examples: spi-tx-bus-width = <2>; spi-rx-bus-width = <2>; }; - }; }; ... diff --git a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml index f45d3b75d6de..4d8ec69214c9 100644 --- a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml +++ b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml @@ -141,15 +141,15 @@ examples: #include qspi: spi@e6b10000 { - compatible = "renesas,qspi-r8a7791", "renesas,qspi"; - reg = <0xe6b10000 0x2c>; - interrupts = ; - clocks = <&cpg CPG_MOD 917>; - dmas = <&dmac0 0x17>, <&dmac0 0x18>, <&dmac1 0x17>, <&dmac1 0x18>; - dma-names = "tx", "rx", "tx", "rx"; - power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; - resets = <&cpg 917>; - num-cs = <1>; - #address-cells = <1>; - #size-cells = <0>; + compatible = "renesas,qspi-r8a7791", "renesas,qspi"; + reg = <0xe6b10000 0x2c>; + interrupts = ; + clocks = <&cpg CPG_MOD 917>; + dmas = <&dmac0 0x17>, <&dmac0 0x18>, <&dmac1 0x17>, <&dmac1 0x18>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; + resets = <&cpg 917>; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; }; diff --git a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml index 69a463305274..edb5ba71af3a 100644 --- a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml +++ b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml @@ -59,9 +59,9 @@ unevaluatedProperties: false examples: - | #include - spi@9C002D80 { + spi@9c002d80 { compatible = "sunplus,sp7021-spi"; - reg = <0x9C002D80 0x80>, <0x9C002E00 0x80>; + reg = <0x9c002d80 0x80>, <0x9c002e00 0x80>; reg-names = "master", "slave"; interrupt-parent = <&intc>; interrupt-names = "dma_w", diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml index d35c6f7e2dd5..18afdaab946d 100644 --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml @@ -95,7 +95,6 @@ examples: <&dmamux1 1 40 0x400 0x05>; dma-names = "rx", "tx"; cs-gpios = <&gpioa 11 0>; - }; ...