Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp621608rdb; Tue, 23 Jan 2024 09:27:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgAklIpD5exWDvz0Z3I+V5L1fiDNVoXVPdjn5CuMNqqd7hLQ4SmM+sDz1I1qsoRIFkCgKP X-Received: by 2002:a17:907:cb85:b0:a30:6015:5557 with SMTP id un5-20020a170907cb8500b00a3060155557mr119072ejc.84.1706030855076; Tue, 23 Jan 2024 09:27:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706030855; cv=pass; d=google.com; s=arc-20160816; b=oLLHCa/Ng0fUbEK/kEG94vdIP3lXfe0oNRcXg70hObxHled9tE04RCmPzvpcXWjx1b omD0LJAKcrRH2SCblmjjWToFwB2NDu3y1KvhFTOGobQUYKhI+cVDwGxgEWu/r/L1mpZU r9YFz1Yj7kVO/xi9JalBKt6dqnDE4QIjnwMfL80TWOSUYdvgCGIFUpuAdgsTo/EA/v1d y/VKd2jeajH6oZheKoSggbTs4HxcCTgmpbAoOToD75m2xZ36FTAdVCFG7e+AZ30pTcfa HT7JPWi20WA2I2lqWoR39FvsxCLqVmrxPkqNIYJnH5tsg4kq3XQxMC8JTUtGc3d+xXuR z+Wg== 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=bWOlMm0fW4NU0reLqYvdFgl/JtDABs02SaYn+sQjOhk=; fh=lKIsNzJr27w1qgqqAeC4JQFrRTGxWTl4/QvLcChRB1w=; b=zTHhEu16w4rN0TnaZG4kRAYkML2hTRsFLJIueiqcRT51PbI2hFeNkoohBRqZvXkDJO qRim9P5GmpylWkRpuK2dq+dnb6EwWTz7e2MsmRORjtYrcVuG4Kgus6GxLP+G8UEr3cxz hrItqokDR7TRBTqZDXgXJoFczpztKp/j1y/Ruo2wTLNpZFcYDyoe7VksTAButvlq7k7C z4bHC+OOnJmRsYnvJ3a/Q2hXwx5iEwcNDX1r41voA0R+00ZPh/Nkun77D9OOkVk1fwJm nfpqk5MhbLHMnhPa6z94zIcC8QqEAVBXb/4MZy9SLq1AnEI3qw5TONVno+Y3/rCCWkL4 +fBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DNCZ7fRS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b9-20020a1709063f8900b00a2c8e69ded3si11378962ejj.994.2024.01.23.09.27.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 09:27:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DNCZ7fRS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35779-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AABEC1F24D4E for ; Tue, 23 Jan 2024 17:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14FED811F0; Tue, 23 Jan 2024 17:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DNCZ7fRS" 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 8118180027; Tue, 23 Jan 2024 17:27:19 +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=1706030839; cv=none; b=PYAXE8pbvybEgLH0HTzWyYtIrz3oXSNsYvWTpH1gbef/YS+kChfjKv1ruSLWJeEcWpVoNmtgWfkEgobda5ZDTHDjWcIbqchfXiu6QbdhV0NO12O2NsIhMwrmwBVJ/EsZxLBNnOn8gthUpUXm9GSrDGRf27SR85w/9o/cwyPiIxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706030839; c=relaxed/simple; bh=x/RapcgkYrZ4n19ONhCZoeWczR9Ix/nCHIHmNGyqH4c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DZywm/2PibXjdJDGMgJvZ7w3saNnB2LGtJiNfid0ZkzINp4XOYbp9NQQnoMLiPBXfNpFLztEYMwd9IY4S40cVO1fpjKr8guEs2/yIlMerXvEs+bUBjTwRDtSET5X+URSbFkYb/aDwvxJdbkaYK/aKBO88mUywL1FcXUZenGmTl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DNCZ7fRS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3D5BC433C7; Tue, 23 Jan 2024 17:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706030839; bh=x/RapcgkYrZ4n19ONhCZoeWczR9Ix/nCHIHmNGyqH4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DNCZ7fRSS8wM7eJBgeIxDdpmfWk2pUbMREhEl1lbnJRRtNT+z8AQuz5BbxDjpvQtQ VhcawpcmgSJYGPrSLFHnfxCBpS3tJSP+FfhXKfNHK3CMcrfQu3cDqZzZbqivUxhSyt +XY8qgPysam2pvlAkGvXN32dhasHg3Mnb5zBY4QbAD8W+XahQ2rsNagyxHodFBihUK biwTnXnwlDZzcLwKkUlCQK3Rb/JSsIWqtwk0pKYUZd6KwngGenefDTuOQVh03s4gL7 4g496QDuvH136IIez1h4JSWthsq/D49mc7VMeVwwOu+6Tsymu05912/vPP0cIxXlcy j+An4F2+MP1dQ== Date: Tue, 23 Jan 2024 17:27:13 +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-poking-geography-33be2b5ae578@spud> References: <20240123170206.3702413-1-Frank.Li@nxp.com> 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="uT6qsPdC97JrYgBl" Content-Disposition: inline In-Reply-To: <20240123170206.3702413-1-Frank.Li@nxp.com> --uT6qsPdC97JrYgBl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 23, 2024 at 12:02:05PM -0500, Frank Li wrote: > Add device tree binding allow platform overwrite default value of *REQIN = in > GSBUSCFG0. 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? Thanks, Conor. >=20 > 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/Docum= entation/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 certa= in > + 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 --uT6qsPdC97JrYgBl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZa/28QAKCRB4tDGHoIJi 0rqJAQC4jL1FYVAySaeVuLvke0qQEQUpG/jJ7OxO64ZUcXl6nwD+In3AVAC2usfT M0thzO+OawvnE9qiNWUlsEyPa511vQY= =lZL6 -----END PGP SIGNATURE----- --uT6qsPdC97JrYgBl--