Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp385828rwd; Wed, 14 Jun 2023 18:01:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Ogjx0XXxdbBlJeXH3tf3C2+Y9cXpbsJiwwmN4FPFCF5bbLb08Ybq9aSdlO8sj//cYvvln X-Received: by 2002:a05:6402:114c:b0:50b:fb85:8608 with SMTP id g12-20020a056402114c00b0050bfb858608mr11088212edw.25.1686790898759; Wed, 14 Jun 2023 18:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686790898; cv=none; d=google.com; s=arc-20160816; b=jR6QOeRsU2Ep7o+lpMztVdcik7rVH84ghmaohEcua0U8kuwVK0suACz6aSApM002Nv IA56nyG8KWteQ9TzIkk0YdwBsKRd50Xpn5MSlNVMGmEd9Ofvw7a4SiWhnhA6sACoUKiG IsFl655IWgjtIEnTityccYSUeSB2s35b/q/vS7EZYkXqVPjLWqP7/krTVYW63DYgDapy pOXf+bdgAhkpQH/yC6+j5Gz8JcNs3Pq6eQIg9xi+E699FcEl5V7S4thcC/JlJGbeuDaR CdXFiGTXXUdeN8BFSlhPNrVvgPIHl8fetusxERyxXkJ8J20e9N6nWwnYL5e0T8n3FzJQ kP8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=eEIPiG098WVycL847DOGy8yrtLUzySvEZPLJCq5vwI8=; b=mgR4Fvmjq1WvHuesaYS3AGrHOn4w6AuTJkQwnlxaHEy6770aNZLe8N0Gri7F/wpYDf XuIW4S+Qy3Yo+rGyKYsH7pRVqdKOQczIu32/SHeqpLrKInQkXCJRxdRJTAfl1zcS+Tb3 M0LlKmNqYerhdxDoUbeMtjYvYKyW4oyT1pag5JkCizDJiBU54WSVKHw0MASGRnmFtrN6 CFqUsBgMFaAmq+7wvPKJBGFp3fy/PPhRAV5r946THj1m7y9WEa83Xon4SZVMMV5canw2 VmfKr/k92UuZKIf3CSB3orAx2A24RnQHjtrbnL/08CKpzDz1z241F2fGu973xx7At0io 7aCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fFpIjYpU; 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 m21-20020aa7c495000000b0051491b9f0ffsi9416542edq.170.2023.06.14.18.01.13; Wed, 14 Jun 2023 18:01:38 -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=@kernel.org header.s=k20201202 header.b=fFpIjYpU; 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 S235623AbjFOAtq (ORCPT + 99 others); Wed, 14 Jun 2023 20:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229748AbjFOAtp (ORCPT ); Wed, 14 Jun 2023 20:49:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B939A1BE3; Wed, 14 Jun 2023 17:49:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4534A6125A; Thu, 15 Jun 2023 00:49:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89E07C433C0; Thu, 15 Jun 2023 00:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686790183; bh=jINt6zP8j0KPwm3QNGyIB+T36vd5weBGWcv1oySUb8g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fFpIjYpUsicc3z46XQMXfbVOP0rxoZ3ciubuvOafCo/l5bUinIOJA9RqQgN5V7nvo T0eCcD+/NJNUNBGMBCGaZ6mKmlLKLkKgSfGXC97BrRoPDzC7TvsxPacpAs7AJRwrh7 e4n4DYjgSNNNF6vPg6ly9QEr1srJ5XLyomtHebBfrbrkoFYr440llKSUrnLFgFXSKz M8lLZYyMgEN01ii/jJo3LsonGsqfadA+Rl6U6S8EXA8Df/PxhnIStnPAluZdxSskA7 jC2KbdNyvYDsO+K2qv4uW04b7Qcwf87tzy9zKmkEq6SXltvrQtC72xpXXZyxJXsBpd kR2CxZaNXzbOA== Message-ID: <7276875c-d330-cbd4-ccfc-e7e16bedcaaa@kernel.org> Date: Thu, 15 Jun 2023 09:49:41 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 25/43] dt-bindings: ata: Add Cirrus EP93xx Content-Language: en-US To: Rob Herring 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 References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-7-nikita.shubin@maquefel.me> <20230614190030.GA2547354-robh@kernel.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230614190030.GA2547354-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 6/15/23 04:00, Rob Herring wrote: > 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. Got it. > >>> - 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. Thanks for all the clarification. Looks good then. Acked-by: Damien Le Moal I can take this patch through the ata tree, but it may be better to have it with the entire series (arm tree ?) -- Damien Le Moal Western Digital Research