Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp64899rwd; Wed, 14 Jun 2023 12:15:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lTWeR3yNjQv9jIaxWoq+OgaQO0LKczWCmvPkI9PUT8GTb/JNCordCc2kDFpNn8rqBvHez X-Received: by 2002:a05:6402:1203:b0:50c:cde7:285b with SMTP id c3-20020a056402120300b0050ccde7285bmr10334543edw.29.1686770150055; Wed, 14 Jun 2023 12:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686770150; cv=none; d=google.com; s=arc-20160816; b=XfZc8sEPRz9aOYb33iqAkj2pjj5AU95fGUbPS0UMDUZdPwfW7HleUNckKUqqR/DkGb HPOYQFQZmQdWEuMjpPlXPJNzFMeNFxzDCNbTzrN+5pzvX6+N/ONsL+EkpJk13JJwXGLM Mvj7u6tY1lJRZZuxFP6VCg4u7VmjH5waf9pryf9unLPnhR+VyULTl22XJZPxV7SbMdH8 WUAELtlBQwC7PQ1PRpb+et0wRaLeV0TNco4HKj5q0hkctr5wj1ZYHox72mLKbJZJ2fsE 48AhZDvcfmEZAKVZwvcNduK9mbKkEEjAKf+dlbLIZSRgFe1r8r8sdbRYFBRvuLNkQ4pF 7Hiw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fD8D25wPikGFFd99Ol9Rb+Ax0oXPcCmfRQUqnue5Bko=; b=DHbxrpFNf36u5+P26KMeSihXEWkyaeEhRWTucwZ7b4C3Qui43nkarcklSuitWex7K9 eXjj4K7WXAJkq9+JXvCPUdMWNCMySBzNTmnh+MxWHW08tXjqOj6aplhSyB+3iTPlxERA hfNEdsnVP/NvxfmP+7BzmjmcEfwrZqiw1aTLl8FgIHLCS0dhYY6xMLsOM61KF59FeF02 3dU1LpMHx4EorCDMhcVm4xs8RUsisa7A4oZT7ketR7vqP+NzJ6ktdsi8+r0KfuAum88I bxyzJXsb/ciUMRJX59bQ4Wsyo2783hcCfPwnsvRTVuN60YTPX8ppGSW0lXZ55XwHklBB u26A== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a056402150900b005149b9127b9si9127421edw.675.2023.06.14.12.15.23; Wed, 14 Jun 2023 12:15:50 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233242AbjFNTAh (ORCPT + 99 others); Wed, 14 Jun 2023 15:00:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231823AbjFNTAf (ORCPT ); Wed, 14 Jun 2023 15:00:35 -0400 Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 697D71A2; Wed, 14 Jun 2023 12:00:34 -0700 (PDT) Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-77aec3ce39aso195554939f.0; Wed, 14 Jun 2023 12:00:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686769233; x=1689361233; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fD8D25wPikGFFd99Ol9Rb+Ax0oXPcCmfRQUqnue5Bko=; b=Xq+Cd/zTrE8zAbeHUTFuv5niMIBTzyghjMqGyiUFDZ7w5YZWnIGvbO2+K59GTpQEGY u5zo96Wq1WpNXX+lXWh1YY0Pdvp3eE4mzeHj6xwACtQCF3NOSyHKACFAbhgzUnfu7d2a y4wAPcvOtiE0mkpfA6LZkuZm7opa2PofPUOY1pfNUkszQckYqCN0/ndUtnvL7V025bKz dkY2ua8Rd5dskWtHftx78lLXqTMk0QpztTM6F8TZmzM9OZNWxXIadqFpvHzBdMJvT72x 3+Ilxj4b8/RIP+ZWMIyI3Q0lyQ0YOA6iTRYK/fBvcI4aNEs5ortJldEx36VcxgObYRS5 8Ryg== X-Gm-Message-State: AC+VfDycCqz4yy3JcS6fw6Q73My9mcCdw5AMdo6BfVNZqbI/1vWbwYDv J3snjbFXozFDP7y1CkUZvw== X-Received: by 2002:a6b:f915:0:b0:776:fc02:184e with SMTP id j21-20020a6bf915000000b00776fc02184emr13520209iog.14.1686769233561; Wed, 14 Jun 2023 12:00:33 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id w12-20020a02968c000000b0041d7ad74b36sm5191797jai.17.2023.06.14.12.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 12:00:32 -0700 (PDT) Received: (nullmailer pid 2553777 invoked by uid 1000); Wed, 14 Jun 2023 19:00:30 -0000 Date: Wed, 14 Jun 2023 13:00:30 -0600 From: Rob Herring To: Damien Le Moal Cc: Nikita Shubin , Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Krzysztof Kozlowski , Michael Peters , Kris Bahnsen , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 25/43] dt-bindings: ata: Add Cirrus EP93xx Message-ID: <20230614190030.GA2547354-robh@kernel.org> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-7-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fri, Jun 02, 2023 at 08:57:37AM +0900, Damien Le Moal wrote: > On 6/1/23 14:45, Nikita Shubin wrote: > > Add YAML bindings for ep93xx SoC PATA. > > > > Signed-off-by: Nikita Shubin > > --- > > > > Notes: > > v0 -> v1: > > > > - renamed file to ep9312-pata > > Looks OK to me but given that this is both for the cirrus,ep9315-pata and > cirrus,ep9312-pata, wouldn't it be better to name the file > cirrus,ep931x-pata.yaml ? cirrus,ep9312-pata makes sense given that is the common fallback. Wildcards are okay in filenames (only) when there's not a common fallback. > > - changed email to dlemoal@kernel.org > > - dropped label > > - fixed ident > > > > .../bindings/ata/cirrus,ep9312-pata.yaml | 44 +++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml > > > > diff --git a/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml b/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml > > new file mode 100644 > > index 000000000000..3489be55a6fe > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml > > @@ -0,0 +1,44 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Cirrus Logic EP9312 PATA controller > > + > > +maintainers: > > + - Damien Le Moal > > + > > +properties: > > + compatible: > > + oneOf: > > + - const: cirrus,ep9312-pata > > I am not a DT specialist, but isn't this line superfluous since it is listed in > the items ? No, this entry is for ep9312. The next entry is for ep9315 which is compatible with ep9312 version. The cirrus,ep9315-pata is there in case a distinction (e.g. quirk/errata) needs to be made by the driver without having to change the DT. Rob > > > + - items: > > + - const: cirrus,ep9315-pata > > + - const: cirrus,ep9312-pata