Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1123032ybx; Thu, 7 Nov 2019 07:36:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxSj8cyont1Vq4p3tACx9PclYpGVMbUSoz0XD5uquR1QTpNbrR9DYj0e5zCgfrXojoxM7qR X-Received: by 2002:a50:8c02:: with SMTP id p2mr4282307edp.30.1573140966132; Thu, 07 Nov 2019 07:36:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573140966; cv=none; d=google.com; s=arc-20160816; b=eSulnFXRIDXrjVvZ4GAu9FdCGCi6H/RxJhsMXvj3HoRcErnj7JaZ9S3f7IQNFonlqW mJaU++kQUrMija4DDQokZYvR7tbtYebht8NMT0yqv9t48TuX/ATr4Wiej/XP/94SNmsH UaK1MNd5q5Po9xxr0CBZM0auyTguj/elyWSj8zHESKM74d5quW9hyjzpoaW5LE4ytExl 0JKFt/gzIc14b6kiUVIOoKRSVMBowfvjd0Yruq9zqHagsdt+SDtKDaMM0qCgcmg/89i6 hSwnLzk6wJF/zwcf53h9nYFK+2xh7Fv8qCLMLmMp4v6ImbTsHcLqIC2ROpjHpd+NYQK4 opxg== 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=55bWWz5fmUA4HZL1lee7bZXgYhJ0VZOXGAkc+ybVHqE=; b=hEjs645DHkQ5eoZ9nV+3qlVQnYklewtYEtJ9RCxANC8xYTE6qPQTfwTi/DJyduFblh KKbW56czLgPZnm+6MP8BkDFJyX5hwjSbjCMoTHn4baFf7ZhwZxX32azN4INLqaORc1qX JXM3pWLGBpNiCCvojU0As1mHo7ozdr/QdnyoGKuc00lBDE1fkKivc5shOexTcaAGse4l Ugvgl/gVlGcV28kZse25yjmfdwpuAex2tkWhOxujmjznbLUSyH/AgEpxJVrKESC1ft1h BdwRmAjZUJgX1IUs7sP1a19nYeqWUMXdYamvc9QSnCknrohcCtKPPnBfC7cpX3NKe/Si k+kg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b47si1710099edc.129.2019.11.07.07.35.43; Thu, 07 Nov 2019 07:36:06 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389133AbfKGPew (ORCPT + 99 others); Thu, 7 Nov 2019 10:34:52 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46547 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388901AbfKGPev (ORCPT ); Thu, 7 Nov 2019 10:34:51 -0500 X-Originating-IP: 92.137.17.54 Received: from localhost (alyon-657-1-975-54.w92-137.abo.wanadoo.fr [92.137.17.54]) (Authenticated sender: gregory.clement@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 160B640005; Thu, 7 Nov 2019 15:34:48 +0000 (UTC) From: Gregory CLEMENT To: Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Gregory CLEMENT Subject: [PATCH 2/3] dt-bindings: usb: atmel: Mark EP child node as deprecated Date: Thu, 7 Nov 2019 16:31:27 +0100 Message-Id: <20191107153128.11038-3-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.24.0.rc1 In-Reply-To: <20191107153128.11038-1-gregory.clement@bootlin.com> References: <20191107153128.11038-1-gregory.clement@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no need to describe the end point in the deice tree. These properties won't be use anymore, so mark them as deprecated to keep the old device tree documented. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/usb/atmel-usb.txt | 56 +------------------ 1 file changed, 3 insertions(+), 53 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt index 44e80153b148..423b99a8fd97 100644 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt @@ -88,13 +88,15 @@ Required properties: - clock-names: Should contain two strings "pclk" for the peripheral clock "hclk" for the host clock + +Deprecated property: - ep childnode: To specify the number of endpoints and their properties. Optional properties: - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether vbus is present (USB is connected). -Required child node properties: +Deprecated child node properties: - name: Name of the endpoint. - reg: Num of the endpoint. - atmel,fifo-size: Size of the fifo. @@ -112,56 +114,4 @@ usb2: gadget@fff78000 { clocks = <&utmi>, <&udphs_clk>; clock-names = "hclk", "pclk"; atmel,vbus-gpio = <&pioB 19 0>; - - ep@0 { - reg = <0>; - atmel,fifo-size = <64>; - atmel,nb-banks = <1>; - }; - - ep@1 { - reg = <1>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <2>; - atmel,can-dma; - atmel,can-isoc; - }; - - ep@2 { - reg = <2>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <2>; - atmel,can-dma; - atmel,can-isoc; - }; - - ep@3 { - reg = <3>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <3>; - atmel,can-dma; - }; - - ep@4 { - reg = <4>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <3>; - atmel,can-dma; - }; - - ep@5 { - reg = <5>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <3>; - atmel,can-dma; - atmel,can-isoc; - }; - - ep@6 { - reg = <6>; - atmel,fifo-size = <1024>; - atmel,nb-banks = <3>; - atmel,can-dma; - atmel,can-isoc; - }; }; -- 2.24.0.rc1