Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6378186rwl; Wed, 22 Mar 2023 09:49:02 -0700 (PDT) X-Google-Smtp-Source: AK7set+Sn1XGRFKWvJg4LkdriYaRMWDrmziREi9fUGEc6nO1E0lyeKSUSCM298uAtjLvCN5uaB2V X-Received: by 2002:a17:906:2807:b0:8e1:12b6:a8fc with SMTP id r7-20020a170906280700b008e112b6a8fcmr6569821ejc.4.1679503742161; Wed, 22 Mar 2023 09:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679503742; cv=none; d=google.com; s=arc-20160816; b=DfNlzsjI5+BFCYa74BQjh37wrqu4FB5bGdTJHDC9RcZTRvbfM8N64rCZ6nk+IzFSh3 i/Zd9nwe87p13URkxRlLO8BHsuLe+V+OG4K4/oYqUoD35ibMQPhJCUki8oSzZ8pSx3xS USzGJLMoR+bBnaKIYXJCerAt2r3uQ9SfPLmFbrlGHE3Emz1eepUT3PrYch6zbh9K5KWf aqpipEFexVseBtthZals94JgpZUd2NLrUW1PEol4aL2CaWhbVEk9nz1X/PeM9qhf58R7 avhmGn6g88E87h1ghx9u2ot5VQonmNKXr0JNd/mwp9ZsPTenfs6WE/SIjqj71K2HFW2u lT0A== 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=0Ib6VfeXa68H/3MBI+KE+ZwchZA/KZsXvDAWGzf55Bc=; b=dZp6skpXJRqWFu5EExMKMPSABX4SrSCgilqdZ/KDgdZCtHJ0ykwJd6+JFsEpmb80tN Isbf0im4kLMRXv83rPf9RUOI/MSFcz84hiw2blkKoo9oIcHajZTxWTJPXaLd85ikX+Wm TlAKL/cxQjZf9by1mhtT3xpSUDopfHm9sebqTJSbOgeV/mqkZIpnIp81a4MhpMh7RizW hMu/20RxFyTY/PjvwOYPuUcJs4CD/iTVmD9HrceokrCtBG+2ND5pJQkenGc4wT5YzVds vBZ69YYksTMSHZnOJTjvQT31Up2bSmMv4B9WUPXzbKqQKC0Dl37UIMyVS9pxxZFG7d7+ 0XLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=P5SORmGm; 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 m9-20020a50ef09000000b004ad71106d26si16685164eds.60.2023.03.22.09.48.37; Wed, 22 Mar 2023 09:49:02 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=P5SORmGm; 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 S230293AbjCVQrU (ORCPT + 99 others); Wed, 22 Mar 2023 12:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbjCVQrR (ORCPT ); Wed, 22 Mar 2023 12:47:17 -0400 Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A55637EE for ; Wed, 22 Mar 2023 09:47:15 -0700 (PDT) Received: by mail-vs1-xe2e.google.com with SMTP id c10so9594799vsh.12 for ; Wed, 22 Mar 2023 09:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679503635; 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=0Ib6VfeXa68H/3MBI+KE+ZwchZA/KZsXvDAWGzf55Bc=; b=P5SORmGmujjl3O+PRMLtDezEMBh9Enj2y2OpO+le8+3Dy6UUfwDdVvZ4jQlYqf67GW +eSEpcm85Cuhl8NL7k22rbofJmeZzdZI8f4g2enylohcMsfAahGrkDMRlw8zIYLj6qTR LOBXLPj5I02mrVIKA6sM37S2QeBU52PbCLTB74T0icSUUdfAMoAVD+Md+eQBUKipZGsR XTPvHTezhQwf+yi4bF0PoqBab+07mzrkg+QAM6NjYvq1kTCbvTZWh3xV6/AobwgEfyxA i67ihK7KR0hGIJnizwwf+oIxfaYTS8zNXErEPJ41ZAWniLJAuJ9wxhJOhBwGUg0agG6x 93KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679503635; 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=0Ib6VfeXa68H/3MBI+KE+ZwchZA/KZsXvDAWGzf55Bc=; b=19r0SE+hIx/UDnZTWveMlqrUzfMQbddSG3cResniWUi/UGm3NBhY9Y4PAC+D58mUIW m8tLzGlmz9ONUa6iwBiBhZ6wNtj6xWArKYvEu/QUuSMe73rfp9E8owje3Rl3BFQMrPli 8VU9mJJ6eI2Lt/IO4hlQKlxjs4K9BXdY9uSaOfUK8dKKrt8s/1cMSBVyAdWVxMWqDk4d mS0FQZism9zftCkEqjBsJalTj+EWPRefn5ghzYyVPKRmvXADY29L3/u/uV7EKJcVS0QV egUoVyGB4wDVPKM8j3ZQkNrqYMpiugWeG7BpsuvkjEiXaPBX7LePofvaTyPNt4x34tFM CmxA== X-Gm-Message-State: AO0yUKUK3dNkKlyhckbrQiPd790A5MfCeRpgEDEIRF8dReYLXjEg6y3+ h6EVdH9NLKSe2evgLV1Qaf4XZ+zAFmcNmaq96kUrOg== X-Received: by 2002:a67:c38b:0:b0:411:b4c2:c6c0 with SMTP id s11-20020a67c38b000000b00411b4c2c6c0mr93240vsj.0.1679503634802; Wed, 22 Mar 2023 09:47:14 -0700 (PDT) MIME-Version: 1.0 References: <20230315110650.142577-1-keguang.zhang@gmail.com> <20230315110650.142577-3-keguang.zhang@gmail.com> In-Reply-To: <20230315110650.142577-3-keguang.zhang@gmail.com> From: Bartosz Golaszewski Date: Wed, 22 Mar 2023 17:47:03 +0100 Message-ID: Subject: Re: [PATCH v3 2/4] gpio: loongson1: Introduce ls1x_gpio_chip struct To: Keguang Zhang Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Rob Herring , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.0 required=5.0 tests=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 Wed, Mar 15, 2023 at 12:07=E2=80=AFPM Keguang Zhang wrote: > > This patch introduces and allocates ls1x_gpio_chip struct containing > gpio_chip and reg_base to avoid global gpio_reg_base. > > Signed-off-by: Keguang Zhang > --- > V2 -> V3: Restore the calling of __raw_readl() & __raw_writel() > V1 -> V2: Split this change to a separate patch > --- Applied, thanks! Bart