From patchwork Mon May 23 05:25:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Lin X-Patchwork-Id: 12858428 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 C6F3BC433FE for ; Mon, 23 May 2022 05:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbiEWF0P (ORCPT ); Mon, 23 May 2022 01:26:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355563AbiEWF0K (ORCPT ); Mon, 23 May 2022 01:26:10 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F252C25EB; Sun, 22 May 2022 22:26:07 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id a23-20020a17090acb9700b001df4e9f4870so12656463pju.1; Sun, 22 May 2022 22:26:07 -0700 (PDT) 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=PLLLntBRKNP/TR5HdmPuN09W5k0TVn71VC7Vx2rA/LU=; b=qoDnotxySoygzG7LDqmRxBz+yEnAjAoyUwB5EeLCCUnfIBo0oIK+1PXtE16UYnFlvE GVfqsI0HyM8P2rZxmc4svDZrb+l99fOuzadugqWvOmStscFC+Ax2CvHgtc+kqUQjOTVb ed42OFT7pW5FNi/yRvcyqhtbLntR1DQsgCLI03nEPnYTLPUULCFeBlVgGcMfYpC+hAMb ZOAVnoclGBt0dw1zcXyIJTuPVcVbU6vhhZy2yfEAgwEOiB36qtPzjLThpYQaGZutCgl9 8kvLNcdf+uiWlG2F7V+Jp4HGD5jUYtNm8szMOCRkiXestQHeohSKZ6XVYEN1PVCpfUAZ wxtQ== 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=PLLLntBRKNP/TR5HdmPuN09W5k0TVn71VC7Vx2rA/LU=; b=c3lxIGg92mwjWnqQy9yTFWmY0ZZLYvUCaSC3cxikWLamAkWF9cPVso4bQvbcq5gcAw B/zVUJGZiqIhqCqTXehc8TqkwTcUXhjDF933wxqE/BmaSYooOitgKM/utv2vGM+xNBlN FGS7TRCCsdtF8B1u60umSCKZ3gK28PWbqMh7x6bFIMjabQJskBgmPuv/FBIdHzdDEeJa ZE2TDnNPqHiuYladiGVNhbLKD0YG6lnroMxPxHtvMjg2+LPUTlKU0EMydG3Rw15G0PRV 0kuDWEnxsgW8h4z3aokfvSp7AfTmsqP84HOlZHu4KIu9awu01OfWsm4NQvEu+Nb4x2sm 4KWg== X-Gm-Message-State: AOAM533hq5lpaYegEctWrZPtabunRF8xx6UFiJA9CW+ghmi400XWG2Zf EeA4Z6vya7FF4hrX7WReYwQ= X-Google-Smtp-Source: ABdhPJyMHWgHcFMRk4ZK1dOj5OyOTswPsOPx+ERGze4TRYKvLU4M3Jj8l4qGkzJgLvBMtpDwuCKhsw== X-Received: by 2002:a17:903:25cd:b0:162:2250:b04d with SMTP id jc13-20020a17090325cd00b001622250b04dmr4147933plb.12.1653283567458; Sun, 22 May 2022 22:26:07 -0700 (PDT) Received: from localhost.localdomain (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id y5-20020a655285000000b003c14af50603sm3871523pgp.27.2022.05.22.22.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 22:26:06 -0700 (PDT) From: Marvin Lin To: mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: openbmc@lists.ozlabs.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, kwliu@nuvoton.com, kflin@nuvoton.com, Marvin Lin Subject: [PATCH v4 1/5] arm: dts: Add node for NPCM Video Capture/Encode Engine Date: Mon, 23 May 2022 13:25:44 +0800 Message-Id: <20220523052548.28109-2-milkfafa@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220523052548.28109-1-milkfafa@gmail.com> References: <20220523052548.28109-1-milkfafa@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add node for Video Capture/Differentiation Engine (VCD) and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. Tested with Nuvoton NPCM750 evaluation board. Signed-off-by: Marvin Lin --- arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi index 3696980a3da1..0d2df74974bf 100644 --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi @@ -178,6 +178,19 @@ status = "disabled"; }; + video: video@f0810000 { + compatible = "nuvoton,npcm750-video"; + reg = <0xf0810000 0x10000>, <0xf0820000 0x2000>; + reg-names = "vcd", "ece"; + interrupts = ; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>, + <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>; + reset-names = "vcd", "ece"; + nuvoton,syscon-gcr = <&gcr>; + nuvoton,syscon-gfxi = <&gfxi>; + status = "disabled"; + }; + apb { #address-cells = <1>; #size-cells = <1>; @@ -553,6 +566,12 @@ pinctrl-0 = <&smb15_pins>; status = "disabled"; }; + + gfxi: gfxi@e000 { + compatible = "nuvoton,npcm750-gfxi", "syscon", + "simple-mfd"; + reg = <0xe000 0x100>; + }; }; };