Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1122840ybx; Thu, 7 Nov 2019 07:35:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwu9Yf0lHh/SvEDBQAtQnutRUsm1TTt0kVn0033lxENakqXtmWXltTfiUAoVyDTZtxrlOex X-Received: by 2002:a50:a69b:: with SMTP id e27mr4298823edc.188.1573140958557; Thu, 07 Nov 2019 07:35:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573140958; cv=none; d=google.com; s=arc-20160816; b=o0jIYAn+mxjenOxS6kVMNHYZ9bnDjvbsKb926MXtnSwfiDrm3tHN5yYZgvtUJSTeEY VqBoD42n5li+cZsyVgC8Jm+05Ldc+mH/4WgrWV/GbozsyPZeQnvQeGjJsd9lLIkTixqK dyiB4qdr2OAjqsS2G6PVUaYYiJ+6kWBzc9NQl/I2iwt2Sn7vSGs1juyx2gh+3VamSSKE dgVHWcezSKh0RzqsBhZ12XAykPHwWmF28P4i1HLwA9wlxhdLASbtyjWIQ3lj3vUWSEWU 4wkhE9/X42YD0jD1Vn3z0dFKfLFkoec/G/0N02io1Of5JVC31w3hVMVt0zdHTGTPGSl2 Tk5Q== 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 :message-id:date:subject:cc:to:from; bh=MpznFO9aY2v/a5aclYpzU927bGk5ArGThlW8uLPxOEQ=; b=bTOpUwt855ZSEmgccoBIOrSKQPIQ+QOsXzGUlH/hT1k0He5nZ4qBknjBOaAhL9CQeB KfQzORXuj7tswXxp/26PriUIEJqW5KpPJebHzpJLNQbcnfISLaGKOGi4G8tIBM79XELM c6i2DEydbl0ohCk2QGez+nrwAHKAVjfRHkmPz1Xc+fljTYFYHTiBtDGHkTgvIxmUIFZh 9mtLSane7OwE6VNNdt6y7nEhNK0uof7nSmjAOHEWhn2uIoFMM8kyyhNWh6Ea7qwyGBdC RalzbdoZR4wr7k2niPLKWze8bUP0p8BMzUjV6pYDNJWN9Dd/gifFPQRYeMTUGcoXHHF2 /k8A== 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 x26si1742597eda.404.2019.11.07.07.35.34; Thu, 07 Nov 2019 07:35:58 -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 S2388849AbfKGPet (ORCPT + 99 others); Thu, 7 Nov 2019 10:34:49 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:56341 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729698AbfKGPes (ORCPT ); Thu, 7 Nov 2019 10:34:48 -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 938F14000E; Thu, 7 Nov 2019 15:34:45 +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 0/3] Remove the USB EP configuration from device tree Date: Thu, 7 Nov 2019 16:31:25 +0100 Message-Id: <20191107153128.11038-1-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.24.0.rc1 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 Hello, The Atmel USB device controller is the only one having the description of the End Point configuration in the device tree. This configuration depend on the version of the controller used in the SoC. This variation is already documented by the compatible string of the controller. In this series the configuration is associated to the compatible string which allows to remove the EP child node from the device tree. The main benefit of it, beyond the simplification of the device tree, is the reduction of the size of the dtb which was too big to be managed by the bootloader. The first two patches should be merged through the USB subsystem while the last one should be take by the a91 subsystem. Moreover this last patch should be merged only once the change in the driver is merged. Gregory Gregory CLEMENT (3): usb: gadget: udc: atmel: Don't use DT to configure end point dt-bindings: usb: atmel: Mark EP child node as deprecated ARM: dts: at91: Remove the USB EP child node .../devicetree/bindings/usb/atmel-usb.txt | 56 +-------- arch/arm/boot/dts/at91sam9g45.dtsi | 52 -------- arch/arm/boot/dts/at91sam9rl.dtsi | 52 -------- arch/arm/boot/dts/at91sam9x5.dtsi | 52 -------- arch/arm/boot/dts/sama5d2.dtsi | 118 ------------------ arch/arm/boot/dts/sama5d3.dtsi | 105 ---------------- arch/arm/boot/dts/sama5d4.dtsi | 118 ------------------ drivers/usb/gadget/udc/atmel_usba_udc.c | 112 +++++++++++------ drivers/usb/gadget/udc/atmel_usba_udc.h | 12 ++ 9 files changed, 87 insertions(+), 590 deletions(-) -- 2.24.0.rc1