Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp631735rwd; Thu, 18 May 2023 01:30:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZnwBprtpUyyycszO61z3QVm/b6/hXWLHP50TFIpK4EcWf+yD/OoxytjETjaiE3oNE6Aye X-Received: by 2002:a05:6a20:8413:b0:101:1d1d:4396 with SMTP id c19-20020a056a20841300b001011d1d4396mr1570869pzd.2.1684398618841; Thu, 18 May 2023 01:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684398618; cv=none; d=google.com; s=arc-20160816; b=AvzuQm0Xmr8P2aKkFNjKtor0NVhobxTmYymKotuttElZi3jgl0u7qZY0/eTBEkWut8 cclZ/uUMIgaIeRQm++VG8CARZHp5go9VthzoQl4FtdSMRLwnBBAmei1KxNcdf4XqOGxX F9GOoFeXaadx3C4JqKArpblNriPfgjV9+jnJGkh9VfM7LtNn6Eogqn5vL3bEprWFDp39 3xmPk/LVn7DYhlMGdAORoUMcnxdl+vrMuPj5sSaYTcELjISucGFiTk9wwW8YTzpGo18u SLl9d5TL5VNNKXbJT3kIJizL9blEHM3xBecgNfR3/y0EvtwD6BDJUh1sInsFL9RUTeqS IIvA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=heFsrbN/wz0/JSxQEBtw/Ayc/W3zWHGVc2eZzkeCy2w=; b=vMSt3ZIC9Ni8SSP8L7sg2QAGaRieDpmPC5TaCJbsL/MX3wM9tCeiv+ga8ks5+1hl1G xZ6fvmwTGh8YY+knbMy4klpt+0r4t7r5pMtk6cLqJQw3JpJpS9ASuAa50FBs5dxqHzF8 yoKJxmgthakK/UljNEdDgLNfE7f5m3QjeukqmA0dvsgKIPIkijMyGPQTIMFX3jgxeUFR iH4A8A7Ot7k7z8bl1rtVaCk3j+djVto5P4oByp+gdfG3D5et2F7iRGpRdELMBD228qFG FhkFEx7V55BMQcRdoaM07RCZbcP3RgEn6pxAoIRc2bHMrb7k5ylRiK7PIHlThiTk1D8T AICg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OM5lRlNp; 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 p20-20020a637414000000b005344b36c64asi893349pgc.786.2023.05.18.01.30.05; Thu, 18 May 2023 01:30:18 -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=OM5lRlNp; 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 S230005AbjERIZM (ORCPT + 99 others); Thu, 18 May 2023 04:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbjERIZI (ORCPT ); Thu, 18 May 2023 04:25:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F0D30D2; Thu, 18 May 2023 01:24:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4296764904; Thu, 18 May 2023 08:24:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CD61C433D2; Thu, 18 May 2023 08:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684398254; bh=bthXTbRdn0p6tWozz2CFQo/ARnZN5zmu2V0n1rsAQ5Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OM5lRlNpkVVzjDFq/sjddkhE/QNh6e4/zqBcwgDRC3xKn2i6gEAaADYvlcb13OJhe usNdQnJuXh6m8DUwJ5XYXAI6IrCo+ZyGYMpeO3asBobK0aOfAIBsnzBL0TqecUNbGC YWJrMXUntyQQFt5kqLLnn7MfJ+S73I8oYqdLhPoFj78zkA1LSeLnwHuwIKLIJHRz+W NI3Jhy6e0/A6OS90DWtTms2SIS3KbtJKUMM5CX1sNnxNXxmviDHtbEcrYITmVprHZW N+nCJltmo5TrNZ4+JbDLaxOC1Xtm5Fk2WJHg43Blf1mSSXx4vTqxSA3Gu8+TW6gtT9 +hbiecR+bVBPg== Message-ID: <669d7b79-71a6-e1f9-8d7a-71c4b64de28d@kernel.org> Date: Thu, 18 May 2023 10:24:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 2/3] dt-bindings: rtc: Add Mstar SSD20xD RTC devicetree bindings documentation Content-Language: en-US To: Romain Perier , Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Rob Herring Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230517144144.365631-1-romain.perier@gmail.com> <20230517144144.365631-3-romain.perier@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230517144144.365631-3-romain.perier@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.7 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 17/05/2023 16:41, Romain Perier wrote: > This adds the documentation for the devicetree bindings of the Mstar > SSD20xD RTC driver. > Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. A nit, subject: drop second/last, redundant "devicetree bindings documentation". The "dt-bindings" prefix is already stating that these are bindings. You actually repeated everything... > Signed-off-by: Romain Perier > --- > .../bindings/rtc/mstar,ssd20xd-rtc.yaml | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd20xd-rtc.yaml > > diff --git a/Documentation/devicetree/bindings/rtc/mstar,ssd20xd-rtc.yaml b/Documentation/devicetree/bindings/rtc/mstar,ssd20xd-rtc.yaml > new file mode 100644 > index 000000000000..2acd86cce69f > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/mstar,ssd20xd-rtc.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/mstar,ssd20xd-rtc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mstar SSD20xD RTC > + > +allOf: > + - $ref: rtc.yaml# This goes just above properties: > + > +maintainers: > + - Daniel Palmer > + - Romain Perier > + > +properties: > + compatible: > + enum: > + - mstar,ssd20xd-rtc Why rtc suffix? Can it be anything else? Missing blank line > + reg: > + maxItems: 1 > + > + start-year: true Drop What about interrupt line? > + > +required: > + - compatible > + - reg > + > +additionalProperties: false instead unevaluatedProperties: false > + > +examples: > + - | > + rtc@6800 { > + compatible = "mstar,ssd20xd-rtc"; > + reg = <0x6800 0x200>; > + }; > +... Best regards, Krzysztof