Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp493797rwe; Wed, 31 Aug 2022 06:22:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR4RxN+lZGyfOzFu15s2HvKZ0ZD1h/Ok7NkGcvr+ZjKz03VX5kmrHRFCias9pV45XwNHd30v X-Received: by 2002:a17:907:2c74:b0:741:64cc:a4e2 with SMTP id ib20-20020a1709072c7400b0074164cca4e2mr11967358ejc.751.1661952156145; Wed, 31 Aug 2022 06:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661952156; cv=none; d=google.com; s=arc-20160816; b=pets4cj/QR1sh3IqTo5l3943gC8Jvnb0Lz60EY7IQVTL00+F/1MNCLZuAys1/irZFT kTklVquYs2FOma7fBOJ5Eh6v2rM4PIqqbKo6cFahcQlT8PrY86FZvy4zlQBXEc/Hq7Hg SmaDconCwcco0dCTXTE7cPcYQQX8dk5KcWpjMY8A5uwhPJZGRNCHXjoPqiguqRuWDMT7 0OrADmftG0xMxTpqOpnbnpnVOkZUdWNBWRloFL4QoJ0Mit8ea9EuLsw+MJIqFQgFC2xz t44qQEzDEz00wABXpl8liAWDMF8Cfmyui8zGMxZUxe+/W53YL1LROVltuAlGB/2dNL+Z sVdw== 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=pMO9zhn0WdqqUu5krLuleog7z0gfNsoSQcTsswsRaWY=; b=xT4bECBYQzp5Dx3tMXnFgwfNyMfUCGhsF8LmwY+PZhDShVEDmvU3wmnROihXJPGoti gQqj1wWd34zMU/o72JeWYaIXeO9bpWMa255s361iqWan5h6HsNDH1HGuV45pgaKg2WHX JSloLKu8dneEjNn6i8ZFI3mgw2fUlU5xw1/8xE15y+qIA2jvIiHiMLJyt3cBbjTiDJ+t /2zqdQ/83DvgDW8f2rUkWZtPQQ3y5hxJAQDzTAZrSXSbDbgGphDu/O1JSzxwytI/dL9e 1w7xrCwT+TBYXa2WvNBbb+NOZpt54+MNYHWRXJrVDdG8k4khJ1OBcabEZJ16I0UQgT63 IUag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y2BdC954; 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 sd2-20020a1709076e0200b0073d74bcac8dsi11234908ejc.513.2022.08.31.06.22.10; Wed, 31 Aug 2022 06:22:36 -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=y2BdC954; 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 S230151AbiHaNTz (ORCPT + 99 others); Wed, 31 Aug 2022 09:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbiHaNTw (ORCPT ); Wed, 31 Aug 2022 09:19:52 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD6465F0 for ; Wed, 31 Aug 2022 06:19:50 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 130so4103040ybw.8 for ; Wed, 31 Aug 2022 06:19:50 -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; bh=pMO9zhn0WdqqUu5krLuleog7z0gfNsoSQcTsswsRaWY=; b=y2BdC954J4C9GUD9ZJ8M1Aa426/7D/dvGh2td7B++IlX+5HEqHRD/L0miXM6UMhPeK p+4+BIIaUZ1xAr8+el7OueG/+qtTHU1sF0GwLfe1aGhx8rjcBJ6bwrREw2IFTfpfAm1q iSFeosHBEnqbIvFQeDdL81oldEu729ibvRIvGZ7xpx8WtO143GQClG4VXuzcUuuu7fpS hmfNOHysxq772HCPhgimScZWdTUxIkuKmCzbWeq51iusgcbuKT1tWRQPefsCDcKzQExO Nmj1NTEATHAfrvw+eviL/nBZjI54+FELhxNCa/e0Zswpi6xvUZdcQzOeXI4whlePaDzr pMug== 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; bh=pMO9zhn0WdqqUu5krLuleog7z0gfNsoSQcTsswsRaWY=; b=iJzMJB5i25naqHKhmNzGapfUTLpTx0gnjYTNlX/UXB2VGiYfX8dBGLfB5Zwii1f7Kp LCV5mquBecSnQl8b7uNO17X5xuYDlLtGU/rji3r4lafRpkpDFdYPVRP3Abat6GQDIII2 fBaCSSkzRWY4X5NV9wXEbKPKSwGYLKfZoKHzVl44T/v9iyERXbe7Cbv8LIkTZHhy5f3l EOtGh2gFH5PJ9iUyk0ot7HqTcLxYbsylzlzYXC/XGKp3fjvuY94oFoeyDoeUYYp2pz+w shdtdvhSDg3YTdQ7krlLB6i8zMUWCQU7h8xWjFY/+MJjNjmuhY31MAAedgbHJRPFCce0 genA== X-Gm-Message-State: ACgBeo3XMpEfLCBywxBcT8FWW8faxLS5zWOtFTquEzXLc46v4MRGBQBm cxFNaPfgNd7Bo1AFBMgnA9mWct5RUYiFhnS5r85Dfg== X-Received: by 2002:a05:6902:124e:b0:668:222c:e8da with SMTP id t14-20020a056902124e00b00668222ce8damr15292251ybu.383.1661951989549; Wed, 31 Aug 2022 06:19:49 -0700 (PDT) MIME-Version: 1.0 References: <20220815120834.1562544-1-lewis.hanly@microchip.com> <20220815120834.1562544-2-lewis.hanly@microchip.com> <31d2bd0514652685cb87a7c9d17529b9064de2bf.camel@microchip.com> In-Reply-To: <31d2bd0514652685cb87a7c9d17529b9064de2bf.camel@microchip.com> From: Linus Walleij Date: Wed, 31 Aug 2022 15:19:38 +0200 Message-ID: Subject: Re: [PATCH v6 1/1] gpio: mpfs: add polarfire soc gpio support To: Lewis.Hanly@microchip.com Cc: linux-riscv@lists.infradead.org, Conor.Dooley@microchip.com, brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, palmer@dabbelt.com, maz@kernel.org, Daire.McNamara@microchip.com 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,T_SCC_BODY_TEXT_LINE 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 Tue, Aug 30, 2022 at 6:51 AM wrote: > We had looked at the bpgpio_init, our controller is not fully memory > mapped to support the bgpio_init() and get all routines for free. > While we have in/out and intr (interrupt state) 32-bit registers, we > would not get as much free as other generic memory mapped controllers. You're not really saying what the problem is? Is it that some registers are not one-bit-indexed from 0 per GPIO? Yours, Linus Walleij