Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1363408rwb; Fri, 19 Aug 2022 02:14:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5lrTAiFldXjIJJyHlDLEV2JoYUXbTR11SSb2Cy1Nnyc1b+eb9WbVMVKQNQe1HP20YSQ7VG X-Received: by 2002:a05:6a00:430d:b0:52e:2c15:bf21 with SMTP id cb13-20020a056a00430d00b0052e2c15bf21mr6975034pfb.68.1660900497211; Fri, 19 Aug 2022 02:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660900497; cv=none; d=google.com; s=arc-20160816; b=Y0hzGaeYJnMLq6pPkoWPuq3BgsubVIucjy/h3nBbiRDmTMqnUGubuR1xCmfxvsWW3d xXLFyNfKW3GK/XBTKdpxZ/qq9SMnh7FJJybCQpUY32j8Yj9+SdXm2mnjJo/UL8Rfl1Dd tqzey/VfiaFNVgthmeHM3a7hSHRsBIthgFftHndVMchuSxUU8pbsjeoCAA5bVmhzsQ8H BrUIPfIetXQHqmqR1dxRckyShPRbUPnE3CAZn0keOdH+zUPM+AQcCOxD1/UWfBOzPtzQ Jtnqnujqdbw0P5BwshifPAEpwGmh9Kb6byDu3Y+ov7qfb3MTpA5LLcAM5ltjELy1XZ6R R5LA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=Lv2fWdRF99e7CpwgYLWA5Mtojc32Wbh8AA81DkMthw4=; b=maGSFW+iOvjOSVmDhJs6ToODwQifwiNbEJuxiw4NO7XFFoPR1YeIg04byZhkWumTPa m8L+Em7eRLz8f4pxfY+cG4c82bvoaRT0TanamvCQBvUELol9lGNuFzCZ3aEqVSLKjprf FFEjIwMOa6d/goq0qsTfHhy0EdkM3iU3MEtH2oefINcq5UHwlUTrq+MD+nVHi/qU6JPH 8yhiMHomSp5QEFQJwu/NvcUrH6Dt1X8zkNknJf9UoP+yi2i9A+jjtwea6uJEdqqD7dCu X88UT9YFRiBT0ZpAZL8v7E8g8ROGJQ8/TsDKCZqmLqBVUibApnaL2evVjiHqCzCFujJx Wk8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OSGiqt9y; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020a170902a71300b0016eccdd02cdsi3053902plq.222.2022.08.19.02.14.45; Fri, 19 Aug 2022 02:14:57 -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=@linaro.org header.s=google header.b=OSGiqt9y; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347175AbiHSJFt (ORCPT + 99 others); Fri, 19 Aug 2022 05:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347983AbiHSJFf (ORCPT ); Fri, 19 Aug 2022 05:05:35 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46672F074A for ; Fri, 19 Aug 2022 02:05:34 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id q7so1643033lfu.5 for ; Fri, 19 Aug 2022 02:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=Lv2fWdRF99e7CpwgYLWA5Mtojc32Wbh8AA81DkMthw4=; b=OSGiqt9yFp/YqXKBx4gm2F8C5JxtKpDRqyj2mKp7sWIlRwe+Fh+hasNwc2qRl47Ppw I0GTNSWETzMrFZXfvSCKi1k7ttl2x1/FWvPrs9VFF3u/xg315gfvjd/F9cJD87Gf0oKB rxgEjSMEqcjJVSCcgdApLk2/LNjbnpM4Kfe7rrX5rKBWTHdqsxxnq0ZTHVxbZrQG7Uj9 nfTf1I2n/ZqUJGTygLPCTFUNTYVj8sQ/5abcrw1zkK7h0TfvD3lLulpQuZUQET/vl5ix Ve2DVwY0zoVo1krsxTiSN73f0SID8KNQRh6jdUDmLbhoQ+vT6JaFFDHUM8/jBfke43WQ 6L5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=Lv2fWdRF99e7CpwgYLWA5Mtojc32Wbh8AA81DkMthw4=; b=un+kccp6kBk0Q0dGlybkR0TzljVKGg6PlCz07CRQJD/GZw+aAGsUOylnKfyvKfW5SD QUBNoJl2OASacbAJtAJ2uWjJqO3su+XXV7l4Ld18ZV8Xyx7sim7js9r2HDHXe7mWR5Iv CfjpU/aBj7psAfJKUBpha36RUz3jrvILbU4xog/yKR1XTpnKtk7UrhZd3PXeqIshCUhH 5RVl4BEFCZB+pdeT8QkjB2hx1S6VyRS81djCZVuUqbnanhwZcoQ7kwqm8p+Z0YJeD5eo ksI9dsoCobOma1xCnNieATjFbGMXo0cyIwItLiW/aYvNYk5z3ytX/uuj604bTODvMErR w+gA== X-Gm-Message-State: ACgBeo2WP9VbGTMNc1GxgOnnar+N9DAoVsm9zh39zveln3NLzsFpuo3B KQfG47VqmFDxRACjE/SJ4oraeA== X-Received: by 2002:a05:6512:1686:b0:491:3199:d407 with SMTP id bu6-20020a056512168600b004913199d407mr2203181lfb.476.1660899932670; Fri, 19 Aug 2022 02:05:32 -0700 (PDT) Received: from ?IPV6:2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5? (d1xw6v77xrs23np8r6z-4.rev.dnainternet.fi. [2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5]) by smtp.gmail.com with ESMTPSA id x7-20020a056512078700b00492c627cab5sm321401lfr.254.2022.08.19.02.05.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Aug 2022 02:05:32 -0700 (PDT) Message-ID: <0aba8906-ed30-786e-cff4-6cb70d6e73c5@linaro.org> Date: Fri, 19 Aug 2022 12:05:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 2/5] dt-bindings: mfd: atmel,at91-usart: convert to json-schema Content-Language: en-US From: Krzysztof Kozlowski To: Sergiu.Moga@microchip.com, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Nicolas.Ferre@microchip.com, alexandre.belloni@bootlin.com, Claudiu.Beznea@microchip.com, radu_nicolae.pirea@upb.ro, richard.genoud@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, admin@hifiphile.com, Kavyasree.Kotagiri@microchip.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org References: <20220817075517.49575-1-sergiu.moga@microchip.com> <20220817075517.49575-3-sergiu.moga@microchip.com> <942accc5-70aa-3bb2-63dd-306a39ee5ea4@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 19/08/2022 11:47, Krzysztof Kozlowski wrote: > On 19/08/2022 11:38, Sergiu.Moga@microchip.com wrote: >> On 18.08.2022 11:39, Krzysztof Kozlowski wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >>> >>> On 17/08/2022 10:55, Sergiu Moga wrote: >>>> Convert at91 USART DT Binding for Atmel/Microchip SoCs to >>>> json-schema format. >>>> >>>> Signed-off-by: Sergiu Moga >>>> --- >>>> .../bindings/mfd/atmel,at91-usart.yaml | 190 ++++++++++++++++++ >>>> .../devicetree/bindings/mfd/atmel-usart.txt | 98 --------- >>>> 2 files changed, 190 insertions(+), 98 deletions(-) >>>> create mode 100644 Documentation/devicetree/bindings/mfd/atmel,at91-usart.yaml >>>> delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-usart.txt >>>> >>>> diff --git a/Documentation/devicetree/bindings/mfd/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/mfd/atmel,at91-usart.yaml >>>> new file mode 100644 >>>> index 000000000000..cf15d73fa1e8 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/mfd/atmel,at91-usart.yaml >>> One more thing - I think this should be in serial directory, not mfd, >>> even though it includes SPI. MFD is just a Linux naming/wrapper device. >>> >>> Best regards, >>> Krzysztof >> >> I would rather keep it in this directory, since its corresponding driver >> is also in the mfd directory. > > Sorry, but that's poor argument. Driver subsystems match Linux > convention, not necessarily hardware type/naming. Bindings directories > match hardware. MFD bindings are only for MFD wrapper drivers and this > is a serial interface. Not a MFD. You even do not add MFD devices in the > driver but add *always one* device depending on serial feature you want. > This is not even MFD device but regular platform device with children. > > You put it in SoC, though, because all other SoCs store it there... The last one should be: You could put it in SoC, though, because all other SoCs store it there... Best regards, Krzysztof