Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3423879rdb; Wed, 13 Sep 2023 11:32:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF70NSC3e5RtDTE8IAA9TL/Pnzdu7F4j8rPewUhqf+4IB71sjuDebg2gdR8plwij0xq0nIt X-Received: by 2002:a05:6808:180f:b0:3a7:88ce:7ac8 with SMTP id bh15-20020a056808180f00b003a788ce7ac8mr4370386oib.47.1694629946931; Wed, 13 Sep 2023 11:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694629946; cv=none; d=google.com; s=arc-20160816; b=DZKrH1W/QuCfBzaC354dgWhNpGb93f8D5PXfaVC/v80HfV75zr7eMfYDBHpm1Lm5E7 kxcXbBVGRRHyUDQ72eWa9GwNMXa4pz9AFHc5P3shFyz8tgWFhxfE2RqaAtQ2f8sNrd1e lFAfIrBR2HESeBXJ4ZbZ3QrTGELRywrddUvxJ0aDK1B9yjmedS62jwl3bSDythSklQKs YN/yUQOTPBJz4MBiwI0B6F0oJ2LiZauZ1syU+vC7RhNZAv7ih6KkHrCiPrLIZsj9c/b9 WHUEf8EE7XfBpwGvnSYC4ITTP+cu8Q8z1p+Qy36J8F6H+7AwjCZ+5qJOPDG2rQ6KbDpu vCJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pYlMPkmjE9eh7nffJiYG5mWIO5IFlBXpfoaWxvdQKIk=; fh=gcKMUMUSZS/LYVPYz8ZfxvuOqbFxP7KqWV+9jndq6cs=; b=CShVqb/z+UDVX9r9d3+sIlriZ9ot8sbmcW7NiJvsGjD1rfwPDL6tKNGF5li4hrSC7P myf96DqyraHIAttikloIIvJ+4IrRe3vX/trdv48i/W3ceD5tUyRU08/hqfdNAOJGcVBf F7vDxVwA7bDp5c/ffYm/JoFD/RxPpCBGLk16SIaBrYFx2DZVn3eRUzO/gbW6p6n91JK/ SZvFdQJimJ/UoOXk2cEY+qlVIK0LmzpAbjZJKYAX6x9VLzodC8LGNGbo9gvJNjaPiVG2 W4SO5VhpFyaKq76Z5HZSuwz6ll5FX7amSH/bGg65HeRr3qJRqaoU0QQNM9bQn5vhxCsl +XLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MCFNq3tl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t21-20020a639555000000b00565d88203c8si5151954pgn.535.2023.09.13.11.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 11:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MCFNq3tl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AD9998184E3E; Wed, 13 Sep 2023 11:30:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230513AbjIMSac (ORCPT + 99 others); Wed, 13 Sep 2023 14:30:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjIMSab (ORCPT ); Wed, 13 Sep 2023 14:30:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5AA11BC6; Wed, 13 Sep 2023 11:30:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FB50C433C7; Wed, 13 Sep 2023 18:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694629827; bh=31I+vvfgxK2RhSOo9RhuKS344PF5cuX3/n6t1MBZpzo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MCFNq3tlLXBYEdwM2SebVUys4XPCNqAteJLX8meljGy/43fW9KgqlC5NrbO/EK9VX nB8jd6URfw0oaYQXALu8Id/brV27/zfSdcCMdAaohnUnGG2BAt3l7M6r5zyCR/072a FjSI1Zw1fwB01Hwe5scQfa9WnHJ8oDLEibDp0LYrYSSAxhPjj0AxNFI0XZJjbWkj1v a84rr5RFBuSSvgHUNXInn69Je4vSP4lFSawZ/p8fPiwQEjCRJmdCICyjjwN4uTc84Y Aq+Nf2tzKXlqmWdAZVYmsSGknWTlDyntQqblNoS7mbVaVSNo0AglWbi/sn61UZ0eIT BmBQu0zWuUEgw== Date: Wed, 13 Sep 2023 19:30:22 +0100 From: Conor Dooley To: Romain Perier Cc: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC Message-ID: <20230913-depress-bootlace-6b88bfd83966@spud> References: <20230913151606.69494-1-romain.perier@gmail.com> <20230913151606.69494-3-romain.perier@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zSIJHToUSvODMYzW" Content-Disposition: inline In-Reply-To: <20230913151606.69494-3-romain.perier@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 11:30:30 -0700 (PDT) --zSIJHToUSvODMYzW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 13, 2023 at 05:16:05PM +0200, Romain Perier wrote: > Add YAML bindings for Mstar SSD202D RTC. >=20 > Signed-off-by: Romain Perier > --- > .../bindings/rtc/mstar,ssd202d-rtc.yaml | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-r= tc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml= b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml > new file mode 100644 > index 000000000000..4c1f22ef5a2c > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml > @@ -0,0 +1,35 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mstar SSD202D Real Time Clock > + > +maintainers: > + - Daniel Palmer > + - Romain Perier > + > +allOf: > + - $ref: rtc.yaml# > + > +properties: > + compatible: > + enum: > + - mstar,ssd202d-rtc > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml? Its only got compatible & reg, which seems to fit the bill for that. Apologies if I am missing something, Conor. > + > +unevaluatedProperties: false > + > +examples: > + - | > + rtc@6800 { > + compatible =3D "mstar,ssd202d-rtc"; > + reg =3D <0x6800 0x200>; > + }; > +... > --=20 > 2.39.2 >=20 --zSIJHToUSvODMYzW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQH/vgAKCRB4tDGHoIJi 0kNuAPsEvE8AqBxe+MoFCB0pt3YnCSej+vAgfRprRQ+KRYy1yQD+Lzs9ukZ+5ELi q1HOYU3/VRN5LYUIQ75IqFUXkGmnXAA= =Oj2N -----END PGP SIGNATURE----- --zSIJHToUSvODMYzW--