X-Received: by 2002:a05:6402:1d50:b0:413:d20:8ec7 with SMTP id dz16-20020a0564021d5000b004130d208ec7mr908673edb.334.1645643785932; Wed, 23 Feb 2022 11:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645643785; cv=none; d=google.com; s=arc-20160816; b=UCe9zRLx+IpoZFEAxrEmIkIkZhdeRenOV7qkFuI8EVCPBgDvpRcLVMyCDfeAehxEXR IBjCaXf9nwfYI5VpzK1Cth+SBSjgDodOlLjn4J5zligr83li0SQfuY+4ERplGDNMYbzy uCNCTtbqGUjpJhV7+aAviqk3M7g3cvYIVdz0B54ldHMoAGEjJaYmtFExH71/tbbKk9Cz QDwi/QYpnqlxedyBwWFoAZkSB7GQdX6EbrRp0pKtJX/kfYeA5KjHQauw9MnWsiyV8MYw WIp0i1nhCX+zxgOj0VDLVC+jwERx7nMCwkxHBcEMGb07TleZ3XXLRpOsHoZ5jQG/LIu2 yJbA== 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=OqWoqSkj2pZq4XW3/OjAW4W3K2FZ5HzyuMQBgaaFWjQ=; b=vC8T/D4o/W8u+6TuCzlRxgaIM0LsCvjY4kdmIS9DeG+AxkTO5Hwv92O15M91oTyAUv Ag+M11XuQGE1S8/Hf/sCONrk9Kxx8Jx90wNv6EeJNeHnYHwL2af1UJZZKgH5kL5VkekI wxilB90BqqrE5wEHTMQXKTRIQvgzl+XuCZcb0ZiQwLx+NKgebQaMbwT3AXIiDLUJ9ZqH YNWpxVWpu8HHqLByUablaFpcxTi4p8lqaJHKAt3WI5Y4bRsbYjfXgX0ur4q2qmMpq4Pk W4upOGnHN+73SwJdK95RQLoQvR7fRvGe6KfJtzEjpYm59mBbOUd0m9j+eTpCEhKc5uL+ yI7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ak+w4ldj; 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 bl20si202378ejb.907.2022.02.23.11.16.02; Wed, 23 Feb 2022 11:16:25 -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=@gmail.com header.s=20210112 header.b=ak+w4ldj; 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 S235856AbiBWDmp (ORCPT + 99 others); Tue, 22 Feb 2022 22:42:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbiBWDmo (ORCPT ); Tue, 22 Feb 2022 22:42:44 -0500 Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F16EF3FD88; Tue, 22 Feb 2022 19:42:04 -0800 (PST) Received: by mail-vk1-xa2e.google.com with SMTP id n142so11567238vkf.5; Tue, 22 Feb 2022 19:42:04 -0800 (PST) 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 :cc:content-transfer-encoding; bh=OqWoqSkj2pZq4XW3/OjAW4W3K2FZ5HzyuMQBgaaFWjQ=; b=ak+w4ldjGF9jIQB4I06Xh2miBcGoHM1wkGJR6KN9Bw5HhzaOBVaLpvtYS8UxAmYeDf DzCTY/lUOsnQAxJ/H2bcZolvw0m6k08oh6xeS7JhJZo26xlsBbzAk0alEOeovANt8nMi 4337ygGwF+9Sb6qGjffrxXJqByOnOMhziBdwga2F7JEy7T1nMTb4YCn/shzdF3scN0Y0 P0zT6v773LQf9YgzUQFQsSkdMqJvZ9zKbLD2flbeEGm9/quiPbPI2dH+EvFnRLRlzUH0 Qnm7NjaDPvu131EbaGiMjzS5GUPEcJsD7lmLR7B0pEsI7Xy8pXchEjl81VhRGR7m/gag ElhQ== 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:cc:content-transfer-encoding; bh=OqWoqSkj2pZq4XW3/OjAW4W3K2FZ5HzyuMQBgaaFWjQ=; b=0ExRE2jo5K9I+7PafzMPkeMr59qhCYlFpVfGp+5u6vSEaxdbotVhMJ/zvEJQsVljsl UzdQ678i6js36xdwHLP0LUO8B8Vl68nFQWPiLoR7jllUUW23mQduaXvBM89etOGRNVPL YkXRZWwmwOf61DFsvAg+By6iaK2QMSvbxlfkcXz9pVcdHgtWraWBvoQBnA/11Fbmxvs0 MhYSiSeDomIXzuvczdb8BNyNWjD0mAQ8/zVDJ5da8tG7TL8Y10aITTjEuOfORQlNbBbM TXo5+Otv4N/5pSSB55bmkJkUMR8Z1IkoPPFr6xoLjwoYzw2q/d0tpuaP2zg5x9hzEuMF GnTg== X-Gm-Message-State: AOAM533X4j8/zZAgQljHJS73cmAqvG/BfzmJ8QIDsRFMYssR/FVV/jb2 aNpxt7DFx9m1n++YrPTTlnB7Mwve6Ud/pFBu/g== X-Received: by 2002:a05:6122:180b:b0:330:ee39:966e with SMTP id ay11-20020a056122180b00b00330ee39966emr11364658vkb.5.1645587723401; Tue, 22 Feb 2022 19:42:03 -0800 (PST) MIME-Version: 1.0 References: <20220220035321.3870-1-warp5tw@gmail.com> <20220220035321.3870-3-warp5tw@gmail.com> In-Reply-To: From: Tyrone Ting Date: Wed, 23 Feb 2022 11:41:51 +0800 Message-ID: Subject: Re: [PATCH v2 02/11] dt-bindings: i2c: npcm: support NPCM845 To: Rob Herring Cc: avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, krzysztof.kozlowski@canonical.com, semen.protsenko@linaro.org, yangyicong@hisilicon.com, wsa@kernel.org, jie.deng@intel.com, sven@svenpeter.dev, bence98@sch.bme.hu, christophe.leroy@csgroup.eu, lukas.bulwahn@gmail.com, olof@lixom.net, arnd@arndb.de, digetx@gmail.com, andriy.shevchenko@linux.intel.com, 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 Rob: Thank you for your comment and it'll be addressed. Rob Herring =E6=96=BC 2022=E5=B9=B42=E6=9C=8823=E6=97=A5 = =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=881:56=E5=AF=AB=E9=81=93=EF=BC=9A > > On Sun, Feb 20, 2022 at 11:53:12AM +0800, Tyrone Ting wrote: > > From: Tyrone Ting > > > > Add compatible and nuvoton,sys-mgr description for NPCM i2c module. > > > > Signed-off-by: Tyrone Ting > > Signed-off-by: Tali Perry > > --- > > .../bindings/i2c/nuvoton,npcm7xx-i2c.yaml | 17 ++++++++++++----- > > 1 file changed, 12 insertions(+), 5 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.= yaml b/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml > > index 128444942aec..809c51ac32fe 100644 > > --- a/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml > > +++ b/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml > > @@ -7,17 +7,18 @@ $schema: http://devicetree.org/meta-schemas/core.yaml= # > > title: nuvoton NPCM7XX I2C Controller Device Tree Bindings > > > > description: | > > - The NPCM750x includes sixteen I2C bus controllers. All Controllers s= upport > > - both master and slave mode. Each controller can switch between maste= r and slave > > - at run time (i.e. IPMB mode). Each controller has two 16 byte HW FIF= O for TX and > > - RX. > > + I2C bus controllers of the NPCM series support both master and > > + slave mode. Each controller can switch between master and slave at r= un time > > + (i.e. IPMB mode). HW FIFO for TX and RX are supported. > > > > maintainers: > > - Tali Perry > > > > properties: > > compatible: > > - const: nuvoton,npcm750-i2c > > + enum: > > + - nuvoton,npcm750-i2c > > + - nuvoton,npcm845-i2c > > > > reg: > > maxItems: 1 > > @@ -36,11 +37,16 @@ properties: > > default: 100000 > > enum: [100000, 400000, 1000000] > > > > + nuvoton,sys-mgr: > > + $ref: "/schemas/types.yaml#/definitions/phandle" > > + description: The phandle of system manager register node. > > + > > required: > > - compatible > > - reg > > - interrupts > > - clocks > > + - nuvoton,sys-mgr > > You can't make nuvoton,sys-mgr required for existing users. You can add > an if/then schema for nuvoton,npcm845-i2c if you want to make it > required in that case. > > Rob Best regards, Tyrone