From nobody Mon Feb 9 10:48:01 2026 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 EFC45322522 for ; Sun, 1 Feb 2026 11:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945711; cv=none; b=APjI/vu3O+0f/eIZdfCB9vVEAEL75t6nolCr8wl6DO98YD7QpFJtnFtM1FeKKHRTvLVJxZIj/z1svH1d5zyziThc+7GEAnrz/t5kXJ8ZZq7tT1ApA+SayDUDdEm3Vg0sNAcwan94CjAAUvWqw+ZbdanYpXdZ8+WbIAvF4E3Gj48= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945711; c=relaxed/simple; bh=jRae6im2r158sMjMElzfH9wCVDLeo+Lu6vQSBwtPV1c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qD1rgCnfPRKUT1RhnFB1SXieN+ViVery2zip9YsrWIIa1Op4xNnEKHJWHGmj++vpcNWnQFve+JmYzRFt10QTSnwMJNz7s+W44jezFtEgjZodtGVMkSuDvFJfJOzSk3epFoz+Cn+tqFPuHMSm9Sv/mJ3LJJwRQHMwPIsvxZBCce4= 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=DTSy9CLQ; arc=none smtp.client-ip=209.85.210.171 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="DTSy9CLQ" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8230f8f27cfso1813936b3a.0 for ; Sun, 01 Feb 2026 03:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945709; x=1770550509; 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=5XV4nvlQJllxGJymMNGffVCbvnmIzM3P7KoEHXDM6RU=; b=DTSy9CLQtkTW2ka5Q5Rg9MUMToFhBnrY0+lJmOsYZGfkomjCAwWAxSNIrtN9SPPEIu WU2+Q8qlM3DHAG/MQUTPcLbvdGRs+PD5ZinslfW2kASwxXDm894PE6QQwGDsymabVj4q e6I93d9y9EuKsI0Oh5NGzOZdDR7TLZsZEKRadpoAGVRh6JuPiSp0ftCfN5vQZSQ3c5ZB Sd6cUUOm6LqPdiNBI145VoetjxBmBjsymWxHwxSKXe1Sgf8QexsLHCD/pHPd8c02m+L5 RNqb576Zdne+tAUu2Dojzd/ePgVtI45jXJv1hWthYKpsXANwwLkQA7x9IJ0JPTt5qQFL zcNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945709; x=1770550509; 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=5XV4nvlQJllxGJymMNGffVCbvnmIzM3P7KoEHXDM6RU=; b=wMY4x5BP+k/xhyPWfzuHEJiEmwqRwcq7jMzOHvO9a1fxcSKt1nTBZ+llRo1r5G4l62 /K5J0YUZPQmc4TLHAdoP0r8lrTfQA+WVyeeC/SemHt0TjiP7ktiJjcZ1agiqMpo9U5pe Odd0FluN+F2izG7/rYlY2ut8elVJGNtlZlvHudONGMCBS6Myvz1aR535L9Yj5nIlnqNY TacoWO/1dePuVP5v7a+nIAnGSC2fL7Qaap+J4ezo0CTKhO6v7LfytRkAMqor9L2b8bGx bryB0a0eRm2nDx1CBtrKxHyMciRpt1Zr/VTn47YzlWMaOvi+wnrWS1/yaJ1xIKH7z84X u1Bg== X-Forwarded-Encrypted: i=1; AJvYcCXSAlcV+5f6+RHOb1y90lwt6O8bWkgoIF2impfGpooFLYDVDlfmG/OOJ/m0yLoRi0WE+BUCaVprWy3gbF0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy9fofrgyKmvtJAsSw4D+LXXVPXnLIJ4+EHEhNjN0BjA6W6cnt4 IJMg8E/8+oVhfy0t50KXjCF3H0iIdcYitdTB/0SHpzrFoMj47Y3RhJ85 X-Gm-Gg: AZuq6aK1I7fdxuJF2tVCDoR/6xjfUH42SIC9ApSERoQ916s+DfWwjc/bVkYGV0yo2IW srJk7mjS57Gt7fqTN71bsUTyBDMp7k96O9ODRNCcoHshCmRqbyPWk9V2ntbXzDXL/8GcvIPdeNB iaQvSkGM8cqW4uMTW8vmFhYmoOY8Z+cI/ylcvtqZuWPMSU4viKUr2/OFQW29tOB7cGkmvkqgD8m lsgD2HRx/Jsq7hxZnHyxE8d/lqjVc8VCl1oA4vQnBZmTSRbgAoo6FRvSl/U82W62MvQDQb0c59A 1evpmcwk6qbRfnhF/JOeltMwdKUnARyriu02aR1oboQE4tkYNxU1+xGKfg1Yv0C1OTihCaUzNr7 e586FdARGUYWM0LBEC6s5KJVF4DpNX7YyolwYfJazIzPCT+Zg6/Dr8Gf+aQkxCE+6T7HPYvQFQ7 69H3NZBwcFbuT9mDugcItAetFmvrSDBV/yAg== X-Received: by 2002:a05:6a00:4286:b0:821:81ef:5de8 with SMTP id d2e1a72fcca58-823ab65359amr8617021b3a.12.1769945709102; Sun, 01 Feb 2026 03:35:09 -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.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:35:08 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:22 +0000 Subject: [PATCH 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: <20260201-atmel-usb-v1-3-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 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 --- .../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..3af267c863e0 --- /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 <10 4>; + clocks =3D <&udc_clk>, <&udpck>; + clock-names =3D "pclk", "hclk"; + atmel,vbus-gpio =3D <&pioC 5 GPIO_ACTIVE_HIGH>; + }; +... --=20 2.52.0