From nobody Thu Apr 2 17:09:12 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 4C1D13644DC for ; Fri, 27 Mar 2026 16:48:07 +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=1774630088; cv=none; b=ddx/0w7aVZst3WCc+JeBaUcF50oTBz7NmsB+JGtx93K8jl7rA23ZVEl+3KDnKY86lp6uZInNygjcL3j4zXGFrBbcTkZq6Pt6sA9JXaydYtgptfWwRaUupVbeEzQ1Hb2KycsbSpfeBU4M7ZH+C0hM3FdFTOgrQhAfg+ZPdRpdc5I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774630088; c=relaxed/simple; bh=fXXG1Cyzjh18AbX4b2uGKLKZm6cZcX80hBT/uwuFitM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UE89NE2u+IXllG5DzsFiAsik5q0rSpb2OT9lXdjX2GfYM2DANSlR2IrunLAR44zGmwLRk0/lNyArEo4aqiApLKH8qmwVmrz0S+354sByGXLGCw8fzqjfjk+7jaSA9N4HzqtFwz+QPx3eWVapiYwRqGIC1JLTnLfMacr0hpnyTaY= 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=PoM7aZyU; 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="PoM7aZyU" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2aecefc7503so16603345ad.1 for ; Fri, 27 Mar 2026 09:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774630086; x=1775234886; 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=CcW5pwvFh1W3aCrl8ykkfzRz1WOtzWb7PvDwxuJWqOk=; b=PoM7aZyUVq4XiZRXsnQ/n65GYYTf1jf5YoRnMBisi+2SJ14WUtFex+cgCEiJG3F0Vt nXkCBRUpJYEznP8UpeMDiE1dfq/TwT342wPMSEKLyKFYcUJASf+IadHoGSzCla0Cg90v 9AY/DYmuF5YrkcjWkcSYa+P4RmXL1uIL1djT+/lOegT4B4pOegQdQmf9oztq6YDqgehN yzRZKfduYX1jMpF9Zl75zxflIQuuhcM9ZifGIxMwWzexmXeKXN9AIAAGbpxEfXMWm3sl vXFtVy1ocb2Q/Vyfdik8hsAfMEvJF3lLECywfpwWlj89XgMkHvRPV/7LQGZWL9MBhETW 19Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774630086; x=1775234886; 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=CcW5pwvFh1W3aCrl8ykkfzRz1WOtzWb7PvDwxuJWqOk=; b=QdyytEkxl8tM9UHXVVlq35OroXP8Cxo4Ia0ZEf8ogTCBRPJsuRHkN9/k0U4mi6DMa5 iEoR0Z2/UIkgPlby2CKPNUX2aIAg9x6RSA++5u2sHuKzq3ez5pQMi4xy+LWQJoTCh74L cGnYH2MyODR39Ozlxs/fPSUZZIngrjVekcSCyKpDf9V0qpo9lgSOwYS5kDG0sfMha5d4 JoKEtqHJwC5UqpM3ZRCUmAfDnACXVDvf3BVuNYvlyQLdkiZ1QLFFJzCazF1Y5rd/9m8Z iexF9G/uBw8bqpkJnUCChAXrpfznC2s065AAdnpjkWyfM5nLMhEJv5Y8OJKmdA/oPOz/ zJyg== X-Forwarded-Encrypted: i=1; AJvYcCWWj66+zZO4kZPuWsxUiuCL2ErpgWnk1bFxd3aR/02jbCeSwjacathbX/k5776tDftuQgqtQhGgHb10mdQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxGeTWNaQEQCnf/FN/Jm82XyS1sJ3jBYH4Fx7iiFNWaBBfCE7Bc J+8Sk5+HpoqgPWlYIzlIADrK6etE5CFLWkRF6XayG6rsuQFhqTmOBGwu X-Gm-Gg: ATEYQzx/ahJeDMu/Jl/BN5uKNq2b2p2wcgH/gNyjh5EinhVycMKirowjqXP9bYcDd2e iqSIn1fTGPVl9VdA6iDYNubLAJlfi156G/Drd2mp5hCJ/LTaSIio/O7DXWdE0ErqiAZh1rf/5lQ bbKXMi5cBg8zFWTWd8xNaV1V7aXAfyZDZ7kAlUKGpjykoa3UgUcnxackcWzuTg1Ci059kgM+c7U AForsvSLqvqucSIVMXcvfFWWpRdi1CzbB3QmrS0tsr6XsMPZwkRRNv3jULlajwvqPLKqd0eS8LR yzo4JAJ0tjLw/2eVz7R2t0yO1HJa0hnLey6yZ7+yBy11FDaKlkyx79V8/tQku2ZYk6hjwSkIsCr Wh898Ixm8qXaXgMAoGY0C87HCU2hxnH4fRhWowLynYgymA7LZ8/nt5Lnh18g9tBwLDFJs5rNrI9 aQfquvYaA9j2HygqZt4daxmjghOqT4LWy8asXm0zYB7VP3BPDFFCB6h74= X-Received: by 2002:a17:903:a86:b0:2b0:603e:e13c with SMTP id d9443c01a7336-2b0cdc9eacfmr33580145ad.33.1774630086351; Fri, 27 Mar 2026 09:48:06 -0700 (PDT) Received: from Black-Pearl.localdomain ([116.72.145.18]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2b0bc8b9da6sm86065305ad.58.2026.03.27.09.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2026 09:48:06 -0700 (PDT) From: Charan Pedumuru Date: Fri, 27 Mar 2026 16:47:44 +0000 Subject: [PATCH v4 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: <20260327-atmel-usb-v4-3-eb8b6e49b29d@gmail.com> References: <20260327-atmel-usb-v4-0-eb8b6e49b29d@gmail.com> In-Reply-To: <20260327-atmel-usb-v4-0-eb8b6e49b29d@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/atmel-usb.txt | 24 ----------- .../devicetree/bindings/usb/generic-ehci.yaml | 46 ++++++++++++++++--= ---- 2 files changed, 33 insertions(+), 37 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Document= ation/devicetree/bindings/usb/atmel-usb.txt index c09685283109..bf2149e5f0b3 100644 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt @@ -1,29 +1,5 @@ Atmel SOC USB controllers =20 -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 =20 Required properties: 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