Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3607271pxb; Mon, 21 Feb 2022 01:40:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFSgN12h7BdQwIiYyjE1AXHAphQ8YRKPQOT8ockG++lf+XdERJBLwlK1+xnx5vjUn8aPs5 X-Received: by 2002:a17:906:bcda:b0:6b8:6809:59fa with SMTP id lw26-20020a170906bcda00b006b8680959famr14991051ejb.359.1645436405653; Mon, 21 Feb 2022 01:40:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645436405; cv=none; d=google.com; s=arc-20160816; b=y2VxS9GaYOjNsS5yysuFA/4T9wLyCrYG34OGRWVMXWuFzugmFHb5PsRnqF8pzmJH7K rvFt0c0OqABjKz4KgEH5HJOBPOvxKi5aCxIgP6VBXsagTYCcfp3gni+Ebe9sVGL2tJDE RSJCT4LCS0SKSZAOsr+7PmnrIQtlFD8ovGQCHbEuuFSgl2rvgXaGM3Makf8t/BlHtA3a kfMcK2y7JYocxR2to4jFuW3T50xT7VjjBDgyR4hnqWjDFHxte/S7ctCxfVUscUdkQBTe 9ImyX0rPyuX0aI9bj6SjKIcTt/khbUYnp7Tjf2DQ+I2RZNVHFuVZuY9SrN610MNskavj NLnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=EHVv67KSR6zDSWz8cwXw0lmEsHGkvf35iFMIN1Dv6lw=; b=X1qv6iCl5YsmPcUU28kPwAohRWKhYsJytuif7SekOunCa4ExxvOPmTAwbFo3trDuR6 olKs0vWVi7hMFtWCev7EJaSf+m3/XCvvzQAY2zpSVdMKCOHkmsMuP2icKRoKGksMJbQq SLjeXokQiewiNG2KSAro8AIt2Au80OCIntxKTADWxXcEFvfyckTnPD+qSNEkxBsKD+Qu L8nCgLfasLNTZjDg/X6lOILfOqe7xeaiZBxQKdUVaGYn8M+Fx0lwMXmDYMQis8heHKA8 LhNJynHwSfCjWs1cYydcHi7NvXiTSy0tWFN+lbY3fS3RsNM8nmn46xEuW7SYAW1v8nFu qM8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eUWV62m2; 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 hz6si9355651ejc.181.2022.02.21.01.39.43; Mon, 21 Feb 2022 01:40:05 -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=eUWV62m2; 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 S240498AbiBTD5a (ORCPT + 99 others); Sat, 19 Feb 2022 22:57:30 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237572AbiBTD50 (ORCPT ); Sat, 19 Feb 2022 22:57:26 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5195E40E6C; Sat, 19 Feb 2022 19:57:05 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id l8so10241852pls.7; Sat, 19 Feb 2022 19:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EHVv67KSR6zDSWz8cwXw0lmEsHGkvf35iFMIN1Dv6lw=; b=eUWV62m2mWgNEygve3r4gAQGgbtJC8vfCn8Je+GAOVzGcyLmyzaKr/KtgkITk1/SgQ wz0ZBYFcfP8mPxXg1cUEI5eQbbqSYZxwOGYQTaw1agnvUU1e/3IrfGCdnkvfCRxzuVFp hX/6JGhzM9IQ3x/zvcwma7WNSs3S7z9wvj0X7MfvuwoGNlW/v1xgjlnWN0RNUFBdUyMN CVmX5D7OvoH4AWi1gIH2kawP3FTsroqNJpwmbUUVs8+yiZmjH8AR+CXcjO06FYJpwrmt bxfJeniM0d9Jxc0Ni+ut/UbhGE6wyysqJYp0P/00HKEMAPGMTNCBJshwTsn4Qpz+OO0j l8pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EHVv67KSR6zDSWz8cwXw0lmEsHGkvf35iFMIN1Dv6lw=; b=QCOTD7WIpR0KyDhQKEvm0Q7ByEBj6BL6Hb5/qG3HqoPrXOgcokVONhHy0m8wq+38Ns OP6CaCKSHEWp+pctg9Mhl8URpqNbSyoSgMb43opNr0KnECnbLd8VYiKoQf9O5dTQclYc CnxOn27FShABioTZe4oZLWNwXrR/wZEQV719HK3Fc5yo1J1FQkTfXifBbs5dZv9ov9dP QyPJtIJbkVC+R76IDqP3GBvYa64PNtvqS4NSHPnX3oaMS87NgbW9pT4QfhLZhhkQEdAd M1mATRI3sVq5cr5K67gAOV/xrF/JMP4r50mxbZMJPB98s7gW31tr+oB1SMdqn8M2PT02 Ighg== X-Gm-Message-State: AOAM533MdLvXibuk2O+ftO/rKUlpqsI0iKVEdFUE93ccCk9sNjHrN0Xm GRxvAY8D84K6x+qyZHeczw== X-Received: by 2002:a17:90b:4a85:b0:1b9:d80d:bff with SMTP id lp5-20020a17090b4a8500b001b9d80d0bffmr19706270pjb.67.1645329424649; Sat, 19 Feb 2022 19:57:04 -0800 (PST) Received: from localhost ([2401:e180:8842:e799:9593:a6f2:788b:a48c]) by smtp.gmail.com with ESMTPSA id ck20sm3497136pjb.27.2022.02.19.19.57.03 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Feb 2022 19:57:04 -0800 (PST) From: Tyrone Ting To: 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@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, warp5tw@gmail.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 Subject: [PATCH v2 02/11] dt-bindings: i2c: npcm: support NPCM845 Date: Sun, 20 Feb 2022 11:53:12 +0800 Message-Id: <20220220035321.3870-3-warp5tw@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220220035321.3870-1-warp5tw@gmail.com> References: <20220220035321.3870-1-warp5tw@gmail.com> 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 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 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,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 allOf: - $ref: /schemas/i2c/i2c-controller.yaml# @@ -57,6 +63,7 @@ examples: clock-frequency = <100000>; interrupts = ; compatible = "nuvoton,npcm750-i2c"; + nuvoton,sys-mgr = <&gcr>; }; ... -- 2.17.1