Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3016096rwb; Mon, 7 Aug 2023 07:06:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwBrh/OsjJFiavzxlIgCd8N8MGVeHrb+yRQnO/Dx3aTstX1/21I3pybF+ug3siQPLLeG3y X-Received: by 2002:a17:903:18d:b0:1bc:5d0:e8e8 with SMTP id z13-20020a170903018d00b001bc05d0e8e8mr8517346plg.20.1691417173541; Mon, 07 Aug 2023 07:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691417173; cv=none; d=google.com; s=arc-20160816; b=kEKH+AkLvte2AYo0WQVUM18XrnPmc6aAU4MyyI+pM3SwK/OV2jmMMrW8N/CBF9Lznk Rslp4MWUFpq2NJCve+m/SEgKzvo6A+CHXfXNDfV7s1CLNXtj4P+E9atWvysc/NxAb+Pz l87ri0nwnQec+ywlfM8Ces4WsyFfYu8Ol45KF6iqe17wzgWS8wFoKRbs3L7vaStEgpPr AjfotNABjPBvUqggfBvr94XKf6IsbXaxbI/lULaf1vUr/veoHRcUvNSpyZdJI09pYJRg Ef9M/EZxM7D2HRNGHimxKyQZWWRro+O27yzJASU+n7wh6PPG00rT9oe81NrwImpYwu7i ynPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=whejdASkJGYmLZxS+FlOqF2f/J1Rdm5EDe6V5ST3LuQ=; fh=8DYtoJBQpxWHDJFCQSQWa4X9wWiqA9QHHG7RntAkXjU=; b=nssVUemXF1PXXa/aBCqI0ZSxLFOWOAMc0CAwfmq4l4nrtcNTQkj/wBZ0nqiP4xrL7D hISmd3WVQnbRQ7xwSvh1KrvFHPBp+4HWg6mZtYwpAyiG5HkhmdAaPSvCZehcVDToqvpH mXA7OLIa94alEUJsc3r72aGdd1z9D7aI3zY/NaaZyzbwqcnnC1XcpQztYziaxbp9M8gv ZHzyQCzhFMNTLBetteIoGoW9EQkNykpbUhVHpbJvXIzjc6svCPGmSAwmPzwQ9PEufVmo hAhIXr15y9FW/Dj0K3G0+ShyFPkiZHdFz/IA2o5f6JElwV1SfAR7bC3hSwp/58F8xB4v CtYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gZ+36WDD; 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 j4-20020a170903028400b001b894687ec9si3607399plr.462.2023.08.07.07.06.00; Mon, 07 Aug 2023 07:06:13 -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=gZ+36WDD; 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 S232269AbjHGNiX (ORCPT + 99 others); Mon, 7 Aug 2023 09:38:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233842AbjHGNh4 (ORCPT ); Mon, 7 Aug 2023 09:37:56 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22D8010D4 for ; Mon, 7 Aug 2023 06:37:55 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-c5f98fc4237so3720009276.2 for ; Mon, 07 Aug 2023 06:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691415474; x=1692020274; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=whejdASkJGYmLZxS+FlOqF2f/J1Rdm5EDe6V5ST3LuQ=; b=gZ+36WDDT3vFYnLcSlRKa/NuShCqLSSyXuRIKuBCcK2PB75SwhpLFE5DGSxZtR3+GQ MWZ9PJtesN4mNZjrT3daZc6cH+e6gL+BYTJKIjTCg4n1uJf1Qe/y/4FDjHr19M2fiDXw btkW4xbEeiAXJuuLmeNCwl4FV89XQRUsnGARA2nH2TkNpUwOFAWQXPzuZIM7YNjPS0Sp 9+apZXATVERqCRT4T+sJcS7UArh2Kzsq8gcplqQxBivztk9N5AvMLC5hFea2wA6Q4vXO dHK5qEpjuCPIjMHzBqgUoiYsPkyBk2sf5uPz6/tSmJkg8yqAK7fkhNXcjLPZhlVx/lFh UUXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691415474; x=1692020274; h=content-transfer-encoding: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=whejdASkJGYmLZxS+FlOqF2f/J1Rdm5EDe6V5ST3LuQ=; b=CGBLlbzH5Tx/5Myshn05AIfvuwweCoiEHRKZitIsm7VNxKy4jtziigVdYLnEyBN8xH N1zwxOXr52t9B8ISoVNZ98VpUQX9Uqg4lCf2mIBpZ3YHu6UoF/Hhq5ZYAC2lRkz28Hef vhFSUH4H9Qi6JVXkAl7bL+twYj7S62bt46SB478KZj+Ga/9XlRcMyl6H/2cR5bpsi6iZ H5HwwEd2Bwr6pKiNGVA9AVSnhgE/ggnvRSMfPRG0E7Xw+qhmCktHVx9aIyiYmzHHCPG+ NdQsFDRDgSClqvJpQvH8kAkD0YEVGz6JGG3tGAu4433nambyVQQaXMFjAm2vQoZ3Pyrc doMg== X-Gm-Message-State: AOJu0YxPW3oX/lE02RGGe+V4tODhaivIUTdR0bJEfGtdHgQ8zKZHIDar hno8zW3SpQQyH3UUQ4e9APZspKlC7PjkoQ8Xsl569A== X-Received: by 2002:a25:4256:0:b0:d0a:fa7f:2fbf with SMTP id p83-20020a254256000000b00d0afa7f2fbfmr7826923yba.48.1691415474298; Mon, 07 Aug 2023 06:37:54 -0700 (PDT) MIME-Version: 1.0 References: <20230724060108.1403662-1-huqiang.qin@amlogic.com> In-Reply-To: <20230724060108.1403662-1-huqiang.qin@amlogic.com> From: Linus Walleij Date: Mon, 7 Aug 2023 15:37:43 +0200 Message-ID: Subject: Re: [PATCH V2 0/3] Add binding header file for GPIO interrupt of Amlogic Meson-G12A To: Huqiang Qin Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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 Mon, Jul 24, 2023 at 8:02=E2=80=AFAM Huqiang Qin wrote: > After adding this binding header file, you can intuitively find > the interrupt number corresponding to each GPIO, and apply it > in the format of IRQID_XXX where it needs to be used. (...) > Huqiang Qin (3): > dt-bindings: interrupt-controller: Add header file for Amlogic > Meson-G12A SoCs > pinctrl: Replace the IRQ number in the driver with the IRQID macro > definition > arm64: dts: Replace the IRQ number with the IRQID macro definition Neil wrote: > What's the best way to apply this patchset ? I just applied all three to the pin control tree. I could have applied just the two first and then offered an immutable branch. But eh... too much work for too low risk. Better to just apply it and hope all works out. If it explodes I just back out and figure something like the above. Yours, Linus Walleij