Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp548451rbb; Sat, 24 Feb 2024 12:02:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUfia6tXRS1KYXN3jYbsBYp5Gj9n90PDSgBl5HVGw8L1iJKxNJLaseteAJ+TeD0B8q20FA7UxWSMvhtn/xGwZA3lJgBqnQyIVxvw2tbLw== X-Google-Smtp-Source: AGHT+IEpXq6rhEhL0F+GMQ5b+2Dmrbz8Zh8J9AM/dHTcuN5SmzqQKcRVPi4L1kY+w0iJnHXd6MHP X-Received: by 2002:a17:906:f15a:b0:a3f:ce31:64d6 with SMTP id gw26-20020a170906f15a00b00a3fce3164d6mr1973422ejb.10.1708804961410; Sat, 24 Feb 2024 12:02:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708804961; cv=pass; d=google.com; s=arc-20160816; b=zTIwDZYiTBULErGRMd/UwembIZFIyIqBj2tHpFdULB7ZVjOt1M889dI+Ygjt30emv+ 6eitblStQlCfJ7Ed4bZpRLMkYmkckce44dhPET86mgxKlpXIakCwXgoiFjFhhry2hEfL VmoLBIQxblH9f7HTpxMYhI1j/60i2+eoVq2eTVThGjVKWQoG7yesgKZ2I4xt+oeWXIQA JS+to+UkXRiWVrKW8anzXmRGEbzFNvH+yolwquJq7CKtF5wP3QJryG6GjM7DV74dVdDj yUV3Ttm7EdAphKUBjRdFC4uugiZkDKWqtghlfuq7JPEh4u32osZnPFxdDqDD8/fg1Upk 8fag== 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=RAqpjAh3ElsrnOeCuTnLRCC9ha23cIxDw3WRL8hT6Ko=; fh=qAQfB61XFFbs9NxiYgJBL5dtM2Ws7MuTF17c2aVsJuI=; b=0xUlNoewhKAgAA14epu8NZtXvyB7YmN3JFVLX252JI+lO0WAF+BZw2Rnu8/pwas2dD cNGununy3DVVRVse95MqVtd9LV1CuwptazHu5FaW4HjuNwVSHVun+e/o0KybA6CrvR0P sfLoIHGxmvt0qlHcjhxl/VrbEJ5n/b6YqEb7qXEaAYDjzc0ZJfMcYpROj+pl3NMMN42e ILwqjNgiKyFtiH8jZlbRtY2hQEaRrOa5W3npsRZ2BQ6zvtoDXjxuqBOL83B/4cH1JSw1 CYUHlpyaJks5KPZNeiv2O0WG5koPNhPEPS7XgGguk6r8jBcYFe9oi+95tdNyfVDeVJJs RTTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M4EJfrEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79821-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. [147.75.80.249]) by mx.google.com with ESMTPS id n20-20020a170906119400b00a3e71bcc6ffsi702555eja.669.2024.02.24.12.02.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 12:02:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M4EJfrEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79821-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 023CA1F21BBB for ; Sat, 24 Feb 2024 20:02:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2EB14CDEC; Sat, 24 Feb 2024 20:02:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M4EJfrEu" 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 1596C4D107; Sat, 24 Feb 2024 20:02:32 +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=1708804953; cv=none; b=Fcm80jeLhCNw4Ntg+P8byEf/9XxTvut8SlFPPB7zstdS/omH9K9x38GwE7m31kATuHU3i06iKrl88eDrfN2pOR52G/xs948b8yI0a242XMjmDyk8zM4exC2jIhPe1B2ibTDd8V5feNrs/2Obf1w1zNuRuLNeuQyKz69iFVW8m88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708804953; c=relaxed/simple; bh=tpvjkEKYJLAWc8r/kFlJlpJPF2ji+9TFnmJFk47EZlk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K3+O4VicqeRWTlyqgRXx0BKFu6Cfl14jOWuTuWFBOAnEp1/817tscmWZm37lXewsE6DVDy+6FFP8p6LyWG/5d6nlT9qsY969iy5MHWRXCae0iu4pOluNcP0k06uzDGPbeB0bC8nWRPABffzM5ULgue0wNJUDyWvsUhFYe6lkgo0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M4EJfrEu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 476DFC433F1; Sat, 24 Feb 2024 20:02:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708804952; bh=tpvjkEKYJLAWc8r/kFlJlpJPF2ji+9TFnmJFk47EZlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M4EJfrEukmXbwH6vbe4k1OZ9uAkIti2PK99vA7IODObK94M/+dWtj7ewfRKkVCzBe C07PLANm15udqZOyj0fM2A+5/64AqnNp3y7OEZ3m3qx2LWwmuSym2P3mmbLbMCEoKW ZkeTkEvJD+E0tqJ7Gei3Ggez2ugzAV+DBBYd++cVQBzLxvTkNqUIGzbRdGOQ571d/l K2ZCQTYsYFh6ibAlxc+Gnr56XzXoeytPVFeMjE8PDfI0+iAV7a/LICTWNMVF0McfNw LpwUA2ZTyv3N3EV5tpPt4xQ8FJJcAUG9iSwZPjoDy2T18+4IVkB1Mr/mckTL/hvbzv vljH/6Y+VYOZA== Date: Sat, 24 Feb 2024 20:02:26 +0000 From: Conor Dooley To: Varshini Rajendran Cc: radu_nicolae.pirea@upb.ro, richard.genoud@gmail.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 12/39] dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7. Message-ID: <20240224-kimono-stress-898eae80abd3@spud> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> <20240223172559.672142-1-varshini.rajendran@microchip.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="8c64jTTjW0j3INUS" Content-Disposition: inline In-Reply-To: <20240223172559.672142-1-varshini.rajendran@microchip.com> --8c64jTTjW0j3INUS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 10:55:59PM +0530, Varshini Rajendran wrote: > Add sam9x7 compatible to DT bindings documentation. >=20 > Signed-off-by: Varshini Rajendran > --- > Changes in v4: > - Fixed the wrong addition of compatible > - Added further compatibles that are possible correct (as per DT) > --- > .../devicetree/bindings/serial/atmel,at91-usart.yaml | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.ya= ml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > index 65cb2e5c5eee..30af537e8e81 100644 > --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > @@ -23,11 +23,17 @@ properties: > - const: atmel,at91sam9260-dbgu > - const: atmel,at91sam9260-usart > - items: > - - const: microchip,sam9x60-usart > + - enum: > + - microchip,sam9x60-usart > + - microchip,sam9x7-usart > - const: atmel,at91sam9260-usart > - items: > - - const: microchip,sam9x60-dbgu > - - const: microchip,sam9x60-usart > + - enum: > + - microchip,sam9x60-dbgu > + - microchip,sam9x7-dbgu > + - enum: > + - microchip,sam9x60-usart > + - microchip,sam9x7-usart This doesn't make sense - this enum should be a const. I don't really understand the idea behind of the original binding here that allowed: "microchip,sam9x60-dbgu", "microchip,sam9x60-usart", "atmel,at91sam9260-dbg= u", "atmel,at91sam9260-usart" Specifically, I don't get the purpose of the "microchip,sam9x60-usart". Either make it - items: - enum: - microchip,sam9x60-dbgu - microchip,sam9x7-dbgu - const: microchip,sam9x60-usart - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart or add - items: - const: microchip,sam9x60-dbgu - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart or explain exactly why this needs to be "chipa-dgbu", "chipa-usart", "chipb-dbgu", "chipb-dbgu" Thanks, Conor. --8c64jTTjW0j3INUS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZdpLUgAKCRB4tDGHoIJi 0gcuAPwKJcQi8VunTtf+c2HxMwJnzd/VcSM1qfFZR7t6Y2RTxwD/UV6+lcP8ArXQ HqrqN+g0Ua0mQyRSLJa+cfksxbl88wY= =PXng -----END PGP SIGNATURE----- --8c64jTTjW0j3INUS--