Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp327901pxm; Wed, 2 Mar 2022 16:30:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0/5zWWEhDacl6q7b+Ae85V37R2aCqwYFdaXmduMt7B4KycnvAEZyrpN08w0anyCFsafXa X-Received: by 2002:a63:68c7:0:b0:37c:4e5b:8a93 with SMTP id d190-20020a6368c7000000b0037c4e5b8a93mr1653976pgc.527.1646267407339; Wed, 02 Mar 2022 16:30:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646267407; cv=none; d=google.com; s=arc-20160816; b=y2Sv99PWaJywoNwpZJRSGBh57mngqc47y5Nxx4DBBhB9yEGrPqoMm2ZvoMZ+l1VK4l yGXHaSMHwxmYq/wpGWk2zuP0yuG3ujCCmGHGwtbNQVbCWX91Q0Bsulmsga8VCxRMzdcv 7UU83Imhmj81nDI2nfHCvcfgAElUwBh53MoKXYaN0BmSaZR8BzzMgfj5cpcpZWT5w5J5 J0hOA9yWIf5JOi2wpqgvQfWsIFOUW5OOLEXF611PKls0/DuOTVPseoYD0b0T67+UMSx3 pA5d8I7WKBOrfc8XQzhDApeGUlAcS3sAxIvt1GRu9ZqLa1hlMHF7DqHTbL3ijn/HcVbM KrYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IwOBwMpi2OwEzG0VtigJWsM6dutoMlGx5jRzY5Yz/Vc=; b=bNC2qVsapCyyiAF2Z/22PxA/D5yr1lAct0cBq95h5TggfGO/8S4feUYkHKZ2qU1V86 i6lfOOjFOEFFGMuNPr+4gamSc6PdbIjllJ7YhhrYbOSg3TDeQLCIjXTZQRijGZp3oFEz QrGiVhn/DUiJcDM6lFyhk3eX6SpsQaDqQvX1wTgNNhgDPcDFlffDmZcD6FX/XOlpFCO3 Vk+jQ4GPpIYraSdFSOv++FjWWp4jJmxrHEEmk0ng0J6/8PXgoQXhJpWv2ArOUbG0cCol 4vAEsay48BWwZlR6YS/yGVbuTiNYSTqsN4G8ZcNvIeb+m0u5KOD8VvEVYWwit89HLOG0 L95Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=MtnSgvQx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r8-20020a63a548000000b0034e1865d44asi483370pgu.523.2022.03.02.16.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:30:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=MtnSgvQx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EBD2D22BEA2; Wed, 2 Mar 2022 15:41:53 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245306AbiCBWVk (ORCPT + 99 others); Wed, 2 Mar 2022 17:21:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234048AbiCBWVh (ORCPT ); Wed, 2 Mar 2022 17:21:37 -0500 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E44C1D21E7; Wed, 2 Mar 2022 14:20:52 -0800 (PST) Received: by mail-qk1-x72b.google.com with SMTP id f21so2513849qke.13; Wed, 02 Mar 2022 14:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IwOBwMpi2OwEzG0VtigJWsM6dutoMlGx5jRzY5Yz/Vc=; b=MtnSgvQxlGt5TGIFQMfRkRf4KK1L85s9MA4ZXLuK105X6YoXUOfkr173xoepXU0fiu UuhHi/gN1IKGbUa02Oi4DiEVaJZ/yqhWE6k0hILSueUBtPjBk8tj7hvZICj1J1mOVdmZ oUIkmayyOSwIO+lHl6kgMI1DLJJXj1VZG2GzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IwOBwMpi2OwEzG0VtigJWsM6dutoMlGx5jRzY5Yz/Vc=; b=e1Oi98LtqavbdZN9J/P/BBEVEuhKCC3x9KXZn/7/8jciqZZ3iikr86U/CIFo80Tm+3 DLTANobBbBDwzmGMOiAHNzDcTvyExDpdmfth4IKVYLdnOMkbUl+9yW2hFzLLM8X/5ryu 1qXho148uVBPtMlIEGh1trkE/4NQQf4L9Waqc3LTvtGgHdqoodakIUeSN7ieMFQtMKJm A+UNvftx7ugznortQszmn1dBwUCPUn8maPoPajRo50+hR110ygt9rDBaT6wSYF2S8QFB m5qgqlYQYHOik1W1FDSE/3xUwCzLINtkgCy3XrEuHOCtopQytNxvUBYxgV+bdAe6FiRc JwpA== X-Gm-Message-State: AOAM533Y6zJPoTccfdMiNtSNmCpBODAOdPTyky86bAYwtbAv0CCLQblb wqodjceF4DPv7W9kOAYI52UG6qtFMyPYjcgQr88= X-Received: by 2002:a05:620a:2fc:b0:649:a4e:c430 with SMTP id a28-20020a05620a02fc00b006490a4ec430mr17818002qko.347.1646259651990; Wed, 02 Mar 2022 14:20:51 -0800 (PST) MIME-Version: 1.0 References: <20220302173114.927476-1-clg@kaod.org> <20220302173114.927476-4-clg@kaod.org> In-Reply-To: <20220302173114.927476-4-clg@kaod.org> From: Joel Stanley Date: Wed, 2 Mar 2022 22:20:40 +0000 Message-ID: Subject: Re: [PATCH v2 03/10] dt-bindings: spi: Add Aspeed SMC controllers device tree binding To: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Cc: linux-spi@vger.kernel.org, linux-mtd , Mark Brown , Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-aspeed , Andrew Jeffery , Chin-Ting Kuo , devicetree , Rob Herring , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Mar 2022 at 17:31, C=C3=A9dric Le Goater wrote: > > The "interrupt" property is optional because it is only necessary for > controllers supporting DMAs (Not implemented yet in the new driver). > > Cc: Chin-Ting Kuo > Signed-off-by: C=C3=A9dric Le Goater Reviewed-by: Joel Stanley > --- > .../bindings/spi/aspeed,ast2600-fmc.yaml | 90 +++++++++++++++++++ > MAINTAINERS | 9 ++ > 2 files changed, 99 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/aspeed,ast2600-= fmc.yaml > > diff --git a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yam= l b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > new file mode 100644 > index 000000000000..0289a4f52196 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > @@ -0,0 +1,90 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/spi/aspeed,ast2600-fmc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Aspeed SMC controllers bindings > + > +maintainers: > + - Chin-Ting Kuo > + - C=C3=A9dric Le Goater > + > +description: | > + This binding describes the Aspeed Static Memory Controllers (FMC and > + SPI) of the AST2400, AST2500 and AST2600 SOCs. > + > +allOf: > + - $ref: "spi-controller.yaml#" > + > +properties: > + compatible: > + enum: > + - aspeed,ast2600-fmc > + - aspeed,ast2600-spi > + - aspeed,ast2500-fmc > + - aspeed,ast2500-spi > + - aspeed,ast2400-fmc > + - aspeed,ast2400-spi > + > + reg: > + items: > + - description: registers > + - description: memory mapping > + > + clocks: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +patternProperties: > + "@[0-9a-f]+": > + type: object > + > + properties: > + spi-rx-bus-width: > + enum: [1, 2, 4] > + > + required: > + - reg > + > +required: > + - compatible > + - reg > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + spi@1e620000 { > + reg =3D <0x1e620000 0xc4>, <0x20000000 0x10000000>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + compatible =3D "aspeed,ast2600-fmc"; > + clocks =3D <&syscon ASPEED_CLK_AHB>; > + interrupts =3D ; > + flash@0 { > + reg =3D < 0 >; > + compatible =3D "jedec,spi-nor"; > + spi-max-frequency =3D <50000000>; > + spi-rx-bus-width =3D <2>; > + }; > + flash@1 { > + reg =3D < 1 >; > + compatible =3D "jedec,spi-nor"; > + spi-max-frequency =3D <50000000>; > + spi-rx-bus-width =3D <2>; > + }; > + flash@2 { > + reg =3D < 2 >; > + compatible =3D "jedec,spi-nor"; > + spi-max-frequency =3D <50000000>; > + spi-rx-bus-width =3D <2>; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index 4175103e928d..f5ab77548ef6 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2925,6 +2925,15 @@ S: Maintained > F: Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml > F: drivers/mmc/host/sdhci-of-aspeed* > > +ASPEED SMC SPI DRIVER > +M: Chin-Ting Kuo > +M: C=C3=A9dric Le Goater > +L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers) > +L: openbmc@lists.ozlabs.org (moderated for non-subscribers) > +L: linux-spi@vger.kernel.org > +S: Maintained > +F: Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > + > ASPEED VIDEO ENGINE DRIVER > M: Eddie James > L: linux-media@vger.kernel.org > -- > 2.34.1 >