From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67507C433FE for ; Thu, 10 Dec 2020 03:25:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 187FD233EF for ; Thu, 10 Dec 2020 03:25:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729293AbgLJDYo (ORCPT ); Wed, 9 Dec 2020 22:24:44 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:44188 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728199AbgLJDYo (ORCPT ); Wed, 9 Dec 2020 22:24:44 -0500 Received: by mail-ot1-f66.google.com with SMTP id f16so3590543otl.11; Wed, 09 Dec 2020 19:24:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BPV+mbc7aH16lyR1Iy3IK6IHtEQI7lxOlNJLzhXVprg=; b=C0z+Fs4DZeylTcA3P39LK1NiYXw9e3cAFxmHBvy2xNgTrpFChgK/0pHR1zoCesZbOb gQiU+UNIvVs40OjixuT6cNseZs+9ulZxEdHMMXv2tYcsVaJZEV9qZt9CzL2o/LSCKmab qEJ4Pw/mImBiu1NlhRb5BmJArdLjLwon13U/tz/2C9ZTHp+krOZQb5NQgjECXNkxCxlD L3MRtwf9qvQ5AXwo57cc5It2JnWNcnMYcaNFB0QI3Bx4OBgkceD6zVRkrBsLooXpEdyZ 5L7T7eF25DvbzakTuPVxZFBuOLFUjisyjPDNnF4pbdKITxIhnMa1NZepZeSLH8UtwhS/ qazA== X-Gm-Message-State: AOAM531SG/ndtjNWzCb/aBgC/Emj3EAZTcrOD9pP+kPqd9uGgAb52fFD YxbzLsd2i06hVDU172mfTw== X-Google-Smtp-Source: ABdhPJxHS5abRR5IlwX+r1rqFuy3fjpJvhGxKQY1kv5d7hwo6ynHH2We4bKSmeX6t6ufoe/klKpb4w== X-Received: by 2002:a9d:5f9a:: with SMTP id g26mr4523870oti.241.1607570643083; Wed, 09 Dec 2020 19:24:03 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r204sm334552oif.0.2020.12.09.19.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 19:24:01 -0800 (PST) Received: (nullmailer pid 1590264 invoked by uid 1000); Thu, 10 Dec 2020 03:23:59 -0000 Date: Wed, 9 Dec 2020 21:23:59 -0600 From: Rob Herring To: Serge Semin Cc: Krzysztof Kozlowski , Pavel Parkhomenko , linux-mips@vger.kernel.org, Alexey Malahov , Roger Quadros , Bjorn Andersson , Neil Armstrong , Ahmad Zainie , Lad Prabhakar , Felipe Balbi , linux-snps-arc@lists.infradead.org, Kevin Hilman , linux-usb@vger.kernel.org, Mathias Nyman , Martin Blumenstingl , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Chunfeng Yun , linux-arm-kernel@lists.infradead.org, Andy Gross , Serge Semin , Yoshihiro Shimoda , devicetree@vger.kernel.org, Manu Gautam , Greg Kroah-Hartman , Rob Herring Subject: Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties Message-ID: <20201210032359.GA1590225@robh.at.kernel.org> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect common properties in a common DT schema and specific > properties in dedicated schemas. Seeing the usb-hcd.yaml DT schema is > dedicated for the USB host controllers only, let's move some common > properties from there into the usb.yaml schema. So the later would be > available to evaluate all currently supported types of the USB > controllers. > > While at it add an explicit "additionalProperties: true" into the > usb-hcd.yaml as setting the additionalProperties/unevaluateProperties > properties is going to be get mandatory soon. > > Signed-off-by: Serge Semin > > --- > > Changelog v4: > - This is a new patch created as a result of the comment left > by Chunfeng Yun in v3 > > Changelog v5: > - Discard duplicated additionalProperties property definition. > --- > .../devicetree/bindings/usb/usb-hcd.yaml | 14 ++------- > .../devicetree/bindings/usb/usb.yaml | 29 +++++++++++++++++++ > 2 files changed, 31 insertions(+), 12 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml > Reviewed-by: Rob Herring From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2C9DC433FE for ; Thu, 10 Dec 2020 03:26:24 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B2BA82343F for ; Thu, 10 Dec 2020 03:26:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2BA82343F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4Crzpg6rGXzDqvh for ; Thu, 10 Dec 2020 14:26:19 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.210.65; helo=mail-ot1-f65.google.com; envelope-from=robherring2@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Crzm67507zDqRc for ; Thu, 10 Dec 2020 14:24:04 +1100 (AEDT) Received: by mail-ot1-f65.google.com with SMTP id i6so3625873otr.2 for ; Wed, 09 Dec 2020 19:24:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BPV+mbc7aH16lyR1Iy3IK6IHtEQI7lxOlNJLzhXVprg=; b=sYdNiaWNYFcYl+Jl/CPYsxYX8h23zNYgmAOpbeUAZvDkCRWa6K8nau6z713pK1IF9P Lor7ZZjEqjSDESn0jri6nobnWTALDq/t0q6eLHJ+q7Y9FKgwU/vSdwuVKsq42eApXQES VbicqePU21nW0PpztvNFXJKqHW9VG8rNug/mw0x4SGQQLhvbBbSZp/Wa87FKINUc/c0R BzIhu64ddNpoyEVNGqWNmGdckh15e2BWe1MstbRcsr1mIHsSEFX/g7Am5zKcd4R7sV+R SiMX0sLi+niCB3p5DuC8/O8QRpo89XbuZVZpzB8RrNMBrPcxD7w2U8/6MPehPbj2IeQ7 P9Zg== X-Gm-Message-State: AOAM533PRImNbMnie0U2c82i0TSFw/Qsm7WXC383FbTszFC7F1xJDeoq ETH2nt5TIeL77E5FoY0z4g== X-Google-Smtp-Source: ABdhPJxHS5abRR5IlwX+r1rqFuy3fjpJvhGxKQY1kv5d7hwo6ynHH2We4bKSmeX6t6ufoe/klKpb4w== X-Received: by 2002:a9d:5f9a:: with SMTP id g26mr4523870oti.241.1607570643083; Wed, 09 Dec 2020 19:24:03 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r204sm334552oif.0.2020.12.09.19.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 19:24:01 -0800 (PST) Received: (nullmailer pid 1590264 invoked by uid 1000); Thu, 10 Dec 2020 03:23:59 -0000 Date: Wed, 9 Dec 2020 21:23:59 -0600 From: Rob Herring To: Serge Semin Subject: Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties Message-ID: <20201210032359.GA1590225@robh.at.kernel.org> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Bjorn Andersson , Pavel Parkhomenko , Kevin Hilman , Krzysztof Kozlowski , Ahmad Zainie , Andy Gross , Chunfeng Yun , linux-snps-arc@lists.infradead.org, devicetree@vger.kernel.org, Mathias Nyman , Martin Blumenstingl , Lad Prabhakar , Alexey Malahov , Rob Herring , linux-arm-kernel@lists.infradead.org, Roger Quadros , Felipe Balbi , Greg Kroah-Hartman , Yoshihiro Shimoda , linux-usb@vger.kernel.org, linux-mips@vger.kernel.org, Serge Semin , linux-kernel@vger.kernel.org, Manu Gautam , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect common properties in a common DT schema and specific > properties in dedicated schemas. Seeing the usb-hcd.yaml DT schema is > dedicated for the USB host controllers only, let's move some common > properties from there into the usb.yaml schema. So the later would be > available to evaluate all currently supported types of the USB > controllers. > > While at it add an explicit "additionalProperties: true" into the > usb-hcd.yaml as setting the additionalProperties/unevaluateProperties > properties is going to be get mandatory soon. > > Signed-off-by: Serge Semin > > --- > > Changelog v4: > - This is a new patch created as a result of the comment left > by Chunfeng Yun in v3 > > Changelog v5: > - Discard duplicated additionalProperties property definition. > --- > .../devicetree/bindings/usb/usb-hcd.yaml | 14 ++------- > .../devicetree/bindings/usb/usb.yaml | 29 +++++++++++++++++++ > 2 files changed, 31 insertions(+), 12 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml > Reviewed-by: Rob Herring From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32965C4361B for ; Thu, 10 Dec 2020 03:24:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E666422CA2 for ; Thu, 10 Dec 2020 03:24:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E666422CA2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rdC98xQsc0Kz2wdggVbCKun8D64fJZeYEfLBQ+lO8/c=; b=kTdhrsZQSiLoTjRHNaIa/J0ys 5yei4tzjlgWBnoTJwOQEOrgvGqEuhGjSzOadngGuZeD8CSEilUpOpYHY9GQA4cEKaoiA9T7tFu1qm Eth9NJhwSq+aHI2tdyW+oleL//GZho2ikkuk4P9H785Ve4EhNdIYIvyCmYL2RdNMpqnWpPH9X1oSK DHDAgFIQAcpKkz2Ud/0qyrtosldYPrYDTLWDooCBuPiRmAMhvGmSFikHpuZsDELjTbsZc2KHfqPDM RZevCuXCJ0YL5oXyGUKmYBugbm54L5/b2GbJmQuaXnatxAKZBf0bG5ak3x7krLFqH3Iv2Dl6TL2k3 Q5Ez5Gd9g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knCYo-0002UK-3x; Thu, 10 Dec 2020 03:24:06 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knCYl-0002TG-MF; Thu, 10 Dec 2020 03:24:04 +0000 Received: by mail-ot1-f68.google.com with SMTP id b62so3612175otc.5; Wed, 09 Dec 2020 19:24:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BPV+mbc7aH16lyR1Iy3IK6IHtEQI7lxOlNJLzhXVprg=; b=FGb9jDfsdrElVclrgGYLYEryKU2MSMapig/6rFEbeYwyuWK5v1JuLxf9eD92+Q+Rf9 QPMjLBbw5jWtUSwk9HFVsP3gwbqFRDLws6k6Rwq2A0Sf1s533H5M03zZvbX3ERlkzA5B so4wIq6Bq0KzXH6weapAFzFrLfs7qdt7ZPDD0VN1P5UskROF561czdy8WT2/nSIOqsXt GUyL3NJwS24K0tiKUleci11lR0SdjioFJIp4mMEWMDxXBa5VmeVnVM7yOM2OVKFGLQ5H s4zvRKpy+U+zEv1D27Jn2hDWURvZt7fC463C7V9mcMEPU1kxPQ5SW8ETHs4QFMYLuI1P ZiAQ== X-Gm-Message-State: AOAM532KMuzVeA25V3OBa1vPjb5s7smZKI0OJhWoNj0xTOck+93uFULO Wy6LyJUOqrwZ1YcuXsUGag== X-Google-Smtp-Source: ABdhPJxHS5abRR5IlwX+r1rqFuy3fjpJvhGxKQY1kv5d7hwo6ynHH2We4bKSmeX6t6ufoe/klKpb4w== X-Received: by 2002:a9d:5f9a:: with SMTP id g26mr4523870oti.241.1607570643083; Wed, 09 Dec 2020 19:24:03 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r204sm334552oif.0.2020.12.09.19.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 19:24:01 -0800 (PST) Received: (nullmailer pid 1590264 invoked by uid 1000); Thu, 10 Dec 2020 03:23:59 -0000 Date: Wed, 9 Dec 2020 21:23:59 -0600 From: Rob Herring To: Serge Semin Subject: Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties Message-ID: <20201210032359.GA1590225@robh.at.kernel.org> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_222403_805911_CC1E0101 X-CRM114-Status: GOOD ( 16.56 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Bjorn Andersson , Pavel Parkhomenko , Kevin Hilman , Krzysztof Kozlowski , Ahmad Zainie , Andy Gross , Chunfeng Yun , linux-snps-arc@lists.infradead.org, devicetree@vger.kernel.org, Mathias Nyman , Martin Blumenstingl , Lad Prabhakar , Alexey Malahov , Rob Herring , linux-arm-kernel@lists.infradead.org, Roger Quadros , Felipe Balbi , Greg Kroah-Hartman , Yoshihiro Shimoda , linux-usb@vger.kernel.org, linux-mips@vger.kernel.org, Serge Semin , linux-kernel@vger.kernel.org, Manu Gautam , linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect common properties in a common DT schema and specific > properties in dedicated schemas. Seeing the usb-hcd.yaml DT schema is > dedicated for the USB host controllers only, let's move some common > properties from there into the usb.yaml schema. So the later would be > available to evaluate all currently supported types of the USB > controllers. > > While at it add an explicit "additionalProperties: true" into the > usb-hcd.yaml as setting the additionalProperties/unevaluateProperties > properties is going to be get mandatory soon. > > Signed-off-by: Serge Semin > > --- > > Changelog v4: > - This is a new patch created as a result of the comment left > by Chunfeng Yun in v3 > > Changelog v5: > - Discard duplicated additionalProperties property definition. > --- > .../devicetree/bindings/usb/usb-hcd.yaml | 14 ++------- > .../devicetree/bindings/usb/usb.yaml | 29 +++++++++++++++++++ > 2 files changed, 31 insertions(+), 12 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml > Reviewed-by: Rob Herring _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 968E3C433FE for ; Thu, 10 Dec 2020 03:25:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 364292313E for ; Thu, 10 Dec 2020 03:25:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 364292313E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ujZaYG9N2rc1wZXPRiUt/L66Wx6isENiyHSXyTjCMoo=; b=PY22D8tPeaylKfAlUoYBZJmMe D7ivNZA56UB7axXYCy7F82jl5frVQIfIWi5s/NoBPuznwQLde3m2HAfHkInr0SOSygJy96PFFKytH Rikov8Nw07p4eYhxY9ImjN8AsVO6N4mfMBTgcyt2Bxpp16oBY+VxEmwtyn8mhQvWn8jWs0AecmARD 4nPU3LQh4xkCYj+rjU/sBDS1pPLddvIaugavCPlM6w2A/OQvOZj2aGdOwxDQ0CaTNj9BgFMjI6LOL vGjQfv3zF0iI0R3KtAdriF3OuAlLpnf6JntdRavZ97x2mYXiMspu4dCF7TsQUZejVq69jXjWBjGx8 n10dTz4Hw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knCYp-0002Ub-H7; Thu, 10 Dec 2020 03:24:07 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knCYl-0002TG-MF; Thu, 10 Dec 2020 03:24:04 +0000 Received: by mail-ot1-f68.google.com with SMTP id b62so3612175otc.5; Wed, 09 Dec 2020 19:24:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BPV+mbc7aH16lyR1Iy3IK6IHtEQI7lxOlNJLzhXVprg=; b=FGb9jDfsdrElVclrgGYLYEryKU2MSMapig/6rFEbeYwyuWK5v1JuLxf9eD92+Q+Rf9 QPMjLBbw5jWtUSwk9HFVsP3gwbqFRDLws6k6Rwq2A0Sf1s533H5M03zZvbX3ERlkzA5B so4wIq6Bq0KzXH6weapAFzFrLfs7qdt7ZPDD0VN1P5UskROF561czdy8WT2/nSIOqsXt GUyL3NJwS24K0tiKUleci11lR0SdjioFJIp4mMEWMDxXBa5VmeVnVM7yOM2OVKFGLQ5H s4zvRKpy+U+zEv1D27Jn2hDWURvZt7fC463C7V9mcMEPU1kxPQ5SW8ETHs4QFMYLuI1P ZiAQ== X-Gm-Message-State: AOAM532KMuzVeA25V3OBa1vPjb5s7smZKI0OJhWoNj0xTOck+93uFULO Wy6LyJUOqrwZ1YcuXsUGag== X-Google-Smtp-Source: ABdhPJxHS5abRR5IlwX+r1rqFuy3fjpJvhGxKQY1kv5d7hwo6ynHH2We4bKSmeX6t6ufoe/klKpb4w== X-Received: by 2002:a9d:5f9a:: with SMTP id g26mr4523870oti.241.1607570643083; Wed, 09 Dec 2020 19:24:03 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r204sm334552oif.0.2020.12.09.19.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 19:24:01 -0800 (PST) Received: (nullmailer pid 1590264 invoked by uid 1000); Thu, 10 Dec 2020 03:23:59 -0000 Date: Wed, 9 Dec 2020 21:23:59 -0600 From: Rob Herring To: Serge Semin Subject: Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties Message-ID: <20201210032359.GA1590225@robh.at.kernel.org> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201205152427.29537-2-Sergey.Semin@baikalelectronics.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_222403_805911_CC1E0101 X-CRM114-Status: GOOD ( 16.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Bjorn Andersson , Pavel Parkhomenko , Kevin Hilman , Krzysztof Kozlowski , Ahmad Zainie , Andy Gross , Chunfeng Yun , linux-snps-arc@lists.infradead.org, devicetree@vger.kernel.org, Mathias Nyman , Martin Blumenstingl , Lad Prabhakar , Alexey Malahov , Rob Herring , linux-arm-kernel@lists.infradead.org, Roger Quadros , Felipe Balbi , Greg Kroah-Hartman , Yoshihiro Shimoda , linux-usb@vger.kernel.org, linux-mips@vger.kernel.org, Serge Semin , linux-kernel@vger.kernel.org, Manu Gautam , linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect common properties in a common DT schema and specific > properties in dedicated schemas. Seeing the usb-hcd.yaml DT schema is > dedicated for the USB host controllers only, let's move some common > properties from there into the usb.yaml schema. So the later would be > available to evaluate all currently supported types of the USB > controllers. > > While at it add an explicit "additionalProperties: true" into the > usb-hcd.yaml as setting the additionalProperties/unevaluateProperties > properties is going to be get mandatory soon. > > Signed-off-by: Serge Semin > > --- > > Changelog v4: > - This is a new patch created as a result of the comment left > by Chunfeng Yun in v3 > > Changelog v5: > - Discard duplicated additionalProperties property definition. > --- > .../devicetree/bindings/usb/usb-hcd.yaml | 14 ++------- > .../devicetree/bindings/usb/usb.yaml | 29 +++++++++++++++++++ > 2 files changed, 31 insertions(+), 12 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel