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 8D49CC54E94 for ; Thu, 26 Jan 2023 13:47:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229502AbjAZNrc (ORCPT ); Thu, 26 Jan 2023 08:47:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjAZNra (ORCPT ); Thu, 26 Jan 2023 08:47:30 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED8F3C2C for ; Thu, 26 Jan 2023 05:47:29 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-50112511ba7so23427507b3.3 for ; Thu, 26 Jan 2023 05:47:29 -0800 (PST) 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=aaX7G6f2mcRR6P8FNP02PxE5OsxrexcPBPFfvEKEKAs=; b=CHFI1Z8taQTug7Pk8J6v67+NNDDUaqZu+KuW0124FDvfAkkoV1Q7Na8nGKz6mDwUtb 7nWBCg2Eo243/6intxFzS+g+BiHEOLi0Y5chAzu06TfCJRj6Md7+LVhuu+cZcbu5GX5A kKBrdE0U0/g3bDVSTy6cltLs15C95L45A2m+74EG9DlflDa0zdDPdYYSoDuHaQPjfSCG d22Rbf6ksG7ucpQoVGEEH9nreV3e+WxbXFTZ5WstKksg2FEOxYlQoK+pIbiahKJMZM1W 5yqmU8RB2q87t2lesencDlMt23hJFnwiZgfxM3bUHMgY/SydiG0WLVoWY2BWTTlHlXLY vmuw== 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=aaX7G6f2mcRR6P8FNP02PxE5OsxrexcPBPFfvEKEKAs=; b=PGs9TGoMeTHVVB5gASa5P96arIGvVaUKkOp0eQZgsaMAlsypynHI5hNAwpeCE5LRik gqY6+NiGJQtK6lHQogfd7XrbGv2s2oOf7gq3um9tDmhtvYdz1kUsWPCQwqTK3E2ZWV1L vT46ehKOnOHqBvCekoLxBzSX6N6hCwoktV0xaYrT7RpvHVrUeC13Jubv62GesjH7X5KS 5aS5tuzrD0QcasS1ymqBC/LxQVLKyFKHRXIB0hL7EouyDzSLUn/op3QPAod8HINI4HOH /Ov1I6oLbUToMcR/HNayuyVZZehNYxFFG3OjimRUPTKGVjKrgtA17HjPnZGmHlpC83QZ sG6Q== X-Gm-Message-State: AO0yUKXsV7XNa/tIE1XPonFMqMMwOLo/eZLCWBys+tQ907svIYXYuebf TRrlRIqKNfpQBwSPuABxYmz470NtUd2EuLi8tsBgQQ== X-Google-Smtp-Source: AK7set/2tg+jIXr3a4eARZbcDPJNeIExb1q3XkFjEhWcElv/xkALJatdRGrpFAl9l/Bv3zRXMlFGMwmhvN+PIeLAKzg= X-Received: by 2002:a81:784f:0:b0:506:651b:cd0 with SMTP id t76-20020a81784f000000b00506651b0cd0mr925288ywc.273.1674740848566; Thu, 26 Jan 2023 05:47:28 -0800 (PST) MIME-Version: 1.0 References: <03627216-54b5-5d9b-f91d-adcd637819e3@gmail.com> <890be9a0-8e82-a8f4-bc15-d5d1597343c2@gmail.com> In-Reply-To: <890be9a0-8e82-a8f4-bc15-d5d1597343c2@gmail.com> From: Linus Walleij Date: Thu, 26 Jan 2023 14:47:17 +0100 Message-ID: Subject: Re: [PATCH v2 3/8] gpio: gpio-rockchip: parse gpio-ranges for bank id To: Johan Jonker Cc: brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kever.yang@rock-chips.com, sjg@chromium.org, philipp.tomsich@vrull.eu, john@metanate.com, quentin.schulz@theobroma-systems.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 21, 2023 at 12:08 PM Johan Jonker wrote: > Parse the gpio-ranges property in Rockchip gpio nodes to be > independent from aliases and probe order for our bank id. > > Signed-off-by: Johan Jonker I guess there is no pretty way to do this. Acked-by: Linus Walleij Yours, Linus Walleij