Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8622955pxu; Sun, 27 Dec 2020 13:24:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkQqIddEesEDucr6k6SpqOyxNNcertrG6qMxxugOKTKy0S9SVE6QAGdN7W5p0KbHT0UsmK X-Received: by 2002:a17:906:edc2:: with SMTP id sb2mr28428635ejb.159.1609104280938; Sun, 27 Dec 2020 13:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609104280; cv=none; d=google.com; s=arc-20160816; b=kTWwufD81T4PU4JTo/hq3rK+v/QzdOksZ0SppLUfsHG0iU/+rxvpBcLA0gQFmu0jrS xxcbz1fS6L0V/lQVjxK05KGG2YLE92+62F6akJrXcOJgZsEd9hc7VAKLmtsJh3CTHoBB diu4n05z1YRlCWEhcG+PLwKQhC5cSyzbYaCoWNcQ/8kk5vbzox/JluaMcpNsdB194OsZ gPQsQG2CYv209SJj4WVG+awFnIkvv9cmoPJ0Can2/SK1V4AXzjtH+JCh+HRESSdlZTpp qmDd8isjNICf3lwP872f8FcOMkFEH5BIlwB4aRaDKNlfRNrx6pDr3xhVEqKxlgrQz5mJ pKFQ== 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=QWNvqT718TtFHxxL1hVou0I3CjOu5jdAB/yTtW9J2ac=; b=iFp6A+aP8DL0s9wL1/eiy4aq3kuW0aQTwCzq5VwQ4OtfT5KimNPTp+bEQkfJ1iuOv+ xEZpVBpHAHVsoKGAZfk+kq0WEhikXnEe+CjxiSYDk/cloVsaq0gKEjQTNvZGGZmwwtqH sNTOXzBnH08aU161ggyBCcsRd7scVFze+S72c4uUYhYPOPIESVgKK3lepjiVCCCeftMK NtKEMm8jlCMYYhb+pBFNn537mwDhjodT4GPW2ne3FlJ/CfuElG0CPIF/fhr4oMsVFJ5X zzUCmPYs45JbbAI20sqAaM8ujadNVwap/6s0YhhDzYi7YsbggDrGOZkoTJYI4bwKcsIv 0t1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qj1Y7Tvp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si12275763ejc.660.2020.12.27.13.24.18; Sun, 27 Dec 2020 13:24:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qj1Y7Tvp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726300AbgL0VXg (ORCPT + 99 others); Sun, 27 Dec 2020 16:23:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726289AbgL0VXg (ORCPT ); Sun, 27 Dec 2020 16:23:36 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0AD2C061795 for ; Sun, 27 Dec 2020 13:22:55 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id 23so20003468lfg.10 for ; Sun, 27 Dec 2020 13:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QWNvqT718TtFHxxL1hVou0I3CjOu5jdAB/yTtW9J2ac=; b=Qj1Y7TvpDFDZOd7YVj9PzhP38t+aoI+cYPF0ZIcFaRId6RMD8qDrMj4k5lp1vjTCFd VRxTyfnsiolX+d6zJekiX6uEgXrHMzZFULyePSvS/a+PO6RDIixGXjtyD6wFDccRXnmJ 3beoeQTsQT//OecH1tCf9I+AZwnaWhGFODhEH8qrkiHXzpcYxUO0jIQfNLDf8ayhPXes WYxjiku0ut/LlFMhjaFLPT8cGXP4jLnXEIlHOiRWMNpaSGA1FVygjdJXMuJQV/jVIxCo slxjaFCpWJkafsLrUVZjvBR4AjigxgK8/+nwm3So3zsiGY0nmKJ4pKJlW/N1em39VR2F a5hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QWNvqT718TtFHxxL1hVou0I3CjOu5jdAB/yTtW9J2ac=; b=U27QPqBzBqvXEbsg+gRjZyYUbTvHBTn0LyUuRngLyaFhr0olTJpjyZp4cJC7I+0ME5 iDGQAV9pnEpC+AMkDpgK5hs8RX+cIpWaNu6+yArg2GwxZF57+XTg98gqJEPAG02SCcVn +cX0A+KnWlxr9KYcRAyczbU9Ev/98w2CW9pghdr//trT9ROW6zIDDV3L+11gIJNvk+nk BGeZJV5/EHAfvgMMm9y37MsR6b9KsD2j6BqfMsO8yrtpXEA5hqjcknnErk7GQtuk4qhZ Ra6262eezbjTDUrNNWZudCFo2kWvp6Tdbc66jXWk6v+RPw9OWBXPpayEDClwJf7g860U wXCg== X-Gm-Message-State: AOAM530KcXXMvdAWEONMmxdQtPPQWwUeBQI4uCu26R9CYUc5Dm1YtwlG Sk9L0ioxjkGPyyb8JbTFGu+Z0Bn5EIfh0040qe1JzQ== X-Received: by 2002:a05:6512:3238:: with SMTP id f24mr17645305lfe.29.1609104174071; Sun, 27 Dec 2020 13:22:54 -0800 (PST) MIME-Version: 1.0 References: <20201224112203.7174-1-nikita.shubin@maquefel.me> <20201224112203.7174-4-nikita.shubin@maquefel.me> In-Reply-To: <20201224112203.7174-4-nikita.shubin@maquefel.me> From: Linus Walleij Date: Sun, 27 Dec 2020 22:22:43 +0100 Message-ID: Subject: Re: [RFC PATCH 3/3] gpio: ep93xx: specify gpio_irq_chip->first To: Nikita Shubin Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "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 Thu, Dec 24, 2020 at 12:22 PM Nikita Shubin wrote: > Port F irq's should be statically mapped to EP93XX_GPIO_F_IRQ_BASE. > > So we need to specify girq->first otherwise: > > "If device tree is used, then first_irq will be 0 and > irqs get mapped dynamically on the fly" > > And that's not the thing we want. > > Signed-off-by: Nikita Shubin Reviewed-by: Linus Walleij We can only fix this properly once we convert the platform to device tree. (Along with making the irqchip hierarchical.) Yours, Linus Walleij