From patchwork Thu Jun 4 01:55:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 11586831 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B142C92A for ; Thu, 4 Jun 2020 02:06:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98C79207D5 for ; Thu, 4 Jun 2020 02:06:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725992AbgFDCGE (ORCPT ); Wed, 3 Jun 2020 22:06:04 -0400 Received: from inva020.nxp.com ([92.121.34.13]:55880 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbgFDCGD (ORCPT ); Wed, 3 Jun 2020 22:06:03 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0B9921A01A2; Thu, 4 Jun 2020 04:06:02 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 24A661A011F; Thu, 4 Jun 2020 04:05:57 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CEBCF40299; Thu, 4 Jun 2020 10:05:50 +0800 (SGT) From: Anson Huang To: broonie@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, marex@denx.de, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V2 0/3] Convert mxs/imx spi/cspi/lpspi binding to json-schema Date: Thu, 4 Jun 2020 09:55:28 +0800 Message-Id: <1591235731-15673-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org This patch series converts mxs/imx spi/cspi/lpspi binding to json-schema. In fsl-imx-cspi.yaml, also update compatible, remove obsolete properties "fsl,spi-num-chipselects" and update the example based on latest DT file; In spi-fsl-lpspi.yaml, the original maintainer's email address pandy.gao@nxp.com is no longer valid, so I use mine. Compared to V1, this patch series adds "unevaluatedProperties: false" for each binding doc. Anson Huang (3): dt-bindings: spi: Convert mxs spi to json-schema dt-bindings: spi: Convert imx cspi to json-schema dt-bindings: spi: Convert imx lpspi to json-schema .../devicetree/bindings/spi/fsl-imx-cspi.txt | 56 ------------ .../devicetree/bindings/spi/fsl-imx-cspi.yaml | 99 ++++++++++++++++++++++ Documentation/devicetree/bindings/spi/mxs-spi.txt | 26 ------ Documentation/devicetree/bindings/spi/mxs-spi.yaml | 57 +++++++++++++ .../devicetree/bindings/spi/spi-fsl-lpspi.txt | 29 ------- .../devicetree/bindings/spi/spi-fsl-lpspi.yaml | 62 ++++++++++++++ 6 files changed, 218 insertions(+), 111 deletions(-) delete mode 100644 Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt create mode 100644 Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml delete mode 100644 Documentation/devicetree/bindings/spi/mxs-spi.txt create mode 100644 Documentation/devicetree/bindings/spi/mxs-spi.yaml delete mode 100644 Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt create mode 100644 Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml