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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E945C433F5 for ; Mon, 8 Nov 2021 21:20:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2884861052 for ; Mon, 8 Nov 2021 21:20:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240087AbhKHVXI (ORCPT ); Mon, 8 Nov 2021 16:23:08 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:57078 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240046AbhKHVXC (ORCPT ); Mon, 8 Nov 2021 16:23:02 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 2F3763F1E4 for ; Mon, 8 Nov 2021 21:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1636406417; bh=BBCz5m288/6B12v/4PrZDookC7OdH/YJwtMGpm+/mUI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=a3b6MRprjO5VCDhicOhIxo6mrsGy8X9qo3KPJGYc1fh1c2FGgJtqbAjKP/uqj/d0A R1ThQfClfGrytfVOyD3MSAQ9rxOKNs6GcEP1u5W1nvXxyLuk322ZsM7wUvx+OpQmFv KJ5EcmXHqFa2gHjijD+OeHKp/BgkkLETT+kpFJ+mq43J2p2sKjAMBTvxS8igdpG4qk 6PdDAYujZp+AnkA8x7WAO3QKHo7gZlVgPg9714iSLi+KtGQ9Q/q6dwd2g6d2r3O7lZ XgpABCHLVqFCK3NWT2OqXnsjAIH1+X+PYeQN0YJeMHHKI8f1RYpUcYiK//oiAMfQcL /okRvnwZ7Mpow== Received: by mail-ed1-f70.google.com with SMTP id d11-20020a50cd4b000000b003da63711a8aso15938777edj.20 for ; Mon, 08 Nov 2021 13:20:17 -0800 (PST) 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=BBCz5m288/6B12v/4PrZDookC7OdH/YJwtMGpm+/mUI=; b=eIrrn1OxLTg2cBymTJHjVcji9E5Jl8dvmQthSP+ojN7mMq2J0KaOp4FxK+Zo9IejcR wmquunh+2x9x30D8MAuthH6DALGEDQYS19CngBHl4l3wT0DQHhy/gthlrPHdJmKYRZdg SQXgHck2IsomSig3hPtw7Xk6ZAWMxFGbiOiIP0Yavje3uhStOlK/L6cM7ZHDXEgzgbRY pgwoXc8hflQyxrf3wnNzmyroHQCDMJzJYixGJZs1qaTWZEUYrxOrOs2LNssACqQis27R 4RIJXM9OiBMNW+fAEHWdqPiFM/9g6eiABGqsOvVY6+NJYl55yltlGkHY+QSQwIZZe//q 1+YQ== X-Gm-Message-State: AOAM531VVeNqwfY0nWM35aflfrwNc9x+YluuW0DxIqy+aLWn1TizRYkA au0uN4QgrEIllcjhRaN0ICBTDM04+6NoTIqbgHzUgY6IsvUFShE4tn9bUhyfxhsfwuu7pjAidjJ kuyyQpls/32HukyyRXR+TKlHFo2MtHZmUWWROkaXWrA== X-Received: by 2002:ac2:5d28:: with SMTP id i8mr2128735lfb.238.1636406406067; Mon, 08 Nov 2021 13:20:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzu/B5eBEcFJARxr5eQlDulLCW/jLcGfsjKWhT8FzmI0lnwtMZI6RqmAm6JEjvloPtHRe6cxQ== X-Received: by 2002:ac2:5d28:: with SMTP id i8mr2128702lfb.238.1636406405870; Mon, 08 Nov 2021 13:20:05 -0800 (PST) Received: from [192.168.3.67] (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id z13sm1401476lfd.139.2021.11.08.13.20.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 13:20:05 -0800 (PST) Message-ID: <43023c6f-ea1a-fcef-381d-a39f8799ec0b@canonical.com> Date: Mon, 8 Nov 2021 22:20:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH 07/13] dt-bindings: rtc: add bindings for microchip mpfs rtc Content-Language: en-US To: conor.dooley@microchip.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, a.zummo@towertech.it, alexandre.belloni@bootlin.com, broonie@kernel.org, gregkh@linuxfoundation.org, lewis.hanly@microchip.com, daire.mcnamara@microchip.com, atish.patra@wdc.com, ivan.griffin@microchip.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-riscv@lists.infradead.org, linux-crypto@vger.kernel.org, linux-rtc@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org Cc: geert@linux-m68k.org, bin.meng@windriver.com References: <20211108150554.4457-1-conor.dooley@microchip.com> <20211108150554.4457-8-conor.dooley@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20211108150554.4457-8-conor.dooley@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/11/2021 16:05, conor.dooley@microchip.com wrote: > From: Conor Dooley > > Add device tree bindings for the real time clock on > the Microchip PolarFire SoC. > > Signed-off-by: Conor Dooley > Signed-off-by: Daire McNamara > --- > .../bindings/rtc/microchip,mfps-rtc.yaml | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml > > diff --git a/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml b/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml > new file mode 100644 > index 000000000000..c82b3e7351e0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml# > + > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip PolarFire Soc (MPFS) RTC Device Tree Bindings > + > +allOf: > + - $ref: "rtc.yaml#" No need for quotes. > + > +maintainers: > + - Daire McNamara > + - Lewis Hanly > + > +properties: > + compatible: > + enum: > + - microchip,mpfs-rtc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + prescaler: > + maxItems: 1 You need to describe the type and add description. This does not look like standard property, so it needs vendor prefix. > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: rtc > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + soc { > + #address-cells = <2>; > + #size-cells = <2>; Add a blank line before new node. The same in previous examples. > + rtc@20124000 { > + compatible = "microchip,mpfs-rtc"; > + reg = <0 0x20124000 0 0x1000>; > + clocks = <&clkcfg CLK_RTC>; > + clock-names = "rtc"; > + interrupts = <80>; > + }; > + }; > +... > Best regards, Krzysztof