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 2C296C43334 for ; Thu, 16 Jun 2022 22:45:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378926AbiFPWpK (ORCPT ); Thu, 16 Jun 2022 18:45:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378315AbiFPWpJ (ORCPT ); Thu, 16 Jun 2022 18:45:09 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 691396212E for ; Thu, 16 Jun 2022 15:45:08 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id q140so2487697pgq.6 for ; Thu, 16 Jun 2022 15:45:08 -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=L3HdybHGUtNACL7l/Pk8oMmY4aoVEX/SxxB7u2X+yMM=; b=IxehsYAyj3S6S9LPLwFh3RZTGkD3A8CJr0/4sQIlV0K6bW5S8wMRKfY1J0/3Oo8hMt TPnNyVeFt6I3DWs6ouz5XkMlxWmwY6MKffRmIfFTenG4344Sq7nolpkFdT8t1UJ28XER egpJAMNhPLtXYhQuTluRQwSapOh6LYKG2Q0xfEz8hpPvPoeDKNN7WQYADpholuOIQMoD LdBbY+QumHJBban2LuEHz28MhqqnzKDirFuV9/L55Z1zwHfm/kvTAXxWTXz+w543ZfFL 0tZ99oDPkKEI5xKbHsXbB9e8n4gGz4JIUHWZeDK1/7AgB9YrmtZDZCyIdNhfZUDwK2fY rlcw== 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=L3HdybHGUtNACL7l/Pk8oMmY4aoVEX/SxxB7u2X+yMM=; b=WE9PJpv8sbUIrxmAIwQ0vOjapCysbGhwQVAdfQvHOwMJFRmuzF2SGC3qVdy7msmftf lsYKSavu0QH2TpLQTk3l6XF/XX18kY6I6n1LCBtnpYCwC7T/KUm7LuT+v0mboOl6ABDM njtE0sFCONv3Be33MCO8qaZqMgGTeGj4BHOn2TKqDReTuUyAQ3THvsSyRNpf6zBgHgnQ u5aaRVlvu6FPrtr6v1S+r1XwFAHWbZ/bszLM8PGF/C69HxxKOtLm3/a+E4O7BI29Id1e vqvtpI3vgNFFC67MAzWpNlG3/nJXFFeF0iQ3ZYvQ0taIThPpKCjOy2E+poqN8t6uxY+D g5Yw== X-Gm-Message-State: AJIora8amEPqefzveMj4A/dMbU0UjGU2NYPThP5ytuySMSU8bZVuV9oF KhIflFtDa3Bhq0PbtCmwhbEddw== X-Google-Smtp-Source: AGRyM1vQLIwZzEZ5T+MW897jGjrH5RpIeWnJX/eon8DHTxeHY8/I1G1vCX/YcGBLONlhCCz3eVZ6qg== X-Received: by 2002:a05:6a00:179e:b0:518:9e1d:1cbd with SMTP id s30-20020a056a00179e00b005189e1d1cbdmr6983483pfg.12.1655419507895; Thu, 16 Jun 2022 15:45:07 -0700 (PDT) Received: from [172.22.33.138] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id e23-20020a170902ed9700b001678dcb4c5asm2152309plj.100.2022.06.16.15.45.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 15:45:07 -0700 (PDT) Message-ID: <3cf1540f-7185-96dc-7691-fb9ce6bfc566@linaro.org> Date: Thu, 16 Jun 2022 15:45:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 1/3] dt-bindings: mfd: atmel,flexcom: Convert to json-schema Content-Language: en-US To: Kavyasree Kotagiri , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, UNGLinuxDriver@microchip.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220612152604.24280-1-kavyasree.kotagiri@microchip.com> <20220612152604.24280-2-kavyasree.kotagiri@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20220612152604.24280-2-kavyasree.kotagiri@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 12/06/2022 08:26, Kavyasree Kotagiri wrote: > Convert the Atmel flexcom device tree bindings to json schema. > > Signed-off-by: Kavyasree Kotagiri > --- > 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 | 103 ++++++++++++++++++ > .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ----------- > 2 files changed, 103 insertions(+), 63 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt > > diff --git a/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > new file mode 100644 > index 000000000000..cee9c93ce4b9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > @@ -0,0 +1,103 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/atmel,flexcom.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel Flexcom (Flexible Serial Communication Unit) > + > +maintainers: > + - Kavyasree Kotagiri > + > +description: > + The Atmel Flexcom is just a wrapper which embeds a SPI controller, > + an I2C controller and an USART. Only one function can be used at a > + time and is chosen at boot time according to the device tree. > + > +properties: > + compatible: > + enum: atmel,sama5d2-flexcom This is not correct syntax. Use `git grep -C` to find nice examples. Best regards, Krzysztof