From nobody Fri Apr 17 02:18:00 2026 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 405A139C636 for ; Tue, 24 Feb 2026 13:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938932; cv=none; b=deK5LUw6M0uyX32w23lP5Cp3NffG1UNjBjoZp5kSfxsoJpCNf7ISpjIyn/wvhCViA8eveY9Uvi5GNXCPOPDdUtAalnYfvLILu5/u7bQgCuuBJ0yLjZenaQPbKvONgrdS3QwKQTfaubW/P9Vj3WSGgHnMtLEBPURvUDbqSqKR2ps= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938932; c=relaxed/simple; bh=QmF4nRlOe4+5G1AVaitX4auwcr1Rx/GkEUkcIKW7RMU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rriKzI3O7IQqaevqHE5OhAU+Tc/+YhHscadnq+jA8MJyjjFzSWlstDFCMhgNMejX0ew5yFGLb8snyPB0t7NRe3NI2IBYhnbHJSzEPRp5l2u0qZlY8xoxkDhboSVqfcHWyM2W6w2/QTVpqVbuUDLGdRFfTRnJ4CuMmrU+6QxXIM0= 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=jV2XOS2o; arc=none smtp.client-ip=209.85.210.169 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="jV2XOS2o" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8249aca0affso2911790b3a.3 for ; Tue, 24 Feb 2026 05:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771938930; x=1772543730; 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=1EF5DZh0w95AiZ3fg7AA2Xw4QIn2ePCxy3IrusVoZ7g=; b=jV2XOS2oooyeoaB0m/Ye20digP3eaGxtmn+x3aq/AC8QO2Wo9oEh+p0IX0dRYVMq1U TkYUl5Sx88IauemX03y7nxWyyOL71AMlwUMUxey9MXwv0ZIFZjUL6h7NLZz6IfMeVYyK /b4+kdnrl3ZQmU/ZjgS5LVoSKnYGwX2EKmQFDK0qN9rgCuK6PUWVYH/UapemoZ46WOzJ 5CiUc8daBvlfjE0nqI9tHklvT4jyUsTZ5XFQG+iIeepA/jGwHBOiO9x7nlXlzvEGrKdv RD/KJ4SVwUaP7aJS/cTzYi9hTTP6SH1OR8ULbAi6F6w2O6HRtPGLk9pCBte5Z2nGo8zd Cf3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771938930; x=1772543730; 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=1EF5DZh0w95AiZ3fg7AA2Xw4QIn2ePCxy3IrusVoZ7g=; b=LOc9ZADgtGLcza9HltXZKeg/hv0BGOGIOmjC3JmMZO08TQO/G+B9Alo0rSmIphcSPw O1RRTQrleHU5eB0FzpBLLnbtqT+rqQd4uzOh45RutfwHhDIzu2kF/xgtx++IpJpZSh36 FkVGJXw8CAWK/9TTeSyShvxK7GMYNne0QTMqxnoT9uVo748/751kKxE88G8BIl9w61pk FeIXL1MF4D/0b7wlZ0t7vppN8oiaYQpf54/ZDmlba4ZZq/vKKIEse7uEjDIgQhm/y8YH 1xKkf9Zxf9uiKaMIAAyGFxoPa4jJcX9NwVZvnEIgfy5B6GcJ4oz0CG650F+ghc68/ubR AD0A== X-Forwarded-Encrypted: i=1; AJvYcCV4vHkR0RqEYRmT0UTritdLBppE2Nyt0j2kjX6rhDAfQAa+X4TUNA9CElOptrwUT5U39lP47jT5CdvHKHY=@vger.kernel.org X-Gm-Message-State: AOJu0YwF1WxMDmDazj1MpiMH0lzksEL1tC/XtkGetJWnQ3jZ1Y8SxkQa viLejha2xWGMkA0OooOUy/10lPJMyRR/rJNkfoyjqbz55v98JqCLTisk X-Gm-Gg: AZuq6aKyxfDJmlpvLjnXFfUNbiOfMinSSzEtYEE+3s9XQ8wmYJhNN+y3Lqy7E0sUrvv oPTYfs+Io1F8Qn3qxV8NPEicpaaVWJU4Irkgi4fZOTS1p+ASQn8T5oEMSq1Lh14icjOjW7vMP3q 5BN+pmbGjCNn4nKY/CIqeedlZEzbDaH2ED1bA4y0ybzJdlHY2EjnFJwKf1ASi2Rb5jxx5jmGRSg fDb2Fl6a4/CDRsr3BiCiJ/DwEqvwIqTfcCk81M8AYnAjZXmHZyjr7bPXwwBwS2ouqNFfSCdQWh4 heAz8ZE/MRXGiHmSyd6g8arRxi70wqgzgdf/mJmpOCBZb8SM2RBk/iK4F0YH7LRNcUtfpgQT7Xs XHPnG/Q6zYqHA+k7gNC1ZK6zRm8JshpjtMY1OVsExQG20yPr+NNUp+T02tWtPMGQ+/wfx024XQx pjzSXYphudyKT4nWfHJ055waSjbpPJu9MncENeduFtPg== X-Received: by 2002:a05:6a20:431b:b0:395:151c:4eda with SMTP id adf61e73a8af0-39545f553acmr12721981637.45.1771938930467; Tue, 24 Feb 2026 05:15:30 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.171.51]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-c70b7253a70sm10794013a12.24.2026.02.24.05.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 05:15:30 -0800 (PST) From: Charan Pedumuru Date: Tue, 24 Feb 2026 13:12:58 +0000 Subject: [PATCH v2 1/4] 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: <20260224-atmel-usb-v2-1-6d6a615c9c47@gmail.com> References: <20260224-atmel-usb-v2-0-6d6a615c9c47@gmail.com> In-Reply-To: <20260224-atmel-usb-v2-0-6d6a615c9c47@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 | 27 ++++++++++++++++++= ++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Docu= mentation/devicetree/bindings/usb/generic-ohci.yaml index 961cbf85eeb5..ab8a49142386 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,22 @@ 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 - if: not: properties: --=20 2.53.0 From nobody Fri Apr 17 02:18:00 2026 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 AE42939C65E for ; Tue, 24 Feb 2026 13:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938936; cv=none; b=kuqEgnkC4f4tzlRGY7CtIk57cjg7kJ7yD6CjKxe4XGUFZRMcF4UhVrRsht1pc5LnhzUaey8ZW2fQW9UrTBDdQpz2K0/YEeKxRG3XZw5s4FIBoNDnsmCuL51Lj62On2RHkUdCDbA5s3OA1IdRtOk8RJfj+PDQgNarZFAKUbAMXUA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938936; c=relaxed/simple; bh=Gggo2FgINM2WUDHfNHU07LBnf1tkxqi7jKz6gpfZ9Cw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q0Frtmw4Pp63KFUvn4VCGxXhKOsYA5d7zifLsXIqqb2RJqusT5S5F/pLSUKt5RkEKcm3d+kaTFQi24I+OL8O7wdu4C7RDNtKhl2WzObFv3RPai8WLrhRrNFX1D6aMIuk8Tc+slsO+RtLDs9Uk7TgOvfd7y76eCfdH2j5zBdwfQM= 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=mdCpSlH5; arc=none smtp.client-ip=209.85.210.181 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="mdCpSlH5" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-82491fbf02cso3057531b3a.1 for ; Tue, 24 Feb 2026 05:15:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771938935; x=1772543735; 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=KKCYhHbR6vSjsD8wHgb8LL/2bafBoxxkBbchRF8aJrw=; b=mdCpSlH55n1i90IQpYSETcv90bbdjyDpI77mChTx2UEHaK8fF12QD4eQbptkVIDJSd qBReks3beVCCqm3oebYIrv5wnyT3OmuIx/6TCFUXgn4gcjXhMUWM7qzvH9NWm7UPrc8X ZVw2lTf51jqjwDkgHAJS/ScmVjG9kn3lLHbFiCPyWCkTJUQScIJXOR/KL0+QnEZQe5fp /yNy48EjmeFYu6JpSut9goYiftiUF71B6v7nwfMnSE9Zvi3vFEYyFoJSQ8gi+xW3JmN9 pb19eQf6GQUYuEkWxCjaESeynHhsFgmARonTNcuvKOfolWucFL9+vn5gqLg1xIQxsPyN M/7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771938935; x=1772543735; 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=KKCYhHbR6vSjsD8wHgb8LL/2bafBoxxkBbchRF8aJrw=; b=ZbpzcTBsxVamOC+ZCenmYF48MN9K5cVDNK70kwfln/SxiEdWVMRflWU9CdUK3cVl5X fBT3kyrGJdM8ze3IGgCZXSljdlZS2Wl1GlFTZbIsK6lzuOGgNLwaebWVX55SQPTJPjhQ Tkk6sDqd7/e1C1ec/P/I0f/OYOeyFtfVirlNJNExY4W47TRr1rdUTsQlPFecaES+kU3C Vb8IFCdtXTjqhCWI+0+VeRSU4tD5jvu0TsrOhXcxNo7BdKPnAAlzxNjkfGbZvsaSCyEt DfPo73vWCiH69mgU7qsLcASJ0cA7eIKhCstu+rhDCj0hDELSsnin5fUHz7GGcMl4ncHX VZSA== X-Forwarded-Encrypted: i=1; AJvYcCVptplm+wfUoOHuN3c3+MSuBgQ+Rpwa+CIYVZ17LgS+0QAJqfNm05/Fv3vO/Xh61fK7XKvUVl2SA7OL7OQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yyt6Vu9HI9bV67eHvyCq/+l7D35mPsr8MvgCI0fq8Uvku2+6HQl JD8KcMib9Oc3PvdU41bkMuxOy1ErHSJ3JeWxYRhUyBEG4atOQ3+Gn0MH X-Gm-Gg: AZuq6aKTAekMH74IFAvc035wo/fprJD+saLoUEaz6cMs/Na3lLuLL4Ba5UqncBWP/QI Eeif6ApUAN6KxWNHlb4HY6sxc73z/kIkfWMUaY6E5SizfATfL6oZoG9vT7FTdwsXoScenb3NcP1 mEzNbF7WjbU25R0zv5K0EBA9VybkKidWOqktAenkD3ATw7sXdOPNKk0qNRzewF4dXvaAqp31Zwb hHiDieDXZmLpl6qQQKiRFf09evgiG69i74URuNEPqDm4HfSCw5SoSUOjQqlyA6SfkevD4PeYDZW UbVK7/LPQsCV0oLC675IMHbtge11Tkihp+ByXx4vpGeFWWyVwD+b9iksWGi9lc9Upv4Gl8438xc Ej6eyzIhxSVJ6Ifofx+hnQrYbg0lTMmYNSGJHLstzZsp20eZmrFSafvDwLlLxaFVJ7CWJQtoGZm IMoMxLAprZc8Y3Mjb9rriWWHocqrW/dgLCztZmrhukyQ== X-Received: by 2002:a05:6a21:9984:b0:38d:ed39:35a0 with SMTP id adf61e73a8af0-39545f8e14fmr11302252637.61.1771938935081; Tue, 24 Feb 2026 05:15:35 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.171.51]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-c70b7253a70sm10794013a12.24.2026.02.24.05.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 05:15:34 -0800 (PST) From: Charan Pedumuru Date: Tue, 24 Feb 2026 13:12:59 +0000 Subject: [PATCH v2 2/4] 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: <20260224-atmel-usb-v2-2-6d6a615c9c47@gmail.com> References: <20260224-atmel-usb-v2-0-6d6a615c9c47@gmail.com> In-Reply-To: <20260224-atmel-usb-v2-0-6d6a615c9c47@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. Signed-off-by: Charan Pedumuru Reviewed-by: Rob Herring (Arm) --- .../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 Fri Apr 17 02:18:00 2026 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 4743939C639 for ; Tue, 24 Feb 2026 13:15:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938941; cv=none; b=r7GLkzQtntLZ4UWQ+SJnExCrgC5Spi/xWQWUrg+PYKoZWrO4bW8LF4SZ7pb45W17IzmKU+l9zj97D53MKcJL84PpN46/J8hPsJsj0TAWEyjPBHIkPcZsSX6GIEOKVnqgm3eUfGVpDuX8YtNYBhhOZhnhg52cNlTcLXzxZdNZ34w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938941; c=relaxed/simple; bh=ntDf5EIj+pJANxjzhgtonTAti2/lZAfjc17UnVhvnjw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ml2pkvh7cjU2278/OYNchG2UqPIV6Y57WzU1YymfDjOC/VUgM3ClJTevuZB4P1VnbK+wOp50kGspYfPwXRdjYbRkgxVp63Yp5DVGUA10P4Jk3hXMeviBOZsxfKlXlZIaqkzZdHXJ9PZC7IZn8YEOeK3zAp6SwIZUKLrZI/K5cVM= 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=dKRn5zU5; arc=none smtp.client-ip=209.85.210.181 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="dKRn5zU5" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-824a2888de5so2992232b3a.0 for ; Tue, 24 Feb 2026 05:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771938940; x=1772543740; 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=ZKyVMXkU8eVMnRXROgyxZzfs8lU4JDR8nVIKWksqSOY=; b=dKRn5zU5zNuenj8l9rNV8Upcg8BX5TM8iXBx7hzTitLtT0DFHavPiHLuHBOwCeLEBK d7mVnGwKWE28w1ez00Jv58SqXHj3hw8Ybih6zPCXONs1tE1JDFv6HWsUIn4uSnQSQ5t1 +PG5HfZYw+/XGWJngNGpz4MsD6OVDFT2g0n8H8LsCnfjO5qHy5I82mDTI7KmAEoN7nwv dxfewmb8U1le3hHdYqperRKPUwcIVQAW3oGrB5ZrOyNqyUVl5W8K9hZxfmxGGeGIzIgk AhCoZbAfRYK6183TdsyFkpglvRq5fAmJ8rfrWAyxMyqi/Xh6ihw8pRLfZKvS2yTVJqn9 TvaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771938940; x=1772543740; 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=ZKyVMXkU8eVMnRXROgyxZzfs8lU4JDR8nVIKWksqSOY=; b=FXjAavqXdSrwus93XLEgcj0o7vqTEr1ZYCiQQDR4JmqO291CvsDmXznmVWTeXzIW5V /TfMAEWy8qEJ+4GdHiNuytJj8JwObyTKNo8X1qX97I0pLCBRUdQ58FDS9O/qTLKDiFO2 3Ttcb5UFScg4wtJZBWtUjkqmFa7TJ9T1pHClsJ6vwdHfPkjJalKMH+T65EtH7CgNst9p xF+0v4nMkM/fVJAcd8bXdH+4CE5VODSruzRb4fw3lEDLurhRR59tNK1YEJB846cTUsC7 FOU4c6T24PpilWxuILsAPFhpx+uJk1vJcdycHQAECoo0+dozKbTlkfGHQm0R8rxpQ85N X3+g== X-Forwarded-Encrypted: i=1; AJvYcCWSNX+IAvC6zTPmqBZzGMY3yMgtbYdtaCmMl8NTY0/Q294mgna47VRpgARNqOINaDS2yvJl6uaymRsZOdU=@vger.kernel.org X-Gm-Message-State: AOJu0YyYZTLHiLbcVIcw8xIlRML3TJk/Mg7zsovLxGyARsapuS3/IhFH s8C3QCBzH1/Io+YqZF0l9Nb4jUG+lz6sdlp1z+9/+8TkkSn18Sdl8kM4 X-Gm-Gg: AZuq6aKYUHP0OqF/nPhraZ81RzPhtaKGOoWhD0NqIIn9/YfM5JI/kmUT25kftF/LsxX +A8wTeQHvBi/OSMe9200F+Z/Pqi+LctwAXEnc0oiPx9dyMN7KcLp737xS6d32AqXyy5iLcV0MOt 85ufJKyV/scL7QRbccmaGAlB5EV57X9hBjHZlvacTq8Q7UGE1f3C6/BEWMlTUMLSpVbv9eyrL2h uZi8GQPavryn15699uaBkMZbG/x+gvtxIaKgNEym2wd3Sw65NWxc+hKyw3s3KAIxdEgQPGlfStk /WFgZMMFpwxPUrKEsu7dLfvo2FG9V+T11zZT/jRKyBeT6nCgRcmDGg4u3rIblzGXEZJtOCavpSO NDrdCz8T7Wp09qkDQUk06t8MOBaLPlbqtf0wHzKk2bmG93PYn+po1QwB+CC+/oZks0VJfVfYbyp OpJkN7B6QQk7piIdVrhjXoNaueX4aRmA4SfOI92fWqLw== X-Received: by 2002:a05:6a20:918e:b0:35e:5055:1ec with SMTP id adf61e73a8af0-395460a1f45mr11049420637.17.1771938939751; Tue, 24 Feb 2026 05:15:39 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.171.51]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-c70b7253a70sm10794013a12.24.2026.02.24.05.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 05:15:39 -0800 (PST) From: Charan Pedumuru Date: Tue, 24 Feb 2026 13:13:00 +0000 Subject: [PATCH v2 3/4] 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: <20260224-atmel-usb-v2-3-6d6a615c9c47@gmail.com> References: <20260224-atmel-usb-v2-0-6d6a615c9c47@gmail.com> In-Reply-To: <20260224-atmel-usb-v2-0-6d6a615c9c47@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. Signed-off-by: Charan Pedumuru Reviewed-by: Rob Herring (Arm) --- .../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 Fri Apr 17 02:18:00 2026 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 1928637AA61 for ; Tue, 24 Feb 2026 13:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938947; cv=none; b=EXQMG5nJZTJ18rjOufxUWVx/Se9ZY2jDEBH8Nnrc9a9q0ztcL5rXlvWuVuvQOgQ7kh1vo8Ml3XYo8ix49fKIgOU1TDA3UsZ3EwKpmy3V89mLrlEJy/e1jYZ9iavzFpE28W8S6QPOeUMEq2Ce/qQ/M7Bv3nX073zQPBSixu8AmX8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771938947; c=relaxed/simple; bh=O70Wf2hov4FuY/4KRTWalSn0MOyqTm0hmLa6x2VLUQU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EN6Q2eTAThGDo3Ccc44ivrQcLRn/KY2TAP+t+TUZBAWDSE5VIP9I63h3kgDGwLP8TVOTFByRVPHkG+NMr6XkJdujbNeQ/rlCLR6pAuWk1zkjVu9ciADO3EUfbZT2wVBYVVa5oWzIZrskRkkw8z2pBrEr0awTbzPP4m6U6BDmgPI= 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=W3+/RAqU; arc=none smtp.client-ip=209.85.215.180 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="W3+/RAqU" Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-c70c112cb61so1533527a12.0 for ; Tue, 24 Feb 2026 05:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771938944; x=1772543744; 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=o/4bQ4PzNfjZtRfxhU1Dhe4G6PTYYpxaIPq8BE8Sc+E=; b=W3+/RAqUm5drS8W52V+mG53VwMQgrqJtyjFIRPpqc/skBcOw2tp1pny+mz2z7z70Gv GAUtzZM5Vvo37R0OWmYju5QRY8OJgItfkrsao5m5rt15AqEKKrSdh5lVyi11YFDDEdiJ EoBD5OT2UTgEFEppm5zzp0muv0MdGWXIDPgPxpqCdWRaWHvK3f50lYEuD2kl6p4PTkZE lgrSYSDW5IzLPvxpM1x4Trol64fH9G+sM+RBU3RY55QGOyC3c1VMl0cXFfU5rC4eWGEj HbqPXhqjTFPSobLkfDwRhuUgzbeki+TiEcgPLAOLziJf5aJ8PQ6/CkA2QON6XyX/qX2I urFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771938944; x=1772543744; 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=o/4bQ4PzNfjZtRfxhU1Dhe4G6PTYYpxaIPq8BE8Sc+E=; b=wDkXELr1BSlzzL1oKqaOz2XuIETGNETDc0LVJ64nkpxJglPca8FQiWLOD2wCF+ak2p 46OYgURh9cf09VLYmpL8us1La0nRCqW5wXK2zjs7CKGi0PxKOst6+A6FCSIF/Xqqr9GB hIus9b5nEiQdW7b63wUvtrOanH3ldZT7WIvgNtOQhzd+FElX2tIAPa22qXXK6PW6E9lI FZnU8NHhvNy5yTqqUIOn4XfPPMBQwhq6Gdqjj/9KBEeghEELMc0qZR5ChdesmQ+K6CSj n0frxwkT27bneR/oh4AIgIbZS2xjYYw68WWBYmRcQVIElSZ2dI98C3TPqUtZgjK9hkHf G9zg== X-Forwarded-Encrypted: i=1; AJvYcCX5MjrPbLm9GV4Tl7waPdeanEW5yJOY42GvGrNviQI2bajP8yGm8yB1ZKyc+ObxvKZpjzUKvC0WwoK9sbI=@vger.kernel.org X-Gm-Message-State: AOJu0YyDOcDgTUuBVWdZkVlT0bEdOy951/vsCXNBAIM9pN9yLYW8Xjsw 5IMPqJgryCjcuGUuPlPXFnYeGR7oeX9a8UdjlCpSTqcf5PHi6lu5aXZK X-Gm-Gg: AZuq6aJa36rJcrFGbe5WPVMNiw0KfAiKhWxMohsIopjX86nal22tkk7fmSVNwO5VD7e T0JCH0FsgSrtIjgw9e6bER6O/WJXKH0Cnu992oC9oWZ82we7v4clq2RdmnP5Z4UnvqHkQPDij2V kYNgqlGLKZ0CeGp5vVm+los8pJfo37IywcqO4vRI6eKfm6XGMVfLIkicornnkwUwlU7auurQrxf U35Ob468Z3qHTJrgvQDab3HC6pT32MgUeYT78GaSJ4BEwRZJxxMAQPdIXn6BR/ktQRqQ2aQ/4ab cFysa1GixM1IALmcfD54wlqT66CpDTDgrrXWQg1MaJloF/I08QCn00syBkHXyY9PlXQbu1jQy9I tIrAYMLsRf2uLSalvJNCOYDVxvxju1R/4w2WUIKaQ+UHl9kb4r0DXALkXD0A1opOUo3PBCHtdGb 5W/phLqMj5aS7Scp0hiTFIjr7WgX7xfZq0CxK3xHoJdg== X-Received: by 2002:a05:6a20:c989:b0:366:2360:8f7 with SMTP id adf61e73a8af0-39545dbf191mr14435962637.14.1771938944327; Tue, 24 Feb 2026 05:15:44 -0800 (PST) Received: from Black-Pearl.localdomain ([27.7.171.51]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-c70b7253a70sm10794013a12.24.2026.02.24.05.15.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 05:15:43 -0800 (PST) From: Charan Pedumuru Date: Tue, 24 Feb 2026 13:13:01 +0000 Subject: [PATCH v2 4/4] 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: <20260224-atmel-usb-v2-4-6d6a615c9c47@gmail.com> References: <20260224-atmel-usb-v2-0-6d6a615c9c47@gmail.com> In-Reply-To: <20260224-atmel-usb-v2-0-6d6a615c9c47@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. Changes during conversion: - Include "#address-cells" and "#size-cells" in the properties since they are required by existing in-tree DTS definitions. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91sam9rl-udc.yaml | 81 +++++++++++++ .../devicetree/bindings/usb/atmel-usb.txt | 125 -----------------= ---- 2 files changed, 81 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..6f5710cecaee --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yaml @@ -0,0 +1,81 @@ +# 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 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + 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