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 62006C433EF for ; Mon, 28 Feb 2022 08:38:45 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RrQoDmtirxlkhHe+1J1DvSwgD20qfiC/80OaZOKqpQM=; b=EKoH399OLcCuAF bAShsNY4ndZA/6FQkqMY115FEU/gDe54sHaNXCpMMbdRSFJhj0pDxamfb2E4HynxqLEB4FNAy4Dlj jJpZRoKXTJhNjsWUPc5zZoOiQMT+GILjzEe58jQk9Ya6ofrv0Kjj+7rhK4iIiN7QgJoCUJWO5B6aT xE4KaYLblK2A+aKe8ozl3FZqw6l/qCDZARjpqexBgRS8d8Kcd2sWbzIh45Y57J5hEOIxQypFPODWa L/o/UNHIMLR1jkHhW9wbX4Rytny3YHqZXLg0TrAgzUVHg3FiauyMPKP+nrSOv2oee8/2PqlfO7po5 JZCnWd5lUaAoFtGlh5Xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nObX9-00B8vB-Jv; Mon, 28 Feb 2022 08:37:31 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nObX5-00B8uI-BD for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 08:37:29 +0000 Received: by mail-pf1-x42a.google.com with SMTP id a5so9625555pfv.9 for ; Mon, 28 Feb 2022 00:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ynGg2zlkHSS5uUPpWwSzbItTsNZH58rQZbqFZgztoM8=; b=d6Jbu3CdNMQsazBWSswdFlX71jnvC2OzDQGnpcQZy4hY/VRq9htwILWHKHCRNwZlxb QABfwFHLEdSErqzIA/52v8X7D3XrCb3BNY2JgUMD7Q6rx8gehHo+kCpq+XGvlK9QfL69 FiDE7h4eTRtJui+POeOn3ysa2z+AG2hfDQShJSUIQ3736J4/abxiIVRZrKH/D4Jb3V3Q 1zCYQ4dDurH/m/dGd8oKofgHpXCcIAAn4gVZOm6DEEzIXjFf4fvDu15pHOMKHE3FQNDr hCxCdSm/1Hzciq3mJh5CbJdc3X25E7T4WvnLmAP/p9/fTCrUbb0SYThu+vVDTFwLxf76 iOCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ynGg2zlkHSS5uUPpWwSzbItTsNZH58rQZbqFZgztoM8=; b=PdcGwJcLJqpVzKDL/Zeya3oPirGKCFyUAs/n9JrcGRAvD7IAYzzBC20qUCEfxgNTyF WWc2GCBNU15TmrlGzhHCEDWdhXpFgILBcEyHoaGgxMhsCrWQQa6aXBfhD92ENN8uvfGF 4Uty/B/2OGUpqvwJY61qTi0DhWUwO1dVowdqfBYfIyyU/5J2ApFOkSZ1nVdHBNoRLqVl W5EHP5LnD1iVmj0ZhKsh3HGrE1oH6R+PBxUYFkjITrmD/Kf7JPHQ8ELm2s4lJUd0jnRH fiizQJtc5TycKn4WOuAgoyEkxd5ojmkma7a+LWfbH4XunB3h5eq/jttYcKqo0VHPSSda iMFw== X-Gm-Message-State: AOAM531cyiP2CDmtssSL3vUiLFXSYlS0nB0SMhmiTWmkNLT7NL7m3FmS d7JgQTf+gIGDg+kn+yvLOIOx X-Google-Smtp-Source: ABdhPJxF+kaqGPpgvaKP8k/NA35bIq5wvbaZuNcwU5y8NraOPitDfJywFHd8kXd9QvuiAE9PG9faOw== X-Received: by 2002:aa7:8d08:0:b0:4e1:5fb5:b15 with SMTP id j8-20020aa78d08000000b004e15fb50b15mr20191752pfe.70.1646037445811; Mon, 28 Feb 2022 00:37:25 -0800 (PST) Received: from workstation ([117.207.25.37]) by smtp.gmail.com with ESMTPSA id m6-20020a056a00080600b004e1bb196743sm13345953pfk.5.2022.02.28.00.37.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Feb 2022 00:37:25 -0800 (PST) Date: Mon, 28 Feb 2022 14:07:21 +0530 From: Manivannan Sadhasivam To: Stanislav Jakubek Cc: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: timer: Convert rda,8810pl-timer to YAML Message-ID: <20220228083721.GA12451@workstation> References: <20220225173734.GA7573@standask-GA-A55M-S2HP> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220225173734.GA7573@standask-GA-A55M-S2HP> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_003727_415946_F7135E2B X-CRM114-Status: GOOD ( 21.08 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 25, 2022 at 06:37:34PM +0100, Stanislav Jakubek wrote: > Convert RDA Micro Timer bindings to DT schema format. > > Signed-off-by: Stanislav Jakubek Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > .../bindings/timer/rda,8810pl-timer.txt | 20 -------- > .../bindings/timer/rda,8810pl-timer.yaml | 47 +++++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 48 insertions(+), 21 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt > create mode 100644 Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt > deleted file mode 100644 > index 4db542c9a0fd..000000000000 > --- a/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt > +++ /dev/null > @@ -1,20 +0,0 @@ > -RDA Micro RDA8810PL Timer > - > -Required properties: > -- compatible : "rda,8810pl-timer" > -- reg : Offset and length of the register set for the device. > -- interrupts : Should contain two interrupts. > -- interrupt-names : Should be "hwtimer", "ostimer". > - > -Example: > - > - apb@20900000 { > - compatible = "simple-bus"; > - ... > - timer@10000 { > - compatible = "rda,8810pl-timer"; > - reg = <0x10000 0x1000>; > - interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, > - <17 IRQ_TYPE_LEVEL_HIGH>; > - interrupt-names = "hwtimer", "ostimer"; > - }; > diff --git a/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml > new file mode 100644 > index 000000000000..f9043a4488d6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml > @@ -0,0 +1,47 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: RDA Micro RDA8810PL Timer > + > +maintainers: > + - Manivannan Sadhasivam > + > +properties: > + compatible: > + const: rda,8810pl-timer > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 2 > + maxItems: 2 > + > + interrupt-names: > + items: > + - const: hwtimer > + - const: ostimer > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + timer@20910000 { > + compatible = "rda,8810pl-timer"; > + reg = <0x20910000 0x1000>; > + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, > + <17 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "hwtimer", "ostimer"; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index 6d5c2c035f82..cbf91f0ecbfb 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2563,7 +2563,7 @@ F: Documentation/devicetree/bindings/arm/rda.yaml > F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml > F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt > F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml > -F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt > +F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml > F: arch/arm/boot/dts/rda8810pl-* > F: drivers/clocksource/timer-rda.c > F: drivers/gpio/gpio-rda.c > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel