From patchwork Wed Jun 12 07:54:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 166520 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3361735ilk; Wed, 12 Jun 2019 00:55:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPw8/WYrf7zNbA0nZCC0kdWEva1+1w/mkiizJplwiPuxtDl0I4GuMrUrOSPHUYAo6uSd1C X-Received: by 2002:a63:3008:: with SMTP id w8mr24344373pgw.11.1560326118822; Wed, 12 Jun 2019 00:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560326118; cv=none; d=google.com; s=arc-20160816; b=CzGXdCt57G2Lr+944krZ8blTQ4fmnLXLHP5XDEmw/cskwwyR2+QeqJm5p8r6neqoSw 1f/jyQ5OBhHwscyjl/ddv7kwUFQE6DmYhl9L1wxzfm26C9ubDgTshZ8yCvnlmQtbdnzZ 0NAeCCLHHdZ138feg2kmOrfSeV7vcpSBIb4tua/KbIfvoreT/xEa1mJ8Hu8j+DOvWfNz pw1WWku/jSUkwJyctSXDs4PhFeD97RCzcRyGs6I0JTM5+jwZiIEb7yVmzZJ4+kfKRSCF Iu+KF97L8eDWVrb3ibE2880SC/JXLT2ymJcHXaJ9Wy17UFtW1rToThGGOet1/KqbRNDh GhxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ddmyf9yTEwlfHCzubut1+DzdJc/PcrZsJL5uTZc4yfE=; b=zYmBYAOpGu0P6vj7RWjOqVSuyMMv/8XqTFbMxzqOSSmClw9XdCHrGskcR2FMjeE/5m 033/4EfzRgiWiZYabQB3j9XB+xA3IidvVMrGtkjZnyeZ2eQZCFGAPUzUu8Qd5wknEEIJ dHwfWBm94Pdmr/tlAfBPH8oODa5IBTWobVn7FmDOMlzQ0Uiq28AzPayo36W1BDHNLHuI r33MOteNZMb5xivrMFs6D3xVMgAIMpCCpLkGZOLfPdhvlmZy6IpEOaRytnaCHrRm9gVg 4rE2evd99MmH2mZ49qn3HlJ3FidB6rHG0uJoBgnaoCyHOukV1UUzH5SnlJUcToPxpS2/ U4Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=naECvcLA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si4593719pjw.16.2019.06.12.00.55.18; Wed, 12 Jun 2019 00:55:18 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=naECvcLA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731591AbfFLHzR (ORCPT + 30 others); Wed, 12 Jun 2019 03:55:17 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33021 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbfFLHzQ (ORCPT ); Wed, 12 Jun 2019 03:55:16 -0400 Received: by mail-pl1-f194.google.com with SMTP id c14so15081plo.0 for ; Wed, 12 Jun 2019 00:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ddmyf9yTEwlfHCzubut1+DzdJc/PcrZsJL5uTZc4yfE=; b=naECvcLA5b+ikhmyDk1YLXvhPLPCup9xIr0OEPfNZq/YqaOQKD1US6XtcnKca3PyrX bS4UZiBYiQmNmGgQ0PHd0Pc5zsJFZJte92oiMsouZ/6hZL5caUyz5JVsLCSMfcMwekA5 W8GFIeuttEZGufRFlCDfOWDY6meAbjQfHmhtnqmKMl97G8fpOsIGpMdAr2Sx2or9umrH HGKJLY2DI7pkC2v9OSawkWU+Q8oq9CyE39MCKWWLqQEW17vncFA7PjIeEAyeF5vORafF +eTbVWyCkWrnw7G2YeduVn3IGEasK2w9lxkHgo8d5n/wtLwv0f3frqGhWVK86HxSmRZ0 UgzQ== 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; bh=ddmyf9yTEwlfHCzubut1+DzdJc/PcrZsJL5uTZc4yfE=; b=jMZa3CeGSaWwg1atYA86OGtHmgNkXgDkhAqtxgN23UnTD55MQa4DqKZa0fMaPwRLoh Z53V4bCUyJVrtCC4Sn51QanciDtPEB4toPhbp7Lpl9Q7khq6/PjEEM4XISowh4OT0nkj q+VqJv8VD0QDMOZ9mu/sfedE81WbOD4e17HOF4EpCGLIlAZ0IN1hp1tYr7IiQB9HH7Ji 8eiwyimW0kBitLxfmL8mP0y+uF+0ycVm2BQeulp4gwkIDDtXrtMSIJzprwrOvLb721mq iHCXg7skxNNV+BrVcAxC3fL/+fd9L2BU4ZfUvM7mZUDDLo2wGQpB9+nwcRf09pil5cpT wacA== X-Gm-Message-State: APjAAAWX6mSucnE+9WI0KUSqfsNJ7pU5fhUj1xQS4feEC8VoKdDcMvut ScLZ30Y1chnJ7jbr8nRBdUNQ X-Received: by 2002:a17:902:b905:: with SMTP id bf5mr80896870plb.155.1560326114920; Wed, 12 Jun 2019 00:55:14 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:894:d456:15b5:9ca9:e3ec:c06a]) by smtp.gmail.com with ESMTPSA id b15sm16846399pfi.141.2019.06.12.00.55.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 00:55:14 -0700 (PDT) From: Manivannan Sadhasivam To: mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, robh+dt@kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loic.pallardy@st.com, Manivannan Sadhasivam Subject: [PATCH v4 2/4] dt-bindings: arm: stm32: Convert STM32 SoC bindings to DT schema Date: Wed, 12 Jun 2019 13:24:49 +0530 Message-Id: <20190612075451.8643-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190612075451.8643-1-manivannan.sadhasivam@linaro.org> References: <20190612075451.8643-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit converts STM32 SoC bindings to DT schema using jsonschema. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/arm/stm32/stm32.txt | 10 ------- .../devicetree/bindings/arm/stm32/stm32.yaml | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.txt create mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.txt b/Documentation/devicetree/bindings/arm/stm32/stm32.txt deleted file mode 100644 index 6808ed9ddfd5..000000000000 --- a/Documentation/devicetree/bindings/arm/stm32/stm32.txt +++ /dev/null @@ -1,10 +0,0 @@ -STMicroelectronics STM32 Platforms Device Tree Bindings - -Each device tree must specify which STM32 SoC it uses, -using one of the following compatible strings: - - st,stm32f429 - st,stm32f469 - st,stm32f746 - st,stm32h743 - st,stm32mp157 diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml new file mode 100644 index 000000000000..f53dc0f2d7b3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/stm32/stm32.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Platforms Device Tree Bindings + +maintainers: + - Alexandre Torgue + +properties: + compatible: + oneOf: + - items: + - const: st,stm32f429 + + - items: + - const: st,stm32f469 + + - items: + - const: st,stm32f746 + + - items: + - const: st,stm32h743 + + - items: + - const: st,stm32mp157 +...