Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3183388rdb; Thu, 16 Nov 2023 02:33:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGats94C5NV8i5+C5ltYo2y167P8MTkxTv0IaQu5Z6kZVcXEMM88q5dryu232waQjgfWdnQ X-Received: by 2002:a17:90b:1802:b0:280:1c25:b633 with SMTP id lw2-20020a17090b180200b002801c25b633mr13676803pjb.2.1700130828790; Thu, 16 Nov 2023 02:33:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700130828; cv=none; d=google.com; s=arc-20160816; b=j50nWrVTI70onfaUbqb5mKPqd02b+EScf6ra1UcA863DEy8bxGPg4NojOkayAM9Vr/ SKDZ9eoQkHarui/NKwh1BO8Pa18ewOcsN3arhO3264ZFZVsUFd0QjEkwtDffrHckBywh k+07+8Oo076RQI4/sBbNgUvzBcy3Z0PVHOXK/Sz+3a90CRZ0fdInKnM0mo/TH45swKxy EFN/KEUp+fpbEX3mDC+AvTeY3ZSby1LBgynXOG37gN4mGQFBcUrT8Z8mxOEqobf9GD2f dutjKC+EO38Jbjs5quK0iBk9FX3S/kEXMwdHPkg39YAB2YQc/6GDpqQJv0K1RPidwFOu yW0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=KOCiWUhMH4hnxHlWOWnGeGYkeEeB5aUu205Zvuz11KU=; fh=MXtWer/AIEyvwnRHm1diQsnir9yggnXndpRahF6VVOQ=; b=rIVh4zEakbq4epiGKXp22iZHWQ7dv+baXj8U86l2UHCh9C4nGwOJFbl/WewX6RO6w/ GzvkDFEVp0yaGilokgoh+W2re2yiwSLPhEDwL/MuspVGkgbxpsy6r3fLYNqVOwWczCn2 oguJfekEDEYYox11mgbCW88oEwQy5xRYcunDwrlVI5ZfWyjx84wWGf6ZtzkiuOoAbL1e qWpXiLUA+83j1v1HVd4knzNELBklQEUlnJtKQCftCMEX4dRTxRI7eHoD2x33ysL8sqqM YEJJACLa+D8iDU+vn4nKS7g7LTvH6NHrTKMXptyCnj0jTgvYe5c2HtvZwHQQuP6jKsMo aMbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=cEoL1JoV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j12-20020a17090a318c00b0028024067027si1733840pjb.138.2023.11.16.02.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:33:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=cEoL1JoV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 115248025396; Thu, 16 Nov 2023 02:33:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345029AbjKPKdc (ORCPT + 99 others); Thu, 16 Nov 2023 05:33:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345003AbjKPKda (ORCPT ); Thu, 16 Nov 2023 05:33:30 -0500 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A7801AE; Thu, 16 Nov 2023 02:33:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Mime-Version:Message-Id:Cc:To:From :Date:subject:date:message-id:reply-to; bh=KOCiWUhMH4hnxHlWOWnGeGYkeEeB5aUu205Zvuz11KU=; b=cEoL1JoVdqwT9mHr0UlV0Sx71j IztOapDuFS5+FCzgG760gnCgwl/yKCtjGmGsL4vtPwPMHpSsSlojB7A/lDpIFo7yCE8A1Se0EwV1P ZmVLZLGD3iDi3VMnyik5h3bRV2NTqYx8jz2YjhEpx7h6jmAseNVILhkTaUCLVy8boq0g=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:34750 helo=asus64.hugovil.com) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1r3ZgQ-0000qg-UU; Thu, 16 Nov 2023 05:33:15 -0500 Date: Thu, 16 Nov 2023 05:33:14 -0500 From: Hugo Villeneuve To: Manikanta Guntupalli Cc: , , , , , , , , , , , , , , , , Message-Id: <20231116053314.e976a87476cc5bc20eacde48@hugovil.com> In-Reply-To: <20231116072915.3338387-2-manikanta.guntupalli@amd.com> References: <20231116072915.3338387-1-manikanta.guntupalli@amd.com> <20231116072915.3338387-2-manikanta.guntupalli@amd.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=unavailable autolearn_force=no version=3.4.6 Subject: Re: [PATCH V3 1/2] Documentation: devices.txt: Update ttyUL major number allocation details X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 02:33:46 -0800 (PST) On Thu, 16 Nov 2023 12:59:14 +0530 Manikanta Guntupalli wrote: Hi, > Describe when uartlite driver uses static/dynamic allocation for major > number based on maximum number of uartlite serial ports. > > Signed-off-by: Manikanta Guntupalli > --- > Changes for V2: > This patch introduced in V2. > Changes for V3: > Fix typo. > Move description to above of ttyUL. > --- > Documentation/admin-guide/devices.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt > index 839054923530..ae7431e317ad 100644 > --- a/Documentation/admin-guide/devices.txt > +++ b/Documentation/admin-guide/devices.txt > @@ -2704,6 +2704,9 @@ > ... > 185 = /dev/ttyNX15 Hilscher netX serial port 15 > 186 = /dev/ttyJ0 JTAG1 DCC protocol based serial port emulation > + > + If maximum number of uartlite serial ports are more than 4, then driver uses "are more" -> "is more" "then driver" -> "the driver" (or "then the driver") Hugo. > + dynamic allocation instead of static allocation for major number. > 187 = /dev/ttyUL0 Xilinx uartlite - port 0 > ... > 190 = /dev/ttyUL3 Xilinx uartlite - port 3 > -- > 2.25.1 > -- Hugo Villeneuve