From patchwork Tue May 2 08:44:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Lin X-Patchwork-Id: 89292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp459174vqo; Tue, 2 May 2023 02:04:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DYHkZp3wvdRcgMGw0BCy43KSqGPf5+GvUwe/NiYOgkGqJ9CMMkaaJlJySIQC7DA8uBn/x X-Received: by 2002:a17:90a:1f48:b0:24e:225b:c1a1 with SMTP id y8-20020a17090a1f4800b0024e225bc1a1mr2266504pjy.32.1683018274177; Tue, 02 May 2023 02:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683018274; cv=none; d=google.com; s=arc-20160816; b=PldAiJ3yjvFRmpq8JLhxag7kYaSfO5oSDy3g1tSPDFrD7FpINKPs3WZNDlU+DXYK1y c0/l+t7tlxg4Z6AikSEAlSqmWFJM4//4YeKYgu0G3LuVl2VviuDuPDvDQFjS+VisxJN7 0EEO1BjDjuFIZaNEfTd4YSleyit2ORtQRsIivzyY82V0jDKBRyUIZiwufEP5tpUU6ZfG YsQKzQHjDWz8tQRK6M01jwTlHJYM/R4Hq9/oqFcNh9NJQvm9zIyVLnTyAvNkCq7u/a28 jzeKDBeCNjMUGAptYTXt+fuanuFW2me8yZ/k5p+4JFeqPgq8AbQVu67urjlU0eRmUDFa 9XRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nxkElKmgrqtTP5be0jVrJHJmBiDppX9Zdl7lKzzovCQ=; b=ROYI0Ww5xZz3R2f30p8hj6tuIfgjfUWcII7u7eZtwDDRmdlpLF9ngcO6GnkgTFQrf6 TNyexrSp7G49ALkk5wvjhVJJas5pvUkSPKaRSXh7rbu+kOyNj0nWh9Hpeo+Cwrb7jx8s myPxeWO0KIiuGfRwk8o05QeDWoU33h8lGv8okFhgeJgSsP6HQAEd4bFaLLHb/be3XyeS x1V6JABVa4zv0/aebQI0mUjoqmDLx6qasChXidMxpCk0X9N2HecNQ/sJq0/t9+TotnHH 5IJyrXGjk/WmwczdDP0pCpPIsXDU0W1dVB0/jQPy9elRrVJTVdDpVhBBiMGF7Eis+xkp 44Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="E3MdIO/A"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k15-20020a17090a590f00b0024765a9e7fesi10402655pji.25.2023.05.02.02.04.19; Tue, 02 May 2023 02:04:34 -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=20221208 header.b="E3MdIO/A"; 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 S233718AbjEBIpW (ORCPT + 99 others); Tue, 2 May 2023 04:45:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233761AbjEBIpH (ORCPT ); Tue, 2 May 2023 04:45:07 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78ADC4C08; Tue, 2 May 2023 01:44:58 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-24e01ba9e03so1396432a91.1; Tue, 02 May 2023 01:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683017098; x=1685609098; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nxkElKmgrqtTP5be0jVrJHJmBiDppX9Zdl7lKzzovCQ=; b=E3MdIO/ALfBUzoPr+2/LB9OBzNa03bCDt3HgtRaNCIBsOxyTZAoTEnUzOlUzUfL5UZ 2nbTqUt+LGCSITOtDlIWRVJLNGTjwTqZSxt9fcAVgi95YeHuHD+qalIUpGsChTrbe6xv BWztvbUY6fBNbB7p76SF5LhvDmDWcAuugwpG5DwKEEQLpX6+XAB/mMNUNkAvlrZON/h/ HFIL3G4hK32fjrUv9WzY1gh1avfDnJ19ttx7B2ndMGFsd67B8QCoOnYuUNMTfyHWx278 MzQdIFdhcwNkQ5SQ8Ht0+gW3V8lnlF5CAxhIvZeamC/yvKan/FgVHwYSx+TqArpxZteO FOwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683017098; x=1685609098; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nxkElKmgrqtTP5be0jVrJHJmBiDppX9Zdl7lKzzovCQ=; b=WZcB/lQ7s//vOdn3SUOLvAcbyp4/8IshytUFqcNGwkCkdjvCCt5uUKifuXARQh7JPW cDhw0R2uzWDlVHthm3EwMj2oQEnPMrATGxXmNyEDJh7chrv2RoWdp4bjxlBSKJxoTE3G sSNo5rhmJ7xYj2lyKE/qRqrDnJNY/Va4HFkYl5ZuUMUM4IFVbE6uM/mWIBwc63fwezxU rSPufn2KR3omz0uiteIjvSJydjm+x15A18JO2uNuOZZFImx7pqGN/oMOZZ9pg2aCdkfo 3Cfy7Akx60h4Z80+gLQz7QkZN4KseT1RjySoEC5YurKCwE2KWMk23Lc8h2uulb2ioMA1 0KMw== X-Gm-Message-State: AC+VfDw3l92/rhj2Vp2Giy/ZbRhlqKOkAkckOdONy131ATx8xkd4/OhE sxWI7y4RiwhxpxOf5tTPfRc= X-Received: by 2002:a17:90b:1645:b0:247:e4c:d168 with SMTP id il5-20020a17090b164500b002470e4cd168mr17812992pjb.10.1683017097685; Tue, 02 May 2023 01:44:57 -0700 (PDT) Received: from hcdev-d520mt2.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id v10-20020a17090a520a00b0023fcece8067sm7059039pjh.2.2023.05.02.01.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 01:44:57 -0700 (PDT) From: Marvin Lin To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, 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, andrzej.p@collabora.com Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, kwliu@nuvoton.com, kflin@nuvoton.com, Marvin Lin , Krzysztof Kozlowski Subject: [PATCH v12 3/7] dt-bindings: arm: nuvoton: Add NPCM GFXI Date: Tue, 2 May 2023 16:44:26 +0800 Message-Id: <20230502084430.234182-4-milkfafa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502084430.234182-1-milkfafa@gmail.com> References: <20230502084430.234182-1-milkfafa@gmail.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764772569751173901?= X-GMAIL-MSGID: =?utf-8?q?1764772569751173901?= Add dt-bindings document for Graphics Core Information (GFXI) node. It is used by NPCM video driver to retrieve Graphics core information. Signed-off-by: Marvin Lin Reviewed-by: Krzysztof Kozlowski --- .../bindings/arm/npcm/nuvoton,gfxi.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml diff --git a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml new file mode 100644 index 000000000000..c033128e567a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gfxi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Graphics Core Information block in Nuvoton SoCs + +maintainers: + - Joseph Liu + - Marvin Lin + +description: + The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs + that analyzes Graphics core behavior and provides information in registers. + +properties: + compatible: + items: + - enum: + - nuvoton,npcm750-gfxi + - nuvoton,npcm845-gfxi + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + gfxi: gfxi@e000 { + compatible = "nuvoton,npcm750-gfxi", "syscon"; + reg = <0xe000 0x100>; + };