From patchwork Mon Nov 20 16:39:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 16814 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp59346vqb; Mon, 20 Nov 2023 08:40:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbl95DTRNeQlTqXw2JhtPklwRR0xka84XzFcnDaAtKmNUjDCvmtfI/M9L3dNcgWrUUC+7B X-Received: by 2002:a17:90b:1b10:b0:280:959d:1d10 with SMTP id nu16-20020a17090b1b1000b00280959d1d10mr5669936pjb.3.1700498412834; Mon, 20 Nov 2023 08:40:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700498412; cv=none; d=google.com; s=arc-20160816; b=glTI6iD+7PbSyaAwkM25A/rvEbBj4lX5oAZYNK+4XImCGkWynSEXd+L2NZMDC0rYxR CIEsNBw3zfj/gH8u834y2k74OCXZTXJTnjPnbxWSx+okhdC+2WIUGw1yVCDyFJAUE1JB qQv1cA6aKkHwpqfOtPlprxlpgYyzhSm8liIhIjuTvc4XaAWOyAedSVc4QX/L7Y0mrDJE bLf9UhnRIugp3Daiqmp4gnR4ykEkt9nc30DFDs4B+DWVwE9Zc558nbknpu5AIHDyrxJq I1obvVLndJHmjyt/zYu/V3thIlwnj8XynuqDVHf2Fwz9OgI2VP9DRsPtEPM6hCNDKmWE 3KMA== 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 :message-id:date:cc:to:from:dkim-signature; bh=jeI1cAbbkaEeeFL+CLrlTP90a1nSpQP3zxZs4Tk4e1o=; fh=FmNWJ+nUXRAKyY1BicAGDpelDPWskDx8tc222mH37dc=; b=Y65qpr1J6F1fFDKxUb+JTcS+gFfU3/6qH7BCcaIgsbM89sFwVGpPA1L5fA2XPt6JEP kvtL/qhEPhZIGuFIKtJv7wDrCN2mmak4Y74tkrHo35nXybqqom5Gx7Smb056iyka8xXU WmXp+uQm4QAbTx9gHwwmQlQKDvbRVpJPkdzTLBYAshoCPrEfeqJZOpHOVmVzM+BkUJq5 EcVw/OzNW3GuAhKe4au7MVsoWLSuI2mwh579sUJ2t5sShrxuFPUSgBFA3bsXzb2Z/tDl W8T8SMqt8rxb/rq0MvbhSqdr5ZQc8E9ObZv7NNtYEcv2rpcf4tecM/U3BP4tv6p5sW9I 8MsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=Wt1dnfWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id gc5-20020a17090b310500b00280294ec225si10424117pjb.24.2023.11.20.08.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:40:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=Wt1dnfWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id C30A1804754E; Mon, 20 Nov 2023 08:40:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232515AbjKTQjp (ORCPT + 27 others); Mon, 20 Nov 2023 11:39:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232282AbjKTQjn (ORCPT ); Mon, 20 Nov 2023 11:39:43 -0500 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6DE7BA; Mon, 20 Nov 2023 08:39:38 -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:Date:Cc:To :From:subject:date:message-id:reply-to; bh=jeI1cAbbkaEeeFL+CLrlTP90a1nSpQP3zxZs4Tk4e1o=; b=Wt1dnfWPDal9TfyBoqDRSgjG2b 7ifSDLmGK1cxdoNoGSmJJylU6cQo/xbdvGGL+cOCR3ygMrgZcrG+7eFKh7znW75gW3ZhZOyNWprRQ H0d9YmqBgs62MKp5IHIilqHRQvKn3dIsMbR5nR1qVMnRqKGo3WJ7LMTtqCNmRiMayhxU=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:52556 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1r57J9-00005F-EI; Mon, 20 Nov 2023 11:39:35 -0500 From: Hugo Villeneuve To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, hugo@hugovil.com, lech.perczak@camlingroup.com, Hugo Villeneuve Date: Mon, 20 Nov 2023 11:39:30 -0500 Message-Id: <20231120163931.2872431-1-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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 agentk.vger.email X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=unavailable autolearn_force=no version=3.4.6 Subject: [PATCH v2 0/1] serial: sc16is7xx: improve regmap debugfs with one regmap per port 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 (agentk.vger.email [0.0.0.0]); Mon, 20 Nov 2023 08:40:10 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783101823760151239 X-GMAIL-MSGID: 1783101823760151239 From: Hugo Villeneuve Hello, this patch series improves regmap debugfs by using one regmap per port. I have tested the changes on a custom board with two SC16IS752 DUART using a Variscite IMX8MN NANO SOM. Thank you. Link: [v1] https://lore.kernel.org/all/20231030211447.974779-1-hugo@hugovil.com/ Changes for V2: - Remove now useless line variable in struct sc16is7xx_one Hugo Villeneuve (1): serial: sc16is7xx: improve regmap debugfs by using one regmap per port drivers/tty/serial/sc16is7xx.c | 145 ++++++++++++++++++--------------- 1 file changed, 81 insertions(+), 64 deletions(-) base-commit: 98b1cc82c4affc16f5598d4fa14b1858671b2263