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 740C6C61DA4 for ; Mon, 30 Jan 2023 15:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238132AbjA3PRM (ORCPT ); Mon, 30 Jan 2023 10:17:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238099AbjA3PQ7 (ORCPT ); Mon, 30 Jan 2023 10:16:59 -0500 Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDABF3C299 for ; Mon, 30 Jan 2023 07:16:34 -0800 (PST) Received: by mail-vs1-xe2e.google.com with SMTP id j7so12766398vsl.11 for ; Mon, 30 Jan 2023 07:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BJ3wXMWTB1DAe1UmD3fHzuEDZsYbAYZgXhOVudfMKG4=; b=fAGuoEY+XmBxToZGfLnGVkLja9lCguKMf17XbuM0N8q1ZA+5DWS+eJ89Oq4mH7rgzt qnM8sN0Ys/BH7fzYjK8KabIaJ8j91wcMGXDDdJ3awXcbwyOPOQr562mrdRR7Ch4UKd3e JZr2/b+at0nUc3DRqvj8MlqrgcBrXi0hPrUsDgJvsARNAHRBBaykbmvrADdNeggxHqhp jbVdXjeIfyhqrLOIWPtcvOBmdE3MvsNsBn15db9l0S6dPVfTh49aiSlaidCprZHaF5fs G07tf3dxgn9cTlbUBx64/xeOpBxK5BFS18sI+CL9OGZOllMdkncZFpeeM2az5nKtBjeu zZLQ== 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=BJ3wXMWTB1DAe1UmD3fHzuEDZsYbAYZgXhOVudfMKG4=; b=wrV382Vrvc8t1ejPdkTAZbRUmUz0pMSKoq5dCENCV+7bHWZxRWQkxDQ2txZ6XCPMfT Zw3L9iUTEqZGryzspkcQywOzyxhXP1uRVkhwCjCxl947b9NDbv5chZHIIdl4L6mB8OaO 0ia2FuaKKJetdgYnH+AUuuspUQ0tNEHRPJNWJwICMmKXjddWMWNoVnqdaAmNUUcxXmcd dfgjTIZpB8suSjV4rBP+ICrWt4IqVIN/eq/3HfY90te3ujYd21NIHPjMm3k9ixM+3D0m PSO6MshloFBjPRxJ2YZOE5wL2FXntKIofnk57LZq8lyxsb6W/BUB+UoQ36ms9M+51cDF csJQ== X-Gm-Message-State: AO0yUKW8IAZVbPKTms9chQnPKGMgeRx3csw/9Y+KJx++45nYst7YVsoK Ere4tYvDL6x1ir5pTOipgKrC2W6+sZd91Ws/fxBuIA== X-Google-Smtp-Source: AK7set8A/7FkizIIhP3ATYrzEOTjexAgMmFexUZEvxV3qjsqH5KvogsKWawkqFf0rckPcb5j+YPfxVAor9Hl8vuVR4c= X-Received: by 2002:a05:6102:10c1:b0:3f2:58c2:5358 with SMTP id t1-20020a05610210c100b003f258c25358mr1159843vsr.62.1675091792022; Mon, 30 Jan 2023 07:16:32 -0800 (PST) MIME-Version: 1.0 References: <20230117100845.16708-1-nikita.shubin@maquefel.me> <20230125083026.5399-1-nikita.shubin@maquefel.me> <20230125083026.5399-4-nikita.shubin@maquefel.me> In-Reply-To: <20230125083026.5399-4-nikita.shubin@maquefel.me> From: Bartosz Golaszewski Date: Mon, 30 Jan 2023 16:16:20 +0100 Message-ID: Subject: Re: [PATCH v1 3/3] gpio: ep93xx: split device in multiple To: Nikita Shubin Cc: linux-gpio@vger.kernel.org, Linus Walleij , Hartley Sweeten , Alexander Sverdlin , Russell King , Lukasz Majewski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 25, 2023 at 9:30 AM Nikita Shubin wrote: > > This prepares ep93xx SOC gpio to convert into device tree driver: > - dropped banks and legacy defines > - split AB IRQ and make it shared > > We are relying on IRQ number information A, B ports have single shared > IRQ, while F port have dedicated IRQ for each line. > > Also we had to split single ep93xx platform_device into multiple, one > for each port, without this we can't do a full working transition from > legacy platform code into device tree capable. All GPIO_LOOKUP were > change to match new chip namings. > > Signed-off-by: Nikita Shubin > Reviewed-by: Linus Walleij > --- > v0->v1: > Arnd Bergmann: > - dropped match table completely only this patch > --- This no longer applied to my gpio/for-next branch, can you rebase and resend it? Bart