From patchwork Mon Dec 3 21:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152772 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7319855ljp; Mon, 3 Dec 2018 13:34:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vdord6Vcxllc26rhAdmKYp99K+gBsUgqFxqzb9si9C4zOh+pyyYHTBpfUCH0bCmkYV8O11 X-Received: by 2002:a62:3a04:: with SMTP id h4mr17314562pfa.119.1543872885531; Mon, 03 Dec 2018 13:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872885; cv=none; d=google.com; s=arc-20160816; b=z6CCIUmmoQtc7rQn+0xZVAMmlhkJ3JO6fP8+e2qNteeG6MUTUHQ2ZkPgKSPFDdfQK5 BG1xwucYYMylUTtpwSVTYLl1SE8+J2a040l4s19O8jCqVD34jMdzYmdXpyBzANXcly0L hUeCeX2l4Im3frfT/y9lPJnRd7aVL5ZGkVKgi0zCkwKCvvhYr5VyQ758uWn/uSCbf2W8 QMpb7VayzF/1GpkjqKk2wG8NtCLHFpP0CqGhi7HiPVLe7uEg+BsCpqjYELny9CRCNQeN lEe4zBD1jeI7HTrh1AyggdXmgqEFzUeo4NrvkOoGrqfyJpnfPbCiYxZfTyj+LsztsHEd YACg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tYVF1/N3KzDGFvlUREOlAA6rOeGKGj1HKQArIj1wxGM=; b=mp/FA6N4Z3t5deN645qXqr2/Q8lmgPS0+klIPBKqHnNfcF6MELQ334WZ3NqaOnhQF/ i8ss36V0uw6YBvms7u7mshS/jYBQUfO/QrXZ4krLiuCw1hdJagIKMJYbhszldCzVOuNn UgMh5wawqhzAhJCpzt6MfxyjN0A59DX3hIWM8xvUUPIR7cpkW+XgWT4KtGT3nE6KdxBX CVxbELrFSBZamijttE5VxpUTJEcaXeRFhQSYD6cFbAjq17WR1nDZ4BMJdWlQPDrdiHh1 kywuIx49pB+z4wPWQM5gDruyS2mZpmsR159TLKoepwOcYxaMY7GTwokAx9WjKpsW/ncf rhaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si15754505pfb.178.2018.12.03.13.34.45; Mon, 03 Dec 2018 13:34:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbeLCVeo (ORCPT + 32 others); Mon, 3 Dec 2018 16:34:44 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43117 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbeLCVcr (ORCPT ); Mon, 3 Dec 2018 16:32:47 -0500 Received: by mail-ot1-f66.google.com with SMTP id a11so13091339otr.10; Mon, 03 Dec 2018 13:32:47 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tYVF1/N3KzDGFvlUREOlAA6rOeGKGj1HKQArIj1wxGM=; b=t1CNXRjI1eHV2Ro8q3IM/C2aLbMNISSmjwL0OfYLkeEUchFB61q3LIE4s8cS2XQ+5/ qpkX2oY171JLNCTyVZprrZgp8sWO0SNbhUU52kRfdJtm31fq1UnaRd64+OFYpZTY3jLC 4xUU42P5WF9UA4AwmsD2CHm5zkJhXzHTvtWbanWQniLAp8y8rjpK4mdjoSNWJuUbZPll /LQ/DUrfvmULd7siZ09qHyqtWSt3iWY0y732C19aKiJDfo5R+SjvsaWh/oj8nhTa7SH1 R02F8zFh+dXPxZXJ5aQ+MUovJwSZF5mze249+mDVkfdx/MsXlsU1o9nh5L19MMyjqhn4 FIpQ== X-Gm-Message-State: AA+aEWY6IEQO5DIzcB4JIvi4n39Ghq7OFtobHHskU2E+sbA+gbXGU8P1 SUZV07+Tla/7s2dJEsHy9aOAVxs= X-Received: by 2002:a9d:348:: with SMTP id 66mr10568044otv.300.1543872766523; Mon, 03 Dec 2018 13:32:46 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:45 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Sekhar Nori , Kevin Hilman , Mark Rutland Subject: [PATCH v2 17/34] dt-bindings: arm: Convert TI davinci board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:06 -0600 Message-Id: <20181203213223.16986-18-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert TI Davinci SoC bindings to DT schema format using json-schema. Cc: Sekhar Nori Cc: Kevin Hilman Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/davinci.txt | 25 ------------------ .../bindings/arm/ti/ti,davinci.yaml | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/davinci.txt create mode 100644 Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml -- 2.19.1 diff --git a/Documentation/devicetree/bindings/arm/davinci.txt b/Documentation/devicetree/bindings/arm/davinci.txt deleted file mode 100644 index 715622c36260..000000000000 --- a/Documentation/devicetree/bindings/arm/davinci.txt +++ /dev/null @@ -1,25 +0,0 @@ -Texas Instruments DaVinci Platforms Device Tree Bindings --------------------------------------------------------- - -DA850/OMAP-L138/AM18x Evaluation Module (EVM) board -Required root node properties: - - compatible = "ti,da850-evm", "ti,da850"; - -DA850/OMAP-L138/AM18x L138/C6748 Development Kit (LCDK) board -Required root node properties: - - compatible = "ti,da850-lcdk", "ti,da850"; - -EnBW AM1808 based CMC board -Required root node properties: - - compatible = "enbw,cmc", "ti,da850; - -LEGO MINDSTORMS EV3 (AM1808 based) -Required root node properties: - - compatible = "lego,ev3", "ti,da850"; - -Generic DaVinci Boards ----------------------- - -DA850/OMAP-L138/AM18x generic board -Required root node properties: - - compatible = "ti,da850"; diff --git a/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml new file mode 100644 index 000000000000..4326d2cfa15d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/ti/davinci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments DaVinci Platforms Device Tree Bindings + +maintainers: + - Sekhar Nori + +description: + DA850/OMAP-L138/AM18x based boards + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - ti,da850-evm # DA850/OMAP-L138/AM18x Evaluation Module (EVM) board + - ti,da850-lcdk # DA850/OMAP-L138/AM18x L138/C6748 Development Kit (LCDK) board + - enbw,cmc # EnBW AM1808 based CMC board + - lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based) + - const: ti,da850 +...