From nobody Wed Oct 1 23:33:45 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEDF027A12C; Fri, 26 Sep 2025 18:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758910788; cv=none; b=UESGor2U/JYsPDPoTz1uipqzkyfOmE6tss6I3KPh5sW31YLOnlB8/99KZomeU/iMWdWvP8rwhmaDB4DJzrb/j4+0DOyFxEVdivrECLHWYv9a/NcOh81VXvTP0dvfuoy45p7lEA6UNHDXyBy6iGQwxFjsvEjnXy22Bcb48WH0Jc4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758910788; c=relaxed/simple; bh=eSfv/94BXfVINtY1Gd87gaCX40bgQegXNivKn8K8/wA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QRnAHk28d7e0jN44hfbEMPNyDA8zHXmm02sHdW2+4CeeKQDuyCUUZaY9KKR3gMehXT4Dni1NOnmNFzGs/lPXI8GX04PHbH7wHc/gfqMDwOOadXWxxQWJ8dvaFDPQStfRXePNi7IfZMyXi2bEauoxWbDpWAx9VF5peVP9UBb3w4M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eA9dIvt3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eA9dIvt3" Received: by smtp.kernel.org (Postfix) with ESMTPS id 811F7C116B1; Fri, 26 Sep 2025 18:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758910788; bh=eSfv/94BXfVINtY1Gd87gaCX40bgQegXNivKn8K8/wA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=eA9dIvt3vE+KnL8TN/1khNLMa1tjc/IJFcYvdbzJcAEudbwke+l2TOCkLzpOdcUnY bLvdCC5wl4xQ7rWtACHPYPhY6OIrnGPui6ilnqSP2uZXAFS5Kk4vG8ZcRFLl9mkVZs DfuHN5TrZCAVMkwkclYsUELCYubvoIDF4EjT7Zrtshy5Q4nZW1+C57iBfHHhq0L+Bv 0VBV63qGZX+OLIoudcfS4xV8Mpr9p63m3wIdPkcDD2vGjtqAgydwis3IQOWFkWibhX 69YNUuQmygoR45+a152ZlZrDEd0yfZGcTyNYRV5iBmliBHMfmUGxABH5v3qXV8THFc 9oMD4TvFlt/5Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 580D9CAC5B8; Fri, 26 Sep 2025 18:19:48 +0000 (UTC) From: Frank Li via B4 Relay Date: Fri, 26 Sep 2025 14:19:40 -0400 Subject: [PATCH v4 1/4] dt-bindings: usb: add missed compatible string for arm64 layerscape 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: <20250926-ls_dma_coherence-v4-1-21e9c6bdb5cb@nxp.com> References: <20250926-ls_dma_coherence-v4-0-21e9c6bdb5cb@nxp.com> In-Reply-To: <20250926-ls_dma_coherence-v4-0-21e9c6bdb5cb@nxp.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Shawn Guo Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bjorn.andersson@oss.qualcomm.com, imx@lists.linux.dev, Frank Li , Ze Huang X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1758910787; l=2369; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=xECP3rJgzFVmUgwO2Q0SoMn/hJcv7uPuVA3P1+7dxKA=; b=ihVrKU/QKLhhdbQULjuiZ91XkMApIntlRtjBuERXvfxnVIj5c3BFkIqber7bGljsF1GxkQ6KR Bfgt7U3yFMCAj6hKQNU9RXgqfXcXe4SEEVE92LcG8Lk7VFexIRsEZA+ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-Endpoint-Received: by B4 Relay for Frank.Li@nxp.com/20240130 with auth_id=121 X-Original-From: Frank Li Reply-To: Frank.Li@nxp.com From: Frank Li Add missed compatible string for arm64 layerscape platform. Allow these fallback to fsl,ls1028a-dwc3. Remove fallback snps,dwc3 because layerscape dwc3 is not full compatible with common snps,dwc3 device, a special value gsburstcfg0 need be set when dma coherence enabled. Allow iommus property. Change ref to snps,dwc3-common.yaml to use dwc3 flatten library. Reviewed-by: Rob Herring (Arm) Signed-off-by: Frank Li --- change in v2-v4 - none --- .../devicetree/bindings/usb/fsl,ls1028a.yaml | 33 ++++++++++++------= ---- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml b/Docum= entation/devicetree/bindings/usb/fsl,ls1028a.yaml index a44bdf391887f9c7d565c01d2c3aede99c4a9fc3..4784f057264ac7b18cbc8b41a40= 5f9c9268605bb 100644 --- a/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml @@ -9,21 +9,19 @@ title: Freescale layerscape SuperSpeed DWC3 USB SoC contr= oller maintainers: - Frank Li =20 -select: - properties: - compatible: - contains: - enum: - - fsl,ls1028a-dwc3 - required: - - compatible - properties: compatible: - items: - - enum: - - fsl,ls1028a-dwc3 - - const: snps,dwc3 + oneOf: + - items: + - enum: + - fsl,ls1012a-dwc3 + - fsl,ls1043a-dwc3 + - fsl,ls1046a-dwc3 + - fsl,ls1088a-dwc3 + - fsl,ls208xa-dwc3 + - fsl,lx2160a-dwc3 + - const: fsl,ls1028a-dwc3 + - const: fsl,ls1028a-dwc3 =20 reg: maxItems: 1 @@ -31,6 +29,11 @@ properties: interrupts: maxItems: 1 =20 + iommus: + maxItems: 1 + + dma-coherent: true + unevaluatedProperties: false =20 required: @@ -39,14 +42,14 @@ required: - interrupts =20 allOf: - - $ref: snps,dwc3.yaml# + - $ref: snps,dwc3-common.yaml# =20 examples: - | #include =20 usb@fe800000 { - compatible =3D "fsl,ls1028a-dwc3", "snps,dwc3"; + compatible =3D "fsl,ls1028a-dwc3"; reg =3D <0xfe800000 0x100000>; interrupts =3D ; }; --=20 2.34.1