From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F1ADECAAD1 for ; Wed, 31 Aug 2022 13:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbiHaNTz (ORCPT ); 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-Google-Smtp-Source: AA6agR7wh9mcoL6FNlyP3aE62brlyApS07wo5gBlXPuUSYJL6d1ebY9XP02w3lB3wMLu2ft0DTlPNWVJUK6UXxTwiTg= 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" 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