From patchwork Thu Aug 8 08:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11083597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FADA1395 for ; Thu, 8 Aug 2019 08:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EF8C288C5 for ; Thu, 8 Aug 2019 08:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22BAB28AB8; Thu, 8 Aug 2019 08:51:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B67E6288C5 for ; Thu, 8 Aug 2019 08:51:50 +0000 (UTC) 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:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sthzdy5DASDLTH4fLeCk8N70k0nzUkcaePTRvCJNiys=; b=Pqcg+vpCq/Y1rN n999P8UxMh++WaYKbPXqBfpx8IRgKNoFXD7/E3mfMA5uDq55PhOJjrb3XK2MjG3tWyvTAlBew5CJd SLSjLe6PzNhcpCxUIo0M+Co43aSTDGwmkprZBvH4J5A1vcuZ6Y8+DWoqexD/omB8jG5z+T30+DxV1 /qfxdnS3gXRUspc0yrfBwh2T4wZLp4poF8L3Jq8SfBOlHrcPN8GG3cshXvDnu0zYovSBsjrfIjhrs NjOv8Uocul4n1LMxPA59CoOA6da58orkbODWGCBeKJl29B4Vp3lvuv5YE1JHOA9uG5bE6vnIKn+Z7 JFEKjkbOC8x5zauXUIXg==; 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 1hve9F-0000dj-6V; Thu, 08 Aug 2019 08:51:49 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hve9B-0000Zj-BJ for linux-amlogic@lists.infradead.org; Thu, 08 Aug 2019 08:51:47 +0000 Received: by mail-wr1-x444.google.com with SMTP id r1so94026509wrl.7 for ; Thu, 08 Aug 2019 01:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vifwZCE4bnskih8jmiWXXxluQMEl4VWESPVBYYZw1Fc=; b=OFvZDM2GMu+vNEzqszF7ge0Swd1VEF//llkq14iazVY4eYdAX7SfvBw71e1ROskeQs eTdH3onFMmimiTDbMHf9wtIEsKETqkpp9/znyHWDzs4GlVAbIKA4jTEuba2fzW4QST1U lC/c7vcgt016PN9/xE2xfZFIbHDkJTzNiXKECIoIYkZu8EE6PnEc7MjW4/qi4JsSqy8R tgs4Fojid604Eo4/9TjdzfeFrnVyBUwCZalwvqCe/36SLypMwp2C4Qi75ZuL0y2vWqG5 SAkAo9ITL5rrygXMNmYZbRWkvOECmyI/ILT6X84dtMcZffLwNvZs0Dga6Pw11fLaKwqR fPsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vifwZCE4bnskih8jmiWXXxluQMEl4VWESPVBYYZw1Fc=; b=pMOAkwyGf7Ffm37QQAo3DxeEJeqlA3TuuoufyhOqWne9gv5pwS8yHZLAlBu7PE8uPo LzlRPEkeFSTjvUtRxM+LWB1jNphiO+rh6HkG2vnqSj37zfAEIJzrZ13Ow3X1j4qQkQcK 6iyX3qKDPZhRsho2mRFBZcLguCybxPJa72rqdqb9JCEP//UVrbGTN4oDrOgAxMgR4Rfr GZfUJkH6ba8vUJq6oWQaamclhjSwqXidH1+HWO8zGdhKMV3Oj0kdnuoLS+3PAUARSUFW qtLJeyKIBmNPJFKt345vsKboHfiNsrU5vMxBU7sM2omXrMVyY94jIhcXcWR4mhX+vbJr RCcg== X-Gm-Message-State: APjAAAWk0fxhAm0/vFyrq1awGXbpqfkfWk9OuDynV0E7uSASHBt++ABB lgL7QRJwkZN/APmjkK1kiQOqTw== X-Google-Smtp-Source: APXvYqwYEgl9MohCcq4LViUU9lWOpsLOwFkb7HqqBUCOa+plL4VwngfAF9IVJpka4nRbg/TwRZbMuQ== X-Received: by 2002:adf:f088:: with SMTP id n8mr15584283wro.58.1565254301982; Thu, 08 Aug 2019 01:51:41 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id i66sm3360031wmi.11.2019.08.08.01.51.40 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 01:51:41 -0700 (PDT) From: Neil Armstrong To: robh+dt@kernel.org Subject: [PATCH 0/9] dt-bindings: first tentative of conversion to yaml format Date: Thu, 8 Aug 2019 10:51:30 +0200 Message-Id: <20190808085139.21438-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190808_015145_410721_B6408AA1 X-CRM114-Status: UNSURE ( 6.98 ) X-CRM114-Notice: Please train this message. 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: p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, Neil Armstrong , jassisinghbrar@gmail.com, linux-spi@vger.kernel.org, linux-crypto@vger.kernel.org, linux-serial@vger.kernel.org, linux-amlogic@lists.infradead.org, kishon@ti.com, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is a first tentative to convert some of the simplest Amlogic dt-bindings to the yaml format. All have been tested using : $ make ARCH=arm64 dtbs_check Issues with the amlogic arm64 DTs has already been identified thanks to the validation scripts. The DT fixes will be pushed once these yaml bindings are acked. Changes since rfc v2: - Collected Rob's, Martin's, Philipp's and Guenter's tags - Removed mhu maxItems: 3 to leave only minItems - Fixed flash@0 in spifc example Changes since rfc v1: - Fixed bindings according to Rob's comments - Added commit log - renamed yaml files using amlogic prefix Neil Armstrong (9): dt-bindings: mailbox: meson-mhu: convert to yaml dt-bindings: rng: amlogic,meson-rng: convert to yaml dt-bindings: spi: meson: convert to yaml dt-bindings: reset: amlogic,meson-reset: convert to yaml dt-bindings: arm: amlogic: amlogic,meson-gx-ao-secure: convert to yaml dt-bindings: phy: meson-g12a-usb2-phy: convert to yaml dt-bindings: phy: meson-g12a-usb3-pcie-phy: convert to yaml dt-bindings: serial: meson-uart: convert to yaml dt-bindings: watchdog: meson-gxbb-wdt: convert to yaml .../amlogic/amlogic,meson-gx-ao-secure.txt | 28 ------- .../amlogic/amlogic,meson-gx-ao-secure.yaml | 52 +++++++++++++ .../mailbox/amlogic,meson-gxbb-mhu.yaml | 52 +++++++++++++ .../devicetree/bindings/mailbox/meson-mhu.txt | 34 --------- .../phy/amlogic,meson-g12a-usb2-phy.yaml | 63 ++++++++++++++++ .../phy/amlogic,meson-g12a-usb3-pcie-phy.yaml | 57 +++++++++++++++ .../bindings/phy/meson-g12a-usb2-phy.txt | 22 ------ .../bindings/phy/meson-g12a-usb3-pcie-phy.txt | 22 ------ .../bindings/reset/amlogic,meson-reset.txt | 19 ----- .../bindings/reset/amlogic,meson-reset.yaml | 37 ++++++++++ .../bindings/rng/amlogic,meson-rng.txt | 21 ------ .../bindings/rng/amlogic,meson-rng.yaml | 37 ++++++++++ .../bindings/serial/amlogic,meson-uart.txt | 38 ---------- .../bindings/serial/amlogic,meson-uart.yaml | 73 +++++++++++++++++++ .../bindings/spi/amlogic,meson-gx-spicc.yaml | 67 +++++++++++++++++ .../bindings/spi/amlogic,meson6-spifc.yaml | 53 ++++++++++++++ .../devicetree/bindings/spi/spi-meson.txt | 55 -------------- .../watchdog/amlogic,meson-gxbb-wdt.yaml | 37 ++++++++++ .../bindings/watchdog/meson-gxbb-wdt.txt | 16 ---- 19 files changed, 528 insertions(+), 255 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt create mode 100644 Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml create mode 100644 Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml delete mode 100644 Documentation/devicetree/bindings/mailbox/meson-mhu.txt create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb3-pcie-phy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/meson-g12a-usb2-phy.txt delete mode 100644 Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt delete mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt create mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml delete mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt create mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml delete mode 100644 Documentation/devicetree/bindings/serial/amlogic,meson-uart.txt create mode 100644 Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml create mode 100644 Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml create mode 100644 Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml delete mode 100644 Documentation/devicetree/bindings/spi/spi-meson.txt create mode 100644 Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt