From patchwork Tue Jan 24 08:33:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13113648 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 52DB7C61D9D for ; Tue, 24 Jan 2023 08:34:11 +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=YJCWGK2sEx17fmxeIpBGdp3yc2vISm8wP1ULCo/as3Y=; b=Cs8Z7tl9Zrshqz HFFry1vjpSMKAYglgat2f/BU8RP0nUtZ/5WBDcoN2QMRHRxsDsK6Aph7AJOOdnvizFd3Ls7+EOsMo RP181KY1VuN5SQq/WRhLlILlBnSruG7gjCJTeUEAmGyW+HNptZTMoRL09HY4mI5UJPSHzIduJdBXI celUrztmC+tpLDXNb6icj7oQS/lNzRXTMREqtTCOzxw62Bo9wvHLgW7x0eDNCrybbojbbwk1ZddpD 6VZDmwX6Yf9Ng/bd+2nVgps9JvtrtMfiJVcMAo160TztDzwAeZjECOqrGjQQOSmhERzcG/xjzWPmO KOH2EuBpytnTPqw3EFyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKEkm-002lJZ-1S; Tue, 24 Jan 2023 08:34:04 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKEkd-002lD8-MO for linux-riscv@lists.infradead.org; Tue, 24 Jan 2023 08:34:00 +0000 Received: by mail-wm1-x32f.google.com with SMTP id iv8-20020a05600c548800b003db04a0a46bso678491wmb.0 for ; Tue, 24 Jan 2023 00:33:55 -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=b+nxm6AUQrdND9hhv0fMGvZp0eeAkpWlOdH7gphjJuI=; b=F5EtfmWAs7GPnYDrFQA3qmog15Uouc0N5eHuu9MQT8H2T6aDjEdcdx6q4XF1aYYbaJ rbwCf0tZscxlRycuE90c1IDIIYSkTVn6+h5a7tyAiGlxsWcdO0soiLhxFb8WtixiaCy2 WhJ7z1uWeJG3cB8kdbcxsXHLILrdicAwZQwK3ABCRS3cgWDvH+Noz8yeqWEdjLT3Adfl xIoYzEWZLOmTO25Qa6Z52Pr2d0ZuTw6ENohjnwx1ee9VkWdrhhCjjUzkjdm+I3XLz0h2 1aVovCbXImM9IRjLIsfp/mQTfRMevBV5hGf/qmeILQbAth9fbOj/6XP0FHJANAst6ttN Kmlg== 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=b+nxm6AUQrdND9hhv0fMGvZp0eeAkpWlOdH7gphjJuI=; b=LwIKJE6pEmabToFzpo1+ZYWbTPqUf8T9hTjHNFjqYnv2i1Qpn821lfu2ALP8OFmV9y LhH8NKOic7YCv4obBSs0x33Ti3VRlzRIup3iXZOV8A412EM3K8+65MiEpMEApT6J990m A3mDMnFd53gPH3NZFbKNAbDolKhAmQu+fQAafjyYqcK2a2xuEOv4Dw7UKfEgojRPl7e6 BR31V/XsjwlH7xg8EX3k4gRFClGFOqN7N00VqyWDtRXNz1ljTYtaUHdR/cOL7s9ORRl/ 1mophA/uiccWRPZfRi0O0xgVPZiEbfbME1G6IHP6dODpNoZC8unO/yP56Lizk6OSGSMH c/OA== X-Gm-Message-State: AFqh2koaxda0RBIaW525YTUW7LzwmhtVREB/OZWheukRqT3Axe2n0pIA qpGEKMfnQklbtv7r0nTFQj97IA== X-Google-Smtp-Source: AMrXdXva1GteWUvLjwso/FKOzr72v0f91fSczdeUW3DCTAHFGCcG58kJzxHtnlRqyRT3RNGgPZZBjg== X-Received: by 2002:a1c:ed0a:0:b0:3d3:4a47:52e9 with SMTP id l10-20020a1ced0a000000b003d34a4752e9mr26816656wmh.15.1674549235084; Tue, 24 Jan 2023 00:33:55 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n34-20020a05600c182200b003da286f8332sm1319075wmp.18.2023.01.24.00.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 00:33:54 -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 v2 2/2] spi: dt-bindings: cleanup examples - indentation, lowercase hex Date: Tue, 24 Jan 2023 09:33:42 +0100 Message-Id: <20230124083342.34869-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124083342.34869-1-krzysztof.kozlowski@linaro.org> References: <20230124083342.34869-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_003355_856233_558D826C X-CRM114-Status: GOOD ( 14.16 ) 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 # renesas Reviewed-by: Andrew Jeffery # aspeed Reviewed-by: Neil Armstrong # meson Reviewed-by: Rob Herring --- Changes since v1: 1. Adjust indentation in two more examples (cdns,qspi-nor, st,stm32-spi) 2. Add tags --- .../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 | 34 ++-- .../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 | 23 ++- 10 files changed, 176 insertions(+), 178 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..5c01db128be0 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -103,21 +103,21 @@ unevaluatedProperties: false examples: - | qspi: spi@ff705000 { - compatible = "cdns,qspi-nor"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0xff705000 0x1000>, - <0xffa00000 0x1000>; - interrupts = <0 151 4>; - clocks = <&qspi_clk>; - cdns,fifo-depth = <128>; - cdns,fifo-width = <4>; - cdns,trigger-address = <0x00000000>; - resets = <&rst 0x1>, <&rst 0x2>; - reset-names = "qspi", "qspi-ocp"; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0x0>; - }; + compatible = "cdns,qspi-nor"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xff705000 0x1000>, + <0xffa00000 0x1000>; + interrupts = <0 151 4>; + clocks = <&qspi_clk>; + cdns,fifo-depth = <128>; + cdns,fifo-width = <4>; + cdns,trigger-address = <0x00000000>; + resets = <&rst 0x1>, <&rst 0x2>; + reset-names = "qspi", "qspi-ocp"; + + flash@0 { + 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..9ca1a843c820 100644 --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml @@ -84,18 +84,17 @@ examples: #include #include spi@4000b000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "st,stm32h7-spi"; - reg = <0x4000b000 0x400>; - interrupts = ; - clocks = <&rcc SPI2_K>; - resets = <&rcc SPI2_R>; - dmas = <&dmamux1 0 39 0x400 0x05>, - <&dmamux1 1 40 0x400 0x05>; - dma-names = "rx", "tx"; - cs-gpios = <&gpioa 11 0>; - + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x4000b000 0x400>; + interrupts = ; + clocks = <&rcc SPI2_K>; + resets = <&rcc SPI2_R>; + dmas = <&dmamux1 0 39 0x400 0x05>, + <&dmamux1 1 40 0x400 0x05>; + dma-names = "rx", "tx"; + cs-gpios = <&gpioa 11 0>; }; ...