Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp447452ybg; Sun, 26 Jul 2020 09:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweiHug1Ywre/0+2pU7du3HSwFr7X6RqYAVkdu66BRi7wRNpclg/ZJvg7/1fndLomg4jp8k X-Received: by 2002:a17:906:454e:: with SMTP id s14mr5798946ejq.147.1595781380931; Sun, 26 Jul 2020 09:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595781380; cv=none; d=google.com; s=arc-20160816; b=nab4UvzYU+YxhHVUDbG1/G9F+ZfGov09tVWxrYBqriMtUYSUFSmOxKu27yB0y++4hM QLBvSByNPEOFnfLUFiNY5uZ9xJvr/rFeL+Cx1up5GUvPaqFoJcqTooDywYDWudOSA+// ANyk2S2NTJHq5xWPJjHnIha4cD7Gde7L1n9wEuD5QgyfVZ74ZH1Pa0463+bXcII9/MOq eJjaa7KECpiEeP1OXnEla0vGiUVwSM9leDupgV1voseUaS15yumZXD3Ixf/noesSkSdX W3s1P9SVdMi4iPTh/ymFiXE4Y2RmHga0GB/8vDZ+K9uLjXlJ08D7AxV61GRlRwh2T9xD kjow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8voVJsDZ/x6rxbdF+Ob6Fh+jKZhP3BmoIaT4W44hxwE=; b=G2uBnWe5m358uXFeDsF9f0jjPF6I+mLP9NaVzUBYHeqxO5SGC8rDSzQo91/wPM0lOR 7STxn3ymOO/vlG1ECH9jXNJCCR/u/u5VN0N9gHMwY5cfqKCPgmwzHLsJ4snmdXgylzGm dSZHdONJ8SJwEFn9+9paAZpgeef7m4reY/BlBi71yDTsc0TihKAYoF5AeeSYL+r5mF7c 2VJsz78jeEJecTJijAZ36xLkDBeFr/EPQdGmF2tCCBfQbli7tsxLaKJZwSHjIUPZMQa4 fWGCpdret08kXMH9RWsGISVrU/9nbjAixPEjp7iA3iEVHOjqXhJsbyR5GQLnYJpIq3fp /jHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="KkYpNh/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn4si4410601ejb.569.2020.07.26.09.35.58; Sun, 26 Jul 2020 09:36:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="KkYpNh/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727815AbgGZQfL (ORCPT + 99 others); Sun, 26 Jul 2020 12:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbgGZQfL (ORCPT ); Sun, 26 Jul 2020 12:35:11 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26D75C0619D2; Sun, 26 Jul 2020 09:35:11 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id mt12so450045pjb.4; Sun, 26 Jul 2020 09:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8voVJsDZ/x6rxbdF+Ob6Fh+jKZhP3BmoIaT4W44hxwE=; b=KkYpNh/cSOnYCe2mDU0mmBa7FCJ+4I/3s0i9OjIKYBlwABEnO7g9UMutLLPsQCUJMz EuDNyL1yH7Zjr8JONCnuO+34FbHJf4YanGOSCs2QQApAtLByYRn0bT5EhzkyU0j1xgso uFh385Fgeo9/FxeB0QHJLFqekhc/7TWfP/iBTk09rkdbFmk/gPoZTZswWKOGWipWNFbd 6NEyvUAOk1I8hmVLXJuyFozSUeAWJKJJkzkogLZ1yVA00DDsTcesZenfdFSIiqfymVrC Y41DeR2tYYbh4mpr/PKKgZ4GofdxmOylpn28vD6sxSlSPnrmuBVJoQHC0Qqa+LbFs7d1 Z58A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8voVJsDZ/x6rxbdF+Ob6Fh+jKZhP3BmoIaT4W44hxwE=; b=QJQ6GWaYCCIpxGt4jaYvNkIrkT/RI9rMJAtzw8nxg7tAqNHcX4MFYZBM9+xaKpC1Bn +Ry4TBuzCjgdGvhjH692wA7mFyOAqRAKGedeFLF+DmYLGwA1pKwftuuMZUSBLi9CEFTs wwd2WjkInyG4U2wiZxSJbGtcHOeyLCbRz9WiV+PWQcjVto1dR9juolndRgrZI48jPAoq mBE5pj11xaxp7gly38V9woat9F8rhjMgCZ/qCtH7cPBj1NF56eRqmQTf/Q8DodjpEqS5 PUFnoF76dL0VQryviYNa0jY5fDWJQoOfCT+NhDAj21WTNdGC3DmpbTjErPs6aumTNM8z Pqsw== X-Gm-Message-State: AOAM530s/mv5ZBICcb4glZ5F/EvNhKtqeLmkYZ88rxbvA2/X/svDbgcJ bgqqzkvJh48SrGPQPDh5WSB23ylZvlAxcnTq4KWIVWFm X-Received: by 2002:a17:90b:3547:: with SMTP id lt7mr14631499pjb.181.1595781310704; Sun, 26 Jul 2020 09:35:10 -0700 (PDT) MIME-Version: 1.0 References: <20200607162350.21297-1-mani@kernel.org> <20200607162350.21297-3-mani@kernel.org> <20200701130206.GD3334@localhost> <20200726155223.GB12036@Mani-XPS-13-9360> In-Reply-To: <20200726155223.GB12036@Mani-XPS-13-9360> From: Andy Shevchenko Date: Sun, 26 Jul 2020 19:34:54 +0300 Message-ID: Subject: Re: [RESEND PATCH v4 2/3] usb: serial: xr_serial: Add gpiochip support To: Manivannan Sadhasivam Cc: Johan Hovold , Greg Kroah-Hartman , USB , Linux Kernel Mailing List , patong.mxl@gmail.com, Linus Walleij , Mauro Carvalho Chehab , "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 6:53 PM Manivannan Sadhasivam wrote: > On Wed, Jul 01, 2020 at 03:02:06PM +0200, Johan Hovold wrote: > > On Sun, Jun 07, 2020 at 09:53:49PM +0530, Manivannan Sadhasivam wrote: ... > > Same here. And perhaps just ignoring the pins managed by gpiolib is > > better (cf. gpiolib and pinctrl being orthogonal). > > You mean, we can just make TX,RX,CTS,RTS pins controlled only by the serial > driver and the rest only by gpiolib? I'm wondering if you may use mctrl_gpio_*() API instead. -- With Best Regards, Andy Shevchenko