From nobody Mon Feb 9 08:28:12 2026 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.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 51776322C99 for ; Sun, 1 Feb 2026 11:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945701; cv=none; b=fPej1tpbYmhF+gu91gmXU/WEZj43SRTx6VsTeH3oAr2uMLHeg4FHCNYFRx8x5nqBG/VdGW0DefLM/eTyRdx3IpVqCXj7L0KdrEBwhDvLraHzBpfmm39F75z3diYfNA7B8Luzhrx8C0O6JIxhslaXwy5me+kbxnY6hlP/ShmBQUU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945701; c=relaxed/simple; bh=Y377DvLnUIjlGLu/RqWsQKaky9tPtLIOV3/v25fUJJw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mALHDqTsH34yzD9WDf29CVXlrAR3ZqnMGFLEJzg9+Q375OcIdwyZn78mvY+ra7IB339r41lMaV/AqzOBopeme+ayLluCO1l7N93d4eIRaiHGq/MsUXiBGWeS8sCyC00eIMxPnGNukZQ2nTjqSI5Txbb6sGVBE9Aeqkq8RD4zEBE= 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=fbGCCQDV; arc=none smtp.client-ip=209.85.210.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="fbGCCQDV" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-823210d1d8eso1779504b3a.1 for ; Sun, 01 Feb 2026 03:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945700; x=1770550500; 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=Zq91DbVOttbOokKYAPkn2YF5dlqfbHUG1A6X83/uDqk=; b=fbGCCQDVplSDZtrzQe6xgy4xxMFUzokqcrXO1esHpB+tVuXIovCKw4huywhnjknROX sJHA/4xjBKR4En3phXLln9C1vGDVfj9icClLKCI+ugQTrfl3xLL3ZBqttOXtMddQAqlu VBArO1mTpqKgHGdIZkfWIpFcxYpQWB/HBfp5f/6jiqWsbQ0p4o0ZfjmXwKqymj0tet8w 7CpquPazlKQyNktzLnCV6XUh5BOqoXQ5oWELP6qeulZDSYJspH/QFq+fFVkSpINY/ERr lAYqGwvm779G8GIQVKcBO4Bkk15IN2xGoG1klK5RdC7bgpsZ7DDBv0LYBjhETUkNQZAx 3UhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945700; x=1770550500; 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=Zq91DbVOttbOokKYAPkn2YF5dlqfbHUG1A6X83/uDqk=; b=ZPJvirtGZy0IvJJypJsKdifn9xpXySrzYNJWkAV0uoBXWGMYqctjW5l5r2cPZG7ccQ FGzkSBTH8Tr/NXcqlQN7ISGHBIGspzk8/dyr5zxCRWPmI22sS+0X3LRFABt9RMPzdAhj pt73Ccx/GRAb36J+S0R/oOCCcKTT0BNFC+SG12IQ0LPK8x+7s9BaJk2PjPvFZOunfv7b cXS6/gYrx+I43JudBuO7VMBtuAs6phMr3EvNw6dVpPLActE+hKhOGY+2J520R2lElIfw jjn6zxcQwuo2cXPW9PIo8a+8PUY/V3idUUx8bEwc/bFchbnZbGv64n7gS07p7KyoQamN pWrg== X-Forwarded-Encrypted: i=1; AJvYcCWFf60o7OeVN2TN2f7SdQ7p+Arb9RzTXrB69hlXYVQPgOwfS0y7hMVN6pnQvec9V1IgNOAFLfurF5t8hyA=@vger.kernel.org X-Gm-Message-State: AOJu0YypSTMVICI3WR0RoOti0LMWAA/UhszE9fOsbd4YcqpuktznwBQf 7GIQOFIR6eCXdec77FYPbJZxzJ1kd20X7rA9ouprsccg5DBMwebA5hinQ+DvKA== X-Gm-Gg: AZuq6aKssX9gX+S+RCjTCSPN2WvMWQvs9lu0v0jmDdEWBcHpx5CVC1XNDIkz/AuvnS4 4tZog2D7+qQ/fyhz9szNR/xp/jvvmmF1Y0fsOPve9aIHTlmPMtP6gf7sbLlzwCpTJSvHAUH8buo eKsZJ3O3EyldDc9AGH+s8+HGCqPizPesXlrnmhuHpxXwIshGRav57mOhEq0gM2nw2HBpPHCH/ek eAlnlUDLmiWRJnww6P6oF9TkjaynWsBluWUBV7acValTRRMMFsKR79ehH3bYQhVx5e4pbu/f86R qAyctx0GtnPYnXRE0NDVAqsifZhouW2lYTmEB14TB8ug/kvzA3C35SPnrJL5HpPYELc6l1/nZJz PzjT4TXUsdvDC9hnP8yS4LFkZmoq95Mf7g+2qL0YzzIfgzgFzWu2Zc02GwIntkW1+eC7pFCNkJs LKpYaT+T93NWaHVMQWsItA3x4lYAc6VYa71g== X-Received: by 2002:a05:6a00:4b46:b0:821:70e7:b10a with SMTP id d2e1a72fcca58-823aa40d7e9mr9801911b3a.8.1769945699636; Sun, 01 Feb 2026 03:34:59 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.252.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-82379c24083sm12994728b3a.55.2026.02.01.03.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:34:59 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:20 +0000 Subject: [PATCH 1/4] dt-bindings: usb: atmel,at91rm9200-ohci: 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: <20260201-atmel-usb-v1-1-d1a3e93003f1@gmail.com> References: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> In-Reply-To: <20260201-atmel-usb-v1-0-d1a3e93003f1@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 AT91RM9200 / AT91SAM9 style OHCI USB Host Controller binding to DT schema. Changes during conversion: - Include "usb-ohci" as a fallback compatible to allow at91 OHCI driver matching. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91rm9200-ohci.yaml | 85 ++++++++++++++++++= ++++ 1 file changed, 85 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.ya= ml b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.yaml new file mode 100644 index 000000000000..f04de6d553d2 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91rm9200-ohci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91RM9200 / AT91SAM9 style OHCI USB Host Controller + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel AT91RM9200 / AT91SAM9 OHCI USB Host Controller implements a + USB 1.1 Open Host Controller Interface (OHCI) compliant host interface. + It provides low-speed and full-speed USB host functionality and is + integrated into Atmel AT91RM9200 and AT91SAM9 family SoCs. + +allOf: + - $ref: /schemas/usb/usb.yaml# + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91rm9200-ohci + - const: usb-ohci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 3 + maxItems: 3 + + clock-names: + items: + - const: ohci_clk + - const: hclk + - const: uhpck + + num-ports: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of downstream ports supported by this OHCI control= ler + minimum: 1 + maximum: 15 + + 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 + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + usb@500000 { + compatible =3D "atmel,at91rm9200-ohci", "usb-ohci"; + reg =3D <0x500000 0x100000>; + interrupts =3D <20 IRQ_TYPE_LEVEL_HIGH>; + clocks =3D <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; + clock-names =3D "ohci_clk", "hclk", "uhpck"; + atmel,vbus-gpio =3D <&pioA 18 GPIO_ACTIVE_HIGH>; + atmel,oc-gpio =3D <&pioB 10 GPIO_ACTIVE_LOW>; + num-ports =3D <2>; + }; +... --=20 2.52.0