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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42C0AC43331 for ; Fri, 27 Mar 2020 19:53:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13167206F1 for ; Fri, 27 Mar 2020 19:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585338834; bh=gO993NR59k5SEpFjha5Cg6PSRC7dcMFkTKnzcdIgyWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ASLIms/R1bburT6EoVgF4jAvgZBqsutb24ZdsnKt7S5uxGD+BoHhh9u6GQdnOkt81 S7tWJeimdaccHtc4LLmiLdvafcmghD5WS7Gd4rMbtxjA4hRANPYgcMBswQf9NEZqjD b2iweuRLVttjwSZnl7BzFs0RbnprNktWmbfyMujc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727242AbgC0Txx (ORCPT ); Fri, 27 Mar 2020 15:53:53 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:38592 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgC0Txx (ORCPT ); Fri, 27 Mar 2020 15:53:53 -0400 Received: by mail-il1-f194.google.com with SMTP id n13so2594810ilm.5; Fri, 27 Mar 2020 12:53:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mJE/FmDo61k1Y1kMUmnrw+f/plh9UpOJw+NgcOKyCAM=; b=Nl0RkAkg90RZyQqS9cu6gK7/QKNgAm2NkPeMQSz8Ub14RgVMM/0BOAV5clrvGWfZBo YN9MWImB+ZRHIDErNSW89tHFa4i752oweOMDCeKBjWcl+h56SjjqWXWoD/wlHCBp3j0J mgSye0mcUgDcS6Ez34gGWjeYKmPe3Dw+G7exOGJhUR4MfnGNJB+Tcssq3QkucbgqUX5R PU0TdPt8B1azNXnGG8/snlTCYmsnH4/GhOoQEedTcpZhJ3ZbU2gM/Rg1NXr6LRH/4qxN Rfv+8SIqRtHMENRd73ktN8fPFDcx+WHRqIny8nkuqjqoLLNJEuXrQRxoxkhU/jqZQkMh sNHw== X-Gm-Message-State: ANhLgQ3pvpl0E6Zbd9/jP2OWfx1Gv7ljaY/w7e9orDqqsiP04wmA0E1F 9rA4seUD6zH2D5dpSGYOwg== X-Google-Smtp-Source: ADFU+vv7l6X4QqyDklk801ff+s7+6Bx+Yr+DsrSctVissFQbcxeD7iAKesA6K4k1zLa10W4Ji94BwQ== X-Received: by 2002:a92:d0c7:: with SMTP id y7mr841907ila.56.1585338831900; Fri, 27 Mar 2020 12:53:51 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id w28sm2178668ill.69.2020.03.27.12.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 12:53:51 -0700 (PDT) Received: (nullmailer pid 2012 invoked by uid 1000); Fri, 27 Mar 2020 19:53:49 -0000 Date: Fri, 27 Mar 2020 13:53:49 -0600 From: Rob Herring To: Lubomir Rintel Cc: Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Ulf Hansson , Kishon Vijay Abraham I , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Daniel Lezcano , Andrew Lunn , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 27/28] dt-bindings: timer: Convert mrvl,mmp-timer to json-schema Message-ID: <20200327195349.GA459@bogus> References: <20200317093922.20785-1-lkundrak@v3.sk> <20200317093922.20785-28-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317093922.20785-28-lkundrak@v3.sk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Mar 17, 2020 at 10:39:21AM +0100, Lubomir Rintel wrote: > A straightforward conversion of the mrvl,mmp-timer binding to DT schema > format using json-schema. > > Signed-off-by: Lubomir Rintel > --- > .../bindings/timer/mrvl,mmp-timer.txt | 17 -------- > .../bindings/timer/mrvl,mmp-timer.yaml | 43 +++++++++++++++++++ > 2 files changed, 43 insertions(+), 17 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > create mode 100644 Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > deleted file mode 100644 > index b8f02c6635219..0000000000000 > --- a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > +++ /dev/null > @@ -1,17 +0,0 @@ > -* Marvell MMP Timer controller > - > -Required properties: > -- compatible : Should be "mrvl,mmp-timer". > -- reg : Address and length of the register set of timer controller. > -- interrupts : Should be the interrupt number. > - > -Optional properties: > -- clocks : Should contain a single entry describing the clock input. > - > -Example: > - timer0: timer@d4014000 { > - compatible = "mrvl,mmp-timer"; > - reg = <0xd4014000 0x100>; > - interrupts = <13>; > - clocks = <&coreclk 2>; > - }; > diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > new file mode 100644 > index 0000000000000..ebee0b862d493 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > @@ -0,0 +1,43 @@ License? > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell MMP Timer bindings > + > +maintainers: > + - devicetree@vger.kernel.org Real person? > + > +properties: > + $nodename: > + pattern: '^timer@[a-f0-9]+$' > + > + compatible: > + const: mrvl,mmp-timer > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + timer@d4014000 { > + compatible = "mrvl,mmp-timer"; > + reg = <0xd4014000 0x100>; > + interrupts = <13>; > + clocks = <&coreclk 2>; > + }; > + > +... > -- > 2.25.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 27/28] dt-bindings: timer: Convert mrvl,mmp-timer to json-schema Date: Fri, 27 Mar 2020 13:53:49 -0600 Message-ID: <20200327195349.GA459@bogus> References: <20200317093922.20785-1-lkundrak@v3.sk> <20200317093922.20785-28-lkundrak@v3.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200317093922.20785-28-lkundrak@v3.sk> Sender: linux-gpio-owner@vger.kernel.org To: Lubomir Rintel Cc: Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Ulf Hansson , Kishon Vijay Abraham I , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Daniel Lezcano , Andrew Lunn , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , devicetree@vger.kerne List-Id: linux-i2c@vger.kernel.org On Tue, Mar 17, 2020 at 10:39:21AM +0100, Lubomir Rintel wrote: > A straightforward conversion of the mrvl,mmp-timer binding to DT schema > format using json-schema. > > Signed-off-by: Lubomir Rintel > --- > .../bindings/timer/mrvl,mmp-timer.txt | 17 -------- > .../bindings/timer/mrvl,mmp-timer.yaml | 43 +++++++++++++++++++ > 2 files changed, 43 insertions(+), 17 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > create mode 100644 Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > deleted file mode 100644 > index b8f02c6635219..0000000000000 > --- a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > +++ /dev/null > @@ -1,17 +0,0 @@ > -* Marvell MMP Timer controller > - > -Required properties: > -- compatible : Should be "mrvl,mmp-timer". > -- reg : Address and length of the register set of timer controller. > -- interrupts : Should be the interrupt number. > - > -Optional properties: > -- clocks : Should contain a single entry describing the clock input. > - > -Example: > - timer0: timer@d4014000 { > - compatible = "mrvl,mmp-timer"; > - reg = <0xd4014000 0x100>; > - interrupts = <13>; > - clocks = <&coreclk 2>; > - }; > diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > new file mode 100644 > index 0000000000000..ebee0b862d493 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml > @@ -0,0 +1,43 @@ License? > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell MMP Timer bindings > + > +maintainers: > + - devicetree@vger.kernel.org Real person? > + > +properties: > + $nodename: > + pattern: '^timer@[a-f0-9]+$' > + > + compatible: > + const: mrvl,mmp-timer > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + timer@d4014000 { > + compatible = "mrvl,mmp-timer"; > + reg = <0xd4014000 0x100>; > + interrupts = <13>; > + clocks = <&coreclk 2>; > + }; > + > +... > -- > 2.25.1 >