Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8285777imu; Tue, 4 Dec 2018 06:07:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/X0/sMTF+3HZ14XuVaNlT5pn7hcWoZvDyP8bLkk0QUn6xrpyi6zKTZsNavHcJ2PFPB5t51C X-Received: by 2002:a62:8dd9:: with SMTP id p86mr19916603pfk.143.1543932439366; Tue, 04 Dec 2018 06:07:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543932439; cv=none; d=google.com; s=arc-20160816; b=fbxczQd7LxXDfg59SK1NUknWBuFEquU5APjxihmJLvjyD+riuC9E3BPerxZyd+kizT FptTsTEX1qMxVCtd4lNfADx4GbITHf8fgqkDpvJpKio29u5Z6EoJK0GLatp7zjoVFZaw hRTYDPB/ViTBPcqe2iN2MSy2D3VJrwmKUnfqqWPJkDP9GNyD9RwlirvYwm1FS5ijCuOP AZaAk0QVwwCT1eMAzoEftz0MwR0TLJ7CYFipVH4OzMuwVw7r5I57dWdDW50AQ+PfTpoU CTAu3dfwFFnQlisKmUQVxaWmN654WzkTzOB7tKmrWKVIXGnM4EansHSkiauOy4iNGXgs 9F9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/46IYiZB45vkOPJFtEtkUjyylINjNf9en2OsROfH7Ug=; b=yRHP/MXw4BKLQX773pJuP0RctP1BytdCW+n8OGff1g5EOs6EkwfPTlEs+APGKHcPuY o0TPcmbll+plQ3QmU2yMC3ZjZpEijoee6VKco+CJztotI2aa+hBLoq5ei7F+wSnjCxT8 6XTPuqwxpoLPx1wtowiCgo8lkbN6PfX2ppaRniVtXpOM7EjCit9947ZwV0uTbH0NELUX oLviaReG44eo0lpUOPtB7jC/3PEDy91slFnvhuT9Mzq3Q+16kouv4HDmH5NADCw1VsYF Wy/6qEdAV+9McI/qomDonP8WbcgdSJODoG2exEE7sUk3X+QdCWl/k2Ib6kJdbnC3tCqX FnZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GV0vsPgu; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si15592116pll.201.2018.12.04.06.06.50; Tue, 04 Dec 2018 06:07:19 -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; dkim=pass header.i=@kernel.org header.s=default header.b=GV0vsPgu; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbeLDOFI (ORCPT + 99 others); Tue, 4 Dec 2018 09:05:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:56202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbeLDOFH (ORCPT ); Tue, 4 Dec 2018 09:05:07 -0500 Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6CB302087F; Tue, 4 Dec 2018 14:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543932306; bh=yTr+UbBFW+eS6HM3fzcLbxczAbrxW4SyfnuUXDeA/9o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GV0vsPguRlbVwUdqPqdotp9D2RX4uJcvLoeZB4aoigLRi8c7ofsrLfJ3hTvEy12nT 3oDb2slvH5a27cyVmVC2m6BQspIoq8Cfy2ZmpH2LSslhjD9ORiJJdd8STMH9ZsBG+O U9Uh+jBysPhtu0bVYSATY+Qpb2tiZwvhrxeihfeg= Received: by mail-qt1-f169.google.com with SMTP id y20so18065933qtm.13; Tue, 04 Dec 2018 06:05:06 -0800 (PST) X-Gm-Message-State: AA+aEWZCFW29VUfREm3JJWmlnRVl1OJJCxhwaTpIFZpeLHh/gpis1B5J BBozvH4KjtZeF+3GLVuX29soJ1GippnDd9Kq2A== X-Received: by 2002:ac8:6b18:: with SMTP id w24mr19809237qts.144.1543932305591; Tue, 04 Dec 2018 06:05:05 -0800 (PST) MIME-Version: 1.0 References: <20181203213223.16986-1-robh@kernel.org> <20181203213223.16986-22-robh@kernel.org> In-Reply-To: From: Rob Herring Date: Tue, 4 Dec 2018 08:04:54 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 21/34] dt-bindings: arm: Convert Oxford Semi board/soc bindings to json-schema To: Neil Armstrong Cc: devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Sean Hudson , Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linuxppc-dev , Grant Likely , Kumar Gala , ARM-SoC Maintainers , Mark Rutland , linux-oxnas@groups.io Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 4, 2018 at 2:43 AM Neil Armstrong wrote: > > On 03/12/2018 22:32, Rob Herring wrote: > > Convert Oxford Semi SoC bindings to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Neil Armstrong > > Cc: devicetree@vger.kernel.org > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: linux-oxnas@groups.io > > Signed-off-by: Rob Herring > > --- > > .../devicetree/bindings/arm/oxnas.txt | 14 ----------- > > .../devicetree/bindings/arm/oxnas.yaml | 25 +++++++++++++++++++ > > 2 files changed, 25 insertions(+), 14 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/arm/oxnas.txt > > create mode 100644 Documentation/devicetree/bindings/arm/oxnas.yaml > > > > diff --git a/Documentation/devicetree/bindings/arm/oxnas.txt b/Documentation/devicetree/bindings/arm/oxnas.txt > > deleted file mode 100644 > > index ac64e60f99f1..000000000000 > > --- a/Documentation/devicetree/bindings/arm/oxnas.txt > > +++ /dev/null > > @@ -1,14 +0,0 @@ > > -Oxford Semiconductor OXNAS SoCs Family device tree bindings > > -------------------------------------------- > > - > > -Boards with the OX810SE SoC shall have the following properties: > > - Required root node property: > > - compatible: "oxsemi,ox810se" > > - > > -Boards with the OX820 SoC shall have the following properties: > > - Required root node property: > > - compatible: "oxsemi,ox820" > > - > > -Board compatible values: > > - - "wd,mbwe" (OX810SE) > > - - "cloudengines,pogoplugv3" (OX820) > > diff --git a/Documentation/devicetree/bindings/arm/oxnas.yaml b/Documentation/devicetree/bindings/arm/oxnas.yaml > > new file mode 100644 > > index 000000000000..6ae51ef513be > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/oxnas.yaml > > @@ -0,0 +1,25 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/arm/oxnas.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Oxford Semiconductor OXNAS SoCs Family device tree bindings > > + > > +maintainers: > > + - Neil Armstrong > > + > > +properties: > > + $nodename: > > + const: '/' > > + compatible: > > + oneOf: > > + - items: > > + - enum: > > + - wd,mbwe > > + - const: oxsemi,ox810se > > + > > + - items: > > + - enum: > > + - cloudengines,pogoplugv3 > > + - const: oxsemi,ox820 > > > > We also loose all the "human friendly" description of board/SoC relationship here, > and I think it's a shame. You can have whatever comments or description properties you like, so how would you like it to look? Rob