From patchwork Sat Dec 3 10:58:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 29271 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1311004wrr; Sat, 3 Dec 2022 03:03:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4DIOVp1JXLVvWBV+KTQJr2WiTr39aLubS/RSFCdw/gGUR8IS/EhOdJ3DSzfGDc20BCcyoE X-Received: by 2002:a63:1a55:0:b0:477:4ba4:c278 with SMTP id a21-20020a631a55000000b004774ba4c278mr49140299pgm.482.1670065423096; Sat, 03 Dec 2022 03:03:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670065423; cv=none; d=google.com; s=arc-20160816; b=mcJYZrk5B4UGRh4q7rH2ARLwwQYb+S7kQzSAuuM/awQXXnh0wSNsoPOvQ49OGxGTxo XXBlbpe6zPm2JsDaeZBsBO0LwrDHR0GLLJtQjFqemhUJUqafjxWZNmSyGthcIIa9ktDb ooVNYfoFacrhLRxLO5T/6qujVL4rebIkhBV7eXhgvi0SigKJqZ/RMoqGND1YhfHjzNqu nE4/RTrHYxFVMnPIR4XFqQJS7EPwiIfPTHNd6VVIiAaAK0nTUOk6tu6V+My1CG5dDxug VdI3N5FFmSuShvYOwfOIJpOQrN5TjNKlVMwhfX5Brz7+u2B/+InevYczN/+etfEPaQUc LcOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=Xu6CQs73/gzCaQIyLFycIkKNLfpuRYH/VGb+Y3p/cCI=; b=eTEIVhOB+6YDssXuqR/cvCUT6bxxaOn748jrCSWrCIJrkFD+4XeFYeLdtgK1URCGLB hD3x2OVJ5Omfr7xNQ+i9unrjWvDqDD5ybhmkCNO+XuWs2s9yhG+HNH4bcCLuexLV9hAg TwnmgIKz+WQr8RM77XxuDrgRH4ZkmH3JJ1VLi1pD/aecW94bsQ2tdnfxrnUCAOs8i71p Di3qOgRGZ8mWxGy3/9iUri3IXkw85az3PS4l/edXErgZluQAn06l9L2MjLZg+VC54vz4 RReFuFo1eXjkajWSRk2icYKuOKFjUQCsu5O9HLdxNBAelblM+nvO5DXe3Hl8RJHf+tEa zgnQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pl17-20020a17090b269100b00213945884d5si9232049pjb.126.2022.12.03.03.03.29; Sat, 03 Dec 2022 03:03:43 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbiLCK6k (ORCPT + 99 others); Sat, 3 Dec 2022 05:58:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiLCK6i (ORCPT ); Sat, 3 Dec 2022 05:58:38 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6F5574FFB7; Sat, 3 Dec 2022 02:58:33 -0800 (PST) Received: from loongson.cn (unknown [10.180.13.64]) by gateway (Coremail) with SMTP id _____8Cx7+vYK4tjv_cCAA--.7097S3; Sat, 03 Dec 2022 18:58:32 +0800 (CST) Received: from localhost.localdomain (unknown [10.180.13.64]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dxr+DSK4tj5QYlAA--.26430S2; Sat, 03 Dec 2022 18:58:32 +0800 (CST) From: Yinbo Zhu To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , WANG Xuerui , Jiaxun Yang , Thomas Bogendoerfer , Juxin Gao , Bibo Mao , Yanteng Si , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, Arnaud Patard , Huacai Chen , Yinbo Zhu Subject: [PATCH v1] gpio: loongson: enable irqdomain hierarchy config Date: Sat, 3 Dec 2022 18:58:25 +0800 Message-Id: <20221203105825.15886-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Dxr+DSK4tj5QYlAA--.26430S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7Wry5CF1fZFW5GrykGw1UGFg_yoWxZrc_C3 sFqFn3Wr1UCF9F9rWavr4fZry2ka1UWr1ru3Z2qw13Zw17Za15uw15ua1DWw17Wr47WFWr ZrWfJFyjvr4xWjkaLaAFLSUrUUUUnb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY X7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2 IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84AC jcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM2 8EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2kKe7AKxVWUAVWUtwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUAVWUtwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkF7I0En4kS14v26r126r1DMxAIw28IcxkI7V AKI48JMxAIw28IcVCjz48v1sIEY20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C2 67AKxVWUAVWUtwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI 8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW8JVW5 JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r 1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBI daVFxhVjvjDU0xZFpf9x07j1SoXUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751190521184384397?= X-GMAIL-MSGID: =?utf-8?q?1751190521184384397?= The loongson gpio driver need select IRQ_DOMAIN_HIERARCHY and add such support. Signed-off-by: Yinbo Zhu --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 55b7c5bae4aa..0f014411703e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -395,6 +395,7 @@ config GPIO_LOONGSON_64BIT depends on LOONGARCH || COMPILE_TEST select GPIO_GENERIC select GPIOLIB_IRQCHIP + select IRQ_DOMAIN_HIERARCHY help Say yes here to support the GPIO functionality of a number of Loongson series of chips. The Loongson GPIO controller supports