Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5637619rwi; Tue, 18 Oct 2022 01:51:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM653NrgiSkmbJrIFcEZH8bG1qxvAaiACppGHYQX3IY126URjOz0RKYq4mOpi+fdz5ZhEH9Z X-Received: by 2002:a17:907:2d2c:b0:78d:d289:7efd with SMTP id gs44-20020a1709072d2c00b0078dd2897efdmr1536713ejc.166.1666083068376; Tue, 18 Oct 2022 01:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666083068; cv=none; d=google.com; s=arc-20160816; b=KpLz2ezMoOEHkuvi2TlCG50rBCGfi6sLl24FgYX3HcYfkUyQ/94r/0X6Wppw85ekU+ fDV8CJzeqyQ3A+9MxGjmcha7i8zdlk2fCGrKGX1UVv2g2S5exddcssqIu/jScZOQsuiC 1YIvBKPx1keM1fRKZbx7a9BrQVhcumps7LEQpvN/e8noaKZ6SHtsOjYenFwL0mMUFN8H aT9jULKM1aCS4TMC2gUVtKNxg/75K5e7ApSLkY9IR3VrOCU8l07UXIL1CJPmKkDzeFlZ yuax/YEjt7szqvrupSFrPK1I/1bNQcTSeULHN3ycF48LGxg/3of/HlXEF6CkShe6VC9g AHEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8IByHaHtnVLqDqCobgtQW0YAS3jK6ArSiZSVSG022Ng=; b=X0GvnCdEVcZL44dZKgY9KNcgJ4KVO0T/wfoFPf91jzoUF0OL7/sg5o1/CVE8+ICX+6 OoRbAYjfsbFVuELgsRRLatllNpHUrzJXUCgYLNeZgqMEqA5hXV35cr087ST7BIfvzFIw +CoAYA7WFabLN0xbnvox3LmfBSjYeq6TTz9kWdAanmH4ymE5K0HcxfDRAmNSQUgBp86f 3exCgDM+rCfMh1JWqXrdmN1QpBb0r3nsfA9+Jy4U4AK8xuxqG1mMqHiLcASIEJo5PJ0n A1M1VmXCsCAxslf/kg0DNdaX4nmswEbipvgTKq9RQor/5s1QvyoQk61JwUDSD+4HZ9mR WLlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kjLX0HvV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a056402254800b0045cb5be76bfsi1779762edb.361.2022.10.18.01.50.41; Tue, 18 Oct 2022 01:51:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kjLX0HvV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230268AbiJRIaF (ORCPT + 99 others); Tue, 18 Oct 2022 04:30:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbiJRI3m (ORCPT ); Tue, 18 Oct 2022 04:29:42 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DAFE630E for ; Tue, 18 Oct 2022 01:29:27 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a26so30424757ejc.4 for ; Tue, 18 Oct 2022 01:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8IByHaHtnVLqDqCobgtQW0YAS3jK6ArSiZSVSG022Ng=; b=kjLX0HvVbZn5XMaSukgq2uBmzJ9GGugFPSCWoBZQi1oEXTl54W5Vgp12I0Qm6zq5hi lgZiY/nKUp6q/c5iJWk6HCpy1t+YIleB7uGl12qdybg5F0R6BPLNZmWYwniIlyl800Ky WgVwAzcaEWCc4HCqKVrZYA0HKjf+1pxvz85PgwClmsA2kporgsRwnhz6Ab4hbGG/+wrG SO8E7GPg5ZsmUU6WQwQvm47v6le2N1VerB274Wn7THn5ZkCz6dNwe1TtZOYoMrDN9rrn VrwSqx+NJEca0+YZsJAwdiTkykTP6dem/xrUcx8bsEK3jZXnEZd5PWTFdJQgSkkJzPp/ zy1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8IByHaHtnVLqDqCobgtQW0YAS3jK6ArSiZSVSG022Ng=; b=2MecflIEuxuL3HEY1CCAwwqzWka6e7OA4VlgpB8q810SIb0CfDSDhdhF785iiQ/k3i WWJWat2liMRWJRtKCQbu4mwk+nKKXyKmyQw3A+/Bh46MsoU0RC7xeM/I/SaD0wx95XbE 4RglESUmJoQ+lasR+SYIvvCkIyNb5t98RCpjKSf5nhlZpz8YNybXtLGmBR7QTFHYFk/K JJhzVX9uSPYqxl8qlg83921sXbj2FZqcfFuFbWwPvDKAK9k67hA52qypQxoBnYYSJbZU PVFQUbeRNcjErD0H6AjuFrKBBHNv6X6NMFS2QUla+01dY49yP2B0Rsp1UVFN00riYTaT 1FUg== X-Gm-Message-State: ACrzQf2Mx019l2suix6nQ49EAufF7UY73VZ3hKePxCXI0/2qh94dthcR 1n+gPqT7zayHZ9a0vzgFngx5LNac+18gMsdUEytuGg== X-Received: by 2002:a17:907:7606:b0:78e:61d:757e with SMTP id jx6-20020a170907760600b0078e061d757emr1367406ejc.690.1666081764467; Tue, 18 Oct 2022 01:29:24 -0700 (PDT) MIME-Version: 1.0 References: <20221017170600.88480-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20221017170600.88480-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Tue, 18 Oct 2022 10:29:13 +0200 Message-ID: Subject: Re: [PATCH v1 1/1] gpio: exar: Allow IO port access To: Andy Shevchenko , William Gray Cc: Qingtao Cao , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 17, 2022 at 7:05 PM Andy Shevchenko wrote: > It's possible that PCI device can provide an IO port resource for > the device. regmap MMIO currently uses MMIO by default. With an > additional flag we enable support for IO port accesses. > > Signed-off-by: Andy Shevchenko Looks clever to me! Acked-by: Linus Walleij I would let William have a look at it as well, as he's worked extensively with port-mapped I/O. Yours, Linus Walleij