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: 13228604 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 24B10C7EE24 for ; Tue, 2 May 2023 08:45:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233772AbjEBIpT (ORCPT ); Tue, 2 May 2023 04:45:19 -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-Google-Smtp-Source: ACHHUZ4PzPq9FpvGx6sDrB/f0bcJ2nCoy0IVJqdQr7wggK5QJhhDJ1ywGFCdBy6kjzzXylmFUalsFQ== 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 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/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>; + };