Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1354699rdb; Tue, 30 Jan 2024 16:32:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyif2cHidIw2ZxbCYvios/b0Y4/m2llD8X2B3lGgtNraxHvlfucDh1cuxbBUb6ZwF2SLSP X-Received: by 2002:a25:ae5b:0:b0:dc2:3279:fde5 with SMTP id g27-20020a25ae5b000000b00dc23279fde5mr212579ybe.22.1706661177702; Tue, 30 Jan 2024 16:32:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706661177; cv=pass; d=google.com; s=arc-20160816; b=CJ86EUjp2eE/yNGAo1cVBpdyC+yOMfH67tH9jAaiy7bdFZc9WPjSzMRGQMlbRjNN24 q45DCerFVu5Md3dcwnTsWWoUtq6Y+NBaHy+xaPBOJZvC8xqWGLQMrz1wUXkTt8iN2hka PmSFj//cuLCgZV9OEA1NqLVbfQhgE31tLYO/3qz/nMvhP0ky6RYKQ6DbfNJQ+Q74bjwQ l+dlf5avRajXYHoMNTz6EyeVCTjxrVWXlupQmbnLWwHu9+PndW/0RaRQYJv3xAZC0qSf QJao1ysa5TWmAE7fsqYY4DG2s8/OWfczwx0Jp73zTekaZ2MjekbiQkmufkKFw/1JPLgq ZtVg== 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=dLUsXvCGdUeRwgZaw1RT59D1L40kI0eiwDvvyYUBj/k=; fh=NxsJnWV+Q/YNCMzh09YWa0qZpkcbZo4F57oK0b40o2Q=; b=Z62tPRcLUbp9el5HJ5l1tkL9u9+M2fl3+qjSZdRCO6l8sLMmXGf6HBo30C7is6yS6q SZMBhiJP/7HF43Zr9e66mUyXbT/froFIM7+Iwea0nvsCaYLgL5NR0hIJvK/S3dVKQMV6 +6anuoq71DtKvaQEFWr/ElgHf+QMF9UV6vtFB6CsurOfNOhf2C93GF3ccSqf8xKODd4j FVPssjYBpi2oyXaisqN2AE6rbsAwLsTAR+NlwgEwS6yzvT8zTwXGo3mSZA5yeLnVVjPu wemGzn5TX/SYu8fsXJmhDckwnpaNc9gxSVLTNxF8gfpZzRKNEzMLA3jCSi6IXkDn1B5z 558g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M3KMncQp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVQSvUyirOQ/FdOTf2bYj5ZXPt5CYO1G1vI5Cluphx09PJov1np1osGvFXwtXPL8GfIFHh4Avxh7iVLCaEqiib/nqJpo9Z4CT95zhnWaA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gu3-20020a056214260300b0068c5b383cb1si3916332qvb.13.2024.01.30.16.32.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 16:32:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M3KMncQp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45521-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 683251C253F8 for ; Wed, 31 Jan 2024 00:32:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E2BB1368; Wed, 31 Jan 2024 00:32:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M3KMncQp" 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 AA240A29; Wed, 31 Jan 2024 00:32:50 +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=1706661170; cv=none; b=Guw0U7cxqsxXKaGER97Lc8ur5hECxgWP3WRD4UxOukfrjLB26T7lokQikyHSJDicHeNIqW1agwHbtzTsAKpHxHjyN/EBufCXJpeR6IhznLvDhnVRKkmoNa7JrB2V0knZAyRejDR0Vy2Crg+sbKZJwbJZlHeEWDGxn439SogK1BY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706661170; c=relaxed/simple; bh=TbbCfL8IJfxgiIsFWKnXWPwHbFFZ4Te+lbkwAcKaEhk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rGbybNLH8IscyZKnjVi5xhBZeshmTNrcTHdaJN4Hq5FjdGdqfJCxhCRyjCteVMtrRmUY7tDBo1qCspmYR3hfll0KDSQuE5S9uhljn09kyI+0w2S5VWfC8Jk6Po3evcBP5GLA4/8QtN288cjcY01qT+TB6Zd0mJma6+nQab+Srzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M3KMncQp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46FFFC433C7; Wed, 31 Jan 2024 00:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706661170; bh=TbbCfL8IJfxgiIsFWKnXWPwHbFFZ4Te+lbkwAcKaEhk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M3KMncQphv5pdrMNdBn56gAU1QjTtwVLGki7OgDIU+VK4dl7bi5jLL54lo3hcy95k bAZLYI1imLFoDGg1x+YHGaJjYYU3YiZvf60c6T3W6Pg3HYkmgYP5rroXAj7ximGlBG +UlaOpMaPHfBTLYwcd+ShnHL+dk1EGx07p3ytF0hFkRcoqMlqL5vwmqKjBSLPgKYE3 67JQZJXz2o6/6aWflWPgAyUoivH969ABA9qySqfKz80Vd+kQFs7Qo7QADGgpU9dFsA Zd1fTu/pCVGNYsYIcHSwiQAAbmW/mkbncQ027jmNXyZS25MB4g9Ig56uaokw55iZ/D OggQXOwCTGVCQ== Date: Wed, 31 Jan 2024 00:32:42 +0000 From: Conor Dooley To: "Corona, Ernesto" Cc: "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "'oleksandrs@mellanox.com'" , "'jiri@nvidia.com'" , "Castro, Omar Eduardo" , "'omar.eduardo.castro@linux.intel.com'" , "'robh@kernel.org'" , "'corbet@lwn.net'" , "'mchehab+samsung@kernel.org'" , "'alexandre.belloni@bootlin.com'" , "'tytso@mit.edu'" , "'arnd@arndb.de'" , "'ebiggers@google.com'" , "'mark.rutland@arm.com'" , "'joel@jms.id.au'" , "'andrew@aj.id.au'" , "Filary, Steven A" , "'vadimp@mellanox.com'" , "'amithash@fb.com'" , "'patrickw3@fb.com'" , "Chen, Luke" , "'billy_tsai@aspeedtech.com'" , "'rgrs@protonmail.com'" Subject: Re: [PATCH 30 2/7] Add binding for Aspeed SOC Message-ID: <20240131-felt-tip-mountain-e29606b63acf@spud> References: 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="QWiiH/5RiPb5Te7D" Content-Disposition: inline In-Reply-To: --QWiiH/5RiPb5Te7D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Tue, Jan 30, 2024 at 11:30:10PM +0000, Corona, Ernesto wrote: > Aspeed AST2400, AST2500 and AST2600 JTAG controller driver. >=20 > Signed-off-by: Oleksandr Shamray > Signed-off-by: Jiri Pirko > Signed-off-by: Ernesto Corona > Signed-off-by: Omar Castro > Acked-by: Rob Herring Where did this ack come from? The conversion to a yaml binding was in v29 (according to your changelog) but I don't see the ack from Rob there. I think a conversion from (text?) to yaml would be sufficient of a change to drop his tag. > v28->v29 > - Change documentation to the new dt-bindings yaml format. > .../devicetree/bindings/jtag/aspeed-jtag.yaml | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 Documentation/devicetree/bindings/jtag/aspeed-jtag.ya= ml >=20 > diff --git a/Documentation/devicetree/bindings/jtag/aspeed-jtag.yaml b/Do= cumentation/devicetree/bindings/jtag/aspeed-jtag.yaml > new file mode 100644 > index 000000000000..1a412e83b81b > --- /dev/null > +++ b/Documentation/devicetree/bindings/jtag/aspeed-jtag.yaml Filename matching a compatible please. > @@ -0,0 +1,85 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/jtag/aspeed-jtag.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Aspeed JTAG driver for ast2400, ast2500 and ast2600 SoC > + > +description: > + Driver adds support of Aspeed 24/25/2600 series SOC JTAG controller. > + Driver implements the following jtag ops > + freq_get > + freq_set > + status_get > + status_set > + xfer > + mode_set > + bitbang > + enable > + disable None of the driver stuff, nor where you tested this, is relevant to the description in the binding nor the title of the binding. Just describe the hardware. > + > + It has been tested on Mellanox system with BMC equipped with > + Aspeed 2520 SoC for programming CPLD devices. > + > + It has also been tested on Intel system using Aspeed 25xx SoC > + for JTAG communication. > + > + Tested on Intel system using Aspeed 26xx SoC for JTAG communication. > + > +maintainers: > + - Oleksandr Shamray > + - Jiri Pirko > + - Ernesto Corona > + > +properties: > + compatible: > + oneOf: > + - items: > + - enum: > + - aspeed,ast2400-jtag > + - aspeed,ast2500-jtag > + - aspeed,ast2600-jtag You don't need the "oneOf" or "items" here, it's enough to do: compatible: enum: - allwinner,sun5i-a13-mbus - allwinner,sun8i-a33-mbus > + > + > + reg: > + items: > + - description: JTAG Master controller register range > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +examples: > + - | > + #include > + #include > + > + jtag: jtag@1e6e4000 { The labels for both of these examples are also not needed as they're not used anywhere. Thanks, Conor. > + compatible =3D "aspeed,ast2500-jtag"; > + reg =3D <0x1e6e4000 0x1c>; > + clocks =3D <&syscon ASPEED_CLK_APB>; > + resets =3D <&syscon ASPEED_RESET_JTAG_MASTER>; > + interrupts =3D <43>; > + }; > + - | > + #include > + #include > + > + jtag1: jtag@1e6e4100 { > + compatible =3D "aspeed,ast2600-jtag"; > + reg =3D <0x1e6e4100 0x40>; > + clocks =3D <&syscon ASPEED_CLK_APB1>; > + resets =3D <&syscon ASPEED_RESET_JTAG_MASTER2>; > + interrupts =3D ; > + }; > + > +... > --=20 > 2.25.1 --QWiiH/5RiPb5Te7D Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbmVKgAKCRB4tDGHoIJi 0rCjAQDYj1EFmAGScPlfZN5yZJTxnHl32pOtpDUx3mrrfxczLQEA2sbvYzMN1NN0 lsTxpN/rFe4/GnLJeDKbYtp82xbo1gA= =L/R4 -----END PGP SIGNATURE----- --QWiiH/5RiPb5Te7D--