Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp435318iol; Thu, 9 Jun 2022 06:50:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXYktzvbfhptTY+U/EJsZUQCUuF00HgZdgTtc0E89e2irdye1B2A1HARii4AQthmd2hY5S X-Received: by 2002:a17:902:e748:b0:164:1b1e:28fe with SMTP id p8-20020a170902e74800b001641b1e28femr40565977plf.116.1654782618003; Thu, 09 Jun 2022 06:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654782617; cv=none; d=google.com; s=arc-20160816; b=G3eUATcoljUdRf94/D2oZ4napJxkZB5wsZHcgWISTKeNEADSHpRne0zQYf1voUUsXb LQ7ROOM2RWgRBYuwISZvBILP5B+exKQs3sv0hY+09Uco+iFhcBmCbpDzO4D7m7I1H9wI XfBsUFxMaKg0nROObWYjnSPa2X/VkULgHoDFcUszNU/i26HZgIke/sKLvtUjRM9VVCak cJa0kgxPI3N079h4kG7YsOws+Kg3YxH1ResqENbEU6k1dgj/fXFbu5Sa1Pvdz8V6cUw9 dGC1XvAO3c14Dz3ND9sQVD4yjOU3Gr/z9fc3VeOvLinRRIer8dIYlVzb9y80Bvo3DUM3 z3bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:to:subject:message-id :date:from:in-reply-to:references:mime-version:dkim-signature; bh=adYpahK+RjveaJ81KLRCwb/NRKB4wZWg1u6S/wEqrF4=; b=YCPD2TFkkLoSozy7YnUz7lh02dPa7xyzViddN6+MeBIVnHSFa1MdNjKD4Mt86ayR/b zVwqmgbz6AWX5ADZPYz+z7qsyf4NiJBZUvUXLrY6EFNUiHzp2yESm0BPMxX236kvCD37 fJl2uL1BTdQcmSdMGDE7NdLm42nvU3eeeWlMfNMAZTxrq5StM5XfMJ6Q/p92IkPgmHXF 7IDQnFsOCmdpkwNYXH9CTCvTE26c/PZPrc/URjGQCnTWClEf1rsEluFPDI/uhMC8Hfaq Z/DvyfpK6bPWb2EF47v4jDXdAdOLiYcceDuWLAsJEek6silfVSvmdCrrNodqQdVik1mV XnkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XaYI4mXJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a63b147000000b003fdf3195671si6674922pgp.596.2022.06.09.06.50.04; Thu, 09 Jun 2022 06:50:17 -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=@gmail.com header.s=20210112 header.b=XaYI4mXJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343597AbiFINAI (ORCPT + 99 others); Thu, 9 Jun 2022 09:00:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244167AbiFIM74 (ORCPT ); Thu, 9 Jun 2022 08:59:56 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D195313EB9; Thu, 9 Jun 2022 05:59:55 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-3137eb64b67so38601227b3.12; Thu, 09 Jun 2022 05:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=adYpahK+RjveaJ81KLRCwb/NRKB4wZWg1u6S/wEqrF4=; b=XaYI4mXJjPjBN4hM0twTQo2PvDXcOm4PS7KigPBCBQNHaMvy1DG7taA5VgGSKu9Rrf qDhflEU075jABeHjt9t3KE26MrRacH9p+sB0JGC/3pbAeMQwsxwa5adPAygilD9WlZx4 GliIFVV2lB790+7OHqVR15ZRpwQEN5/4C0CahvkMwDjdyjupRDoN658mVFLhX4UvfATA s8B8AwhBqDcgzgmrMpMnGvx9y7crj8yk+ucAMHG8FCL7GVW7cc4fJnH4erB8v4SUTSsu Xapdix/S1m8IjzpYKChODpQ5qMzXr2L2c4UZfPETCrXpcpfBBCpuakJTUQRGFBzjIbBv HXnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=adYpahK+RjveaJ81KLRCwb/NRKB4wZWg1u6S/wEqrF4=; b=Dc5bV9Cto3rDKqYQnnIU5cKqSr7yVgKbHzlCT62oKU2VHCsSeIzTvzOSjJp+//2tSV TuoqWkT/q03ZK16NCB947Pp3JDt8buyXtVBOgiQgAnhEW/L04Fi5ObuCn0eIpZ9n4ocQ BlLQeVtbt47nVkJ4x0fbFU+3VKOSrnFf+/Pz2MXs0pqqCkQ7ejYyl5fxybHQH4/2RU1C jUDwMS18k5j4HY2PwZUUR3D1U/aOzh7tqgnRbeb4/UHKVgx/SmT44DcqanHHouTwUZg+ hphVAlY7duBzeJgoLWrNfa5ixURjK4ted7YK5uZNQR1fmG/xjEsudQ73js91d+BUKP8W ZYeg== X-Gm-Message-State: AOAM533RLcsEn2y3QD+qK9QMRglg+0xjeDxFvAtB/9hBMdPQF6EPTmS3 W13oKqCpInyKmAS514bTGDcuKVloj91IYPwX/w== X-Received: by 2002:a81:4bc7:0:b0:313:7a99:5c with SMTP id y190-20020a814bc7000000b003137a99005cmr7071984ywa.51.1654779594980; Thu, 09 Jun 2022 05:59:54 -0700 (PDT) MIME-Version: 1.0 References: <20220525032341.3182-1-warp5tw@gmail.com> <20220525032341.3182-3-warp5tw@gmail.com> In-Reply-To: From: Tyrone Ting Date: Thu, 9 Jun 2022 20:59:44 +0800 Message-ID: Subject: Re: [PATCH v6 2/5] i2c: npcm: Remove own slave addresses 2:10 To: Wolfram Sang , Tyrone Ting , avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, jarkko.nikula@linux.intel.com, semen.protsenko@linaro.org, jsd@semihalf.com, sven@svenpeter.dev, lukas.bulwahn@gmail.com, olof@lixom.net, arnd@arndb.de, tali.perry@nuvoton.com, Avi.Fishman@nuvoton.com, tomer.maimon@nuvoton.com, KWLIU@nuvoton.com, JJLIU0@nuvoton.com, kfting@nuvoton.com, openbmc@lists.ozlabs.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Wolfram: Thank you for your review and comments. Wolfram Sang =E6=96=BC 2022=E5=B9=B46=E6=9C=889=E6=97=A5 = =E9=80=B1=E5=9B=9B =E4=B8=8A=E5=8D=884:02=E5=AF=AB=E9=81=93=EF=BC=9A > > On Wed, May 25, 2022 at 11:23:38AM +0800, Tyrone Ting wrote: > > From: Tali Perry > > > > NPCM can support up to 10 own slave addresses. In practice, only one > > address is actually being used. In order to access addresses 2 and abov= e, > > need to switch register banks. The switch needs spinlock. > > To avoid using spinlock for this useless feature removed support of SA = >=3D > > 2. Also fix returned slave event enum. > > > > Remove some comment since the bank selection is not required. The bank > > selection is not required since the supported slave addresses are reduc= ed. > > > > Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller dri= ver") > > Signed-off-by: Tali Perry > > Signed-off-by: Tyrone Ting > > Applied to for-next, thanks! > Best Regards, Tyrone