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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B2B8C77B7A for ; Thu, 25 May 2023 17:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IJGHm7IfbH8RjM6S12DVRDmJ1HNs+wSPKfRESq6q/qI=; b=FMFTKwnf4SeE9LIEnPtm47HZH5 luH5idE0a/XODbEdSXjsUH/oRsvLz78svv1+aWZe3DgAIYIlLNPY9kjmqo4X71z8fRyQZFOz4o6+V 4yN6W6aJQRNXw3WSNOMd0qR+7NKEWuzhAHWCqyZToeY2TzWiyO2Ttew9PvE6l+JkZe0GOJIEeRnaa yp5sbiyqB2JaFHzkn9s/er/ZD7tN9kOh8pDDxk09tLa8/c2+gYB8cRBaiIm5GTFenowUwGbEjTwVn HP628eXr1JTfYfIYIwpX0SQq52RD8AFrXCT4liVkCbsIINx2k7+Ow4N3iN6C1WEewZXZ11r0vPvTA LAOw8/lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q2EkR-00HEog-0i; Thu, 25 May 2023 17:27:35 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q2EkN-00HEo5-1V for linux-arm-kernel@lists.infradead.org; Thu, 25 May 2023 17:27:33 +0000 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 CFFB6647D4; Thu, 25 May 2023 17:27:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5204DC433D2; Thu, 25 May 2023 17:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685035650; bh=L/5ijg9X6rfQYWbp2usWVFYp1c4M0OzDqqTtlX0HblA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jp8R1OQbwIhbllDp0SCvtn6ySgj9wFDcWHKwggmQvMtE+wzGJ+J9+DnurkDcBbAqw 25NczZ7HY+uiSbRaICNvjk6oKU+l3AypZKiIZw8b2y7/xXfivcwQZfvOgkJ5YS/Ksn ds0S79rvIUo+sib3nm+5SOIreYsILO6ACqDdoG3RoyTlaMW6eiD5yWMjwhAr4gZ/0D cP5m6THu79EfW0qn8HKK4s1sm8In/fAsUbVZffz3j/GXUzCgtYwcbGRZaIa68UZ4R7 wcEqUARr4Sy/k38vkxEgiYBJm3HgaRYqjVFdKnV9dtn8Z3466BSGKLaTDAvm6cN4WL 8lvOK/aAH4+9g== Date: Thu, 25 May 2023 18:27:24 +0100 From: Conor Dooley To: Claudiu Beznea Subject: Re: [PATCH 5/5] dt-bindings: timer: atmel,at91rm9200-st: convert to yaml Message-ID: <20230525-suffocate-ditto-25578737a8ec@spud> References: <20230525125602.640855-1-claudiu.beznea@microchip.com> <20230525125602.640855-6-claudiu.beznea@microchip.com> MIME-Version: 1.0 In-Reply-To: <20230525125602.640855-6-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230525_102731_579642_7EA13ADC X-CRM114-Status: GOOD ( 23.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.lezcano@linaro.org, conor+dt@kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski+dt@linaro.org, tglx@linutronix.de, wim@linux-watchdog.org, sebastian.reichel@collabora.com, linux@roeck-us.net Content-Type: multipart/mixed; boundary="===============7768958455286828806==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7768958455286828806== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mvOwCibK1/4PsILp" Content-Disposition: inline --mvOwCibK1/4PsILp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 25, 2023 at 03:56:02PM +0300, Claudiu Beznea wrote: > Convert Atmel system timer to YAML. >=20 > Signed-off-by: Claudiu Beznea > --- > .../devicetree/bindings/arm/atmel-sysregs.txt | 9 --- > .../bindings/timer/atmel,at91rm9200-st.yaml | 66 +++++++++++++++++++ > 2 files changed, 66 insertions(+), 9 deletions(-) > create mode 100644 Documentation/devicetree/bindings/timer/atmel,at91rm9= 200-st.yaml >=20 > diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt b/Do= cumentation/devicetree/bindings/arm/atmel-sysregs.txt > index 54d3f586403e..68c0eacb01ac 100644 > --- a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt > +++ b/Documentation/devicetree/bindings/arm/atmel-sysregs.txt > @@ -4,15 +4,6 @@ Chipid required properties: > - compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chi= pid" > - reg : Should contain registers location and length > =20 > -System Timer (ST) required properties: > -- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" > -- reg: Should contain registers location and length > -- interrupts: Should contain interrupt for the ST which is the IRQ line > - shared across all System Controller members. > -- clocks: phandle to input clock. > -Its subnodes can be: > -- watchdog: compatible should be "atmel,at91rm9200-wdt" > - > RAMC SDRAM/DDR Controller required properties: > - compatible: Should be "atmel,at91rm9200-sdramc", "syscon" > "atmel,at91sam9260-sdramc", > diff --git a/Documentation/devicetree/bindings/timer/atmel,at91rm9200-st.= yaml b/Documentation/devicetree/bindings/timer/atmel,at91rm9200-st.yaml > new file mode 100644 > index 000000000000..08ee459d9fa3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/atmel,at91rm9200-st.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/atmel,at91rm9200-st.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel System Timer (ST) > + > +maintainers: > + - Nicolas Ferre > + - Alexandre Belloni > + - Claudiu Beznea > + > +description: > + Atmel system timer integrates a period interval timer, a watchdog time= r and a > + real-time timer. > + > +properties: > + compatible: > + oneOf: > + - items: > + - const: atmel,at91rm9200-st > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: > + Contain interrupt for the ST which is the IRQ line shared across a= ll > + system controller members. > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + watchdog: > + $ref: ../watchdog/atmel,at91rm9200-wdt.yaml > + description: > + Child node describing watchdog. > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + st: timer@fffffd00 { > + compatible =3D "atmel,at91rm9200-st", "syscon", "simple-mfd"; > + reg =3D <0xfffffd00 0x100>; > + interrupts =3D <1 IRQ_TYPE_LEVEL_HIGH 7>; This one is broken for the same reason too. Please test the bindings :( Cheers, Conor. > + clocks =3D <&slow_xtal>; > + > + watchdog { > + compatible =3D "atmel,at91rm9200-wdt"; > + }; > + }; > + > +... > --=20 > 2.34.1 >=20 --mvOwCibK1/4PsILp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG+afAAKCRB4tDGHoIJi 0p5iAQDDGRFM2dLYj1a5MQyitfEYsAqsL+n97flIO1HRuvn6dgD9FTFfDHfZ0noz tmPJO3axqGxR9eYrrh99RdxIF0KqHgo= =L9Sj -----END PGP SIGNATURE----- --mvOwCibK1/4PsILp-- --===============7768958455286828806== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7768958455286828806==--