Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp664161pxb; Thu, 31 Mar 2022 14:19:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGOUWQByQjOImWZqzlCes9EhenKDlhnK16GypnSyF+S1+qetOf5pli2y7ESi0E+dBO/MQM X-Received: by 2002:a05:6402:5250:b0:419:2902:2833 with SMTP id t16-20020a056402525000b0041929022833mr18220818edd.153.1648761577709; Thu, 31 Mar 2022 14:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648761577; cv=none; d=google.com; s=arc-20160816; b=FWokSbA1Rnw3juxDoBs0J8DM7bp3bQe/MeQs5BpkuR34Z8P14A1kgg3ynbjB70hzyT dwNUAYuQTF85QzDeqi5XYiHlaL6FxPZmpOIu9OfhmXE3i7voTE8tyQsNWmwWwqVtYs0K 4LgRDTxbwCV9HyLWI1wSKalyv+j4cYZN4oHhfGkRxUWSdkic7OlfSVax4ZPahpNcTnDS VINKApD+b76rvIgceohNXBc8X8TBZO0+SDMrq33cZnF9z+pAUwVGpG0GG0hb3Ghhysd1 K23jg31WZ8IGeshBzSFODJUDxMpGdxjuvY/WImGv9M/gFkBO9IifkXk16pMQp2vf0iX7 xaQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=U/Bd5JEPMZiETyPMjxTZkK0xTLGPXruq7bxamvC/BPE=; b=WWPFVo2LUrvnHwh54rkYtLer2d80ZKD0RAAevThijXLN13qMuCLA/hbx8xs5vhtamF Z3CHjedQJYzl67ATCaUX412fPaiCquM186H0FSJa024O4315Sm0QGSOCyjlKmQkvxmb8 GDzE0dt2F4AhsriAEMyzFk4pr39bMfDVyXXNUYMGXGuI/XMfmRqrX2ynDWC1sM6QxKTr Z1kIOwYmramV3ll3XhMwB/gS+XaNSyJZznxxbLOG6ox5/RS4xF0WpWTcgvFDDXzIMWEX EP3PgsWx9Jh0f8SfZAQ1kcukslSY+z+1keJ8T49/kgRgSUxt+62lhXtikOskjTmNT0Ag vx2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="p/8v7ChW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a170906861000b006df76385c4bsi441309ejx.235.2022.03.31.14.19.13; Thu, 31 Mar 2022 14:19:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="p/8v7ChW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236006AbiCaMWm (ORCPT + 99 others); Thu, 31 Mar 2022 08:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235996AbiCaMWl (ORCPT ); Thu, 31 Mar 2022 08:22:41 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 840B365170; Thu, 31 Mar 2022 05:20:53 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22VCK404046663; Thu, 31 Mar 2022 07:20:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1648729204; bh=U/Bd5JEPMZiETyPMjxTZkK0xTLGPXruq7bxamvC/BPE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=p/8v7ChWKtnstAQkNaNKlPYO5HNv82HVDZDet7QGSG/V+7MQvfJ0L1rLZSrS3cYVQ L60fynQTGf9ZeFkH483HHSEwH8AuIsvGGAlRHDANvK833a3Z8cySbMJzx2T82HQjcI FeQy5iJdInmuqxeeAnxXgE+wrN+S9S16BOMbqRyk= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22VCK4cX045704 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 31 Mar 2022 07:20:04 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 31 Mar 2022 07:20:03 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 31 Mar 2022 07:20:03 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22VCK2XC083438; Thu, 31 Mar 2022 07:20:03 -0500 Date: Thu, 31 Mar 2022 17:50:02 +0530 From: Pratyush Yadav To: =?utf-8?Q?C=C3=A9dric?= Le Goater CC: , , Mark Brown , Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , , Joel Stanley , Andrew Jeffery , Chin-Ting Kuo , , Rob Herring , , , Tao Ren , Rob Herring Subject: Re: [PATCH v4 02/11] dt-bindings: spi: Add Aspeed SMC controllers device tree binding Message-ID: <20220331122002.55vwda6fnnenuqhf@ti.com> References: <20220325100849.2019209-1-clg@kaod.org> <20220325100849.2019209-3-clg@kaod.org> <20220330191908.nhg52a5ayzczpzai@ti.com> <2a411a3e-4b7f-c116-b595-f33bffccb4e7@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2a411a3e-4b7f-c116-b595-f33bffccb4e7@kaod.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 31/03/22 09:36AM, C?dric Le Goater wrote: > Hello Pratyush, > > On 3/30/22 21:19, Pratyush Yadav wrote: > > On 25/03/22 11:08AM, C?dric 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 > > > Tested-by: Joel Stanley > > > Tested-by: Tao Ren > > > Reviewed-by: Joel Stanley > > > Reviewed-by: Rob Herring > > > Signed-off-by: C?dric Le Goater > > > --- > > > .../bindings/spi/aspeed,ast2600-fmc.yaml | 87 +++++++++++++++++++ > > > MAINTAINERS | 9 ++ > > > 2 files changed, 96 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > > > new file mode 100644 > > > index 000000000000..e16bbcd38560 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml > > > @@ -0,0 +1,87 @@ > > > +# 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?dric 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] > > > > No need for this. It should already be taken care of by > > spi-peripheral-props.yaml > > So we could drop the whole 'patternProperties' section ? Yes. [...] -- Regards, Pratyush Yadav Texas Instruments Inc.