From patchwork Mon Aug 28 09:18:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Lin X-Patchwork-Id: 13367723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16506C83F1A for ; Mon, 28 Aug 2023 09:20:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjH1JUJ (ORCPT ); Mon, 28 Aug 2023 05:20:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbjH1JTy (ORCPT ); Mon, 28 Aug 2023 05:19:54 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2ACCA10E; Mon, 28 Aug 2023 02:19:51 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1bdf4752c3cso15844695ad.2; Mon, 28 Aug 2023 02:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693214390; x=1693819190; 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=mh7Hp0R/kf8Ws+jTMclnO2QDTU/wesK2pROJO9sHkrEaWW0eIPii5oiVQORAAFS9No rzrXQYT1PPug9skQf+6QNijsN/MzCHyQTzPLGX8YP+gKN6FZlN3sP3yNmwVc5HRpg79F R4un3r4WjfVIlCiY1icU6nS86Mg6s7AxgP5zHquH2TuXyGTWgeTmKOTJ4hGZW2M25Ofa RkL6tFuLET1WyuSlvIM3GLukK/yCHUUp7rxXvJBuxhgAtSc4IeGT4BITkX+Cc++fieUh J5Z9pLVTxEA773GsTHUyswClufBpoLPPDdORTH/lFxhcajJERDHEJL2GCpgUcPbWQ5/b 2GUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693214390; x=1693819190; 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=NdjqDbOd8DjUo2lGx8MT4041GXhCJCIzU3VMvuacd6aoQFVrkJCdq3mlCExOMUkhgn O6qW5XmEXWUq2XheV1xATJJuaHkBf2+VYihnhkjRJHej91f8IXSfNMCRqWFfUg54/Zwx P991R9vpPyHMX2atHu153B+8mRfhaVZtBJfIpgAdszYvnGyyOW1IvYqCDg/E8MJKcj+k FAvqbQo3JGDxPBznP8kAMPIe3y6PBqw8XQfRLpNtfpf4E4mEwqKynyvSbWl9qeCS8wvs 00rxA+Bg9dbzad5/HYpSXuYb1fA2j4ICIa9ZFN6LOOHDyVC48dGCL0KlTacOJFHoy0r5 LI+g== X-Gm-Message-State: AOJu0YwffJmp9jKI4NpzZmDjHaBfhhHVQHHd5A5D9O66kSv82h6lG/5U XNM7CqaP9nhZ3lAbClPFn/s= X-Google-Smtp-Source: AGHT+IHOC5XdHJ8CtmcsbvcH3h1wkF6dmjhu/NfrVoER9ICsuph4ojjJIRDBeNQTrQc9gzwgTuR46g== X-Received: by 2002:a17:903:234e:b0:1b5:64a4:bea0 with SMTP id c14-20020a170903234e00b001b564a4bea0mr20910114plh.10.1693214390421; Mon, 28 Aug 2023 02:19:50 -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 t9-20020a170902e84900b001bf8779e051sm6749403plg.289.2023.08.28.02.19.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 02:19:50 -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 v14 3/7] dt-bindings: soc: nuvoton: Add NPCM GFXI Date: Mon, 28 Aug 2023 17:18:55 +0800 Message-Id: <20230828091859.3889817-4-milkfafa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230828091859.3889817-1-milkfafa@gmail.com> References: <20230828091859.3889817-1-milkfafa@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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>; + };