Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2386004rwb; Fri, 2 Dec 2022 09:05:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tHh/leC3L4lRmLZxAGUZhqvP74Az48oOEoS41E1z0PhVgh1RIxK7mOwzbUgCCAqzZmUdn X-Received: by 2002:a17:907:8b93:b0:7b4:f258:6196 with SMTP id tb19-20020a1709078b9300b007b4f2586196mr363090ejc.524.1670000746235; Fri, 02 Dec 2022 09:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670000746; cv=none; d=google.com; s=arc-20160816; b=PSAt8ZluQ69iXAvVh/MPsPDSgDhKxfX2sM+TlShpfoxF+ZsD6dZgMqFWq8Ua2Peb4W 0c57EYX+n8pW7x/zR/q6VTuwlVi/mSMVDMU9gfrs6Z2kNzsmBxCmus5AqcUZeFnQqnSJ xNL5lpLK0Xi/7uYYfLIkMTVLyq+hdpLyoZJ0L1Wy0rE53ZrN6IsLsiTfsuBuqgSONhBH 7Clqpj7dY62fbKEaLv4YDwNvsJRJf+h8+MH05iidr4fv6rIurSWLVbZAC9DQE4E/UpqK PDZSDbRhZaug6B3vm38KU8LLspGS9ZOl6s0zXjKWPCRTT5Y7jWNYCAZIpnBMEi4xVjry umhQ== 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=TAefJrRL7K4A+RMGngmdLs8YqkmKSbBIjbXCxnKmhbs=; b=amrofdD//l75wZSbItl2eUNg3+xbz2g1dYTqv/1+D6Jhd48ZyZgKspGTjAmrPrDAi7 v9vc+UWar8DHR98t3scJWVENOdaEVKrRiXh68f/aUGPN1ZkgJVlKe5hGycoiEXIhAQmE ry2RYWXZssuyEUcfrV67XpawmgiuLiV4tcGjN8YgX+XvE9nE7BwpzpXD1SR79tlPLJ+c chIfF/meigoxAMfaJy9dWfnLykb5Lq1o5MUaRPJH+8eGoulPszCTffHDPGH4QkVuSroN cKI/MQJdLnYsaIRgR5/4ev+BDZDXNoqB+TK3EP+zWQ0nnXx2rSPwm9h9+wb/SqXSo1x8 9DFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=OTdGscoy; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa35-20020a1709076d2300b0078d4c9d77adsi6954377ejc.94.2022.12.02.09.05.25; Fri, 02 Dec 2022 09:05:46 -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; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=OTdGscoy; 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 S233734AbiLBQMI (ORCPT + 82 others); Fri, 2 Dec 2022 11:12:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233768AbiLBQL7 (ORCPT ); Fri, 2 Dec 2022 11:11:59 -0500 Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42AB2ACA6A for ; Fri, 2 Dec 2022 08:11:58 -0800 (PST) Received: by mail-ua1-x92f.google.com with SMTP id e24so1812064uam.10 for ; Fri, 02 Dec 2022 08:11:58 -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=TAefJrRL7K4A+RMGngmdLs8YqkmKSbBIjbXCxnKmhbs=; b=OTdGscoyyXY4sJr8w9cmCX0xSvhEErZUBMdHPPKX/5+iYfWQdgtRA4jjcNYzRwCGFQ rU6lS4qgX5LkqwunFDKXyrFmNIkukP6ir/ILfkqTFuvG0gbbtlUSljSwUxGUOl2HDdET SwhUO7sNYmbE+qzpnT3fuzzUzQU/YUivMVuklk0khfLjB7pEbm1EvNDxRMGtRV1KIzC0 zeEhRu5/xAlTU2/SPZ8ZHZNt+Z3ZT0Wg+Odu6EdGqbdqbwDF2yJz/eh/QzqqDYuXMEDk 3VHckgxrYQUX1IKG4EAs/X+d4p66OEl+1gbN16LQZjnW4pULS6EOCE0G+0jvhUMmmWVG oCEg== 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=TAefJrRL7K4A+RMGngmdLs8YqkmKSbBIjbXCxnKmhbs=; b=hEwTTWsU9tWrVavnn2H9cYKJ93T4s7gM/pIO2jDFggSjbuVZQ5g9cTo9/tsINSfIQv vbeK6jGlwDgpXpw8dbAszr0VGkRGqRmafnDidiKVedEq8BSBywPQTB2gvLwJdW5KA48N RElVrPTl2Yz2G2Sva+VuZW0hWngHvcRAGMJtmZLf4JAOe8uKjQyZsqT4DnoRgmK6+EDc NlUAkZ6/K0/npAfRTEBY+av4wOurM2yP0SwbGP5lHOHrAB5BpteQMk4fQ/10aAAak/IA E1xy4bcY38zCbpZpEd2xQ7ANpOtzD6VmiHooTncpwxZv/VuR0i/qAFvf5F6qhPgthttf O4rA== X-Gm-Message-State: ANoB5pl9VXr4eaDskAjH8IdiAF3h1Y7fJb4UcWtAgukhi69tHVHaum59 vKHNQNnaZ/z2clih4Nc/sHJcuuWHlU5Vaqv/xADKDA== X-Received: by 2002:ab0:734e:0:b0:419:18c7:58d with SMTP id k14-20020ab0734e000000b0041918c7058dmr17210680uap.119.1669997517287; Fri, 02 Dec 2022 08:11:57 -0800 (PST) MIME-Version: 1.0 References: <20221201123220.7893-1-zhuyinbo@loongson.cn> In-Reply-To: <20221201123220.7893-1-zhuyinbo@loongson.cn> From: Bartosz Golaszewski Date: Fri, 2 Dec 2022 17:11:46 +0100 Message-ID: Subject: Re: [PATCH v10 1/2] gpio: loongson: add gpio driver support To: Yinbo Zhu Cc: Linus Walleij , 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 , Jianmin Lv , Hongchen Zhang , Liu Peibao Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 Thu, Dec 1, 2022 at 1:33 PM Yinbo Zhu wrote: > > The Loongson platforms GPIO controller contains 60 GPIO pins in total, > 4 of which are dedicated GPIO pins, and the remaining 56 are reused > with other functions. Each GPIO can set input/output and has the > interrupt capability. > > This driver added support for Loongson GPIO controller and support to > use DTS or ACPI to descibe GPIO device resources. > > Signed-off-by: Jianmin Lv > Signed-off-by: Hongchen Zhang > Signed-off-by: Liu Peibao > Signed-off-by: Juxin Gao > Signed-off-by: Yinbo Zhu > Reviewed-by: Linus Walleij > --- Both patches applied. For the future: please reverse the order of patches and send dt bindings before the driver code. Bartosz