From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (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 3BDB437F8CC for ; Tue, 18 Aug 2026 14:30:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787063459; cv=none; b=oKAiyZQcw1bZyDCDO6vtX/mlapk5bd8mhBmVEKnTObdIn7lggttRx438dpPABn8r8nzM5QeyVTIrwSLpP60745H5rQLGaKzWpa6+3Sl+ikNzUZTtm4SzvrGGqpViwxvM+VLTiuM8vL/vDtsgE4SR+aWXsilTk0eNBZEmED1nDbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787063459; c=relaxed/simple; bh=vrwv1Mg7Vr8WAjda7g0Qmipd7F0KReKrluJL/Sq2pp0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Pg2NwfZUW8WvMcqE9BA/Kw6PhbBDpxc64fwTRrglxuNxpiDMCOm6jEkBCAUs6wnLiYvvgnVBqFdiuI2eNUqK7Wdx2ORO0yMhhK0EfaLgLw7FTCXiUW+IQJTNWXhY6QesiACHO+KEUbc0WsP6thago7HLA6k4Lntj6wRmVoDN7pM= 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=SUStCsR5; arc=none smtp.client-ip=209.85.215.173 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="SUStCsR5" Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-cbe4592c193so268867a12.3 for ; Tue, 18 Aug 2026 07:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787063457; x=1787668257; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CBKpudphPlbxUGeo34jNMtpBUnC6d5V3mo4+9YrfHwY=; b=SUStCsR5MZtG/IU3+vp5ybg39AT87gfKHkiLotxAJHdZhKCm9+pxhuPEQA756UXIUc 8Vx/ZfNA8kVYIvMFo/VTQj/O9L2LzpEpH9PLK01gU5JqkN9hi5RQSUyrhNlSWwEJPd/l CDBWFtboLpjHLzhHDOj2JXQjRW2rH01J6P6v+Vn2cT3bP0Xk0YNZ2kYw+i0ckW/zHcfC qkH4I5FlD0mIWSJs4Aog4/bBdJzqR5jlEhD9PGXGreXa3Pgdy0vLWiK7psJXabnE4qKC a53/MXyUCjJa08quqHTSzOIHE6tFkE63tv73zeTr8xG9Kw/5cQa8qXxhPg3J2Ok5iXz6 9eCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787063457; x=1787668257; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=CBKpudphPlbxUGeo34jNMtpBUnC6d5V3mo4+9YrfHwY=; b=e0guE1p0tH4Q89uyoNJi6TNtuMEa91edaNgFj8COP63eiMuZ6fMfUD49+j6Q2D+wML bsKkzdIyNAnYKA3DLIb4uDEXm8mZpxyIdnjAcILiVeocZQXS64KCaocZFfjRIPl8y+jC XGlNc2ab/lirnF1W2RMdChLAGJDYsc/kjfPDo8kbjU0yNXqy9rDFYUxc4uOAel0Ph3Ue 1dN+IWFqYcV3QMZrKKnkKitJtpDLaKceImIbvOwIi3UI/2fwxxtU3rUt5Ied++9WL8Cv XTKxA5UZEZljkUe9ZOOx5NzgsopbUxAmmIkyUPPAhjdHx0mSgdKmsOk/bEWzTY1fzZex nU9Q== X-Gm-Message-State: AOJu0YwCr8En94VV7+aqPZI/VdBam8hotgUvVI4SyqF1cP5uVt0kfq7C 9yn3xuiRPqWeddnkl+Icc3Bua99++/mhqR9uIU5PikJpLivSbdLd3I5B X-Gm-Gg: AR+sD12gj7p6ImKXe/KefPbjYugq1xkN87EuQx/1Y1tSieac5s+vj97rumPofW1jvQo AScQd7NGBRsC8c8AU4tsiJzfWSPAfFNazGGdSKXHp2GuxlX190+dJVaVGMrNZ0tZsbeKLnLJUMY D+treCqKswizQiUI8l8ij6UWHhMxTnfcPoSeAVPMxFhG1VkFIZ2Ybi0D2/QouDNmuf7Tir1C0LY 9/Aa/nHO4kqVPEYvW8vZAEbZyeNeXxeToA3GSMJCirlVvlkk99x7bZhz9kZ23aLlfGBnbCYwIkK V7Xa7y5Qyb57aGNr/gty5XVofDy//rXidAehA8KiXpc1/RP/de5hEwXlOm0Ex3FlV6h522wckvm gIAfMLDWCufLzL3IPIlO28dPhfKdeQbFeh4t24KjwnApb4tkU/+I+UabHFjCdNHrchrc+QBvtZi gfX64DnsVrcNEI6+pLn7XXaAxs3r99fdoFptKcG5rJHvkTQPcU523Wk6yOv2vJ+m0LUggS17Wq X-Received: by 2002:a17:903:2ce:b0:2c7:ef84:c58e with SMTP id d9443c01a7336-2d3b0827041mr272611865ad.1.1787063457148; Tue, 18 Aug 2026 07:30:57 -0700 (PDT) Received: from [10.90.163.252] ([2409:40c2:501a:6e15:dc3f:c23f:e55e:d03d]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327b43d488dsm9043527eec.29.2026.08.18.07.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Aug 2026 07:30:56 -0700 (PDT) From: Bhargav Joshi Date: Tue, 18 Aug 2026 19:58:47 +0530 Subject: [PATCH v2 5/7] dt-bindings: usb: ti,am335x-usb-ctrl-module: Convert to DT schema Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260818-ti-am33-usb-v2-5-66fd44d66824@gmail.com> References: <20260818-ti-am33-usb-v2-0-66fd44d66824@gmail.com> In-Reply-To: <20260818-ti-am33-usb-v2-0-66fd44d66824@gmail.com> To: Vignesh Raghavendra , Vinod Koul , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Andrzej Siewior , Neil Armstrong , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Ravi B , Kumar Gupta , Sergei Shtylyov Cc: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, linux-omap@vger.kernel.org, goledhruva@gmail.com, m-chawdhry@ti.com, daniel.baluta@gmail.com, simona.toaca@nxp.com, j.bhargav.u@gmail.com X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1787063337; l=2481; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=vrwv1Mg7Vr8WAjda7g0Qmipd7F0KReKrluJL/Sq2pp0=; b=yxhLJGFqbGsVwm0ht8G4qU0zird4onY64PgatPQWRbpABK2HEy5W9yPMQc2wg+jW+glahsjrf i6AKL5cUraVArDBbn4vXC78BHk97LBnzXIkzXQT4D97CQ1x4MfekQDx X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert the TI AM335x USB Control Module text bindings to DT schema. No functional changes. Signed-off-by: Bhargav Joshi --- .../devicetree/bindings/usb/am33xx-usb.txt | 9 ----- .../bindings/usb/ti,am335x-usb-ctrl-module.yaml | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/am33xx-usb.txt b/Documentation/devicetree/bindings/usb/am33xx-usb.txt index 5973f88bcc65..94312ad8ec8c 100644 --- a/Documentation/devicetree/bindings/usb/am33xx-usb.txt +++ b/Documentation/devicetree/bindings/usb/am33xx-usb.txt @@ -8,15 +8,6 @@ The glue layer contains multiple child nodes. It is required to have at least a control module node, USB node and a PHY node. The second USB node and its PHY node are optional. The DMA node is also optional. -Reset module -~~~~~~~~~~~~ -- compatible: ti,am335x-usb-ctrl-module -- reg: offset and length of the "USB control registers" in the "Control - Module" block. A second offset and length for the USB wake up control - in the same memory block. -- reg-names: "phy_ctrl" for the "USB control registers" and "wakeup" for - the USB wake up control register. - Example: ~~~~~~~~ The following example contains all the nodes as used on am335x-evm: diff --git a/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml b/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml new file mode 100644 index 000000000000..f8ac0af745c6 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ti,am335x-usb-ctrl-module.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM335x USB Control Module + +maintainers: + - Sebastian Andrzej Siewior + +properties: + compatible: + const: ti,am335x-usb-ctrl-module + + reg: + maxItems: 2 + + reg-names: + items: + - const: phy_ctrl + - const: wakeup + +required: + - compatible + - reg + - reg-names + +additionalProperties: false + +examples: + - | + control@44e10000 { + compatible = "ti,am335x-usb-ctrl-module"; + reg = <0x44e10620 0x10>, + <0x44e10648 0x4>; + reg-names = "phy_ctrl", "wakeup"; + }; -- 2.55.0