Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp696816pxm; Thu, 3 Mar 2022 02:48:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU8g3KhPlmkv7u2WYs8DfKnG5hFpySEIIeUtJx2RK+ToKfGdy0xutTOjHHRS7kJ52c2jMj X-Received: by 2002:a17:90a:2c0b:b0:1be:da5a:b294 with SMTP id m11-20020a17090a2c0b00b001beda5ab294mr4603534pjd.9.1646304510130; Thu, 03 Mar 2022 02:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646304510; cv=none; d=google.com; s=arc-20160816; b=KGCbFVF9A7MFaAmuEngMw+ga7W0ITHu6XLCKYSQYr4DoxsV0fvVAbFfvLTzOcdG5cy 6OPFa2y+YrrTOM44Zg+CnUoiaf3jKseS8JxlQ95/MlxuHW6t3qvfNRe3CnT4ao5EXGVl DIhYTj8gfqnhq4xa63rjCrBuZArz++QSh7cbU2YyW0EGDVnGlmxqKmKRjNwGaSdnSl7C PU8XUnmlLMGCv2dREB+PdHhs/DfGhY/jOyTaMH2rVjw5WYMi2qeVk/1wYMImCddsUwcX Disu+j5C+/CFfZtqnhUfEFsH2vMsubvfoiYIirEmjqJsNufhwoMGu35XNhBa4okw6CVC 7o+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xOhToe4x9f97Ns7B9xh5lureiPwRVmCdE7nXxruX5Ts=; b=gebJquaX9EuMXwUhq3E4g3XPGDEK5RSvqP5nmy7dieTUXUI6zzMK1kTNiwEGqTcNe/ uSvM2MkUp7mIhmPfj1UkJ3IPkKnUhLlFmXWENiuJfHpfLpc1QOTSr2qe6jTLqT7Evy0Z p0fZoGdH9OCPzWQwy4/9YT3VOEFPflSwPSRZ3xeHsMGF/ehtkrkl6VYE/j/Dp1MIOmXg 6vJdI0SmTrihQeW9fcf0XCwG0296gYEzE5fc0yjTTcDYub+BbfCxAL9TAkNQg25TF9eT cJssv3IrNJXW8ksAsNGb5+Ox5ck+IgTqfkwN970NnNbvIwsKPQeHPfgktrlsVc+jjSmd K9Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=ooKEqFUG; 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=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d195-20020a6336cc000000b0036c94298bbfsi1777707pga.469.2022.03.03.02.48.15; Thu, 03 Mar 2022 02:48:30 -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=@canonical.com header.s=20210705 header.b=ooKEqFUG; 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=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232418AbiCCKiy (ORCPT + 99 others); Thu, 3 Mar 2022 05:38:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbiCCKix (ORCPT ); Thu, 3 Mar 2022 05:38:53 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1510F8A6D4 for ; Thu, 3 Mar 2022 02:38:06 -0800 (PST) Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 98DDE3F1C5 for ; Thu, 3 Mar 2022 10:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646303885; bh=xOhToe4x9f97Ns7B9xh5lureiPwRVmCdE7nXxruX5Ts=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ooKEqFUGOYfqprRWuxNZJg3ymUIdePcCluVxYca0fXK/vHIAsLYYoFlNOODAzncR+ Hfwmr1rho+t/ji9nm2g+ig3qW6bOpT3JBbej1oLRjuNRuSKpr2RrTip7Xbts8+AAAM MEqPwvqFzmsETDgdaZdWMnLvVXXRiYeKkDbM5kkdCGFF5IjxG53wZEigeGfbSpt1Yu Agz+xFqwTdMRiT37FrHnSfklcllM4vUZdl1lcIBzzf/eu/SaHiNFDxSvWK3JBLNp9D phzfTFVQ8hZ2MCOzZaZDV9M4XqEU7m0dZZXkzit+R4EDo3T6ZOkcUhIxTpYJ6Eq78h TXXmCB1VqhPqQ== Received: by mail-lf1-f69.google.com with SMTP id i24-20020a0565123e1800b0044567f5a29bso1451857lfv.5 for ; Thu, 03 Mar 2022 02:38:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=xOhToe4x9f97Ns7B9xh5lureiPwRVmCdE7nXxruX5Ts=; b=r8EaV/SwC9CWE+dUVGLreIkdxSJKeeQROqmpdc1HibhrUuJNdZJH3enY8AtFZuBD+e 3PUs+XJ2nuZDAssui6SsE/6pZxlMyR4HVwNIkDuKHV/Zu7ic0Xcjt+8ctlagpoirvqx0 tUhfHSKc/cRyfVOivOwX7CCgTeUeTtVZU6mobQuT+pvtAOzhLFasIFITEVheckA+Rg2T 1cm8RwHadzzDIOgw/Xuy/UD5tuKpLOVW/yxlEGVqkRPJjrxtLCTmzSoOJtKQPPGvJXow w2Ut+sfWFxGAfC6yLFw29/GSfaZvc+h1ZqDnBH5TO0G4NkM8hE6hLJ+4OYbdklv+uPfG 2+Sg== X-Gm-Message-State: AOAM533Ayqr6MkWl33AqRvAjs7cRU1PDCrG3bz+dAFnQ83gP9EidWCfu e8SaDwVHKNnhUJxhuadeg+h43TuwQEQ2MsICeKIB2CHjFcxrqH3iPGExilfQLJIuuYYJV1E1TnW IqgiTGX6mpTTIDx22UqzcEkWyA1fTSp1JE5+15PhySQ== X-Received: by 2002:a17:906:e04:b0:6ce:e210:4fe1 with SMTP id l4-20020a1709060e0400b006cee2104fe1mr27319538eji.402.1646303874423; Thu, 03 Mar 2022 02:37:54 -0800 (PST) X-Received: by 2002:a17:906:e04:b0:6ce:e210:4fe1 with SMTP id l4-20020a1709060e0400b006cee2104fe1mr27319499eji.402.1646303874194; Thu, 03 Mar 2022 02:37:54 -0800 (PST) Received: from [192.168.0.137] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id d23-20020a1709067a1700b006d0ebe4af89sm558554ejo.20.2022.03.03.02.37.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 02:37:53 -0800 (PST) Message-ID: Date: Thu, 3 Mar 2022 11:37:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3 02/11] dt-bindings: i2c: npcm: support NPCM845 Content-Language: en-US To: 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, yangyicong@hisilicon.com, semen.protsenko@linaro.org, wsa@kernel.org, jie.deng@intel.com, sven@svenpeter.dev, bence98@sch.bme.hu, lukas.bulwahn@gmail.com, arnd@arndb.de, olof@lixom.net, 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 Cc: openbmc@lists.ozlabs.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220303083141.8742-1-warp5tw@gmail.com> <20220303083141.8742-3-warp5tw@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220303083141.8742-3-warp5tw@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 03/03/2022 09:31, 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 | 26 +++++++++++++++---- > 1 file changed, 21 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..37976ddcf406 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 support > - both master and slave mode. Each controller can switch between master and slave > - at run time (i.e. IPMB mode). Each controller has two 16 byte HW FIFO 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 run 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,6 +37,10 @@ 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 > @@ -44,6 +49,16 @@ required: > > allOf: > - $ref: /schemas/i2c/i2c-controller.yaml# > + - if: > + properties: > + compatible: > + contains: > + const: > + - nuvoton,npcm845-i2c This should be one line in const (not an enum). Rest looks good to me. Best regards, Krzysztof