Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp652974rdb; Tue, 23 Jan 2024 10:23:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5GicLnzTm9YsxCYSRCqXXNWRB5XTjx2m1BOFhIR78oB6iPmOVI4FuaKCWJboBCLI3cKqm X-Received: by 2002:a05:6a20:e123:b0:19a:e66e:b155 with SMTP id kr35-20020a056a20e12300b0019ae66eb155mr4050038pzb.74.1706034192482; Tue, 23 Jan 2024 10:23:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706034192; cv=pass; d=google.com; s=arc-20160816; b=Aje2oO7k/0AsxfnD0TMLxyFvkMGTDHthTBu/Ry+ygWSHs4gMopvDG3eGNzkFpKV8FE wywCEOEBaNmfqRqzoimk8O6CAcoc5rSI9GmBKmRoFztcomPSMblsTQiMCm/qxbxhsVFf Yxxg2RBGdcO18uqogZCEuYR2iQFY1jJo5RoSpwGDMDaHU4TdY6cakjgcIjJIbfwinvYM v5hkngwKeUjAT6k23D2XLWyv+IDh0W9Ja9y9bi0EMWe+FJzTxrcoxYqSskKPG6XFvEjW TeoiNbIJE0mEX4pTel1sfAP/MZWiIOvU/uMUo7ERj0Q4E1lj42yGlqu784QLI7C3kLVe vguw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nwii0GawkaWn8kKfnl6fzH5hh00E95BzaTvyDZrZ0Dw=; fh=PIiwgWSGbTXuSdIx82/DGwADgMzvC8oA/QXvkqRVDSA=; b=dtJQi+igZWxEh7GujjGx+Zu+YiJNrYiBTIARHNRdYezX7/DtfCKrN9EIhLYpVwX4mZ EK3Z4ILsRiu3ZnSC0ibM/UDD1B8c6vDah8A4frs9c+ZKvwPKNNBgDQnOuXtJIBelhp7x eZUhU1zgPFS99GOUuVQRj/K6wfbVqEusp21gagF/qAvWSzFarnSq/qphi9D8dMfYpP03 jAMV+PKAmF7gUArq985o5Y2qrGcY5cQo4WPAwYNmmzIH1IxrXTn/izFvYUVz2JNhfEBC /LbsmEm+qxzVSFk9KJELOZI7UOIdF56j040oi7kY3dntqZb9lnUM2Hxm5/7Gj/5xSLMi 056Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fTzbS7Rx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z32-20020a631920000000b005cec914717dsi10352200pgl.440.2024.01.23.10.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 10:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fTzbS7Rx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9721CB28471 for ; Tue, 23 Jan 2024 17:52:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF07681AC3; Tue, 23 Jan 2024 17:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fTzbS7Rx" 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 E9D4180020; Tue, 23 Jan 2024 17:51:53 +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=1706032314; cv=none; b=O11roFyplGljMlkv2Om4nJ8fxutEgjqHX+xwEzlMITiXKCXGEl7Ay+foMM6ktyogu5zIdmzXNZDcAs/4cq0860DR1ITSj7GwTqaYzoZnjoxiZkV1Mrtt2+QfO+5k3unf6xb6fTFlpAEnKXw6Vjn5RrVVZYHN54UXBGrXT0v/6l4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706032314; c=relaxed/simple; bh=DUrySEkASJXrQsX7gXqyvxTHWOTdXS9Ah3TVqTfEIos=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZDMFqwhsZMNOJ2M+IBbH5Kggi4ysFH1JxeWVol+1962LAF5l2ccrwnotWFNhTRMaby5kbn9pZhtBMz/qhJm1WmNExm0i2OECheDkSS/0vDCpcyrxOyGHqHNiMXZoftx76sB3C9BscGCmDJlgTm4tMer52Tu/eDwdAxRDl0bAOco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fTzbS7Rx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 609AAC433F1; Tue, 23 Jan 2024 17:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706032313; bh=DUrySEkASJXrQsX7gXqyvxTHWOTdXS9Ah3TVqTfEIos=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fTzbS7RxhUEMQtHxBRWpVfuu8+SCjvta5g+ipYJozKjuaOxcx9fhk8sWPFaAhQ9lZ k0442yIf6304QIov2YfOuUiIuFhg33fp+2QGCJR6w7sELyeybxpkmPIjJ4NypR3dCL lUfuexFpe9Z1/k4JWaeHeM0b/fAN8lG3m/qlD2FhWxDIY1bUgACswsHsPWAOB2F6GC PZyQu3Vqb0rNm5+4DinoKx6p6E7tYAvkToIGoE4RLZwSsLVd2dSjqKhcINbv3/6TxA 00KGaHmBMkqVzCx6F58ikjdT4K2xVGBWJr/WhG9LY8oiIVYGSnZrC7LhlJGcWK+4Lk 0mX3wqMmcC55Q== Date: Tue, 23 Jan 2024 17:51:48 +0000 From: Conor Dooley To: Frank Li Cc: thinh.nguyen@synopsys.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, balbi@kernel.org, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, mark.rutland@arm.com, mathias.nyman@intel.com, pku.leo@gmail.com, sergei.shtylyov@cogentembedded.com Subject: Re: [PATCH 1/2] dt-bindings: usb: dwc3: Add system bus request info Message-ID: <20240123-anew-lilly-0d645bdbfb30@spud> References: <20240123170206.3702413-1-Frank.Li@nxp.com> <20240123-poking-geography-33be2b5ae578@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5XYrnAPk+u2li9K1" Content-Disposition: inline In-Reply-To: --5XYrnAPk+u2li9K1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 23, 2024 at 12:49:27PM -0500, Frank Li wrote: > On Tue, Jan 23, 2024 at 05:27:13PM +0000, Conor Dooley wrote: > > On Tue, Jan 23, 2024 at 12:02:05PM -0500, Frank Li wrote: > > > Add device tree binding allow platform overwrite default value of *RE= QIN in > > > GSBUSCFG0. > >=20 > > Why might a platform actually want to do this? Why does this need to be > > set at the board level and being aware of which SoC is in use is not > > sufficient for the driver to set the correct values? >=20 > In snps,dwc3.yaml, there are already similary proptery, such as > snps,incr-burst-type-adjustment. Use this method can keep whole dwc3 usb > driver keep consistent. And not all platform try enable hardware > dma_cohenrence. It is configable for difference platform. When you say "platform", what do you mean? I understand that term to mean a combination of board, soc and firmware. > > > Signed-off-by: Frank Li > > > --- > > > .../devicetree/bindings/usb/snps,dwc3.yaml | 36 +++++++++++++++++= ++ > > > 1 file changed, 36 insertions(+) > > >=20 > > > diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/D= ocumentation/devicetree/bindings/usb/snps,dwc3.yaml > > > index 8f5d250070c78..43e7fea3f6798 100644 > > > --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > > +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > > @@ -439,6 +439,42 @@ properties: > > > items: > > > enum: [1, 4, 8, 16, 32, 64, 128, 256] > > > =20 > > > + snps,des-wr-reqinfo: > > > + description: Value for DESEWRREQIN of GSBUSCFG0 register. > > > + --------------------------------------------------------------= -- > > > + MBUS_TYPE| bit[3] |bit[2] |bit[1] |bit[0] > > > + --------------------------------------------------------------= -- > > > + AHB |Cacheable |Bufferable |Privilegge |Data > > > + AXI3 |Write Allocate|Read Allocate|Cacheable |Bufferable > > > + AXI4 |Allocate Other|Allocate |Modifiable |Bufferable > > > + AXI4 |Other Allocate|Allocate |Modifiable |Bufferable > > > + Native |Same as AXI |Same as AXI |Same as AXI|Same as AXI > > > + --------------------------------------------------------------= -- > > > + The AHB, AXI3, AXI4, and PCIe busses use different names for c= ertain > > > + signals, which have the same meaning: > > > + Bufferable =3D Posted > > > + Cacheable =3D Modifiable =3D Snoop (negation of No Snoop) > > > + $ref: /schemas/types.yaml#/definitions/uint8 > > > + maxItem: 15 > > > + > > > + snps,des-rd-reqinfo: > > > + description: Value for DESRDREQIN of GSBUSCFG0 register. ref > > > + snps,des-wr-reqinfo > > > + $ref: /schemas/types.yaml#/definitions/uint8 > > > + maxItem: 15 > > > + > > > + snps,dat-wr-reqinfo: > > > + description: Value for DATWRREQIN of GSBUSCFG0 register. ref > > > + snps,des-wr-reqinfo > > > + $ref: /schemas/types.yaml#/definitions/uint8 > > > + maxItem: 15 > > > + > > > + snps,des-wr-reqinfo: > > > + description: Value for DATWRREQIN of GSBUSCFG0 register. ref > > > + snps,des-wr-reqinfo > > > + $ref: /schemas/types.yaml#/definitions/uint8 > > > + maxItem: 15 > > > + > > > num-hc-interrupters: > > > maximum: 8 > > > default: 1 > > > --=20 > > > 2.34.1 > > >=20 >=20 >=20 --5XYrnAPk+u2li9K1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZa/8swAKCRB4tDGHoIJi 0tRwAP9r1mGJcSdOfVMegDS+Ns3RRr/Kzo7ZdGQ1DPmmog12XAEAi/GTOWWWPSj3 36ussaCCWX9H1N3Gt6LJ1x0kC72Ubgk= =FRdh -----END PGP SIGNATURE----- --5XYrnAPk+u2li9K1--