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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 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 82E7CC433FF for ; Tue, 6 Aug 2019 07:41:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5672C20B1F for ; Tue, 6 Aug 2019 07:41:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W0aubC2C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5672C20B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GizHW1iBLPLq+wfP2qUWUd4FriGDhjr2Ne1n+Q4lKWE=; b=W0aubC2C7y0i1J AjynN+jJRInd5Q+esZfnTW9kZhp251X29x8m0MMhTdeyEQ64IPAL/KqudXjb5Zr+FroGyLjptF0+O uBLKhjMgCN5I7294GjPByZMd6nNrv5NoDmLtvX+XL+csGDkCIE1R9TRskL0yO9U5bCDg8L0p8bLfW 92Vz+muoOMZY7kFtJZT9gDLpuwqNBkM2m5vOJ7t1ID43aWNkh3RFX0mrSuTDjSgpTDBYNpdNae17b PEbmC8r3Py5JU49OG3Zzc8GWRj+DhFxQ7nhajhRYqYuOKmoG0uw2BLwhGQvAJFab975xyr5g1n9ki KySCvvpaloxwHt7Z5l6g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1huu5l-0001sy-A9; Tue, 06 Aug 2019 07:41:09 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1huu5i-0001sQ-2R for linux-amlogic@lists.infradead.org; Tue, 06 Aug 2019 07:41:07 +0000 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1huu5g-0003fC-7P; Tue, 06 Aug 2019 09:41:04 +0200 Message-ID: <1565077264.4951.4.camel@pengutronix.de> Subject: Re: [RFCv2 4/9] dt-bindings: reset: amlogic,meson-reset: convert to yaml From: Philipp Zabel To: Neil Armstrong , robh+dt@kernel.org Date: Tue, 06 Aug 2019 09:41:04 +0200 In-Reply-To: <20190805120320.32282-5-narmstrong@baylibre.com> References: <20190805120320.32282-1-narmstrong@baylibre.com> <20190805120320.32282-5-narmstrong@baylibre.com> X-Mailer: Evolution 3.22.6-1+deb9u2 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-amlogic@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190806_004106_115557_8F4F3D1B X-CRM114-Status: GOOD ( 14.35 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Mon, 2019-08-05 at 14:03 +0200, Neil Armstrong wrote: > Now that we have the DT validation in place, let's convert the device tree > bindings for the Amlogic Reset controller over to a YAML schemas. > > Signed-off-by: Neil Armstrong Let me know if you want me to pick up this patch, otherwise Acked-by: Philipp Zabel to merge with the rest of the series. regards Philipp > --- > .../bindings/reset/amlogic,meson-reset.txt | 19 ---------- > .../bindings/reset/amlogic,meson-reset.yaml | 37 +++++++++++++++++++ > 2 files changed, 37 insertions(+), 19 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt > create mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml > > diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt > deleted file mode 100644 > index 28ef6c295c76..000000000000 > --- a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt > +++ /dev/null > @@ -1,19 +0,0 @@ > -Amlogic Meson SoC Reset Controller > -======================================= > - > -Please also refer to reset.txt in this directory for common reset > -controller binding usage. > - > -Required properties: > -- compatible: Should be "amlogic,meson8b-reset", "amlogic,meson-gxbb-reset" or > - "amlogic,meson-axg-reset". > -- reg: should contain the register address base > -- #reset-cells: 1, see below > - > -example: > - > -reset: reset-controller { > - compatible = "amlogic,meson-gxbb-reset"; > - reg = <0x0 0x04404 0x0 0x20>; > - #reset-cells = <1>; > -}; > diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml > new file mode 100644 > index 000000000000..00917d868d58 > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2019 BayLibre, SAS > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/reset/amlogic,meson-reset.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Amlogic Meson SoC Reset Controller > + > +maintainers: > + - Neil Armstrong > + > +properties: > + compatible: > + enum: > + - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs > + - amlogic,meson-gxbb-reset # Reset Controller on GXBB and compatible SoCs > + - amlogic,meson-axg-reset # Reset Controller on AXG and compatible SoCs > + > + reg: > + maxItems: 1 > + > + "#reset-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - "#reset-cells" > + > +examples: > + - | > + reset-controller@c884404 { > + compatible = "amlogic,meson-gxbb-reset"; > + reg = <0xc884404 0x20>; > + #reset-cells = <1>; > + }; _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic