From patchwork Fri Sep 22 06:24:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Lin X-Patchwork-Id: 94939 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1qjZay-00AzFE-Jx; Fri, 22 Sep 2023 06:24:56 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbjIVGY6 (ORCPT + 1 other); Fri, 22 Sep 2023 02:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbjIVGYg (ORCPT ); Fri, 22 Sep 2023 02:24:36 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 898F0197; Thu, 21 Sep 2023 23:24:27 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6907e44665bso1584097b3a.1; Thu, 21 Sep 2023 23:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695363867; x=1695968667; darn=vger.kernel.org; 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=6OHbfvvmaSbzlb/vBLJ9aFEGcvRSExJ6vAXO7h1XWQ4=; b=Waczws66AauZ2v4uXYpW3vOyi5OHrD9cYzY1TTA2nGgm+YncETkgYZU7eo9Y9IXEqa aeg/tQGmdw/HhGiH7xIlG2iLmC0RLEWWHATjkey/VLDQn5Kz7ddRRfhYV09tCJ8QY+In FPUDRBsRIqOcBdkPhhKQZjmbsr6XHPHlQfPxFMFSs5d3pfK45Ni9M6xNnww565PMXVb2 l5sRlcV8lLR/fEwCrWKZ9bcD95Xb6DH1S4fb1JwyedYkVEM3g9ZvET1IWBRyOGvbe4UP SJ7iCAU5DmnVLOgnsJwUSgp58mBOj6Cdoa1Ps+cd531egFJZYdKYRkbPXGNEyEIIKlQc 4Gsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695363867; x=1695968667; 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=6OHbfvvmaSbzlb/vBLJ9aFEGcvRSExJ6vAXO7h1XWQ4=; b=YAVwB2p2uDt1V1cMbCGHBmO0+JBKWpZd4DPN2lndvbwmPZEMkk4mYYSHSO9Noke4EK YQv8wVZ07KiVzu6X0QlFgeAvad8r4C8Eb8gS/lUD65KF7b+/3Z0PF5OcWIkRdFQQWPNw h0nFm2q3w35lNLx+dCj9hHnvx4MK/05iEf+lS4KJKj0w1OX7rgyPtKguJ90L8/+HIu3F bfyHSEcIct75J/9Bgo/OekcJRYDANrbGzQG1qWUgm8Onpdyw/b9Lec25kn5LUG9Yv6CX 0/4PFVMnD1096Jd4hDosTwEf+98wVQ5w5rUvCv/7kKAbfC2qC5tBq2NRSkz9LXBSxdri Q/gQ== X-Gm-Message-State: AOJu0YwZOX1TIH4AEQdq0Ta4GWHAzq7xGn/W+J12O55O8LqUt59+peOy qTC4UaBDgKoHW+IvHbPPgYY= X-Google-Smtp-Source: AGHT+IFFTlcWa90VeyhvMcSnLlwIuZC8B7Kc5k+nHNBZi3cDE/M6+hvtq8kXYUnRtcJ65TnHD3Gbgw== X-Received: by 2002:a05:6a20:7288:b0:135:7975:f55 with SMTP id o8-20020a056a20728800b0013579750f55mr8454349pzk.47.1695363866963; Thu, 21 Sep 2023 23:24:26 -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 m11-20020a17090ade0b00b00274de7c8aacsm4157417pjv.45.2023.09.21.23.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 23:24:26 -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 v16 3/7] dt-bindings: soc: nuvoton: Add NPCM GFXI Date: Fri, 22 Sep 2023 14:24:01 +0800 Message-Id: <20230922062405.2571850-4-milkfafa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230922062405.2571850-1-milkfafa@gmail.com> References: <20230922062405.2571850-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,URIBL_BLOCKED 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-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FORGED_FROMDOMAIN=0.001,FREEMAIL_FROM=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no 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/soc/nuvoton/nuvoton,gfxi.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml diff --git a/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml new file mode 100644 index 000000000000..0222a43977ab --- /dev/null +++ b/Documentation/devicetree/bindings/soc/nuvoton/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/soc/nuvoton/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>; + };