From mboxrd@z Thu Jan 1 00:00:00 1970 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 EE584CCA47B for ; Tue, 5 Jul 2022 12:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231162AbiGEMKk (ORCPT ); Tue, 5 Jul 2022 08:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234020AbiGEMFp (ORCPT ); Tue, 5 Jul 2022 08:05:45 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1035718E31 for ; Tue, 5 Jul 2022 05:05:09 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id t19so19526839lfl.5 for ; Tue, 05 Jul 2022 05:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=VickWh1cciHPIgvqvAt4x2IayEAX7YeLzrBgX+n2il0=; b=w5oW1MeCB6w7smJc1GcFK4l2AuBZtWiTIkGEVHAkGkj+NBlBkW2SScE5qHf2sdlunL YqcuVQpY0MjoJ8x1HouWM5oy518UBivrmGVJmLBFas22qZHA/TEJD0HkauYLxFrO4Waa KjnJVkQ5szr7cqaLubpRdKMAW2G/waXCFeVSncTDwHBgFvd15cQxEPQs5Biy/HDdbuZZ nzzsuDgKewrKWQXxt6nNkPW0Csq6nZzpfAunHXui/J763oyTU+RW2+OfBOQ+aoXaG5x8 5UVQtbfmcfIXfXXn7Iesko+OaPS4VlGhN3FBW3FOhk4f3Ex/I+AarfCuKOGdwjoTu9e/ /57Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=VickWh1cciHPIgvqvAt4x2IayEAX7YeLzrBgX+n2il0=; b=EDMWzhqhMFUcu44AUQHGPSTVAbpxgdqbRcMKjQmB+DLe7cASb6fgUvxgyVJKvCXRxh WBEo45TfuIWNh+WC3hDK6adAuwJrzrtdtkp99pSqTzYyQ0zALUWVzAAYeJlqWmUPO2Yo lka5t7AubGBfrabn1d40Myl55+9kf0K/JDnRgG2VfrEud+GibiG1Q+CCjjP7IcowVq8L 76cpjXANFyruCFTrMVa7LBIbUKAPKDKanoH7jayWoU9LWijm6PwUb8k8yIn3uKqdvEuK PRDP38Yh22X50NSG0SAX7duGggb925AM2KV54OkoMTw3vXEFmBLEHglAae0o8HbBoKAr tFoQ== X-Gm-Message-State: AJIora/bjE4fGdC0QQxSBSJmmL4G7pe016oDAkrGM5pF6fpeQeEW2sXh +v61MZV5Fjq61MY65ZbqmmrkHg== X-Google-Smtp-Source: AGRyM1sAQIYKqMWupX3Qp3aT9V+SQ1IKpv7UJVrSB1OsCII6uoRjCqNDZCo9i12TloeAzzSHB7vQMw== X-Received: by 2002:ac2:51cc:0:b0:482:e88a:950b with SMTP id u12-20020ac251cc000000b00482e88a950bmr3776325lfm.270.1657022707913; Tue, 05 Jul 2022 05:05:07 -0700 (PDT) Received: from [192.168.1.52] ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id e18-20020ac25472000000b0047f77cc3287sm5657335lfn.274.2022.07.05.05.05.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Jul 2022 05:05:06 -0700 (PDT) Message-ID: Date: Tue, 5 Jul 2022 14:05:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v6 1/3] dt-bindings: mfd: atmel,flexcom: Convert to json-schema Content-Language: en-US To: Kavyasree.Kotagiri@microchip.com, Claudiu.Beznea@microchip.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Nicolas.Ferre@microchip.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com References: <20220705065758.17051-1-kavyasree.kotagiri@microchip.com> <20220705065758.17051-2-kavyasree.kotagiri@microchip.com> <0ca30eca-5c12-4b58-ccbf-b008d3413d4f@microchip.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/2022 14:00, Kavyasree.Kotagiri@microchip.com wrote: >>> Convert the Atmel flexcom device tree bindings to json schema. >>> >>> Signed-off-by: Kavyasree Kotagiri >>> Reviewed-by: Krzysztof Kozlowski >>> --- >>> v5 -> v6: >>> - Removed spi node from example as suggested by Rob and >>> also pattern properties(spi dt-bindings conversion to yaml patch is under >> review). >>> Once that is accepted, I will add back spi example through new patch. >>> >>> v4 -> v5: >>> - Fixed indentations. >>> >>> v3 -> v4: >>> - Corrected format of enum used for compatible string. >>> >>> v2 -> v3: >>> - used enum for compatible string. >>> - changed irq flag to IRQ_TYPE_LEVEL_HIGH in example. >>> - fixed dtschema errors. >>> >>> v1 -> v2: >>> - Fix title. >>> >>> .../bindings/mfd/atmel,flexcom.yaml | 72 +++++++++++++++++++ >>> .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ---------------- >>> 2 files changed, 72 insertions(+), 63 deletions(-) >>> create mode 100644 >> Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml >> >> AFAICT it would be better to have it named atmel,sama5d2-flexcom.yaml. >> > I see most of the yaml filenames have format of "vendor, function.yaml".For example: Documentation/devicetree/bindings/spi/atmel,quadspi.yaml > So, I think it is ok to use "atmel,flexcom.yaml". Most files not correct. The recommended naming is based on first compatible, so as Claudiu suggested. Best regards, Krzysztof