Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2807735ybk; Mon, 18 May 2020 08:23:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9Zellq4644BQqYg6XRURL3rA/zcfQhtLg3hUSIt2680pfGq9lMKCRGErBQOvsM8Uv/EKV X-Received: by 2002:a17:906:6d10:: with SMTP id m16mr5209955ejr.84.1589815393405; Mon, 18 May 2020 08:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589815393; cv=none; d=google.com; s=arc-20160816; b=zeguVOk1ON9iw7evGhiXIIunxZUoMt2jn/QFQkAI3Ygaff/SeACMyLmquwc/S5sAX3 2/6uapPU6pUR+9ljM+t447D/AlxzcRkj1HfjN4jlaFejAcLPM+/IR1Q3u79ufoeqU5VZ GG+kerp7+ovrHC4Frrf6VPtm5hqfen8jACc7JN+AdLg1Vqk4vCtgFDlY0fGRMfHLHg5s bob+i4D4RbKyERMPIl9um2H/E3XZ8aBakBSAmD62IC91Dr60OR3wh4f/5pXfA06uGdoh pSIlujmIn525+w0FZAVM6xBreK1rmhKCx3HtQq33NKZ/0xn6Vljsxy1Lug0+rIiM4dq4 6MFQ== 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=JGEGO3vI4VYJFJadbxfnBi7wQknf72d81Po0z9xiyfs=; b=kFvIe7abIARRa+wh1esuPflDQvU73zuXFWNx/cWT0bDnkfKTPS4cl92cT4FyqXy+MT LlSbaERplWrYm7PfDjNCU/tkD5FF2CmBztDY+f234T/N6Ov6rAU4pfmbMy1vP5w/2bxS Nha1rLTI0uAgiQ9iYQsg1SCy+oo6NRjTP9mGmslXwyDyeiQxmgxO+D8gd6kEap7QEBFP eEAdVsHp3tY3fOEqtqjx8kS/8MONxIMAdPhG5xn8JIAQSqIMWzRDvPMXnTV5x2xp5d62 xh9gfQMJHEcHmVOdphHzW6Hamu5yQAcEZpGwDD72apISGJxlOjP7p3SGIkuHGvYEYC9n 04XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kZz+KHtE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c17si6884334ejn.336.2020.05.18.08.22.46; Mon, 18 May 2020 08:23:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kZz+KHtE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728313AbgERPU1 (ORCPT + 99 others); Mon, 18 May 2020 11:20:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:57988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbgERPU0 (ORCPT ); Mon, 18 May 2020 11:20:26 -0400 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 1BE2F20709; Mon, 18 May 2020 15:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589815225; bh=tSws2kjDhXaAFNWN68OWyjCdK+4AcxFyLFLzGGQxyNU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=kZz+KHtEmx4LXcyztl4rmU2EAXazJQFb7E8mHywQvhoHn1/5wVi5TmH9zFMDLS4W/ MiKmt+x10Jms6pej2MZzFDOjkYSYEcoSMNblOS5IKOq3bv9ecuPNIZRnnJBSu7GCXv mI5P/vnVxOyhBlbFI4Ezj8NA2S5v8JeiuE3LjRFQ= Received: by mail-ot1-f42.google.com with SMTP id x22so4751556otq.4; Mon, 18 May 2020 08:20:25 -0700 (PDT) X-Gm-Message-State: AOAM532AXu2+ODHrVl/USjh57gFEjBKY3Xj6/SQBQi8niO4Abx/WAKpk JP4+SsdoEdntaT89YyW0M+vGxKJxzww1f7hjMQ== X-Received: by 2002:a9d:5c8a:: with SMTP id a10mr8596315oti.129.1589815224353; Mon, 18 May 2020 08:20:24 -0700 (PDT) MIME-Version: 1.0 References: <20200317093922.20785-1-lkundrak@v3.sk> <20200317093922.20785-29-lkundrak@v3.sk> <20200327195520.GA2235@bogus> <20200517193451.GG1695525@furthur.local> In-Reply-To: <20200517193451.GG1695525@furthur.local> From: Rob Herring Date: Mon, 18 May 2020 09:20:13 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 28/28] dt-bindings: usb: Convert ehci-mv to json-schema To: Lubomir Rintel Cc: Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Ulf Hansson , Kishon Vijay Abraham I , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Daniel Lezcano , Andrew Lunn , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , Linux I2C , Linux Media Mailing List , linux-mmc , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , "open list:SERIAL DRIVERS" , linux-spi , Linux USB List 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 Sun, May 17, 2020 at 1:34 PM Lubomir Rintel wrote: > > On Fri, Mar 27, 2020 at 01:55:20PM -0600, Rob Herring wrote: > > On Tue, Mar 17, 2020 at 10:39:22AM +0100, Lubomir Rintel wrote: > > > A straightforward conversion of the ehci-mv binding to DT schema format > > > using json-schema. > > > > > > Signed-off-by: Lubomir Rintel > > > --- > > > .../devicetree/bindings/usb/ehci-mv.txt | 23 ------- > > > .../bindings/usb/marvell,pxau2o-ehci.yaml | 60 +++++++++++++++++++ > > > 2 files changed, 60 insertions(+), 23 deletions(-) > > > delete mode 100644 Documentation/devicetree/bindings/usb/ehci-mv.txt > > > create mode 100644 Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/usb/ehci-mv.txt b/Documentation/devicetree/bindings/usb/ehci-mv.txt > > > deleted file mode 100644 > > > index 335589895763e..0000000000000 > > > --- a/Documentation/devicetree/bindings/usb/ehci-mv.txt > > > +++ /dev/null > > > @@ -1,23 +0,0 @@ > > > -* Marvell PXA/MMP EHCI controller. > > > - > > > -Required properties: > > > - > > > -- compatible: must be "marvell,pxau2o-ehci" > > > -- reg: physical base addresses of the controller and length of memory mapped region > > > -- interrupts: one EHCI controller interrupt should be described here > > > -- clocks: phandle list of usb clocks > > > -- clock-names: should be "USBCLK" > > > -- phys: phandle for the PHY device > > > -- phy-names: should be "usb" > > > - > > > -Example: > > > - > > > - ehci0: usb-ehci@d4208000 { > > > - compatible = "marvell,pxau2o-ehci"; > > > - reg = <0xd4208000 0x200>; > > > - interrupts = <44>; > > > - clocks = <&soc_clocks MMP2_CLK_USB>; > > > - clock-names = "USBCLK"; > > > - phys = <&usb_otg_phy>; > > > - phy-names = "usb"; > > > - }; > > > diff --git a/Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml b/Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml > > > new file mode 100644 > > > index 0000000000000..189025ef1e92e > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml > > > @@ -0,0 +1,60 @@ > > > +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) > > > > Same license comment. > > I wrote that binding document and chose that license. Okay, but please make it GPL-2.0-only instead of or-later. If everyone was attentive to licensing picking their own variations would be fine, but they aren't and just copy-n-paste. So there's 2 choices GPL-2.0-only (for converted bindings) or (GPL-2.0-only OR BSD-2-Clause) for new or re-licensed bindings. Rob