From nobody Thu Apr 9 16:33:19 2026 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F187738A708 for ; Sat, 7 Mar 2026 09:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874992; cv=none; b=qLhJXSUGL6NN5GCksy67U6WejVGBpYgGhPoem/FWJPM39/ghjT/R/GHRHyam0bX2m1vRSiMuGKMig+2htNBFzUkrqPxFlAdR/915saJCdPyxpR1tZc49qtVYHPmHriKayKXimsvTapnk6+sJ9+ODbxm/WLJK8OC8VYJobVum3W4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874992; c=relaxed/simple; bh=TOgEHLNDuV9hrgCrgPuAtFhAmugJ9ogGw2s9HsU/IRg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mGA9Sjux3tMJi832q1+7bEp0GeBu+k4ATA10Vy57xnkq61c25nmNU/27v8HlHDEcwsQnHeNulMzVw261TASvGpzl0lR/kM78wtEqABRO983QIjmxUPbFveNFhS6wADFE0wa43EyQoYYhHlcFP3zXZtzF6/96Rb5mZVYTwoFWMfQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YSJFScSH; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YSJFScSH" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2ad21f437eeso72158575ad.0 for ; Sat, 07 Mar 2026 01:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772874990; x=1773479790; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7ycKvNZw221jxVdyVNWLOsWUbPtsOR7YJ3JJodsI6vE=; b=YSJFScSHC6naSRjwLeTGtw5mSGYVEiDCiVbjHyeaA+Iy1Wd+AITa2fOpHYgPgLk/jq 20y4FZAdKzxjy5XUaTpMQMgWdwKkUJHYQA4Qv7/J7bTS0Bd2iZUFCzyumR4hX5JHq4rr hV8IKDZ95iBcLDi4h0ICdhH0iatO+lUIYI887MOjjL2lUcxmJGhhpxHEqArh6ooHLxL8 DrW3zU8PeFwysBEHzBW/QoVeZN6528VwKBFXgqYAr0cLB4SFwHmxD+K/pS6JzIkTazWQ bnROpJUqphlc3DCGjd46LIlzYlbmqNg9k31t3cQcFlG9L6AwEMmAFxG0evZ9RVHyqAZA /H0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772874990; x=1773479790; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=7ycKvNZw221jxVdyVNWLOsWUbPtsOR7YJ3JJodsI6vE=; b=aLsjo9+WhGH5XhXOeo7D5wgGsoNEyYuw/mHPlRX1K92TGcrQxgx8wP4LpSsoPsNXlE nM0+ytyJh1wOa+vPQ+ya24L/yQkzEQJ0j5Wj/3lKac015G2tmnIcmkjrCssvO5PAIBNM KIVkreL67QONXvrqke6UGaVmGQdOMgB00TZSWqyapRYWU1skxYQ9nP6u29MtjcNBbhdH /9Pz9kfEIuNPDsn4l+dSE7gr0MriNMupGMfFJMxOitbHRUKGqQLcvQsOWBhF8S9rMzaP wzpqHZF1rp/iQaJRV60vCYadCexew3ZpU//8CZiVvzeIaYvhZMYEa7hTA+i8XXmrBo+1 R8Jw== X-Forwarded-Encrypted: i=1; AJvYcCVdKkpz2+EXOIgUZ8dJTxrmMKGkl8wx4AntAduaWy1axEoyN4AKIZ2Q8p6VEz/WPmOkQhUPG6ezg4VrR8U=@vger.kernel.org X-Gm-Message-State: AOJu0Yy0tZnQoQ0610DncJfWwwbfBZP71xvxqoAXrQfxSeUM7HkYdW+S mj79WUJUuF7WlkD0p3vqC4FvMe5jgXBYybafBJbd3G+SfEdEDxHC6DKV X-Gm-Gg: ATEYQzzA/yGjLGGRl6yQi69kGX4yWjxzPWAvl8IPbhP1UEPzESn9Il1NhfUmtAHaqpH JbRM33TePjpeNFjtYjnW1grK2A+DG/LHgxuzHUjgnrcGsRAx++M8BvfEbXxrHGy6dPGkCzzlH+G OwAwA5nZAWVYNU9N9MmjSO7IR/o8FamLl2VL/L4GMCMV4pzC2CYDmAj0R0357iw6qCEzt/jLFAX in2nkEpu6VZGFSipdTgUIJ2IPjkgI16UGyvNw6WFKAm3KoOmH+fWDhXvF09+HLNmKbaACO8faew wJ3iqXOYTbnH4MeY8Hllq/WJkJoBc7xaZoT0HY227OyV95XNMiPCHRNvrryBBnFjp/b4IKDbPIQ vwG9fdukKFvy80S/LsiQmXAYcM4WrCZb4I+x9FBrbuOalMQ4Opi7/BHIjCF3BDjKmgUji2Sh2lC VGqNF4021xBy9r9jxizDUxRcdWFH6nk1/MW+RANOMhJnw= X-Received: by 2002:a17:903:3c23:b0:2ae:4ef0:168e with SMTP id d9443c01a7336-2ae75b7e02emr98819375ad.13.1772874990333; Sat, 07 Mar 2026 01:16:30 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.215.222]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2ae83f74e4fsm45569385ad.58.2026.03.07.01.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2026 01:16:29 -0800 (PST) From: Charan Pedumuru Date: Sat, 07 Mar 2026 09:16:18 +0000 Subject: [PATCH v3 1/5] arm: dts: at91: remove unused #address-cells/#size-cells from sam9x60 udc node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260307-atmel-usb-v3-1-3dc48fe772be@gmail.com> References: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> In-Reply-To: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 The UDC node does not define any child nodes, so the "#address-cells" and "#size-cells" properties are unnecessary. Remove these unused properties to simplify the devicetree node and keep it consistent with DT conventions. Signed-off-by: Charan Pedumuru Reviewed-by: Claudiu Beznea --- arch/arm/boot/dts/microchip/sam9x60.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/m= icrochip/sam9x60.dtsi index b075865e6a76..e708b3df4ccd 100644 --- a/arch/arm/boot/dts/microchip/sam9x60.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi @@ -75,8 +75,6 @@ ahb { ranges; =20 usb0: gadget@500000 { - #address-cells =3D <1>; - #size-cells =3D <0>; compatible =3D "microchip,sam9x60-udc"; reg =3D <0x00500000 0x100000 0xf803c000 0x400>; --=20 2.53.0 From nobody Thu Apr 9 16:33:19 2026 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFE1138B7A4 for ; Sat, 7 Mar 2026 09:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874998; cv=none; b=YjtbNylfhEEWo3lzvQeMXfwkIREDlkTpNb3Rupii8l3t5+vy2PEKuiomscDKsJEat/FYQlo/SRhEwrjaC3wOjjnqh8zMSJhhF2yVjA6VGbKA+UyrDduNroVNuBC4/qCwFsqY/6SZcUrHZD96d7+HWHeW8GToWeVYohKCy/rAU2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874998; c=relaxed/simple; bh=dloQM5j6GGXl6pXKT9QuqBOKOBUfSZKFqBxV9h0h6lc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=taLHK84sM9rKIzlJwwZywLpUT1nIfic8dHIDXKDUm0S4Gqa3FkhEKi7k54LNXPXxnK8tWg3Hiu2Kg+5XXUDwvu59ny2C9U73nOMaYW5eKy4RBBS3ClN8Y2ljkKhG6dQjPkAt7VleWw1qDCZcx9SnIZUUTWB+peITd/JSAN9lHFI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bphnJWki; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bphnJWki" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2ae4d48dc2fso29610125ad.3 for ; Sat, 07 Mar 2026 01:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772874995; x=1773479795; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bW3VZiLdDmix0hxhYvm5DhZwcyWfk2K5eWWffGvWYiM=; b=bphnJWkij258Koozowl+Gl5dieGHmXci+R44bFLd6RvAX/kmlpIMVCsv9V1pxpBAXB suUt0TOjb3LXLMRXNMMMPrMyqAuhO2a249SRCmaf3r/frFOqCdbARKCYfH0ezIAuCO85 FJrnKlN5ePGHJu2gyKncnYwRpc/6TBFXRN1paZb1mLq5+3WKieAqJjyewSabecLnyXek 3UMaRxdO9b7aaNLlrUZWuai45qsPwpp3FwaovJpdXE7CNZBSL1PnarA8PEXgzc+IBFCy ElRFyt5c7ZrnroLZo8zYP8ItOviZ9LhVHVQFgmermdZl+TPAmJme5g6g49glH0A7RHpx kmwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772874995; x=1773479795; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=bW3VZiLdDmix0hxhYvm5DhZwcyWfk2K5eWWffGvWYiM=; b=PTJPffab98EJRnEwB7csvKAw1fls427/TJkCeiTlXJxS60IMRKJTnhrORFmUxWHIg0 V95U4erClQj+mYCDFyumH1clIZZoUYXL61XatUeo9FPk0AogqRcWHptcYmhBp3gOIywy sQiOgiwfl4zmlvjxFpSCjUZtCOzV6ANcZO6ElXADQImvH6hmxwh/FTNPF/at8MAXZ98f tDOBNIyESlNMkrBpIOg1tnfH807Fu4uHHCxSQopj0ynwCIp3e4HQs9sInnZcJIimnDgQ 1F0zxpwK20vXWP9oiqii0AMq9oNORSD3NWyu3xKGRABTG50gag3qa7W5/gZFj7eh3AhO b6Ew== X-Forwarded-Encrypted: i=1; AJvYcCXn0nq1ljymBzI4eeJXs6RFkmHnVGsO6Le7YkZp4Ov2AfOyxIOAEVVvnqmokqfh/5FTvevD6lSBBUv+Jm0=@vger.kernel.org X-Gm-Message-State: AOJu0YxfDOxMjdbq8gA9sKAR4rhw3QYfzGkMfhuFhpQOdwOb1kO8rhW2 l7KmETtbTf7GdPzQTwtPu/kVojjuSIIE9ElMbWU3HIxPREt9a1pBqvO0 X-Gm-Gg: ATEYQzwvWdRLDIUOP7ipUhRGAIo9ruc7HjbIigEOQc8Chn/Dz0sQe/OZsA/T0Hnxr+c CO1KsfoQiXVQ7Isaq+7iG6BvscWPVsxvCIx6i9GBNDbi+JwCSh2NcrBjxPO05742iedI+CA8yXD MrQjukmz9njCpF0OkkN31HBLPx+oUK8WDV+toudV4u132bSprQ5RWA03pNT2v0ABtj0F9ylN48Z 2/qV/fEUZ9V321HWgxbzqECzbg+MmXzIj078L+znICrTIKdNfksZCsAfnXf0DTdI17ubRwQaoOE EsI7Wfo9466JdM9ncoluf7AEnD4MJZrtUXDf2jq0FQk8s2EF4XVHvMgRq6QLovYaP7iqSLgNq6R Ad9498VunSKI7PFPzOdQ5WCqwMUA3NgSmg8VzuzMrV+65nhBi0Ys9fq751GaHznoKRIu4m+JXFm BdCZyo5KkHcaSJO+AThuWgOaU2r0lVt4Zxj7kJ1owADyGONzmwPd6lDA== X-Received: by 2002:a17:903:120f:b0:2ae:670e:309f with SMTP id d9443c01a7336-2ae824f4d5fmr50056685ad.34.1772874994942; Sat, 07 Mar 2026 01:16:34 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.215.222]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2ae83f74e4fsm45569385ad.58.2026.03.07.01.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2026 01:16:34 -0800 (PST) From: Charan Pedumuru Date: Sat, 07 Mar 2026 09:16:19 +0000 Subject: [PATCH v3 2/5] dt-bindings: usb: generic-ohci: add AT91RM9200 OHCI binding support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260307-atmel-usb-v3-2-3dc48fe772be@gmail.com> References: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> In-Reply-To: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Add binding support for the Atmel AT91RM9200 OHCI USB host controller to the generic OHCI schema. Signed-off-by: Charan Pedumuru --- .../devicetree/bindings/usb/generic-ohci.yaml | 33 ++++++++++++++++++= ++++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Docu= mentation/devicetree/bindings/usb/generic-ohci.yaml index 961cbf85eeb5..a8a94b9c1fee 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -55,6 +55,7 @@ properties: - ti,ohci-omap3 - items: - enum: + - atmel,at91rm9200-ohci - cavium,octeon-6335-ohci - nintendo,hollywood-usb-ohci - nxp,ohci-nxp @@ -137,6 +138,16 @@ properties: The associated ISP1301 device. Necessary for the UDC controller for connecting to the USB physical layer. =20 + atmel,vbus-gpio: + description: GPIO used to control or sense the USB VBUS power. + minItems: 1 + maxItems: 3 + + atmel,oc-gpio: + description: GPIO used to signal USB overcurrent condition. + minItems: 1 + maxItems: 3 + required: - compatible - reg @@ -144,6 +155,28 @@ required: =20 allOf: - $ref: usb-hcd.yaml + - if: + properties: + compatible: + contains: + const: atmel,at91rm9200-ohci + then: + properties: + clock-names: + items: + - const: ohci_clk + - const: hclk + - const: uhpck + + required: + - clocks + - clock-names + + else: + properties: + atmel,vbus-gpio: false + atmel,oc-gpio: false + - if: not: properties: --=20 2.53.0 From nobody Thu Apr 9 16:33:19 2026 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C1A138B7B9 for ; Sat, 7 Mar 2026 09:16:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875004; cv=none; b=mDj28FobTTYUMGqllJTvBbBUprAAoDPTDTlNdGeRQI/3014RLTIOblCTpQ45K6MC8x+2n1hMQ1si9judU444Zfy0YRPR1EMIQPmzhWIrF7YRo5Nfzv380ls6QXa/H1Li+PgLemOBVe+unLRnTuvj2R1MiIuBi9Mhe1rgZbIPX4M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875004; c=relaxed/simple; bh=cH8XHDO7Gb80UhJfjApmC6lvcN1SnHge5zBEZqU9hRU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uQ2py5kxfwZzi3PFfWHBbFW6vQizglO1q6Q53bJxOvJy2b9g2tbqNEBlpM9qrAr+3NPH/9u5EQKFlGgTr+hUeJVicMZLazjMS0CSQzxhHg18vmYFA+u0nFH65frVWFrZRAA/onCdACydBD2nEbf9qDdEUSnN8R78yikhLB8G7Qo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=etzpPrPG; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="etzpPrPG" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2aae4816912so66977585ad.2 for ; Sat, 07 Mar 2026 01:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772875000; x=1773479800; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=OPJqfUemt+ZKLj6gPNDYrb4MQbmVYu6fyinUsFcbIMs=; b=etzpPrPGWmZMc6eJYL/dYyinbx01HcmnE1OBJXbt9zXbG+5wazbGypFBDk1HXlzSpd +KWMGBYQEvn0ObbAgbroHaDpjdEEgD2F2lPBh4eRfAL1ILDCi9Q1c9zln9yPFKLrAuZe hOxvwHl1YyJ+Rr76HpXBo67/G2tkF1Pfic2lzAyJgwrx5Z8tY+z492Qo8eIo+YsR2ON9 /yeCWbLoERBDHhkzZAmMtOJcO/KKNaZxkhmCj/fhedNsLN5mxeTmJPTNxQc/sZ4HYF2C iKR+AmLWf/s/fnVkLfYaKL922hA2qOb+bl9o+eQW247PctAQ9l94/NEyBVYCa2olbTX5 qlUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772875000; x=1773479800; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=OPJqfUemt+ZKLj6gPNDYrb4MQbmVYu6fyinUsFcbIMs=; b=IhD7YRKJz18ieufJ5ggcsShGh6ILakQig62j6lifOlt5pCTpxK7qqVJk29+V4F1rsK KNGBSt0SlCNWJjv0DUI3f6wNdKq4gyfdDGTArLgx+C/FIQ5m+UWYF50/9GIrwPIo5mu0 hrbNHPC3tgP/d05VViZs1YgMjPt0jxIN6lQzW++EDSbPxvQNltUIdlrKnhi6S2OMMW5Q 6Ov8p0bHhGu5hy2FJUglWGQzwbc01Wr7MBjGOcM+lFxD4+5JYtZt7gnNq8OxAkG6AVBp I3ayotB//D91QK2jjxCEJeUDig1IMvJrF+1y7aNBSEL+doyFGhTle8yFEcTy49KAxQD0 Eiwg== X-Forwarded-Encrypted: i=1; AJvYcCVobYxBqsWykypVeAaefbZXheARZg7FINTYD7masSSu309ze5+0c50XfcSCzmSQ+Sued5m53AEYCE1FTtA=@vger.kernel.org X-Gm-Message-State: AOJu0YzDs7D0Kj+gVQpQ21Jz3TLcSj1xzlqIjQYpcCD+B3bdkIGKPbE2 00kQMWXD5VXBUaj+CwsVWwWRE+F+7J0ULCxzJL6EeSkIlbZ7dK7Hzrm7xjT4EA== X-Gm-Gg: ATEYQzzQL8/jS89izljdQxpfnoYSzvWRym1abdu9ZdvXFPdJnQ4WHEItwy+wFNFfR4a 4OYKZIdPakAztancgWP81e/pgHoCTnz51vx1jRgVp5gK8BxpQcTidAsARY9tGU3v1Plzu13hMtW NTjca11hhFwH6Kb2VJnas2YvvE8vrjBx1ffPplTq1xay317nvQDZtGY/BGQ2xhlPZoAQ/N1iXLf b5Hf6gpHo2vuUfR4TdYqSgIbEqZ7X0CnL3may9himvp1BbzXEUV7qnrssv9UOIoYSCM/YnXpj+/ y6KReSq3TtDCCYIbvHapczci6cCh1cCm7LNV5886abTca2+cI8EPkaOEB3s1KVVtUvWZclXZI2N cQ5I9pFbAGaiJn0W1zjI4BWfpNvT5O0WsKPbE33uhdnxmM3V6bnU8/HB99/dnhAqtMvyEbO7kcR wywaIdanLgw6Dzbw/9IfC5yRhjM2mdW9vC77q8uuzYAeY= X-Received: by 2002:a17:902:e5ca:b0:2ae:50ec:fa35 with SMTP id d9443c01a7336-2ae823a90f0mr55806145ad.24.1772874999680; Sat, 07 Mar 2026 01:16:39 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.215.222]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2ae83f74e4fsm45569385ad.58.2026.03.07.01.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2026 01:16:39 -0800 (PST) From: Charan Pedumuru Date: Sat, 07 Mar 2026 09:16:20 +0000 Subject: [PATCH v3 3/5] dt-bindings: usb: generic-ehci: fix schema structure and add at91sam9g45 constraints Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260307-atmel-usb-v3-3-3dc48fe772be@gmail.com> References: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> In-Reply-To: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Add clock and phy constraints for atmel,at91sam9g45-ehci and reorganize the allOf section to fix dtbs_check warnings. Reviewed-by: Rob Herring (Arm) Signed-off-by: Charan Pedumuru --- .../devicetree/bindings/usb/generic-ehci.yaml | 46 ++++++++++++++++--= ---- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Docu= mentation/devicetree/bindings/usb/generic-ehci.yaml index 601f097c09a6..55a5aa7d7a54 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -9,19 +9,6 @@ title: USB EHCI Controller maintainers: - Greg Kroah-Hartman =20 -allOf: - - $ref: usb-hcd.yaml - - if: - properties: - compatible: - not: - contains: - const: ibm,usb-ehci-440epx - then: - properties: - reg: - maxItems: 1 - properties: compatible: oneOf: @@ -167,6 +154,39 @@ required: - reg - interrupts =20 +allOf: + - $ref: usb-hcd.yaml + - if: + properties: + compatible: + not: + contains: + const: ibm,usb-ehci-440epx + then: + properties: + reg: + maxItems: 1 + - if: + properties: + compatible: + contains: + const: atmel,at91sam9g45-ehci + then: + properties: + clock-names: + items: + - const: usb_clk + - const: ehci_clk + + phy_type: + enum: + - utmi + - hsic + + required: + - clocks + - clock-names + unevaluatedProperties: false =20 examples: --=20 2.53.0 From nobody Thu Apr 9 16:33:19 2026 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 464B138B7D7 for ; Sat, 7 Mar 2026 09:16:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875007; cv=none; b=KF5qVASsVvVcvf6SlvmDp+3C/3s/ALLeGXghePRQNhHuiSmLiNzV9Ip2woRO7elKwBKn8Th/hS2no0hS52qaQvd1DC1CUb7ETkp8DYDKh46hCKspCWAkXHJB3encsPx0mCx63BMXp3824aE8/jpdDNs1KKsKpb3XXryU1peRsK0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875007; c=relaxed/simple; bh=cHGOkmEi7kEv574uRE3wxo7Vs0FFYhaJov3npYQ2EA0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QPSZp70+/LhEliM3RmojuvoWhMCEYSrlsz5gOT8iXSkcHvN0WQVYKw5EXt2zxSNjIvYGh+vjKaZV9Ny+GPn0eAXSgwvcDZmi6xH2JTYZ/5H6NKAN2Y00KXLfW8FJmc2e2uKJ+xyBftvGkiIeRZ3UE+1pUNM24x1LAtYyo/amMGo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=f3k6UtwX; arc=none smtp.client-ip=209.85.216.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f3k6UtwX" Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-35994d84c6dso2673591a91.2 for ; Sat, 07 Mar 2026 01:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772875004; x=1773479804; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hFLYMx/eMQ8fDIUE754jWtNcFJvcsDGeyQ8yrn2Ek8U=; b=f3k6UtwXL0htF/MiMQ5fmtgDhHq5YafvgyhQ/KtbIch0nK7VBPAaPEvk+mRZH42TkQ 5qd6NK/CvBMYfcblSvZtwbT/M1PUmRIGUn6mCJK/ssM6iqZLCZgcH/mq4emqKg6LUH52 JeM518FBJmSn/vcW1DRbah9C5Q3W+WB8DgB7eUixIqM1HbXkNlqI65FvPAOB+aE3T0NT QSCUHZ/mlS5wFcJRU6giAXnphCQEwx0nBifNupQ2Kquj0CT/naqIQQIo/JSbZBIbcsAx tZnWE6RuH7yupinFZdt1UJKzOJLhVD0+xx5dDEO7GaHsEaB+WO5zehJhFK0xKloVx5mL ob6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772875004; x=1773479804; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=hFLYMx/eMQ8fDIUE754jWtNcFJvcsDGeyQ8yrn2Ek8U=; b=AHY0Td0iDOCfTV8cWHstGUol5qIMVzIOPe771WPlmZqF51y1YYTWIFfsdE/tQ21Yow YYU11SRysEYEguBnavexba8BmqofYhsuMM0r/M9FbhHrY71p+ot9oclhHimP4vz7bnIm TY2xck6id8pgYFsSP3f2WP1Xns5LPq29kZrLWuF+yWTtY4f/2IzDW0H39dltTy71IucU mmnWbyDOh4YBVU7x5hdRR7wYcsKQcZpx70ghhRibzxoYj9705QtntzwfjKfE3Yr2YMJo EvWh2r11RMd93QfF9cnxhE6lHTAx2ENpjDcfAyRuo5wpKduwFwZzcE9VGmMWpeKVt6C0 nc/Q== X-Forwarded-Encrypted: i=1; AJvYcCW18RkCyyCqhGbFZdlflCJsvpihaSEZwkBiMkicaHYcsF3B3Emq/BpyWj8TD7Is1tNl7gigGfDodegB/Nw=@vger.kernel.org X-Gm-Message-State: AOJu0YyH+H1DRz708GvgIoA91yTq6ABC23V5czYU4YK2eWUAivvBgWIi ljN68voA5l+86a4GPDN1sRTaroYVQT3LdoErI0pbHCafzT18OUfbQPCA X-Gm-Gg: ATEYQzwwsRzeacd4TKr9yAzYc5IzjHfoS7tYZfhCYOFbrfxjJXpHnLJSkk38724lo7T 6WNdOStA/grJWd+881NlmwwOx5jDS5q2KhuUZ/AFoSFCVtLCBZ8BziF5VM7RNaKjDJZxutSni6a PesOSE8BdJdgDF6EnglHHc+lna3u9kAD0PS+7hJeSmpCqqmQNGY9w3NiaVW3HMfr3/KsVWH7swE ReyQs4QsajFvRFXwSUJS2iyK8MPL7KJFH8OGeitRld7xceCYYwXGgFxSKz5xmXI+x6i9QwX2iaX M+i47i/UTcFODjVanycmNO4VpVxwtIR4wYGHfA3MQJy1wdFj0itCttPXVNcm5hgNTKJQrrMhVO9 K4cZSlyMqhiyLoCobUJnvvTRl2VyMZ2sFAastE7efCXcOnuly9rRDALzapPMnqPWlagSOIkfLTF d+BAO2BRSxu3pdFtoBkSRwW5iPp7ySyxHwuKLLfrC86v0= X-Received: by 2002:a17:902:ce82:b0:2aa:ea8e:f118 with SMTP id d9443c01a7336-2ae8241ddf9mr59199385ad.3.1772875004376; Sat, 07 Mar 2026 01:16:44 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.215.222]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2ae83f74e4fsm45569385ad.58.2026.03.07.01.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2026 01:16:43 -0800 (PST) From: Charan Pedumuru Date: Sat, 07 Mar 2026 09:16:21 +0000 Subject: [PATCH v3 4/5] dt-bindings: usb: atmel,at91rm9200-udc: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260307-atmel-usb-v3-4-3dc48fe772be@gmail.com> References: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> In-Reply-To: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel AT91 USB Device Controller (UDC) binding to DT schema. Changes during conversion: - Include "atmel,pullup-gpio" and "atmel,matrix" in the properties since they are required by existing in-tree DTS definitions. Reviewed-by: Rob Herring (Arm) Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91rm9200-udc.yaml | 77 ++++++++++++++++++= ++++ 1 file changed, 77 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yam= l b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yaml new file mode 100644 index 000000000000..6961cd5d5d89 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91rm9200-udc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91 USB Device Controller (UDC) + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel AT91 USB Device Controller provides USB gadget (device-mode) + functionality on AT91 SoCs. It requires a peripheral clock and an AHB + clock for operation and may optionally control VBUS power through a GPIO. + +properties: + compatible: + enum: + - atmel,at91rm9200-udc + - atmel,at91sam9260-udc + - atmel,at91sam9261-udc + - atmel,at91sam9263-udc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: pclk + - const: hclk + + atmel,vbus-gpio: + description: GPIO used to enable or control VBUS power for the USB bus. + maxItems: 1 + + atmel,matrix: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the Atmel bus matrix controller. + + atmel,pullup-gpio: + description: + GPIO controlling the USB D+ pull-up resistor used to signal device + connection to the host. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + gadget@fffa4000 { + compatible =3D "atmel,at91rm9200-udc"; + reg =3D <0xfffa4000 0x4000>; + interrupts =3D <11 IRQ_TYPE_LEVEL_HIGH 2>; + clocks =3D <&udc_clk>, <&udpck>; + clock-names =3D "pclk", "hclk"; + atmel,vbus-gpio =3D <&pioC 5 GPIO_ACTIVE_HIGH>; + }; +... --=20 2.53.0 From nobody Thu Apr 9 16:33:19 2026 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D74D238BF83 for ; Sat, 7 Mar 2026 09:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875011; cv=none; b=KfAh33oleGda1OQ+niIbJi79/ATCuXlLxxHCBUbKQEU6DusjY8TJr1h3jf3q5fTzTjVTDgAlyXRcVrtrLqQHxa7w3hgvidpgRmoj8v2SUQvptEaJDr9QHsQfCZqJ2wkkNC5gIuhDxu5nCN60DMZbDnMLw189neFZx3abT93m4Y4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772875011; c=relaxed/simple; bh=Ou/iWbGxGfkOAQnnYdsiwLR4UjSRY4YpC1Wp6DcAXIU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XyQ3CTobh8ff7wIdzVXnd/rJPMCKCJoA5EBdlLum9SCu8QeNVjdVEptOO3g9XKqnkayagnnHKdar2mgEEQuLIuNZkr6kkgpkZTV/fpfS3uOksAWPj/uIzy5VYQPx6YvnEbuHxn/6wT4XhH3RnrsP5u4u/ZlacCBCi7NpViV/nvc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BXuTpC/8; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BXuTpC/8" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2ae46fc8ec1so45538505ad.3 for ; Sat, 07 Mar 2026 01:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772875009; x=1773479809; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=x7aE/ahuMqPx7JTjIMjRyrjOLyXEOk45Uib8bjVom3c=; b=BXuTpC/8WMaKt09i6SZ2B0YgiDxUb4K/wuKRkcAUZH/uWxvgZpTNJYbwDylcgimYoq mfLb47CgtM4jzqFN+odLFKEXVdaF/AOXwqpZsjt70wAvOxWkvk8PUUApgUGLrIw/xTcw 82QAhAyPH3o1Bu4UMXsU5/+NdGHN6BRLCi+8HNPLmgI/GifjV6Q08vczEC8Zd+0losVL QlcsbNcF2TRAU5n2i/FOnM99a3i8ZUWvcPnHhJ57EENUR6uIuSUMsyiHZ49HsggjqOJr 3yJTyzfok8U0TltQEhfK6TcjjiraHZy6pXy+8WHBY/KcAmRNtCGrO08iy6xtykU3tiCW mNXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772875009; x=1773479809; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=x7aE/ahuMqPx7JTjIMjRyrjOLyXEOk45Uib8bjVom3c=; b=b2/cTQvNqZpUrYzfAPR3LwcwuDyTKI7ejhWNppvoMqSoMxvTUNirOoq0YyxBd51ktu q3qI6EQOQO4lb3MPmccD75ffog3wWrtpQbfkQOT06/JzeYwuRwBpjdSX4mMxHzgxxgsL Vhe75thcvmdkN+CX75/0/2UTipAknUzLfdngKxTIqQj7dwljQEisWV4D8QUQXW0yq3DX TxQCI9df4pMQHqpt39xgdsTmp6rNUFiyB942SIW+VoYOm7cQbp9Zj5EJDa57XnXbEwAi GRWZJs6VXRksIK6At39KiBuX9kANntjq2XsSUrjiyNEYhT20WIQ4I9dyvh60RcH5iFHu 2Ysg== X-Forwarded-Encrypted: i=1; AJvYcCV7oTC/hObfE8pDrZ62tTdGJqViTKsaVdMNZ7BlrNhZvEWSu3kbhKwZCEeTKVEg/SY+aeVCL/ByojsCCqY=@vger.kernel.org X-Gm-Message-State: AOJu0YwjbjUZJXJJdtSaH5ShP/M1h793/LMOeEZF6eccDYJPJ/gIMBGc 1YExE+xrjxWKsjWajbixBc7INpJWxXnwwX2ZHP4dU2aWtzVSXt6ZCjTU X-Gm-Gg: ATEYQzz+U/1xP1KKOobzeLsOeA7G29ODAi4mdKN8GURZscXLDZdNrZqG/J8p5TyTyDK lW3Ydm9TNqKvdpW7UhdWnf7tVSVmy6v6WbjlDgGV3KGOkmPnREbTfcTQy+vEFHvH/Kq7c4OH7MG 1czFUKRknR1Tk4/ZhYYpz27r/3c03+leo+PICySZm8Mp0TkD6E6feHUbYkjDuEx0Rh573mZBMQT Wqv2LUSuCxPwNfFoB2dwJnQ+xHHK7GyLbwbM8KMV8/DjyexTiB0Y5URaLykzzzKp4TQVBw7S6sV HhWdLC/foWYbeDoy3SW532SZzigD+uApHjDh9GA1lYnaBx+1KTjWBXbuhBdnYCPI4vc9mjCdk08 mMzInpukQRWzs/6RfYov6+aUsb3Z4oWjStmVYE6BHGKW19r3weBQpWcVFOTSB/7Y6tIwlhVCZqZ +9Gl8siWgKNSEZg61H54YUJVJrB4rvnKIFmdWaUA+2hEc= X-Received: by 2002:a17:903:234a:b0:2ae:5eab:1338 with SMTP id d9443c01a7336-2ae82366c81mr45397995ad.8.1772875009109; Sat, 07 Mar 2026 01:16:49 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.215.222]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2ae83f74e4fsm45569385ad.58.2026.03.07.01.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2026 01:16:48 -0800 (PST) From: Charan Pedumuru Date: Sat, 07 Mar 2026 09:16:22 +0000 Subject: [PATCH v3 5/5] dt-bindings: usb: atmel,at91sam9rl-udc: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260307-atmel-usb-v3-5-3dc48fe772be@gmail.com> References: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> In-Reply-To: <20260307-atmel-usb-v3-0-3dc48fe772be@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel High-Speed USB Device Controller (USBA) binding to DT schema. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91sam9rl-udc.yaml | 75 +++++++++++++ .../devicetree/bindings/usb/atmel-usb.txt | 125 -----------------= ---- 2 files changed, 75 insertions(+), 125 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yam= l b/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yaml new file mode 100644 index 000000000000..55a0e062b04d --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91sam9rl-udc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel High-Speed USB Device Controller (USBA) + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel High-Speed USB Device Controller (USBA) provides USB 2.0 + high-speed gadget functionality on several Atmel and Microchip SoCs. + The controller requires a peripheral clock and a host clock for operation + and may optionally use a GPIO to detect VBUS presence. + +properties: + compatible: + oneOf: + - enum: + - atmel,at91sam9rl-udc + - atmel,at91sam9g45-udc + - atmel,sama5d3-udc + - items: + - const: microchip,lan9662-udc + - const: atmel,sama5d3-udc + - const: microchip,sam9x60-udc + + reg: + maxItems: 2 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + minItems: 2 + maxItems: 2 + items: + enum: [pclk, hclk] + + atmel,vbus-gpio: + description: GPIO used to detect the presence of VBUS, indicating that + the USB cable is connected. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + gadget@fff78000 { + compatible =3D "atmel,at91sam9g45-udc"; + reg =3D <0x00600000 0x80000 + 0xfff78000 0x400>; + interrupts =3D <27 IRQ_TYPE_LEVEL_HIGH 0>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_CORE PMC_= UTMI>; + clock-names =3D "pclk", "hclk"; + atmel,vbus-gpio =3D <&pioC 15 GPIO_ACTIVE_HIGH>; + }; +... diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Document= ation/devicetree/bindings/usb/atmel-usb.txt deleted file mode 100644 index 12183ef47ee4..000000000000 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ /dev/null @@ -1,125 +0,0 @@ -Atmel SOC USB controllers - -OHCI - -Required properties: - - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers - used in host mode. - - reg: Address and length of the register set for the device - - interrupts: Should contain ohci interrupt - - clocks: Should reference the peripheral, host and system clocks - - clock-names: Should contain three strings - "ohci_clk" for the peripheral clock - "hclk" for the host clock - "uhpck" for the system clock - - num-ports: Number of ports. - - atmel,vbus-gpio: If present, specifies a gpio that needs to be - activated for the bus to be powered. - - atmel,oc-gpio: If present, specifies a gpio that needs to be - activated for the overcurrent detection. - -usb0: ohci@500000 { - compatible =3D "atmel,at91rm9200-ohci", "usb-ohci"; - reg =3D <0x00500000 0x100000>; - clocks =3D <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; - clock-names =3D "ohci_clk", "hclk", "uhpck"; - interrupts =3D <20 4>; - num-ports =3D <2>; -}; - -EHCI - -Required properties: - - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers - used in host mode. - - reg: Address and length of the register set for the device - - interrupts: Should contain ehci interrupt - - clocks: Should reference the peripheral and the UTMI clocks - - clock-names: Should contain two strings - "ehci_clk" for the peripheral clock - "usb_clk" for the UTMI clock - -Optional properties: - - phy_type : For multi port host USB controllers, should be one of - "utmi", or "hsic". - -usb1: ehci@800000 { - compatible =3D "atmel,at91sam9g45-ehci", "usb-ehci"; - reg =3D <0x00800000 0x100000>; - interrupts =3D <22 4>; - clocks =3D <&utmi>, <&uhphs_clk>; - clock-names =3D "usb_clk", "ehci_clk"; -}; - -AT91 USB device controller - -Required properties: - - compatible: Should be one of the following - "atmel,at91rm9200-udc" - "atmel,at91sam9260-udc" - "atmel,at91sam9261-udc" - "atmel,at91sam9263-udc" - - reg: Address and length of the register set for the device - - interrupts: Should contain macb interrupt - - clocks: Should reference the peripheral and the AHB clocks - - clock-names: Should contain two strings - "pclk" for the peripheral clock - "hclk" for the AHB clock - -Optional properties: - - atmel,vbus-gpio: If present, specifies a gpio that needs to be - activated for the bus to be powered. - -usb1: gadget@fffa4000 { - compatible =3D "atmel,at91rm9200-udc"; - reg =3D <0xfffa4000 0x4000>; - interrupts =3D <10 4>; - clocks =3D <&udc_clk>, <&udpck>; - clock-names =3D "pclk", "hclk"; - atmel,vbus-gpio =3D <&pioC 5 0>; -}; - -Atmel High-Speed USB device controller - -Required properties: - - compatible: Should be one of the following - "atmel,at91sam9rl-udc" - "atmel,at91sam9g45-udc" - "atmel,sama5d3-udc" - "microchip,sam9x60-udc" - "microchip,lan9662-udc" - For "microchip,lan9662-udc" the fallback "atmel,sama5d3-udc" - is required. - - reg: Address and length of the register set for the device - - interrupts: Should contain usba interrupt - - clocks: Should reference the peripheral and host clocks - - 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 whe= ther - vbus is present (USB is connected). - -Deprecated child node properties: - - name: Name of the endpoint. - - reg: Num of the endpoint. - - atmel,fifo-size: Size of the fifo. - - atmel,nb-banks: Number of banks. - - atmel,can-dma: Boolean to specify if the endpoint support DMA. - - atmel,can-isoc: Boolean to specify if the endpoint support ISOC. - -usb2: gadget@fff78000 { - #address-cells =3D <1>; - #size-cells =3D <0>; - compatible =3D "atmel,at91sam9rl-udc"; - reg =3D <0x00600000 0x80000 - 0xfff78000 0x400>; - interrupts =3D <27 4 0>; - clocks =3D <&utmi>, <&udphs_clk>; - clock-names =3D "hclk", "pclk"; - atmel,vbus-gpio =3D <&pioB 19 0>; -}; --=20 2.53.0