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: 13106755 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 28620C678DC for ; Wed, 18 Jan 2023 17:40:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbjARRkJ (ORCPT ); Wed, 18 Jan 2023 12:40:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231232AbjARRjz (ORCPT ); Wed, 18 Jan 2023 12:39:55 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AD68589A5 for ; Wed, 18 Jan 2023 09:39:53 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id b5so13562540wrn.0 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=Q9/QoWBTK0MHlcnICczK93/TjvEuh0RDLV7bjsi4Qv8x+qjKINmBNTHOcA+QvBSNOp QTwBCG/75oGPKUWy6/M6McTaKeESltNeI/YJbgDfG4N0+c0+rT/roh6ZnS3w/xWNEKLn hXylErEga02WKcFvoE2wfm805B7EfEqTWMNOI1CeXNeV9beIfewg3jUenq+DTpHmNLQd spSOwrRgLFyGbn5CGD7ETt2HHHqF46WN6lR229qcLJhYCku+rb+5MzDYQMUo2k8R2CGA 4G/uD+vWp0k4d9cg60mIbxNn6oRmhMz7EyKfa3wBNP5VBxqdzFhClHfyce5VxxsLfnKH 8jfA== X-Gm-Message-State: AFqh2kr4kEjYppLDcdoUP+nMRCFV/Sdpgw9a67u8igyrVx66PaAi6Dua U4HLAwFGvsdzwuA0rG4U+Yo91g== 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=40ker?= =?unknown-8bit?q?nel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40pengutronix=2E?= =?unknown-8bit?q?de=3E=2C_Pengutronix_Kernel_Team_=3Ckernel=40pengutronix?= =?unknown-8bit?q?=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmail=2Ecom=3E=2C_?= =?unknown-8bit?q?NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E=2C_Matthias_Bru?= =?unknown-8bit?q?gger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_Thierry_Reding_?= =?unknown-8bit?q?=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Jonathan_Hunter_?= =?unknown-8bit?q?=3Cjonathanh=40nvidia=2Ecom=3E=2C_Andy_Gross_=3Cagross=40k?= =?unknown-8bit?q?ernel=2Eorg=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg?= =?unknown-8bit?q?=3E=2C_Serge_Semin_=3Cfancer=2Elancer=40gmail=2Ecom=3E=2C_?= =?unknown-8bit?q?Haibo_Chen_=3Chaibo=2Echen=40nxp=2Ecom=3E=2C_Yogesh_Gaur_?= =?unknown-8bit?q?=3Cyogeshgaur=2E83=40gmail=2Ecom=3E=2C_Linus_Walleij_=3Cli?= =?unknown-8bit?q?nus=2Ewalleij=40linaro=2Eorg=3E=2C_Heiko_Stuebner_=3Cheiko?= =?unknown-8bit?q?=40sntech=2Ede=3E=2C_Palmer_Dabbelt_=3Cpalmer=40dabbelt=2E?= =?unknown-8bit?q?com=3E=2C_Paul_Walmsley_=3Cpaul=2Ewalmsley=40sifive=2Ecom?= =?unknown-8bit?q?=3E=2C_Li-hao_Kuo_=3Clhjeff911=40gmail=2Ecom=3E=2C_Michal_?= =?unknown-8bit?q?Simek_=3Cmichal=2Esimek=40xilinx=2Ecom=3E=2C_Orson_Zhai_?= =?unknown-8bit?q?=3Corsonzhai=40gmail=2Ecom=3E=2C_Baolin_Wang_=3Cbaolin=2Ew?= =?unknown-8bit?q?ang=40linux=2Ealibaba=2Ecom=3E=2C_Chunyan_Zhang_=3Czhang?= =?unknown-8bit?q?=2Elyra=40gmail=2Ecom=3E=2C_Maxime_Coquelin_=3Cmcoquelin?= =?unknown-8bit?q?=2Estm32=40gmail=2Ecom=3E=2C_Alexandre_Torgue_=3Calexandre?= =?unknown-8bit?q?=2Etorgue=40foss=2Est=2Ecom=3E=2C_Maxime_Ripard_=3Cmripard?= =?unknown-8bit?q?=40kernel=2Eorg=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E?= =?unknown-8bit?q?=2C_Vaishnav_Achath_=3Cvaishnav=2Ea=40ti=2Ecom=3E=2C_Parsh?= =?unknown-8bit?q?uram_Thombare_=3Cpthombar=40cadence=2Ecom=3E=2C_Leilk_Liu_?= =?unknown-8bit?q?=3Cleilk=2Eliu=40mediatek=2Ecom=3E=2C_Gabor_Juhos_=3Cjuhos?= =?unknown-8bit?q?g=40openwrt=2Eorg=3E=2C_Bert_Vermeulen_=3Cbert=40biot=2Eco?= =?unknown-8bit?q?m=3E=2C_Miquel_Raynal_=3Cmiquel=2Eraynal=40bootlin=2Ecom?= =?unknown-8bit?q?=3E=2C_Marek_Vasut_=3Cmarex=40denx=2Ede=3E=2C_Birger_Kobli?= =?unknown-8bit?q?tz_=3Cmail=40birger-koblitz=2Ede=3E=2C_Geert_Uytterhoeven_?= =?unknown-8bit?q?=3Cgeert+renesas=40glider=2Ebe=3E=2C_Anson_Huang_=3CAnson?= =?unknown-8bit?q?=2EHuang=40nxp=2Ecom=3E=2C_Chris_Packham_=3Cchris=2Epackha?= =?unknown-8bit?q?m=40alliedtelesis=2Eco=2Enz=3E=2C_Kuldeep_Singh_=3Csingh?= =?unknown-8bit?q?=2Ekuldeep87k=40gmail=2Ecom=3E=2C_Pragnesh_Patel_=3Cpragne?= =?unknown-8bit?q?sh=2Epatel=40sifive=2Ecom=3E=2C_Christophe_Kerello_=3Cchri?= =?unknown-8bit?q?stophe=2Ekerello=40foss=2Est=2Ecom=3E=2C_Patrice_Chotard_?= =?unknown-8bit?q?=3Cpatrice=2Echotard=40foss=2Est=2Ecom=3E=2C_Erwan_Leray_?= =?unknown-8bit?q?=3Cerwan=2Eleray=40foss=2Est=2Ecom=3E=2C_Fabrice_Gasnier_?= =?unknown-8bit?q?=3Cfabrice=2Egasnier=40foss=2Est=2Ecom=3E=2C_linux-spi=40v?= =?unknown-8bit?q?ger=2Ekernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_?= =?unknown-8bit?q?linux-arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-sunxi?= =?unknown-8bit?q?=40lists=2Elinux=2Edev=2C_linux-kernel=40vger=2Ekernel=2Eo?= =?unknown-8bit?q?rg=2C_linux-amlogic=40lists=2Einfradead=2Eorg=2C_linux-asp?= =?unknown-8bit?q?eed=40lists=2Eozlabs=2Eorg=2C_openbmc=40lists=2Eozlabs=2Eo?= =?unknown-8bit?q?rg=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-te?= =?unknown-8bit?q?gra=40vger=2Ekernel=2Eorg=2C_linux-arm-msm=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg=2C_linux-rockchip=40lists=2Einfradead=2Eorg=2C_linu?= =?unknown-8bit?q?x-riscv=40lists=2Einfradead=2Eorg=2C_linux-stm32=40st-md-m?= =?unknown-8bit?q?ailman=2Estormreply=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 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.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>; - }; ...